From patchwork Wed Mar 29 09:04:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Svyatoslav Ryhel X-Patchwork-Id: 76483 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp270513vqo; Wed, 29 Mar 2023 02:06:04 -0700 (PDT) X-Google-Smtp-Source: AKy350YJl65FXNOBTN4i4gXqCKv/WqJmPOz5lO40JWYCJKhTAU7NjnS9RY9FXgGBo5Lo+JHSq8Wc X-Received: by 2002:a17:906:1cc5:b0:931:42d2:a77f with SMTP id i5-20020a1709061cc500b0093142d2a77fmr18022190ejh.15.1680080763929; Wed, 29 Mar 2023 02:06:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680080763; cv=none; d=google.com; s=arc-20160816; b=ZRz3eBgR48h1hWXtDyl2RslJ3p3dMqK/ktOY+0bpPUVq2nx6J0iHOsdzjmz5PL2QAQ pIY4fZtIfnXH47CwJh3KZn6juGibGlNAu4CQBwMUuEikm7WhJA0THxHGA5DeJh9VrJPi 9vtALHV9yYg39uz4pQE85tw3HAnsdU+Y2zHUuWqN7c1zzbtmQb+14YHCbqZ8iwvJdPkX 0/t8dNBklivFwrWYNCtp5t+Cc81QMrOfTHyVdnZ8Xo6a0ARy7QbPa74/BUuoGvuHSFLG aHHJ0wPmmO7gnocuKM6T3fojLbez3ZEUdWlHJy7MHNVEPw9EjR2SxHidWdOYP9iLvFOM pWYw== 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=/Jvw7lCXM6klT4g7y4ectmTBzvvioBJrdjfCKfiCV2M=; b=s60h+BtcqQBgN5voGQO+gMLRXUB8+vODKm6j09w5xn48KCb0MAkli9cxmzrKNe6SVM bx0gyPrbLvCQixBYnJ7WJg9uWm3mzPrILxP4SyRxtyLT8wwWm+5tz3LBhaaa5txVBI3C P0K0l2h7Ny5FaqCqSx7H8sEzfitTfW2rzeLf87irkKfNHS/g+THoAs6aqZTqMUZgraZr uQ0UA/NU7Z4no9SmKLAc/RlEA9R2plAqeCU05Usk7l68/R7MjKnU+iojM66heDxF3XVz xnbsUOzFIL6nII5AMnQ3Q99WKkDD1cwwSFtChkz2aXqSeVX+KiiO1wTuas+i0BwA85V7 1bXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=mkn927X9; 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 qb25-20020a1709077e9900b0093acfe3810asi21083606ejc.142.2023.03.29.02.05.39; Wed, 29 Mar 2023 02:06:03 -0700 (PDT) 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=mkn927X9; 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 S231224AbjC2JFF (ORCPT + 99 others); Wed, 29 Mar 2023 05:05:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230386AbjC2JEm (ORCPT ); Wed, 29 Mar 2023 05:04:42 -0400 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 CB3C9109; Wed, 29 Mar 2023 02:04:35 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id ew6so60308746edb.7; Wed, 29 Mar 2023 02:04:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680080674; 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=/Jvw7lCXM6klT4g7y4ectmTBzvvioBJrdjfCKfiCV2M=; b=mkn927X9y7hQT/e3mbUQodOELFdTFuo6a8aSvq040mCj8hzc1WlsbnfOIyHANqMRhh FVNcSvAmJH/c9C6MjynAPGPzQ3ZB+m/5fiWO8+91Ixq6S3aBhzO+UMdARBOVjhXiGtoy gWvnMv/NWam4OY/NndFelVNcA6Puh8sqRKcES3LVYeAp0iAPMV34QDZnx5JqpCFeqfeG hW7L3DY+sgqSl/0tBWD01iOo4lat77RFA+xTpDm2pdSw/EIXOy182KgeHy2CCkiU5RPY cHEzpWdVuhH9+IPblD+4LyISsCcjim3zYRD/s6/IBFnqEAFTA+ZPeOD5eS0/4A/A3vi6 Sqvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680080674; 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=/Jvw7lCXM6klT4g7y4ectmTBzvvioBJrdjfCKfiCV2M=; b=4IVpk57/XIxSuWBvbpML2HjdmNG79YnEy6er5b35Ia7fVhX0zxEGUkykGfmn5LoPA7 Pkl/pxSVhnZFOoghtnfpPTM0jwp+O+dhU3CrCD0dQvVDZAcLQHhhtMWLMId/X7aFrSru +6D+VF5jHjwBuIR1U2I3rVEvnZYWhqJPHR+tMWqG8AlczuR4AdcNGGz5m9nq6KnWH/rQ XA2w4k4ZcjCDY4aEb3yrs4fqGAQrRnBFalFMjOaQNYfVPba+0GcAuWUyVsp2o5/8NJnG mc1PrQ6P/xKjV+/1cpoo7ZahflAzdgLhQnPY+k/uQyZWPlsNR5/BWF/jc1BKGDFOGgCq 45Xg== X-Gm-Message-State: AAQBX9e4EbdXldNJUZbsGB8M4UhrGT0qjr/gL5S3bizrT+WMT1AOudTt jKh7c2X0k9H1E233acDrk4s= X-Received: by 2002:a17:906:2b8e:b0:946:c022:8979 with SMTP id m14-20020a1709062b8e00b00946c0228979mr6248001ejg.21.1680080674212; Wed, 29 Mar 2023 02:04:34 -0700 (PDT) Received: from xeon.. ([188.163.112.76]) by smtp.gmail.com with ESMTPSA id n3-20020a170906088300b009327ed171f2sm15437127eje.129.2023.03.29.02.04.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Mar 2023 02:04:33 -0700 (PDT) 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 v3 1/4] ARM: tegra: transformer: use labels for mmc in aliases Date: Wed, 29 Mar 2023 12:04:00 +0300 Message-Id: <20230329090403.5274-2-clamor95@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230329090403.5274-1-clamor95@gmail.com> References: <20230329090403.5274-1-clamor95@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=0.1 required=5.0 tests=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=unavailable 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?1761692367272558002?= X-GMAIL-MSGID: =?utf-8?q?1761692367272558002?= Use phandle references for mmc instead of path in aliases. Signed-off-by: Svyatoslav Ryhel --- arch/arm/boot/dts/tegra114-asus-tf701t.dts | 12 ++++++------ .../boot/dts/tegra30-asus-transformer-common.dtsi | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/arch/arm/boot/dts/tegra114-asus-tf701t.dts b/arch/arm/boot/dts/tegra114-asus-tf701t.dts index 84a3eb38e71d..3a420ac969ff 100644 --- a/arch/arm/boot/dts/tegra114-asus-tf701t.dts +++ b/arch/arm/boot/dts/tegra114-asus-tf701t.dts @@ -13,9 +13,9 @@ / { chassis-type = "convertible"; aliases { - mmc0 = "/mmc@78000600"; /* eMMC */ - mmc1 = "/mmc@78000400"; /* uSD slot */ - mmc2 = "/mmc@78000000"; /* WiFi */ + mmc0 = &sdmmc4; /* eMMC */ + mmc1 = &sdmmc3; /* uSD slot */ + mmc2 = &sdmmc1; /* WiFi */ rtc0 = &palmas; rtc1 = "/rtc@7000e000"; @@ -605,12 +605,12 @@ i2s@70080300 { }; }; - mmc@78000000 { + sdmmc1: mmc@78000000 { /* WiFi */ }; /* MicroSD card */ - mmc@78000400 { + sdmmc3: mmc@78000400 { status = "okay"; bus-width = <4>; @@ -626,7 +626,7 @@ mmc@78000400 { pinctrl-0 = <&sdmmc3_default>; }; - mmc@78000600 { + sdmmc4: mmc@78000600 { /* eMMC */ }; diff --git a/arch/arm/boot/dts/tegra30-asus-transformer-common.dtsi b/arch/arm/boot/dts/tegra30-asus-transformer-common.dtsi index 1861b2de2dc3..f32806f07989 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"; @@ -1388,7 +1388,7 @@ i2s@70080600 { /* i2s3 */ }; }; - mmc@78000000 { + sdmmc1: mmc@78000000 { status = "okay"; /* FIXME: Full 208Mhz clock rate doesn't work reliably */ @@ -1401,7 +1401,7 @@ mmc@78000000 { vqmmc-supply = <&vddio_usd>; /* ldo3 */ }; - mmc@78000400 { + sdmmc3: mmc@78000400 { status = "okay"; #address-cells = <1>; @@ -1431,7 +1431,7 @@ wifi@1 { }; }; - mmc@78000600 { + sdmmc4: mmc@78000600 { status = "okay"; bus-width = <8>; vmmc-supply = <&vcore_emmc>;