linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: rockchip: Add mmc aliases for rk3288-veyron devices
@ 2023-03-07  9:55 Heiko Stuebner
  2023-03-07 16:36 ` Doug Anderson
  2023-03-15  7:54 ` Heiko Stuebner
  0 siblings, 2 replies; 3+ messages in thread
From: Heiko Stuebner @ 2023-03-07  9:55 UTC (permalink / raw)
  To: linux-rockchip
  Cc: linux-arm-kernel, devicetree, briannorris, dianders, Heiko Stuebner

All of them have an internal emmc that becomes mmc0 and
devices including the sdmmc snippet get mmc1 for the external
sd slot on suitable devices.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
---
 arch/arm/boot/dts/rk3288-veyron-sdmmc.dtsi | 6 ++++++
 arch/arm/boot/dts/rk3288-veyron.dtsi       | 4 ++++
 2 files changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/rk3288-veyron-sdmmc.dtsi b/arch/arm/boot/dts/rk3288-veyron-sdmmc.dtsi
index 27fb06ce907e..8b58773e592e 100644
--- a/arch/arm/boot/dts/rk3288-veyron-sdmmc.dtsi
+++ b/arch/arm/boot/dts/rk3288-veyron-sdmmc.dtsi
@@ -5,6 +5,12 @@
  * Copyright 2015 Google, Inc
  */
 
+/ {
+	aliases {
+		mmc1 = &sdmmc;
+	};
+};
+
 &io_domains {
 	sdcard-supply = <&vccio_sd>;
 };
diff --git a/arch/arm/boot/dts/rk3288-veyron.dtsi b/arch/arm/boot/dts/rk3288-veyron.dtsi
index e406c8c7c7e5..d838bf0d5d9a 100644
--- a/arch/arm/boot/dts/rk3288-veyron.dtsi
+++ b/arch/arm/boot/dts/rk3288-veyron.dtsi
@@ -10,6 +10,10 @@
 #include "rk3288.dtsi"
 
 / {
+	aliases {
+		mmc0 = &emmc;
+	};
+
 	chosen {
 		stdout-path = "serial2:115200n8";
 	};
-- 
2.39.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH] ARM: dts: rockchip: Add mmc aliases for rk3288-veyron devices
  2023-03-07  9:55 [PATCH] ARM: dts: rockchip: Add mmc aliases for rk3288-veyron devices Heiko Stuebner
@ 2023-03-07 16:36 ` Doug Anderson
  2023-03-15  7:54 ` Heiko Stuebner
  1 sibling, 0 replies; 3+ messages in thread
From: Doug Anderson @ 2023-03-07 16:36 UTC (permalink / raw)
  To: Heiko Stuebner; +Cc: linux-rockchip, linux-arm-kernel, devicetree, briannorris

Hi,

On Tue, Mar 7, 2023 at 1:55 AM Heiko Stuebner <heiko@sntech.de> wrote:
>
> All of them have an internal emmc that becomes mmc0 and
> devices including the sdmmc snippet get mmc1 for the external
> sd slot on suitable devices.
>
> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
> ---
>  arch/arm/boot/dts/rk3288-veyron-sdmmc.dtsi | 6 ++++++
>  arch/arm/boot/dts/rk3288-veyron.dtsi       | 4 ++++
>  2 files changed, 10 insertions(+)

Reviewed-by: Douglas Anderson <dianders@chromium.org>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH] ARM: dts: rockchip: Add mmc aliases for rk3288-veyron devices
  2023-03-07  9:55 [PATCH] ARM: dts: rockchip: Add mmc aliases for rk3288-veyron devices Heiko Stuebner
  2023-03-07 16:36 ` Doug Anderson
@ 2023-03-15  7:54 ` Heiko Stuebner
  1 sibling, 0 replies; 3+ messages in thread
From: Heiko Stuebner @ 2023-03-15  7:54 UTC (permalink / raw)
  To: Heiko Stuebner, linux-rockchip
  Cc: devicetree, dianders, briannorris, linux-arm-kernel

On Tue, 7 Mar 2023 10:55:16 +0100, Heiko Stuebner wrote:
> All of them have an internal emmc that becomes mmc0 and
> devices including the sdmmc snippet get mmc1 for the external
> sd slot on suitable devices.
> 
> 

Applied, thanks!

[1/1] ARM: dts: rockchip: Add mmc aliases for rk3288-veyron devices
      commit: 56af59fc0be3fda8d8a32ed996dfb84758d4f431

Best regards,
-- 
Heiko Stuebner <heiko@sntech.de>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2023-03-15  7:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-07  9:55 [PATCH] ARM: dts: rockchip: Add mmc aliases for rk3288-veyron devices Heiko Stuebner
2023-03-07 16:36 ` Doug Anderson
2023-03-15  7:54 ` Heiko Stuebner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).