diff mbox series

[15/15] arm64: dts: qcom: msm8994: Add mmc aliases

Message ID 20220319174645.340379-16-konrad.dybcio@somainline.org
State New
Headers show
Series None | expand

Commit Message

Konrad Dybcio March 19, 2022, 5:46 p.m. UTC
Set the aliases for both SDHCI controllers.

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
---
 arch/arm64/boot/dts/qcom/msm8994.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Petr Vorel March 23, 2022, 9:25 p.m. UTC | #1
Hi Konrad, all,

Reviewed-by: Petr Vorel <petr.vorel@gmail.com>

BTW Documentation/devicetree/bindings/mmc/sdhci-msm.txt
and real code for other SoCs uses sdhc_1 and sdhc_2.

I suppose sdhc[12] (without underscore is the preferred variant.

Kind regards,
Petr
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/msm8994.dtsi b/arch/arm64/boot/dts/qcom/msm8994.dtsi
index 7aab835fa2fe..8eb1f1996e01 100644
--- a/arch/arm64/boot/dts/qcom/msm8994.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8994.dtsi
@@ -14,6 +14,11 @@  / {
 	#address-cells = <2>;
 	#size-cells = <2>;
 
+	aliases {
+		mmc1 = &sdhc1;
+		mmc2 = &sdhc2;
+	};
+
 	chosen { };
 
 	clocks {