Message ID | 20230304084319.18424-4-clamor95@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> 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 <rfc822;ouuuleilei@gmail.com> + 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 <rfc822;linux-kernel@vger.kernel.org>); 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 <clamor95@gmail.com> To: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Thierry Reding <thierry.reding@gmail.com>, Jonathan Hunter <jonathanh@nvidia.com>, Svyatoslav Ryhel <clamor95@gmail.com>, Maxim Schwalm <maxim.schwalm@gmail.com>, Dmitry Osipenko <digetx@gmail.com> 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 Content-Transfer-Encoding: 8bit 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: <linux-kernel.vger.kernel.org> 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?= |
Series |
Tegra DTS improvements
|
|
Commit Message
Svyatoslav Ryhel
March 4, 2023, 8:43 a.m. UTC
Since mmc devices in common dtsi are labeled let's use labels
for simpler comprehension of tree.
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
---
arch/arm/boot/dts/tegra30-asus-transformer-common.dtsi | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Comments
On Sat, Mar 04, 2023 at 10:43:17AM +0200, Svyatoslav Ryhel wrote: > Since mmc devices in common dtsi are labeled let's use labels > for simpler comprehension of tree. > > Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com> > --- > 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 */ I find it hard to see the improvement here. If you really need this, please merge this with the patch that adds the labels and add them on an as-needed basis. That is, if you want to replace the paths by phandle references here, then introduce the sdmmc{1,3,4} labels, but not the other ones which aren't used. Thierry
28 березня 2023 р. 14:39:05 GMT+03:00, Thierry Reding <thierry.reding@gmail.com> написав(-ла): >On Sat, Mar 04, 2023 at 10:43:17AM +0200, Svyatoslav Ryhel wrote: >> Since mmc devices in common dtsi are labeled let's use labels >> for simpler comprehension of tree. >> >> Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com> >> --- >> 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 */ > >I find it hard to see the improvement here. If you really need this, >please merge this with the patch that adds the labels and add them on an >as-needed basis. That is, if you want to replace the paths by phandle >references here, then introduce the sdmmc{1,3,4} labels, but not the >other ones which aren't used. > I see your point, I will reshape first 3 patches with labels. I may amend this patchset entirely, though patches 4 (mount matrix) and 5 (peripheral opps) should be valid. Best regards, Svyatoslav R. >Thierry
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";