devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: rockchip: Assign a fixed index to mmc devices on rk3399 boards.
@ 2020-11-04 16:23 Markus Reichl
  2020-11-04 16:27 ` Doug Anderson
  2020-11-08  0:31 ` Heiko Stuebner
  0 siblings, 2 replies; 3+ messages in thread
From: Markus Reichl @ 2020-11-04 16:23 UTC (permalink / raw)
  To: linux-rockchip, Rob Herring, Heiko Stuebner
  Cc: dianders, robin.murphy, wens, Markus Reichl, devicetree,
	linux-arm-kernel, linux-kernel

Recently introduced async probe on mmc devices can shuffle block IDs.
Pin them to fixed values to ease booting in environments where UUIDs
are not practical. Use newly introduced aliases for mmcblk devices from [1].

[1]
https://patchwork.kernel.org/patch/11747669/

Signed-off-by: Markus Reichl <m.reichl@fivetechno.de>
---
 arch/arm64/boot/dts/rockchip/rk3399.dtsi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
index ada724b12f01..7a9a7aca86c6 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
@@ -29,6 +29,9 @@ aliases {
 		i2c6 = &i2c6;
 		i2c7 = &i2c7;
 		i2c8 = &i2c8;
+		mmc0 = &sdio0;
+		mmc1 = &sdmmc;
+		mmc2 = &sdhci;
 		serial0 = &uart0;
 		serial1 = &uart1;
 		serial2 = &uart2;
-- 
2.28.0


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

* Re: [PATCH] arm64: dts: rockchip: Assign a fixed index to mmc devices on rk3399 boards.
  2020-11-04 16:23 [PATCH] arm64: dts: rockchip: Assign a fixed index to mmc devices on rk3399 boards Markus Reichl
@ 2020-11-04 16:27 ` Doug Anderson
  2020-11-08  0:31 ` Heiko Stuebner
  1 sibling, 0 replies; 3+ messages in thread
From: Doug Anderson @ 2020-11-04 16:27 UTC (permalink / raw)
  To: Markus Reichl
  Cc: open list:ARM/Rockchip SoC...,
	Rob Herring, Heiko Stuebner, Robin Murphy, wens,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux ARM, LKML

Hi,

On Wed, Nov 4, 2020 at 8:24 AM Markus Reichl <m.reichl@fivetechno.de> wrote:
>
> Recently introduced async probe on mmc devices can shuffle block IDs.
> Pin them to fixed values to ease booting in environments where UUIDs
> are not practical. Use newly introduced aliases for mmcblk devices from [1].
>
> [1]
> https://patchwork.kernel.org/patch/11747669/
>
> Signed-off-by: Markus Reichl <m.reichl@fivetechno.de>
> ---
>  arch/arm64/boot/dts/rockchip/rk3399.dtsi | 3 +++
>  1 file changed, 3 insertions(+)

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

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

* Re: [PATCH] arm64: dts: rockchip: Assign a fixed index to mmc devices on rk3399 boards.
  2020-11-04 16:23 [PATCH] arm64: dts: rockchip: Assign a fixed index to mmc devices on rk3399 boards Markus Reichl
  2020-11-04 16:27 ` Doug Anderson
@ 2020-11-08  0:31 ` Heiko Stuebner
  1 sibling, 0 replies; 3+ messages in thread
From: Heiko Stuebner @ 2020-11-08  0:31 UTC (permalink / raw)
  To: Rob Herring, Markus Reichl, linux-rockchip
  Cc: Heiko Stuebner, devicetree, robin.murphy, dianders,
	linux-arm-kernel, wens, linux-kernel

On Wed, 4 Nov 2020 17:23:55 +0100, Markus Reichl wrote:
> Recently introduced async probe on mmc devices can shuffle block IDs.
> Pin them to fixed values to ease booting in environments where UUIDs
> are not practical. Use newly introduced aliases for mmcblk devices from [1].
> 
> [1]
> https://patchwork.kernel.org/patch/11747669/

Applied, thanks!

[1/1] arm64: dts: rockchip: Assign a fixed index to mmc devices on rk3399 boards.
      commit: 0011c6d182774fc781fb9e115ebe8baa356029ae

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

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

end of thread, other threads:[~2020-11-08  0:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-04 16:23 [PATCH] arm64: dts: rockchip: Assign a fixed index to mmc devices on rk3399 boards Markus Reichl
2020-11-04 16:27 ` Doug Anderson
2020-11-08  0:31 ` 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).