From patchwork Sat Mar 4 08:43:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Svyatoslav Ryhel X-Patchwork-Id: 64180 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp834589wrd; Sat, 4 Mar 2023 00:46:10 -0800 (PST) X-Google-Smtp-Source: AK7set+IjuzHMh799cCzhghe2pXn1xNl2BU6rg3uYeNS6h4Mo6NxAQz5wiocU5rx+62h0bgBf2yt X-Received: by 2002:a05:6a21:3288:b0:cc:9b29:f61d with SMTP id yt8-20020a056a21328800b000cc9b29f61dmr6256039pzb.6.1677919570522; Sat, 04 Mar 2023 00:46:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677919570; cv=none; d=google.com; s=arc-20160816; b=Z/Ie5jjpcJhjhjG/shJkQj+Y0UZpBGN2LHdnn5zlRDDAX21jR6LW3code1MmLHy6ji g2Roz5GcpGYn4V1L6q4G82fmiIl9IzMIB8+N3xXXRu8mDdfEj/heI+296bkUva+gsXnY zK86EDB4X+NWREkzBSAhaH9+YT1wuVmsyGRP2mm2Gu6o8n5JQCpePkoUeQso8pPpR1EW rF/gD84iMDwvjbfiuYSnvuYxKpOzcppOkl0N7ZhKhqt/jXvUko2DniRllPqAPMJ/a6pt zPMUsYF0vCmckFtXllPVjz6sVu959RYKATav/MDsrA86f87jVNzxFtaVtCa1IwzTLRqh rjgg== 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=06lwnFseIDwVeMprn2XahyYHioghioWL+lWZtjIC4y4=; b=alq2ikhAUvrUaXVWLai34NaYd7gTlsydLWm4ru9Mvnm810STxj50m8L7M0kqGVfb5l shuLlQ8aX6vcbJybmezWHPM+WB9y07PXi+LvTMghfVT3ihocXhsWxbrkeufLslKv0A0/ JERrNhxKbh1CX8ssbXOvQA1IxxgNFyDohTdQIoCjDTgNUJCRaywiLelVgQbiWwmJP3ZA fSaFr2LuzptOgXiGfXEErR58gcM5DhhimU1fDsi5J4yZWoVta/jh7OhDu4ItbZ84zwOv bHSxzIsXdBi3pvOUmjmDqmghwfUSuqoFDppiYJmSSCOGVnbGior0crQkt8aFOF3D7cCb ootw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=dRRkPgqL; 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 d18-20020a630e12000000b004fba7af9ce7si4314865pgl.135.2023.03.04.00.45.58; Sat, 04 Mar 2023 00:46:10 -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=dRRkPgqL; 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 S229696AbjCDIns (ORCPT + 99 others); Sat, 4 Mar 2023 03:43:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229471AbjCDInq (ORCPT ); Sat, 4 Mar 2023 03:43:46 -0500 Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F34B14E8E; Sat, 4 Mar 2023 00:43:43 -0800 (PST) Received: by mail-lj1-x232.google.com with SMTP id g18so4676143ljl.3; Sat, 04 Mar 2023 00:43:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677919422; 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=06lwnFseIDwVeMprn2XahyYHioghioWL+lWZtjIC4y4=; b=dRRkPgqLFSzffbL51BFS+Ah8RfS5rlSGXU+EIx1Sc3pYS8PIU2T/iZMj0wo6xxqyhP oQeJDKrgpaDSKEMposgg7abrP6TZziiRYSCnwUO9fOxng+GbdPBpN3A5z+puOXbQ6pIX U9rnWO5CZwjH0cPMEHTmCuiE3fj7+Sa+iN0DktpJUlsga47On7tl9d3msRKIYs2+VyRQ Bge1sSO1ILPxcQWmKyzBUUct56e1UW3pmwuigBoyjVgh98jHTmwEnxUUAuNWt8/Qqb0N kOAmUDq3ojXmOIY/PI8fKk35MuQEHBRDjQqMZPRhff7oyrHx0MTfBQcKRMDPugLi11NE aLMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677919422; 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=06lwnFseIDwVeMprn2XahyYHioghioWL+lWZtjIC4y4=; b=317oj1mBC7UHmt15YqqM8SuItAkJ8SpWfXAzN1BpUi3z9DwB8Oa+i+cTBy7zGUsEc/ hUfg03qRVtwajFLHDB7fPl8yFcSHfxbTlECcUZn3PfR4JPqM0YO4Wh1D6cAgMP2zYxWq DBzsb7TEJRV3PLbhWQBYqMfKBEU9FJ1p5nbO+HLDfxd39ACOaYZ5opvOipPZkFlIAqXg RSBtfuvTiQODfmVeqXECRXMYss3i8ED3CtXdZmfgAtY5idJpfPOLUNKO1vNCTi5jCwBm Pq+ryKIYS8Rd51aPCBcpkUgj7BlqCQ+RqlvTy6skrJNkNVrX1ZLn2EhKj3URVAJU5Air i3bw== X-Gm-Message-State: AO0yUKXoE3pkoHMw3CbaARbWHC65EsPcJ2Rx0FlPKqjO3vrG65P+EDzf qna3wC0G6robArj94Fe9REk= X-Received: by 2002:a2e:8015:0:b0:295:9074:7c4c with SMTP id j21-20020a2e8015000000b0029590747c4cmr1381306ljg.45.1677919421885; Sat, 04 Mar 2023 00:43:41 -0800 (PST) Received: from xeon.. ([188.163.112.76]) by smtp.gmail.com with ESMTPSA id u5-20020a2ea165000000b00293cc5f83b4sm693575ljl.27.2023.03.04.00.43.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Mar 2023 00:43:41 -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 v2 1/5] ARM: tegra: Add labels to tegra30.dtsi Date: Sat, 4 Mar 2023 10:43:15 +0200 Message-Id: <20230304084319.18424-2-clamor95@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230304084319.18424-1-clamor95@gmail.com> References: <20230304084319.18424-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?1759426191866875939?= X-GMAIL-MSGID: =?utf-8?q?1759426191866875939?= 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 Signed-off-by: Svyatoslav Ryhel --- 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 Sat Mar 4 08:43:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Svyatoslav Ryhel X-Patchwork-Id: 64181 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp834656wrd; Sat, 4 Mar 2023 00:46:25 -0800 (PST) X-Google-Smtp-Source: AK7set93+IcyNKQH7XNn8Fs/q7XycN9v0Nt0YI/0QCgZ0haUB3kKtgQ5c4gqIyedNx4vfM3p+GFs X-Received: by 2002:a17:902:ce8e:b0:19c:d7a9:8be1 with SMTP id f14-20020a170902ce8e00b0019cd7a98be1mr5498436plg.61.1677919585656; Sat, 04 Mar 2023 00:46:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677919585; cv=none; d=google.com; s=arc-20160816; b=KxL5323nVeVZcjYEelTiGxM51r9qRN+QssEIky60ATa5lhvnydpnaNu9I6qfkokArC N8Md0k09gOMJh0hDa1GbZq5IeD/XNpARK5OfeWuorclj+kKfDFUPGgcVC5fzfctFqkIE o3VvnN8CazFknsbLtIcvqizxaCIT24AaA2AWb1D2IWz1LCW90ZSwsyf0ssmqiGSp9Lt7 AxlqQ/le67VEB3wpOI2tkUXNtsj8FfChqV87teqn5hK5KqdKTvebqHkFKDJUVpb01sRS MAs4QPY1onJywvGQU7vUYGFHfa0eBXz/MaZq/Cg05tK/deweH9CY6AB+p6Na7zTN3A// BfYg== 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=Y0pwwdOYyW2II5cV+i3ghWhBGeIC4SqgjPw8ThgafFQ=; b=XNOoQgAy5MWDQc3xl619ktkANBCxAjZq8+TdSGEbHdjo5Qj5ahGhpCE3krckdmVvFK RPsXw3e1m6K6UhUllKklxnwkQ3A/g1tkx5KlIbJFtPhrEbjrvfmUWYe87obFYopB2pv6 9M91a1A9MEO+jo/15q3H0dU7ZN1rjXEIHR6MSCQaS8qUU1W+1Qx2BTCiZgeK3o8dnWJ2 6pZ17ieeCrkawx70YsToM8Rz1uAUVhO5bw/823haQmmlXqOHMHGkCNicOs5ms3UCBsgf w13DR0x7vtDZdA2s/3H2Fx7rfrkwa7p/GXnoHRZGWQ2cDiyVkpkKiv6+E82ZKLTROunZ aX+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=f0+bifXy; 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 ik14-20020a170902ab0e00b001990b9e7c81si4260703plb.568.2023.03.04.00.46.13; Sat, 04 Mar 2023 00:46: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=f0+bifXy; 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 S229721AbjCDInv (ORCPT + 99 others); Sat, 4 Mar 2023 03:43:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229649AbjCDInq (ORCPT ); Sat, 4 Mar 2023 03:43:46 -0500 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81A59144B0; Sat, 4 Mar 2023 00:43:44 -0800 (PST) Received: by mail-lj1-x22d.google.com with SMTP id a32so4635998ljr.9; Sat, 04 Mar 2023 00:43:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677919423; 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=Y0pwwdOYyW2II5cV+i3ghWhBGeIC4SqgjPw8ThgafFQ=; b=f0+bifXyf8DnfrgXI5mQ4YBx4w+iyzWMl59D7kNZ0PnyZgMbm4d2VzRBzaDqYzuA9s SVgKXfxLoAOSkFaKu2kHuERzItVkY+eg973dZkQlT8mwM8M75acWZuVFnaLjNnyy3aUr pLH+F8/s8f+O8Jj6ybE6dmnPXtWgMgypKwOF44NMESlPx71TqUpElTcTxrP52+mXm9Qr JzRb4BddbeUpJ85eKE/0MqLYdist2sZQ5iqN9FyKlT0ivgjkXJzI79YdK8XJmIga/CBB 8/HUqKo70KCgc32YOXadOxdn1are8O68dNAwogamilHJuGYm5LNA0889EGUtqmFFISU3 ZCEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677919423; 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=Y0pwwdOYyW2II5cV+i3ghWhBGeIC4SqgjPw8ThgafFQ=; b=LePrMmmEa31bLnhJbDqKFd9eyhN5j17Z4upZNraaD3jOyiGyZOlPIUIXHk5Y3Rr+XP P4XIyJCtGh4Q+H7Eo519ecybcDdFPxlECBiLQZG9yl3DiWx0Ail3s+m/m12wx+4zzTqz nIIUSHAWhZIkxFXArVzXBzAagA4OW6d0sgfR8cBrECwW4KiQmQt+vE4TS3pgdJXv1GqX FTQ0OLAE4M8UNBQpeCfSWIbSP17ptgV3lIzNnismE8S/MOrITbS9tYl0PSLOmv8hfCtF 2RfBmr9KJNeFl/AVrSynyeLK7GZUFZg4On/r0gkX2wEoL0zU2nRnVjUMSJUhsgODmH2r kO2w== X-Gm-Message-State: AO0yUKWSR9IkjtoMeRc9a5X5lrz1LfYvaZlMu+vYNxeVHwSmOjr/Sisf Cna2dSKOw6HCjZROad5K9Es= X-Received: by 2002:a05:651c:11c9:b0:295:c491:3b34 with SMTP id z9-20020a05651c11c900b00295c4913b34mr1334940ljo.38.1677919422786; Sat, 04 Mar 2023 00:43:42 -0800 (PST) Received: from xeon.. ([188.163.112.76]) by smtp.gmail.com with ESMTPSA id u5-20020a2ea165000000b00293cc5f83b4sm693575ljl.27.2023.03.04.00.43.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Mar 2023 00:43:42 -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 v2 2/5] ARM: tegra: Add labels to tegra114.dtsi Date: Sat, 4 Mar 2023 10:43:16 +0200 Message-Id: <20230304084319.18424-3-clamor95@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230304084319.18424-1-clamor95@gmail.com> References: <20230304084319.18424-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?1759426207148778206?= X-GMAIL-MSGID: =?utf-8?q?1759426207148778206?= 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 Signed-off-by: Svyatoslav Ryhel --- 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 Sat Mar 4 08:43:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Svyatoslav Ryhel X-Patchwork-Id: 64184 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp836377wrd; Sat, 4 Mar 2023 00:53:52 -0800 (PST) X-Google-Smtp-Source: AK7set8SOBxeskmSEIUCVhBsquT2Ukmv8rCgCUe92WoTre+ve4r5xUbKgszwffElhEEX/yB0aRLX X-Received: by 2002:a17:902:d2c9:b0:19a:7d0e:ceea with SMTP id n9-20020a170902d2c900b0019a7d0eceeamr5042952plc.25.1677920031700; Sat, 04 Mar 2023 00:53:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677920031; cv=none; d=google.com; s=arc-20160816; b=W5mlF0sIiU4I0W36Ro5iN5BnPZzmJZlkmArOjskei96vMz+917WluadaiN4KqgshNh Gl7IqOBGnkomacuAikfNpzyyxYLbUsb5e3cEvAqkg7MAp9R1NWMZCvGqKcO3NdI+eTey hQuFb5skU4UT62dtAQGVokVQze/RYVq6Njc5z/W+9t0LxFxLhYYnfb7ybEeG/7eT+H++ W3AVTO7PoZusncM8JwFJYjNpon+w03vnB/a4x/mm/2noVeGQm+d4wLGDx7ZvVcp/QmzG WFnVnuJD+CRgde84V1T9yGzoMGmirIxWJc7hmt+na/TPpgKytA1R7jn2LZyWLs7Fw0if Xw2A== 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=yD/7b7tYqVWF1zquVLkpv4+ovGX4L/7Ure2SrdQLVu589Wml0C/f3jaMAzMnj0rqS0 r41vGB8StvhJYcfFNfGJsSoLfe3Zlgz9AqLgQUnF59/bpiBzh/AnCeWV7zHeij5L04/8 Msfg96fnIopOJbf+5FPiwx1TTxQ94M+XQccghu6uvbiJG+kiJGFe5ad9NFTF9TXVkiuK 2b3MDhaFgATOkee8SG95nayylDyixQLuwokugL6p3WJ9QiGndTOREo7nYdKTqDZ9HBqK meIrwzCWOQtLsC0SEfPI1ZkSyK1OdGTRUtw7N1mz4PNRksoGo8q7QvaLazI2jxjpi6u1 2aOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=m1ToztVg; 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 ik14-20020a170902ab0e00b001990b9e7c81si4260703plb.568.2023.03.04.00.53.37; Sat, 04 Mar 2023 00:53:51 -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=m1ToztVg; 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 S229738AbjCDIn4 (ORCPT + 99 others); Sat, 4 Mar 2023 03:43:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229651AbjCDInq (ORCPT ); Sat, 4 Mar 2023 03:43:46 -0500 Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A93014E90; Sat, 4 Mar 2023 00:43:45 -0800 (PST) Received: by mail-lj1-x22f.google.com with SMTP id y14so4660934ljq.4; Sat, 04 Mar 2023 00:43:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677919424; 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=m1ToztVg71sF//PDkJ4aaec1p1ekpe4vM1Qq33sQPo64MSs2jYzSiYQomfzKLk7BYl 88hDn6JA/rRnl7AjHsK3civP46hb4J2M4x9k6b6nC9ZNnhM9zpzrKJoGGAC4f6yFk/mv gKC61jroGglFbpd4zsDvKr/q+1g1bGxHfjgOCkY3p2JeS3pmlp47SuUfQHQMxWW2QexG 9Spf59og2Kmld3Ku5a7rrocR1uEVqp/uoYO1V0vjZ043I2Eud1GETiUrdjCT54+yfF6L rtHWEXgZZMirf+2atu9BTQN+ajZ8q5ZlqowRMICIOyjLCZnBSV+BArHypbCsWqxxuL9j JAfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677919424; 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=zxGl9Nk4CKTrGcAKoZuHqxI2Gjs7tbM7kn/PI3iZI6mxIEyZ+Oh+AEPw/+xUEkJ8J1 Fza1H+gXaLIZ4TBG6ZB8h4enJEM56My8XqbmHwo8+7bo5gE9LzPIIyRVL1dCZLvkpxZu vtzyeGz/Cb0hg4MVVr/VtCyHDTfQrAYAm5/1gKxjE2inlWnXboIhRh0vBUBeNBncLGb+ P5YRx642I99iDG1HlOsy+st8SzmPMVSnFbM3vYSLsxuezbeIA58IZVc740se0q4AqQeH IlzUfHBuny+6Klq0QxMUkCsYxlQ+AGG8Kg0g+UY1uRj6nd3VIAB7fWuwVk7o84/GlyUw eK8w== X-Gm-Message-State: AO0yUKWqq0DI+APQp+zaa00JIzMVNOQ2u+2meiDt8jCuRzc6AYJNa/+J PKLwwuyyminDkBizMk/9n2zLQPZQdo8= X-Received: by 2002:a2e:9d51:0:b0:295:8a9b:d8d6 with SMTP id y17-20020a2e9d51000000b002958a9bd8d6mr1350936ljj.4.1677919423679; Sat, 04 Mar 2023 00:43:43 -0800 (PST) Received: from xeon.. ([188.163.112.76]) by smtp.gmail.com with ESMTPSA id u5-20020a2ea165000000b00293cc5f83b4sm693575ljl.27.2023.03.04.00.43.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Mar 2023 00:43:43 -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 v2 3/5] ARM: tegra: transformer: use labels for mmc in aliases Date: Sat, 4 Mar 2023 10:43:17 +0200 Message-Id: <20230304084319.18424-4-clamor95@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230304084319.18424-1-clamor95@gmail.com> References: <20230304084319.18424-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?1759426674861033145?= X-GMAIL-MSGID: =?utf-8?q?1759426674861033145?= 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 Sat Mar 4 08:43:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Svyatoslav Ryhel X-Patchwork-Id: 64182 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp834809wrd; Sat, 4 Mar 2023 00:46:55 -0800 (PST) X-Google-Smtp-Source: AK7set8JrTIMuPnoDz9EIOCPDYfvc4Vrrimy9L6KGTUssAOCYm/wcSBcvQ9yWoZ4fvWNo9vRKrIo X-Received: by 2002:a05:6a20:431b:b0:cc:c557:9ce with SMTP id h27-20020a056a20431b00b000ccc55709cemr5419117pzk.61.1677919614718; Sat, 04 Mar 2023 00:46:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677919614; cv=none; d=google.com; s=arc-20160816; b=ZpEimX26bo7lsV+NMMGJuJmNakJbty0sZXxAIXpfUSYDYVZGcRoEfwkBf0QU/5hGr4 6tgx457cYYO863KR8eAFAlI9Dax6dqLhzlNw3A2DRI9uUtDUlJWdVaUMenoWADo2Wvgu 3wK1h2rXV2ZVoHZCIi58oJH2vO1i+aWFcW44p17VAihqk0NcZYylPKnBmeMNepxdRiI6 +O1cG//I7hvVefauzgWFXgx4/YOsh3hHPufAAC4RH1mGYkfRyjzjnLRn547vPXj88G8w fHMUSALbB3O2ftdx2WnWjUaO5N7M8OQyuDpl6pMuvLT587AGVOi8tmnjQNn8pqo3kYH4 bYCA== 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=hRNjDH6NZqzXhKY6UQmyst/fTLfxr0aI2SvTOa45DY6jhrSOHHdK72Kfk4pTgtGRlF VbqJF7xmuxbjpi10uSvEfmvrYYySkdzn6jOHiuXvDEFyZHSwgzY/xnM+SXcXLBRMC6N0 o1NbeaQoslkEYYZ3NPE0c3CJn/DUuPUDwK2pduieK5SBi9N0ti+YqHkBwxDsgCFXDqDz ubBiUqv9F35FGtTdhqLt5HQ0R1xai+HRE3J4xvCBoxQcyOpmu9Hc5BM6gwlMRfbjbRer btH5gAkrrHBJ0/zL8Gm3F8DS7A8Gm265dQsXZqNJjft11MBruPafy6uJN060W6j4xRrH t1og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=f+jiYGLC; 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 d18-20020a630e12000000b004fba7af9ce7si4314865pgl.135.2023.03.04.00.46.42; Sat, 04 Mar 2023 00:46:54 -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=f+jiYGLC; 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 S229729AbjCDIoB (ORCPT + 99 others); Sat, 4 Mar 2023 03:44:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229679AbjCDInr (ORCPT ); Sat, 4 Mar 2023 03:43:47 -0500 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42BB115CA9; Sat, 4 Mar 2023 00:43:46 -0800 (PST) Received: by mail-lj1-x22d.google.com with SMTP id z42so4605349ljq.13; Sat, 04 Mar 2023 00:43:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677919424; 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=f+jiYGLCjdp88kte6Sr3DZVP2pNxla0i0slfaGRNUVkQPrYfPwWxwrWTpjwUeX1eAM eGAWpY9Lda33j+BmirHcvUWl5hkMyqJfUbc3H586O4PRuSv5n6WPy2yRRtd7Nx+LqfRK 6ozNIRBux/9q+KG/o7nMD3cz5UffR9v9RDQURSFcnaWM7SZ25vwrotT6CI9QJVtDnmph TLZo4O5NjUhgWKHZPJRmhmMkxEp8aogeLWwunUiAbLf6vA+egtjP5Hsg0db3uF/EJ7Zd P+lckVE4ClTCUDTY2PVqEms1cPKzDuodzsgTMEZK1egM8J7JTcrz+vOwLs0nd69RxvVg 8bEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677919424; 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=MeoNf/pDmo93uywQRROFKAJYBA68yiPgwihzgq7hAVRVQrdzdZWditRTynCsDRb626 X2ALXYKJ6iASot/Q1IVE9UeJNErjtO3DdwyVnhsLEaZAGStvluSoVAnlo7lg/qXq7+PS wP8IVPbqu7PsSbYLOXjHMOb+nqxcCnj6LTdIG6P+TcOsXknnViXqdRryZRb7gTunBELV s9T6DtHnPtVNRC+nzOBJwRd37etDpMPFkTkdwsGLcRh6Yih5bgQ46/r76RTxKokd0m0y nbqyJtKl9sOi0mfkYDhFGzQwZf1oc8SUO/30uwPdpb9vsv0Hfe4YJrA6X9KQncKmnN6+ 4CWQ== X-Gm-Message-State: AO0yUKUbEhG9FoKTzbEHKyyg+DcAAIcvOt4Mll6fZNBegB5XuJaWOCdZ 7v0AnKI1c7x9O4mHKC7zew8= X-Received: by 2002:a05:651c:11c6:b0:293:591d:d859 with SMTP id z6-20020a05651c11c600b00293591dd859mr1164414ljo.17.1677919424557; Sat, 04 Mar 2023 00:43:44 -0800 (PST) Received: from xeon.. ([188.163.112.76]) by smtp.gmail.com with ESMTPSA id u5-20020a2ea165000000b00293cc5f83b4sm693575ljl.27.2023.03.04.00.43.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Mar 2023 00:43:44 -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 v2 4/5] ARM: tegra: asus-tf101: fix accelerometer mount matrix Date: Sat, 4 Mar 2023 10:43:18 +0200 Message-Id: <20230304084319.18424-5-clamor95@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230304084319.18424-1-clamor95@gmail.com> References: <20230304084319.18424-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?1759426237994384601?= X-GMAIL-MSGID: =?utf-8?q?1759426237994384601?= 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 Sat Mar 4 08:43:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Svyatoslav Ryhel X-Patchwork-Id: 64185 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp836749wrd; Sat, 4 Mar 2023 00:55:31 -0800 (PST) X-Google-Smtp-Source: AK7set8DmJtWR81HPmI5Esgyz3bBjU8TngxbRWU7UI7pJwU+k0gKyG3EiVk+motFszYzM9NnkEhD X-Received: by 2002:a17:903:32cb:b0:19e:7f89:b3a7 with SMTP id i11-20020a17090332cb00b0019e7f89b3a7mr5205395plr.31.1677920131608; Sat, 04 Mar 2023 00:55:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677920131; cv=none; d=google.com; s=arc-20160816; b=XtXEhFgS1pvMnNYI0ApMxkJqT3hj6cl7edlbEGzNnk1vJKF6VCgNqVzaLYy/8grpqw dEqbVxvtU6e1C1wKABVx1yK3vyWt0FC3zY6OrOgkklZMLIZcEt7R6T8IU651BY79JWlg WsSq9SH+/244CxbS7FM6ytGtAOmzbuBcIgy7bXI/bLmH41+WvmAupbwS4Yaz6XyQJspT EixzHncQ4Dvq0cqonfu2qTCQrgLlN2ndQxZwQ2fyPA4HbJHAbTjWBwVKPcog0iTfW3Qr 9BI8DsIW4i61BoC/CmY1kIpS+9tR9ND9kygqjYqyJLJzAS4UzBmz42NbIgtEWeUwc+Q7 xfBQ== 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=q7hFCjc2Pax92vmr5Cwd8qI1o8S0CY6pZRx8ZKWrMhIebaQgTKIGgg9PT2/ckTLAix aW8TE9XCZmaPO4ZNZIz8BFGz5k/D+LOuHJ838pEQPz7f0RnB+Z6EyxHZxXg81kXfoYg6 khdXlbMQXM8Itcbl58D+fbLaZNTb/UNbyjOZS9vYvrbHDzXvHeUHvW8vJ9OtqzHeULc8 JgFVShxGoGkZE5e0oHmUHa1o4/Yr509ucSOMZLj7KAC8vaian1P7nXW4HMBRlLQupwMd GynCBglPLuuMkO6PksClugY1RHPbt5iRlgA997+sAD5I2CzN23pVYYtCJDJ10q3iLysa lYUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=e+btXyhq; 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 ik14-20020a170902ab0e00b001990b9e7c81si4260703plb.568.2023.03.04.00.55.19; Sat, 04 Mar 2023 00:55:31 -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=e+btXyhq; 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 S229705AbjCDIoE (ORCPT + 99 others); Sat, 4 Mar 2023 03:44:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229695AbjCDIns (ORCPT ); Sat, 4 Mar 2023 03:43:48 -0500 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 109C716336; Sat, 4 Mar 2023 00:43:47 -0800 (PST) Received: by mail-lj1-x233.google.com with SMTP id by8so4644079ljb.7; Sat, 04 Mar 2023 00:43:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677919425; 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=e+btXyhqbjOa0x6eHPe5KW5QJ2cuywCOU3Tc2MdVx0PVc8L5mnzddv8lwSroxdM9mH ZDvo7KBOu7cKh99s7eHy0ISDkDtCybCl7jvzG3Yii2cCCIXiGgEXU2kiQjC1bmMOuWYx hFxbn8AxaBdlZPlJ8+OrtQFJNk/5BtA4VTgMeQ679fn7hM3nmaSegPftXeRqymwoBV9/ LjRCI1kzJWGTd4mqtwtQY3ckP81JmdnXwWWKI2HguIAU21oZ1Pk2gvpI4eKg9WN2pqM7 u5ArRmYeqbenkZY1TumiDdO2DeSifog2KOuY/ByZv3x/4lTdR6pbXRnmGp82otP6lIrb XSpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677919425; 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=a3IxR2RvJ9OQAo/TtnVr51w3UUDd9/aZJ5EtG8MZTVeszMCMT+/Lej7RGYLVl+mSKQ YUNHSiEbjWUKHUqH2l4SmkhboSs3GBW7Gnu4V1TfEE8+ZI6mzcGn4iXYKww+RVqsal1n lv8vMSxnQmjUo5O5m60U0gmjyLLK20TP+zpCywqxL+3HSKxN3t0UQjrLr8N9RhnkX8VS 4BPHlo70wLnePjRsnfW/qXRbkn1Q/eqqExhu3peilXbNtcx0VBKwHDw/8KahktM6Lkp8 Yn5nOQpt1xQq4qOdPY+Nko21HptS3UZ6fG0Qupg7AY8C/cC5H5bnwYaexKLeB2QVvlAo PSMQ== X-Gm-Message-State: AO0yUKU47tnQnKKea4btOBVn99zGcqX2GjbVx+iu2tQzc4YxzEqQGr3Q NkHYu8khytg+R6kAggOafaM= X-Received: by 2002:a2e:b94a:0:b0:293:1565:4353 with SMTP id 10-20020a2eb94a000000b0029315654353mr1335543ljs.10.1677919425459; Sat, 04 Mar 2023 00:43:45 -0800 (PST) Received: from xeon.. ([188.163.112.76]) by smtp.gmail.com with ESMTPSA id u5-20020a2ea165000000b00293cc5f83b4sm693575ljl.27.2023.03.04.00.43.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Mar 2023 00:43:45 -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 v2 5/5] tegra30: peripherals: add 266.5MHz nodes Date: Sat, 4 Mar 2023 10:43:19 +0200 Message-Id: <20230304084319.18424-6-clamor95@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230304084319.18424-1-clamor95@gmail.com> References: <20230304084319.18424-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?1759426780276742701?= X-GMAIL-MSGID: =?utf-8?q?1759426780276742701?= 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>;