public inbox for linux-tegra@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 1/3] ARM: tegra: nexus7: Add aliases for MMC
@ 2020-09-06 19:00 Dmitry Osipenko
  2020-09-06 19:00 ` [PATCH v1 2/3] ARM: tegra: acer-a500: " Dmitry Osipenko
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Dmitry Osipenko @ 2020-09-06 19:00 UTC (permalink / raw)
  To: Thierry Reding, Jonathan Hunter; +Cc: linux-tegra

MMC core now supports binding to a specific ID, which is very handy for
embedded devices, like Nexus 7, because MMC ID may change depending on
kernel version or configuration which affects MMC driver probe order.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
---
 arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi b/arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi
index 21387a91c40f..ca44f9596753 100644
--- a/arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi
+++ b/arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi
@@ -16,6 +16,9 @@ aliases {
 
 		serial1 = &uartc; /* Bluetooth */
 		serial2 = &uartb; /* GPS */
+
+		mmc0 = &sdmmc4;	/* eMMC */
+		mmc1 = &sdmmc3; /* WiFi */
 	};
 
 	/*
@@ -970,7 +973,7 @@ brcm_wifi_pwrseq: wifi-pwrseq {
 		power-off-delay-us = <300>;
 	};
 
-	mmc@78000400 {
+	sdmmc3: mmc@78000400 {
 		status = "okay";
 
 		#address-cells = <1>;
@@ -999,7 +1002,7 @@ wifi@1 {
 		};
 	};
 
-	mmc@78000600 {
+	sdmmc4: mmc@78000600 {
 		status = "okay";
 		bus-width = <8>;
 		vmmc-supply = <&vcore_emmc>;
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-09-17 10:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-06 19:00 [PATCH v1 1/3] ARM: tegra: nexus7: Add aliases for MMC Dmitry Osipenko
2020-09-06 19:00 ` [PATCH v1 2/3] ARM: tegra: acer-a500: " Dmitry Osipenko
2020-09-17 10:17   ` Thierry Reding
2020-09-06 19:00 ` [PATCH v1 3/3] ARM: tegra: acer-a500: Remove atmel,cfg_name property Dmitry Osipenko
2020-09-17 10:17   ` Thierry Reding
2020-09-17 10:17 ` [PATCH v1 1/3] ARM: tegra: nexus7: Add aliases for MMC Thierry Reding

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox