From patchwork Tue Feb 21 17:53:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Svyatoslav Ryhel X-Patchwork-Id: 60188 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp144001wrd; Tue, 21 Feb 2023 09:56:16 -0800 (PST) X-Google-Smtp-Source: AK7set/3mEZdGzT0BKEQG85RDwW0ozRpvacJhYLDS7Nk8py8XGsf8RLfXxMGnuPHKPsW3FBk1DBn X-Received: by 2002:a17:907:a782:b0:8d9:8f8f:d542 with SMTP id vx2-20020a170907a78200b008d98f8fd542mr8069238ejc.32.1677002176726; Tue, 21 Feb 2023 09:56:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677002176; cv=none; d=google.com; s=arc-20160816; b=PPV7yug/nLmXtzvfuw/eVlp0bRO7l8fAls7I4sF2zwxJZWHT5DFsmR8SbjQ7ukZoNQ dg4T/4NhHyZHYG3pjQ7jqFUHhrwadDPNSk0FbePVqv+snxC06Tc8SogwVPVCvnbelbab wcjot+PWRRuChVGC8S6uuP5h2SfG/co8BSfwQip+xeJlfj3OsTuh3NxBc+fZxpsmDuvs +8RZbg4t3WDJXoc9K79REj4E8M7/LFEUS/MtLt1gT9LcbuFFyBh3UgBE7JVlTM7zitv5 lVVirShNE+szH5AImbDLhZLqVqKkpMkutfYDpuiftY9sMzuGJCFO7Ivd7te5tnHLDmPQ Mgjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=jhTpi9pCO5tEAYpIqNUCgJuQDyepe4Dv0wciJpZZ8Iw=; b=RuhyrVWh5IJyRzNhjjU5cCqfMAoDTvELjcEt+WbWKJXN0R5tOv7ZOg7RApwniXZHGA YVcaFKrJSnMuCL8ZAohDBYMOPBZcuemoeH1oYhKEy8ES6ttH5CwgB3m47J6DaC/E3SkN 29Yj4KY+wWCDFPTy2IwZ6MZMKiJd2e7InJZwqtFA6iih6QpEf1hqlV5O+MfszRQJVabS SEiQDX2saBTxDqcROoQ03qUSgk8G89IOn7hz7yR3m7MACNtXFUWJeOsFzH/G8xIzD7Oq x5LXna9QgE3Z+1QoCaYfZlMQPufQwpKNuIhrW0uprQi24RW3al/ekCoj0A0vWJzI1MIR kPEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=p29vYHuy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gc32-20020a1709072b2000b008d3b67752d1si6983474ejc.458.2023.02.21.09.55.54; Tue, 21 Feb 2023 09:56:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=p29vYHuy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234232AbjBURyV (ORCPT + 99 others); Tue, 21 Feb 2023 12:54:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232069AbjBURyR (ORCPT ); Tue, 21 Feb 2023 12:54:17 -0500 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E4162F784; Tue, 21 Feb 2023 09:54:15 -0800 (PST) Received: by mail-ed1-x529.google.com with SMTP id ee7so5498837edb.2; Tue, 21 Feb 2023 09:54:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=jhTpi9pCO5tEAYpIqNUCgJuQDyepe4Dv0wciJpZZ8Iw=; b=p29vYHuyXU0GCDwzoEjvpuF7OAbv8SmQIMnS1+8wyCdlp9u8cNFy1Y3SVEYygdFACA RoLrEl8/3AKmVZQmojhkz+s+V8OwYSLRub9MXeYnMUM98f82d5xltf5OV611hY8fejxx pF/az7IohoiQxfNOlVLUznJCrCcXH/dBJPAPcAbBZYxgJAk2BCJkeyOFHv6crcS5rQaC ik6CcqpZmP+sUoikrKtklM0MpHKrGy9qjCgbaOnyURmmU3+reHVx47wQLyiJNEK++ciA A5ean8UWfHFjgLb8Taj7vTen8ywPd96Q2JX8pCu3SPoajGSm8VpF5eNIXQqkTdVQk3t9 ducA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jhTpi9pCO5tEAYpIqNUCgJuQDyepe4Dv0wciJpZZ8Iw=; b=0938Jol75GTfKEa8O/nOfrAzuRGHJYAFgGpuzxVjvbEBxPAxQBA+d33bYHu6rip29p y4VoKpm4IpVpht0ujniBO/7MHWq8g9/1JnTPIP08zZTh4XE/SfJhPS0zN6yqH4EMtHKJ d59YN6WCYTkoXshNdVdl0dVDPAy/ydVEO+wsczxDtlVPoViWbgviT1EoYefjRboIWppl a+dUQQGLW8bK213/Od3XSXFo8P1Gs2J6SkAsWZlbJFpRb/6JPWuHOdrIg3WOe5UW3r2n +rpnKWoZQsLOv9NtcyPDyDmIbngSCZCoHO4sJhTJGNvDxi22y8LmVKA6sBpJ7seEdPCF v/2A== X-Gm-Message-State: AO0yUKXdPeCpom7EWUVOaMJKi3UhaQZt3ucNgAbSsVQBJItPnPQ1AF6a NBdV9Rn3QGCxCM2BFkZGEzvf7hT6X9w= X-Received: by 2002:a17:907:6d0d:b0:8dd:76b6:7b14 with SMTP id sa13-20020a1709076d0d00b008dd76b67b14mr4310886ejc.14.1677002053790; Tue, 21 Feb 2023 09:54:13 -0800 (PST) Received: from xeon.. ([188.163.112.76]) by smtp.gmail.com with ESMTPSA id b3-20020a170906660300b008e493b7bb61sm236357ejp.153.2023.02.21.09.54.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 09:54:13 -0800 (PST) From: Svyatoslav Ryhel To: Rob Herring , Krzysztof Kozlowski , Thierry Reding , Jonathan Hunter , Svyatoslav Ryhel , Maxim Schwalm , Dmitry Osipenko Cc: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 1/5] ARM: tegra: Add labels to tegra30.dtsi Date: Tue, 21 Feb 2023 19:53:44 +0200 Message-Id: <20230221175348.15681-2-clamor95@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230221175348.15681-1-clamor95@gmail.com> References: <20230221175348.15681-1-clamor95@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758464234689631355?= X-GMAIL-MSGID: =?utf-8?q?1758464234689631355?= From: Michał Mirosław Add phandle names for memory/I2C/SPI/USB/SDMMC controller nodes to allow for cleaner device descriptions. Signed-off-by: Michał Mirosław Signed-off-by: Dmitry Osipenko --- arch/arm/boot/dts/tegra30.dtsi | 36 +++++++++++++++++----------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/arch/arm/boot/dts/tegra30.dtsi b/arch/arm/boot/dts/tegra30.dtsi index 9dab8d2c158a..1cdc64fa1463 100644 --- a/arch/arm/boot/dts/tegra30.dtsi +++ b/arch/arm/boot/dts/tegra30.dtsi @@ -655,7 +655,7 @@ rtc@7000e000 { clocks = <&tegra_car TEGRA30_CLK_RTC>; }; - i2c@7000c000 { + i2c1: i2c@7000c000 { compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; reg = <0x7000c000 0x100>; interrupts = ; @@ -671,7 +671,7 @@ i2c@7000c000 { status = "disabled"; }; - i2c@7000c400 { + i2c2: i2c@7000c400 { compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; reg = <0x7000c400 0x100>; interrupts = ; @@ -687,7 +687,7 @@ i2c@7000c400 { status = "disabled"; }; - i2c@7000c500 { + i2c3: i2c@7000c500 { compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; reg = <0x7000c500 0x100>; interrupts = ; @@ -703,7 +703,7 @@ i2c@7000c500 { status = "disabled"; }; - i2c@7000c700 { + i2c4: i2c@7000c700 { compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; reg = <0x7000c700 0x100>; interrupts = ; @@ -719,7 +719,7 @@ i2c@7000c700 { status = "disabled"; }; - i2c@7000d000 { + i2c5: i2c@7000d000 { compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; reg = <0x7000d000 0x100>; interrupts = ; @@ -735,7 +735,7 @@ i2c@7000d000 { status = "disabled"; }; - spi@7000d400 { + spi1: spi@7000d400 { compatible = "nvidia,tegra30-slink"; reg = <0x7000d400 0x200>; interrupts = ; @@ -751,7 +751,7 @@ spi@7000d400 { status = "disabled"; }; - spi@7000d600 { + spi2: spi@7000d600 { compatible = "nvidia,tegra30-slink"; reg = <0x7000d600 0x200>; interrupts = ; @@ -767,7 +767,7 @@ spi@7000d600 { status = "disabled"; }; - spi@7000d800 { + spi3: spi@7000d800 { compatible = "nvidia,tegra30-slink"; reg = <0x7000d800 0x200>; interrupts = ; @@ -783,7 +783,7 @@ spi@7000d800 { status = "disabled"; }; - spi@7000da00 { + spi4: spi@7000da00 { compatible = "nvidia,tegra30-slink"; reg = <0x7000da00 0x200>; interrupts = ; @@ -799,7 +799,7 @@ spi@7000da00 { status = "disabled"; }; - spi@7000dc00 { + spi5: spi@7000dc00 { compatible = "nvidia,tegra30-slink"; reg = <0x7000dc00 0x200>; interrupts = ; @@ -815,7 +815,7 @@ spi@7000dc00 { status = "disabled"; }; - spi@7000de00 { + spi6: spi@7000de00 { compatible = "nvidia,tegra30-slink"; reg = <0x7000de00 0x200>; interrupts = ; @@ -1064,7 +1064,7 @@ tegra_i2s4: i2s@70080700 { }; }; - mmc@78000000 { + sdmmc1: mmc@78000000 { compatible = "nvidia,tegra30-sdhci"; reg = <0x78000000 0x200>; interrupts = ; @@ -1077,7 +1077,7 @@ mmc@78000000 { status = "disabled"; }; - mmc@78000200 { + sdmmc2: mmc@78000200 { compatible = "nvidia,tegra30-sdhci"; reg = <0x78000200 0x200>; interrupts = ; @@ -1088,7 +1088,7 @@ mmc@78000200 { status = "disabled"; }; - mmc@78000400 { + sdmmc3: mmc@78000400 { compatible = "nvidia,tegra30-sdhci"; reg = <0x78000400 0x200>; interrupts = ; @@ -1101,7 +1101,7 @@ mmc@78000400 { status = "disabled"; }; - mmc@78000600 { + sdmmc4: mmc@78000600 { compatible = "nvidia,tegra30-sdhci"; reg = <0x78000600 0x200>; interrupts = ; @@ -1112,7 +1112,7 @@ mmc@78000600 { status = "disabled"; }; - usb@7d000000 { + usb1: usb@7d000000 { compatible = "nvidia,tegra30-ehci"; reg = <0x7d000000 0x4000>; interrupts = ; @@ -1156,7 +1156,7 @@ phy1: usb-phy@7d000000 { status = "disabled"; }; - usb@7d004000 { + usb2: usb@7d004000 { compatible = "nvidia,tegra30-ehci"; reg = <0x7d004000 0x4000>; interrupts = ; @@ -1198,7 +1198,7 @@ phy2: usb-phy@7d004000 { status = "disabled"; }; - usb@7d008000 { + usb3: usb@7d008000 { compatible = "nvidia,tegra30-ehci"; reg = <0x7d008000 0x4000>; interrupts = ; From patchwork Tue Feb 21 17:53:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Svyatoslav Ryhel X-Patchwork-Id: 60189 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp144020wrd; Tue, 21 Feb 2023 09:56:20 -0800 (PST) X-Google-Smtp-Source: AK7set+kfNR7gEGLFicjY0kQIR/QLo2jcg+5zDjmwu3talIS75PTpIKJFOZCM1x2FGfx8x2xqFmO X-Received: by 2002:a05:6402:330:b0:4ac:c68d:88c7 with SMTP id q16-20020a056402033000b004acc68d88c7mr5658836edw.0.1677002179873; Tue, 21 Feb 2023 09:56:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677002179; cv=none; d=google.com; s=arc-20160816; b=znig6o/FX1gdy+fc5MC8mpld4IpSbhwccEiDOho4p7Z4YIGGTTsX6IaoT3MrNoDsQy JtLLjkQqeRbhaduAyQ6749HhePaL1N6psQWhijVV76opUf9ljpYLHkbbbWE3gwtv4j/A tBS78kJMedHDYZ/cI1VXtwpCFPss28EXixYaXqbJT1ws+d+R5Oi+JPwQJQ7t0pUAr2Si qt9JouTudg3NLFkjXlAkng8r90XWv0XIp6YnYuy3GJbpprBixth46SpAYTcHoAbcq5wZ v5epCop7FvYK9585bRXm3heh+cgIXoN/51U1T/sTBXKgi7wjW9rGQQFrYYocb6rU+KYY 6j7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=llOPkmJdNtIeNEpVol45mbxinEbldfv6+ZdmOXE/2gU=; b=H14wiIUnZTiMwxgllR34ErbaWw6Iw1+neCKomwyyODw2xX6dHbb5xi84SaCNXFdwgG L/Omg9prUJLe9G6Q7w3RyvoozZJMKVOolILdK5gfT64vSe2j6dEtT1wGjlPkjk3F2F6+ 4ghMQP4SMCoblLXZTYfj5eXpqaDeTYfI19Ru8kcsiJ1cD1dpNZPi/xyBiX7aw4/Ew6r1 E97BREIPpAdQdi+TUqgQGNYoBDxt9k6MpbslZAIDTPiLBX/qZ1Z3PGAHo8kOHzgPEaa8 u1TDrRIOAAeIf0W9B5SGEE6Bta8efSxhUKgM7T/WEB6+rcyJ7IZ79TvIv8eFeQCAbiAf AQiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Lv64O0HM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b6-20020aa7cd06000000b004acb59da686si19515415edw.454.2023.02.21.09.55.56; Tue, 21 Feb 2023 09:56:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Lv64O0HM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232105AbjBURy3 (ORCPT + 99 others); Tue, 21 Feb 2023 12:54:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231656AbjBURyS (ORCPT ); Tue, 21 Feb 2023 12:54:18 -0500 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87B412F799; Tue, 21 Feb 2023 09:54:16 -0800 (PST) Received: by mail-ed1-x534.google.com with SMTP id cy6so15085661edb.5; Tue, 21 Feb 2023 09:54:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=llOPkmJdNtIeNEpVol45mbxinEbldfv6+ZdmOXE/2gU=; b=Lv64O0HM8k0aP/T1HXLXt/IlxsftacrR/ufPEvzvlqUUYFLQ9d4xBMSdfmr/oPFc6A 76QN3ghWpizVdaj5BsS10x9lHR6/0Nwg7zaZBQndDDg/fhQ8E4ZPc77vYutzeADBvUxP CtZad7uh5pEv7YSWH+9kL6WQ3rESWa0AekzF2SKq56bqOW62VzxdYtFDafqdROMVvbpl vZaBNOjKkBZ/hi1rsF/28jSkUFQMFkMtV5pKzLOYoIgklpgtRIxxZzVmptJQu6P/cjYr KVxW+ecHBHLnJm1MIBLcKbwKfm/OIe7IDz6/57pMwAW1M+xAeUeNFJ/t9qAIRX7v2IMu Ggaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=llOPkmJdNtIeNEpVol45mbxinEbldfv6+ZdmOXE/2gU=; b=PN45iHQr0DetqkMqnVAAuck/Fdse7aFvcVYoqx8xLwV+kcT7AYhKHZY045Q08qpwG1 5LUg0ORyb0bEXpT3+YhiMxifvRvnf0qEUtT5LmqvhCOfaVOMl1/jIDJijSeiIkfGqF6r xDMNRfbUZOcS8Fhr/Gn9sPOaS93Dgu4NjwtbSYPuG50mZ0N+Firpc3d3X6WqfBVH8oM2 dOHZ5FlEdn3FrfcREupKYJzw7K/o8pWC/kGcNHCSuoTc8UO1gUVTGNSsYcML71zjwWJx /9HZBFYVlVmVYseMOO23u6w/owhf8BtrUs7u2lOzgFj9G5Bs0+uJq8MTwsYnQX04tdqy tHUg== X-Gm-Message-State: AO0yUKVJyvCrZ9iB5dWe2Y6evZRkXadeir/AlY4TVElw34NDtE5VAqae N29hs/s1Sev+q4amDug+dCyFMR92ifA= X-Received: by 2002:a17:907:7f1f:b0:888:7ac8:c0f4 with SMTP id qf31-20020a1709077f1f00b008887ac8c0f4mr17765469ejc.25.1677002054738; Tue, 21 Feb 2023 09:54:14 -0800 (PST) Received: from xeon.. ([188.163.112.76]) by smtp.gmail.com with ESMTPSA id b3-20020a170906660300b008e493b7bb61sm236357ejp.153.2023.02.21.09.54.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 09:54:14 -0800 (PST) From: Svyatoslav Ryhel To: Rob Herring , Krzysztof Kozlowski , Thierry Reding , Jonathan Hunter , Svyatoslav Ryhel , Maxim Schwalm , Dmitry Osipenko Cc: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 2/5] ARM: tegra: Add labels to tegra114.dtsi Date: Tue, 21 Feb 2023 19:53:45 +0200 Message-Id: <20230221175348.15681-3-clamor95@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230221175348.15681-1-clamor95@gmail.com> References: <20230221175348.15681-1-clamor95@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758464237807519518?= X-GMAIL-MSGID: =?utf-8?q?1758464237807519518?= From: Anton Bambura Add more labels in order to use label reference in device-specific dts files. Labels make device-trees more readable and prevent typos that are difficult to notice. Signed-off-by: Anton Bambura Signed-off-by: Dmitry Osipenko --- arch/arm/boot/dts/tegra114.dtsi | 48 ++++++++++++++++----------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/arch/arm/boot/dts/tegra114.dtsi b/arch/arm/boot/dts/tegra114.dtsi index 09996acad639..76c52d0b518a 100644 --- a/arch/arm/boot/dts/tegra114.dtsi +++ b/arch/arm/boot/dts/tegra114.dtsi @@ -106,7 +106,7 @@ rgb { }; }; - hdmi@54280000 { + hdmi: hdmi@54280000 { compatible = "nvidia,tegra114-hdmi"; reg = <0x54280000 0x00040000>; interrupts = ; @@ -370,7 +370,7 @@ pwm: pwm@7000a000 { status = "disabled"; }; - i2c@7000c000 { + i2c1: i2c@7000c000 { compatible = "nvidia,tegra114-i2c"; reg = <0x7000c000 0x100>; interrupts = ; @@ -385,7 +385,7 @@ i2c@7000c000 { status = "disabled"; }; - i2c@7000c400 { + i2c2: i2c@7000c400 { compatible = "nvidia,tegra114-i2c"; reg = <0x7000c400 0x100>; interrupts = ; @@ -400,7 +400,7 @@ i2c@7000c400 { status = "disabled"; }; - i2c@7000c500 { + i2c3: i2c@7000c500 { compatible = "nvidia,tegra114-i2c"; reg = <0x7000c500 0x100>; interrupts = ; @@ -415,7 +415,7 @@ i2c@7000c500 { status = "disabled"; }; - i2c@7000c700 { + i2c4: i2c@7000c700 { compatible = "nvidia,tegra114-i2c"; reg = <0x7000c700 0x100>; interrupts = ; @@ -430,7 +430,7 @@ i2c@7000c700 { status = "disabled"; }; - i2c@7000d000 { + i2c5: i2c@7000d000 { compatible = "nvidia,tegra114-i2c"; reg = <0x7000d000 0x100>; interrupts = ; @@ -445,7 +445,7 @@ i2c@7000d000 { status = "disabled"; }; - spi@7000d400 { + spi1: spi@7000d400 { compatible = "nvidia,tegra114-spi"; reg = <0x7000d400 0x200>; interrupts = ; @@ -460,7 +460,7 @@ spi@7000d400 { status = "disabled"; }; - spi@7000d600 { + spi2: spi@7000d600 { compatible = "nvidia,tegra114-spi"; reg = <0x7000d600 0x200>; interrupts = ; @@ -475,7 +475,7 @@ spi@7000d600 { status = "disabled"; }; - spi@7000d800 { + spi3: spi@7000d800 { compatible = "nvidia,tegra114-spi"; reg = <0x7000d800 0x200>; interrupts = ; @@ -490,7 +490,7 @@ spi@7000d800 { status = "disabled"; }; - spi@7000da00 { + spi4: spi@7000da00 { compatible = "nvidia,tegra114-spi"; reg = <0x7000da00 0x200>; interrupts = ; @@ -505,7 +505,7 @@ spi@7000da00 { status = "disabled"; }; - spi@7000dc00 { + spi5: spi@7000dc00 { compatible = "nvidia,tegra114-spi"; reg = <0x7000dc00 0x200>; interrupts = ; @@ -520,7 +520,7 @@ spi@7000dc00 { status = "disabled"; }; - spi@7000de00 { + spi6: spi@7000de00 { compatible = "nvidia,tegra114-spi"; reg = <0x7000de00 0x200>; interrupts = ; @@ -535,14 +535,14 @@ spi@7000de00 { status = "disabled"; }; - rtc@7000e000 { + tegra_rtc: rtc@7000e000 { compatible = "nvidia,tegra114-rtc", "nvidia,tegra20-rtc"; reg = <0x7000e000 0x100>; interrupts = ; clocks = <&tegra_car TEGRA114_CLK_RTC>; }; - kbc@7000e200 { + tegra_kbc: kbc@7000e200 { compatible = "nvidia,tegra114-kbc"; reg = <0x7000e200 0x100>; interrupts = ; @@ -682,7 +682,7 @@ mipi: mipi@700e3000 { #nvidia,mipi-calibrate-cells = <1>; }; - mmc@78000000 { + sdmmc1: mmc@78000000 { compatible = "nvidia,tegra114-sdhci"; reg = <0x78000000 0x200>; interrupts = ; @@ -693,7 +693,7 @@ mmc@78000000 { status = "disabled"; }; - mmc@78000200 { + sdmmc2: mmc@78000200 { compatible = "nvidia,tegra114-sdhci"; reg = <0x78000200 0x200>; interrupts = ; @@ -704,7 +704,7 @@ mmc@78000200 { status = "disabled"; }; - mmc@78000400 { + sdmmc3: mmc@78000400 { compatible = "nvidia,tegra114-sdhci"; reg = <0x78000400 0x200>; interrupts = ; @@ -715,7 +715,7 @@ mmc@78000400 { status = "disabled"; }; - mmc@78000600 { + sdmmc4: mmc@78000600 { compatible = "nvidia,tegra114-sdhci"; reg = <0x78000600 0x200>; interrupts = ; @@ -726,7 +726,7 @@ mmc@78000600 { status = "disabled"; }; - usb@7d000000 { + usb1: usb@7d000000 { compatible = "nvidia,tegra114-ehci", "nvidia,tegra30-ehci"; reg = <0x7d000000 0x4000>; interrupts = ; @@ -734,11 +734,11 @@ usb@7d000000 { clocks = <&tegra_car TEGRA114_CLK_USBD>; resets = <&tegra_car 22>; reset-names = "usb"; - nvidia,phy = <&phy1>; + nvidia,phy = <&usb1_phy>; status = "disabled"; }; - phy1: usb-phy@7d000000 { + usb1_phy: usb-phy@7d000000 { compatible = "nvidia,tegra114-usb-phy", "nvidia,tegra30-usb-phy"; reg = <0x7d000000 0x4000>, <0x7d000000 0x4000>; @@ -766,7 +766,7 @@ phy1: usb-phy@7d000000 { status = "disabled"; }; - usb@7d008000 { + usb3: usb@7d008000 { compatible = "nvidia,tegra114-ehci", "nvidia,tegra30-ehci"; reg = <0x7d008000 0x4000>; interrupts = ; @@ -774,11 +774,11 @@ usb@7d008000 { clocks = <&tegra_car TEGRA114_CLK_USB3>; resets = <&tegra_car 59>; reset-names = "usb"; - nvidia,phy = <&phy3>; + nvidia,phy = <&usb3_phy>; status = "disabled"; }; - phy3: usb-phy@7d008000 { + usb3_phy: usb-phy@7d008000 { compatible = "nvidia,tegra114-usb-phy", "nvidia,tegra30-usb-phy"; reg = <0x7d008000 0x4000>, <0x7d000000 0x4000>; From patchwork Tue Feb 21 17:53:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Svyatoslav Ryhel X-Patchwork-Id: 60191 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp144105wrd; Tue, 21 Feb 2023 09:56:36 -0800 (PST) X-Google-Smtp-Source: AK7set/a/StYDG9ECQgs/d14HVZFMozAJmrZ3BL3dGR6/0aRMYnNqbDA1OS9VFmSKZ5lv9N/8IQS X-Received: by 2002:a50:e604:0:b0:4ae:eb0f:4220 with SMTP id y4-20020a50e604000000b004aeeb0f4220mr5740739edm.38.1677002196386; Tue, 21 Feb 2023 09:56:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677002196; cv=none; d=google.com; s=arc-20160816; b=TtZm0zAiPMAbK0NHPZpLZvLFHz8RliNbuZU2mOFKFlODML90dmUCDuvl3Pe0oqyeEl QeKErouLMUJqnOneMauNfyJUd4Gh9QRYZhNDosGcJftEJuHfpCDz9MV71tOM692Hc6yq Bj/5IrYTcIMvDGC3dOH3bfdXzfHiRnyUIF2uXEzjfmXROS7zz5DmdwswqaBLpN1v6u30 R9ypopt4ubJx2cA8jP4dAB5SFoIQt0alLxuz97n9eKZ29j/0vpxG2cvNJ+FMJRTk5vhZ YNNQbSVzpmKVcD6HauXGPclzEe/ixRjMHaQYyD8tptnRku/OQAHQ5cz45JG9Qpxf8LG2 g1cQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=2cvh0M4miY/BiqN/UdWftX82fG+Lj6GlwYOBUkwznvo=; b=uXw3cqfeuy+GYTRVsXpuzhfClunMmxOcl+TQPLbHZgHETdTyj2XAyHUD5qWDppKP4d c6QlDrbiAHIbQnOKr6VGxCsungD5EHTpTIynFprDHzWFMGInKQy9bW3OOARqH8/0Rt3b 7iiWGexFKFk2gLu+L/vU76z/PhY60WGZx4J2hCEU9yvCLpIRK3sxSFuTF//8Q8Jk7LSw KC9TiMRd2mzCvnXoFlc2k2o1FHaHl4n+zqVlV/mhz8KCy9lOJZpsLOkwf0avgnCS9qNn kxc0QF/QfVP18oTzqLtg/AbID7ax0eLZuUOErRRsCuXyf/dKfnam7X3SeWrlYFFT9lRf 1UQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=cBa6WRll; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e9-20020a056402148900b004ad5219cd2asi18815868edv.355.2023.02.21.09.56.13; Tue, 21 Feb 2023 09:56:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=cBa6WRll; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234812AbjBURyY (ORCPT + 99 others); Tue, 21 Feb 2023 12:54:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233469AbjBURyS (ORCPT ); Tue, 21 Feb 2023 12:54:18 -0500 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3469E2ED6B; Tue, 21 Feb 2023 09:54:17 -0800 (PST) Received: by mail-ed1-x52e.google.com with SMTP id ec43so20056654edb.8; Tue, 21 Feb 2023 09:54:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=2cvh0M4miY/BiqN/UdWftX82fG+Lj6GlwYOBUkwznvo=; b=cBa6WRllV+su64zJBcA5Ebb57h84BMkCI47BRx7vs9wpaKO0YylJsSHxaF4lJHPpNs hfLV2+KYNq6WRS0HLCAsgAIgLmmtpbRN0JlFk3cFJ/BK6U8msQZ0V+R4sC5+HweYsO+z mxEzounI70ZVLJKLNLYSk4zT99qZzhoo1o5ktifW/yUIIcoDKh/QgKBA1aTi/1XDI6lb ZC9EGsBEKze1MC9CX9PvzEK4DJWnPprqdvrZ0J3/c21B+ov4PRJY1GOKz8dzkFuoG8Gf JNoLeHNU1fxkJqOfxd73gIKfrmOD6++9rpdgryjR4kqUAvKRKaQ2u7CgK7tZNCggluKr y8Ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2cvh0M4miY/BiqN/UdWftX82fG+Lj6GlwYOBUkwznvo=; b=o7yKy4WE/mFjvVM6VNIW5CtFi+tw/XDQUKrOr9FOenV0yhDluGVt3SgRoIKUr9pPjB CVXJ/WJ5JwMU/58N4seiMqwmi/TsU9Zz3kFPzzcYPyw85j5DKQchM+rxFxTHeEFtCrHk eX60nw0n2xxurCMNca7qDZQACU8ZlHuDNVnViUuepo8ISqjbMQ4aYEel7JniiB7s8xBl 9MyRt8wQwru2G/l/dh5yrEj38hYToWRSM2ytPchQuKooLKom8SFAUWr5qqFPrPy2d0i3 6Tej/7hpdOxf8rVbCk0GlzInVXyMwuQeRv9mo41pvB36WvHnvDtC1mIbpv8TD4SIMo3v 2sUg== X-Gm-Message-State: AO0yUKX7IP6Snw82Ixs0QsYc5N/kEdUIojUWq7K02eVtF+amv2wCX92E ShplkH6eDBfId9RXFlACpuY= X-Received: by 2002:a17:906:805a:b0:8b2:7534:265e with SMTP id x26-20020a170906805a00b008b27534265emr15054249ejw.58.1677002055648; Tue, 21 Feb 2023 09:54:15 -0800 (PST) Received: from xeon.. ([188.163.112.76]) by smtp.gmail.com with ESMTPSA id b3-20020a170906660300b008e493b7bb61sm236357ejp.153.2023.02.21.09.54.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 09:54:15 -0800 (PST) From: Svyatoslav Ryhel To: Rob Herring , Krzysztof Kozlowski , Thierry Reding , Jonathan Hunter , Svyatoslav Ryhel , Maxim Schwalm , Dmitry Osipenko Cc: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 3/5] ARM: tegra: transformer: use labels for mmc in aliases Date: Tue, 21 Feb 2023 19:53:46 +0200 Message-Id: <20230221175348.15681-4-clamor95@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230221175348.15681-1-clamor95@gmail.com> References: <20230221175348.15681-1-clamor95@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758464254726574816?= X-GMAIL-MSGID: =?utf-8?q?1758464254726574816?= Since mmc devices in common dtsi are labeled let's use labels for simpler comprehension of tree. Signed-off-by: Svyatoslav Ryhel --- arch/arm/boot/dts/tegra30-asus-transformer-common.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/tegra30-asus-transformer-common.dtsi b/arch/arm/boot/dts/tegra30-asus-transformer-common.dtsi index 08ea9cb32d0e..70f7f279fd35 100644 --- a/arch/arm/boot/dts/tegra30-asus-transformer-common.dtsi +++ b/arch/arm/boot/dts/tegra30-asus-transformer-common.dtsi @@ -12,9 +12,9 @@ / { chassis-type = "convertible"; aliases { - mmc0 = "/mmc@78000600"; /* eMMC */ - mmc1 = "/mmc@78000000"; /* uSD slot */ - mmc2 = "/mmc@78000400"; /* WiFi */ + mmc0 = &sdmmc4; /* eMMC */ + mmc1 = &sdmmc1; /* uSD slot */ + mmc2 = &sdmmc3; /* WiFi */ rtc0 = &pmic; rtc1 = "/rtc@7000e000"; From patchwork Tue Feb 21 17:53:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Svyatoslav Ryhel X-Patchwork-Id: 60192 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp144131wrd; Tue, 21 Feb 2023 09:56:42 -0800 (PST) X-Google-Smtp-Source: AK7set8kkXxPLdaaBi/Q+mUcu1M9n01xsdRJjZratMzHgL2oPJjlT9i9yuO0KDombDqSuRavFiG0 X-Received: by 2002:a17:907:971a:b0:8de:920d:a4bb with SMTP id jg26-20020a170907971a00b008de920da4bbmr4333910ejc.26.1677002202242; Tue, 21 Feb 2023 09:56:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677002202; cv=none; d=google.com; s=arc-20160816; b=K5xuCDCNu1ijNc9xrvxeDle+FtTgrlLWK1qAg7Ly1ylhdR1bnsjhAhsEXdvIe6GpdP ocAEpYDNQL4Ljl8ODu5XeD+RFWhKp2v/s1R5sKa8zKvLwVP95Vg9ObOGE85PsVl0tJhS N88zlqo/2yzPr50fpgSNoTrby+qqTxutpfH26fh1HqZBsumdSITLj7U+F7BHjDFKlcib Pv0oAQ60ii2vERdobPcObC5apZQgFl5ZkuRlbnpP8aTiVhnSwaeZ78pdNGT/zCg2jns7 koq4BdPoe013qFkXxtdadHuy7Pg9VVGgRAqBOeAeMNKxMnGWJyZeNR6PTQI0daX+/bFL QVCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=70ZWc+aPECVoIOGnXpdYWCEvBu+S9xi4hcK/1o5dA1g=; b=R4DIB5pINmoT98aSuGH/7rBcWykmDrCCO7iryxJliGYsCBFWzJSBXOiZPFXlNmsv6R mZZAQtvHlN/xAOur+lZuYsbU4RRY4XlRIAEJ3oKSDjDYYxDaXLOPGVsbHnxoa5ojF/aB BmBwvCylDN82kpuSWP4D7KiCpl02+VOB1Dnv36fw5OEVQ+mdfOLxA7z/4I+uLwAsAgDf dcnwyiS60V0flS+j2xiuxB3ad4ymgjUH5d3C4thwlCdrkjqLm00l56AjB15o6ydBVzqc FwdfaSsJT1chO6IaP6y11eR/fJx5k9+UX4OO+dWZYsrPj3XYXJHrhEhU1Olwq1eIaQpG d6ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=JOGIEPFq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id uh38-20020a170906b3a600b008d5ea586683si5638358ejc.611.2023.02.21.09.56.19; Tue, 21 Feb 2023 09:56:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=JOGIEPFq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234843AbjBURy0 (ORCPT + 99 others); Tue, 21 Feb 2023 12:54:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232730AbjBURyS (ORCPT ); Tue, 21 Feb 2023 12:54:18 -0500 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EF8D2E808; Tue, 21 Feb 2023 09:54:18 -0800 (PST) Received: by mail-ed1-x52e.google.com with SMTP id g1so20319483edz.7; Tue, 21 Feb 2023 09:54:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=70ZWc+aPECVoIOGnXpdYWCEvBu+S9xi4hcK/1o5dA1g=; b=JOGIEPFq1yRpU/rqPhtBfp9JfeCK080f4wNqaLEkIMT1B4SrfCNuSrrNG9nOrxftTj /LUTSaPaTe0PobDLxgP7xq4eZRBGeBYbWh9zeZhxUi1gWq+kuGEIW+P18zw4/x9cmKju Frtnut9JbsnWEZ2V81p1MrqiYoZz8n7MMCWCeuh7kjFCOvekaJC2WjVHLbDvUKeGnHb5 85Gwfs1bkkTd6LdnQXDcSueAXkqFLcxKyeMCoXVejc93SuZGKgCO4UUEqvL7hT+2bU/U MqK0NEZvJAgRbGWVlOX1fsiLmxQXrRshmflw1EUlOMgPu3dBfMhvUNn5xEonMafaxcgX JdJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=70ZWc+aPECVoIOGnXpdYWCEvBu+S9xi4hcK/1o5dA1g=; b=Bhtr1epD5g8AVWNVlNPw/WKrnbd4GElcXH42N4LU9rD0+nn9ozsulzj4rp1zV/Hevp eKdD8QJI03BlV6b3U85PWXcg2VcyS7FaCsswj5UJkU4CQKzIXe64xd3jMMqT8RtLM02t LYu41EdNXgSGfaT2YfrRbFoDx+st9Mcy5YBT5iOlJ4KKSLWnpeqmgVAG9F6l/zkpgkgV OXhoU/7kih9yMKc4KDOmpYWW7t2MvwWxBSBeOD1VedPd9zEroM2+O8wPOVsz6MFIHx5U 6f5ES6QipIIa7Phi54PoxCL69kOuM4krEpfF0gbBWiMdl9IxupJj0qKJyw6ukVcQM8I9 eopw== X-Gm-Message-State: AO0yUKUeEEfIjtdZz0q8we53dHhGMoQ/pd7asMn0QyL6qXP+K7P3V6U5 ZUVyEQlSy/4jaG11mJ+DYzc= X-Received: by 2002:a17:907:c284:b0:8b3:1e35:8f22 with SMTP id tk4-20020a170907c28400b008b31e358f22mr17258018ejc.58.1677002056593; Tue, 21 Feb 2023 09:54:16 -0800 (PST) Received: from xeon.. ([188.163.112.76]) by smtp.gmail.com with ESMTPSA id b3-20020a170906660300b008e493b7bb61sm236357ejp.153.2023.02.21.09.54.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 09:54:16 -0800 (PST) From: Svyatoslav Ryhel To: Rob Herring , Krzysztof Kozlowski , Thierry Reding , Jonathan Hunter , Svyatoslav Ryhel , Maxim Schwalm , Dmitry Osipenko Cc: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 4/5] ARM: tegra: asus-tf101: fix accelerometer mount matrix Date: Tue, 21 Feb 2023 19:53:47 +0200 Message-Id: <20230221175348.15681-5-clamor95@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230221175348.15681-1-clamor95@gmail.com> References: <20230221175348.15681-1-clamor95@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758464261132904375?= X-GMAIL-MSGID: =?utf-8?q?1758464261132904375?= Accelerometer mount matrix used in tf101 downstream is inverted. This new matrix was generated on actual device using calibration script, like on other transformers. Tested-by: Robert Eckelmann Signed-off-by: Svyatoslav Ryhel --- arch/arm/boot/dts/tegra20-asus-tf101.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/tegra20-asus-tf101.dts b/arch/arm/boot/dts/tegra20-asus-tf101.dts index c39ddb462ad0..588845965f99 100644 --- a/arch/arm/boot/dts/tegra20-asus-tf101.dts +++ b/arch/arm/boot/dts/tegra20-asus-tf101.dts @@ -577,9 +577,9 @@ accelerometer@f { vdd-supply = <&vdd_1v8_sys>; vddio-supply = <&vdd_1v8_sys>; - mount-matrix = "1", "0", "0", - "0", "1", "0", - "0", "0", "1"; + mount-matrix = "-1", "0", "0", + "0", "-1", "0", + "0", "0", "-1"; }; }; }; From patchwork Tue Feb 21 17:53:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Svyatoslav Ryhel X-Patchwork-Id: 60190 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp144051wrd; Tue, 21 Feb 2023 09:56:26 -0800 (PST) X-Google-Smtp-Source: AK7set+pnewFvjW6OVPwOalsYPUrXpdSwOcI2P/z0gyQCApiOpKkkiuSDxFz4tjRV+qrjwAaoTJ3 X-Received: by 2002:a17:907:6e8c:b0:8af:3739:bdd7 with SMTP id sh12-20020a1709076e8c00b008af3739bdd7mr12885215ejc.27.1677002185873; Tue, 21 Feb 2023 09:56:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677002185; cv=none; d=google.com; s=arc-20160816; b=M8dPcPYOW4VhKsYW2BiDqtxAQjhVaOGanBnM5+1S0L+9hceHBE8iKGUsP7JMjet+2A IL0QuFCJYhZcMN5fw5u2mxIz6p6RMHob6+iHYqW0xsu6W9+Vc4I+I8DdRog09+xwRsDR Ppmx8rZkxRa+2T5AzHeSRGnyQhedaY9LJOm5oEBOrypOmHlGV02VJ6/cjLbXOH79Cphq pfDq3DXw0KcgvWtEPMN5f8x64Yl7LGCdZjznzkB8jlp99FmXLp9BUZQhV1pElK4nNlDL 60EjfCyArYdBlwoxpsKcf5PMBBiIAhQKFgDGPPcxCcyaQ9v1Yaosgv/2brNTG8cVfsee 23nQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=syuBBfuFNqUVEt5myTUHBWQU/zXBUecumwT+b6a2b1M=; b=Ne6PuNf5jrZny/hPb+ljXfQiG8FLhbHIBxpjvwqRYLoeNqgSuRSfeKcL8xGONDyGQn dHPbw3pEhmNWa7A9+FjZypNXWSm3HlXGAMOiK5fwOaUs71FjeKV+SDaSnQ+aWKTjF0SK 9HWs67MAqzQJ4/DAxTcHk4Xk7dO+S2IfJSsPlWQjubxGdQ9bHLvEKtzwYpaL2f+xm+jc Vxg7pzfDCEARqfCRPExrnCnb4dpYf9m1Yia0x8apqpa7nC+bRRWgn73+0hU6sLwTd/he gk4YgDR5TClEIz0vrypN1JxtPQcFt25NYvTsVTH0Lmp2LgVEG8wVx0je/B71woZMalvB r4NQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=AGZu5gEI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t14-20020aa7d70e000000b004acb6d9df2asi10645741edq.10.2023.02.21.09.56.02; Tue, 21 Feb 2023 09:56:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=AGZu5gEI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234858AbjBURyb (ORCPT + 99 others); Tue, 21 Feb 2023 12:54:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232222AbjBURyU (ORCPT ); Tue, 21 Feb 2023 12:54:20 -0500 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EBD1F2F787; Tue, 21 Feb 2023 09:54:18 -0800 (PST) Received: by mail-ed1-x532.google.com with SMTP id da10so21793554edb.3; Tue, 21 Feb 2023 09:54:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=syuBBfuFNqUVEt5myTUHBWQU/zXBUecumwT+b6a2b1M=; b=AGZu5gEIPSYKRYNzAgI8kqaU/PIpT5EgeijlR8isi/ANHPYmgW67diC/jEcjZDEWpt E2dmehxpVEZKDz0KC23oqFrFjmrCjJNiIqouPGXqdgm5VkPmiSBk9mMCTDWvCFl5zOAI 2H5HEe1K6nei1UNg1NyoxqlCTZH4MKNN/AW8MZfid9KtlihlxCJYt2RI5lCwdVTzoJiX BTMKogf3TPtRk01ks4ZNHGBshuIxOWkN0iI83rlGIf8W1W/VaIYvJiwYUEiMfGxbWox8 LLusaZJH6yDDaG3QALS1IKA3nf5O3T4VS50FLbBo8KAIxx5Mb0aZ8cfwVVePvLuEFufg JZWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=syuBBfuFNqUVEt5myTUHBWQU/zXBUecumwT+b6a2b1M=; b=XgSiOlNyeLLNIAnqLWwonKIOVRMg7LllAR/3Lzpp4Au6KG6wkFTH1sI0DQkvG05Lev lMt20eTkBDoI4FbLBcWIj7+s+Ftglzr6cvWiFrreCWg6t+U0luXAM5MgMKHG9qhcJKdk Whl0Xff5LFOUUmd9cyilbAC7YmI68rD70xioQoWxI2lBBbUQYP1lu9kumh9GkyNoatzG A1jUfazNU2E2Abdg8ZrEpxE1HAt5TmJ3r5CmxDqN+v4NlrR5ADMnj78aagE27VMLH4k5 Pd80/IhSJbicOxmXUxx86s53yYfV+pFH5kW0SPu5Hz+JOvbfOLbzTA6RdcqJ+Djzpk3T rykA== X-Gm-Message-State: AO0yUKVJVt5NsrXjJZSXhMOxMGGWQwPkQGq4U5EFkUMoqH35rkWm/bgb GPhepbYNkf9AjfZFerjz5ik= X-Received: by 2002:a05:6402:2485:b0:4ad:52bc:2780 with SMTP id q5-20020a056402248500b004ad52bc2780mr4470118eda.2.1677002057503; Tue, 21 Feb 2023 09:54:17 -0800 (PST) Received: from xeon.. ([188.163.112.76]) by smtp.gmail.com with ESMTPSA id b3-20020a170906660300b008e493b7bb61sm236357ejp.153.2023.02.21.09.54.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 09:54:17 -0800 (PST) From: Svyatoslav Ryhel To: Rob Herring , Krzysztof Kozlowski , Thierry Reding , Jonathan Hunter , Svyatoslav Ryhel , Maxim Schwalm , Dmitry Osipenko Cc: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 5/5] tegra30: peripherals: add 266.5MHz nodes Date: Tue, 21 Feb 2023 19:53:48 +0200 Message-Id: <20230221175348.15681-6-clamor95@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230221175348.15681-1-clamor95@gmail.com> References: <20230221175348.15681-1-clamor95@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758464244247554750?= X-GMAIL-MSGID: =?utf-8?q?1758464244247554750?= Some devices may require this entry for proper work. Signed-off-by: Svyatoslav Ryhel --- .../arm/boot/dts/tegra30-peripherals-opp.dtsi | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/tegra30-peripherals-opp.dtsi b/arch/arm/boot/dts/tegra30-peripherals-opp.dtsi index d100a1a8b705..a2d557155114 100644 --- a/arch/arm/boot/dts/tegra30-peripherals-opp.dtsi +++ b/arch/arm/boot/dts/tegra30-peripherals-opp.dtsi @@ -210,6 +210,20 @@ opp-204000000-1250 { opp-suspend; }; + opp-266500000-1000 { + opp-microvolt = <1000000 1000000 1350000>; + opp-hz = /bits/ 64 <266500000>; + opp-supported-hw = <0x0007>; + required-opps = <&core_opp_1000>; + }; + + opp-266500000-1250 { + opp-microvolt = <1250000 1250000 1350000>; + opp-hz = /bits/ 64 <266500000>; + opp-supported-hw = <0x0008>; + required-opps = <&core_opp_1250>; + }; + opp-333500000-1000 { opp-microvolt = <1000000 1000000 1350000>; opp-hz = /bits/ 64 <333500000>; @@ -424,6 +438,12 @@ opp-204000000 { opp-suspend; }; + opp-266500000 { + opp-hz = /bits/ 64 <266500000>; + opp-supported-hw = <0x000F>; + opp-peak-kBps = <2132000>; + }; + opp-333500000 { opp-hz = /bits/ 64 <333500000>; opp-supported-hw = <0x000F>;