Message ID | 20230822114850.3335-1-quic_kbajaj@quicinc.com |
---|---|
State | New |
Headers | show |
Series | arm64: dts: qcom: qru1000-idp: add SDHCI for emmc | expand |
On 22.08.2023 13:48, Komal Bajaj wrote: > Add sdhci node for emmc in qru1000-idp. > > Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com> > --- > arch/arm64/boot/dts/qcom/qru1000-idp.dts | 23 +++++++++++++++++++++++ > 1 file changed, 23 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/qru1000-idp.dts b/arch/arm64/boot/dts/qcom/qru1000-idp.dts > index 2a862c83309e..672e1946eba2 100644 > --- a/arch/arm64/boot/dts/qcom/qru1000-idp.dts > +++ b/arch/arm64/boot/dts/qcom/qru1000-idp.dts > @@ -460,6 +460,29 @@ tenx_sp_mem: tenx-sp-buffer@800000000 { > }; > }; > > +&sdhc { > + pinctrl-0 = <&sdc_on_state>; > + pinctrl-1 = <&sdc_off_state>; > + pinctrl-names = "default", "sleep"; > + > + cap-mmc-hw-reset; Looks like the qcom mmc driver doesn't have any card_hw_reset ops. Would that be something necessary or valueable for this platform/ device? Konrad
diff --git a/arch/arm64/boot/dts/qcom/qru1000-idp.dts b/arch/arm64/boot/dts/qcom/qru1000-idp.dts index 2a862c83309e..672e1946eba2 100644 --- a/arch/arm64/boot/dts/qcom/qru1000-idp.dts +++ b/arch/arm64/boot/dts/qcom/qru1000-idp.dts @@ -460,6 +460,29 @@ tenx_sp_mem: tenx-sp-buffer@800000000 { }; }; +&sdhc { + pinctrl-0 = <&sdc_on_state>; + pinctrl-1 = <&sdc_off_state>; + pinctrl-names = "default", "sleep"; + + cap-mmc-hw-reset; + mmc-ddr-1_8v; + mmc-hs200-1_8v; + mmc-hs400-1_8v; + mmc-hs400-enhanced-strobe; + + non-removable; + no-sd; + no-sdio; + + supports-cqe; + + vmmc-supply = <&vreg_l10a_2p95>; + vqmmc-supply = <&vreg_l7a_1p8>; + + status = "okay"; +}; + &tlmm { gpio-reserved-ranges = <28 2>; };
Add sdhci node for emmc in qru1000-idp. Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com> --- arch/arm64/boot/dts/qcom/qru1000-idp.dts | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) -- 2.41.0