devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: qcom: qru1000-idp: add SDHCI for emmc
@ 2023-08-22 11:48 Komal Bajaj
  2023-08-26 10:26 ` Konrad Dybcio
  0 siblings, 1 reply; 2+ messages in thread
From: Komal Bajaj @ 2023-08-22 11:48 UTC (permalink / raw)
  To: agross, andersson, konrad.dybcio, robh+dt, krzysztof.kozlowski+dt,
	conor+dt
  Cc: linux-arm-msm, devicetree, linux-kernel, Komal Bajaj

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;
+	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>;
 };
--
2.41.0


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

* Re: [PATCH] arm64: dts: qcom: qru1000-idp: add SDHCI for emmc
  2023-08-22 11:48 [PATCH] arm64: dts: qcom: qru1000-idp: add SDHCI for emmc Komal Bajaj
@ 2023-08-26 10:26 ` Konrad Dybcio
  0 siblings, 0 replies; 2+ messages in thread
From: Konrad Dybcio @ 2023-08-26 10:26 UTC (permalink / raw)
  To: Komal Bajaj, agross, andersson, robh+dt, krzysztof.kozlowski+dt,
	conor+dt
  Cc: linux-arm-msm, devicetree, linux-kernel

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

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

end of thread, other threads:[~2023-08-26 10:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-22 11:48 [PATCH] arm64: dts: qcom: qru1000-idp: add SDHCI for emmc Komal Bajaj
2023-08-26 10:26 ` Konrad Dybcio

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).