Skip to contentSkip to conversation

arm64: dts: meson: s400: emmc updates

PATCH In review Jerome Brunet 2 participants 4 messages Oct 2, 2018 – Oct 9, 2018

Subsystems (2)
lore
Share & tools
lore

Jerome Brunet

author reviewer
#0 lore raw

cover arm64: dts: meson: s400: emmc updates

This patchset adds the emmc pwrseq to the emmc node and disable the device by default, since eMMC is not the default option for this board.

Jerome Brunet (2):
arm64: dts: meson-axg: s400: add missing emmc pwrseq
arm64: dts: meson-axg: s400: disable emmc

 arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Signature · 1 line
2.17.1
author reviewer
#1 lore raw

PATCH 1/2 arm64: dts: meson-axg: s400: add missing emmc pwrseq

eMMC pwrseq is defined in the s400 dts but not used in the emmc node. This is probably just a copy/paste error

Fixes 221cf34bac54 ("ARM64: dts: meson-axg: enable the eMMC controller")
---
 arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/amlogic/meson-axg-s400.dts +2 -0
index d6467ac333ec..166ab598395e 100644
@@ -493,6 +493,8 @@
 	mmc-ddr-1_8v;
 	mmc-hs200-1_8v;
 
+	mmc-pwrseq = <&emmc_pwrseq>;
+
 	vmmc-supply = <&vcc_3v3>;
 	vqmmc-supply = <&vddio_boot>;
 };
Signature · 1 line
2.17.1
author reviewer
#2 lore raw

PATCH 2/2 arm64: dts: meson-axg: s400: disable emmc

In reply to Jerome Brunet

While it is possible to rework the s400 board to solder an eMMC on it, it is not the default option and most boards are fitted with a NAND instead.

Let's disable the emmc device by default to reflect this. The board equipped with an eMMC will just have to alter the DT in the bootloader, like we do for the reserved memory regions.

---
 arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-axg-s400.dts +1 -1
index 166ab598395e..c74ff1efebb8 100644
@@ -479,7 +479,7 @@
 
 /* emmc storage */
 &sd_emmc_c {
-	status = "okay";
+	status = "disabled";
 	pinctrl-0 = <&emmc_pins>;
 	pinctrl-1 = <&emmc_clk_gate_pins>;
 	pinctrl-names = "default", "clk-gate";
Signature · 1 line
2.17.1
maintainer
#3 lore raw
In reply to Jerome Brunet
Quoted 6 lines · Jerome Brunet

This patchset adds the emmc pwrseq to the emmc node and disable the device by default, since eMMC is not the default option for this board.

Jerome Brunet (2):
arm64: dts: meson-axg: s400: add missing emmc pwrseq
arm64: dts: meson-axg: s400: disable emmc

Appled to v4.20/dt64.

Thanks.

Kevin

P.S. Looks like I forgot to reply when I applied these, but these are
already submitted to arm-soc and merged.