[PATCH V1] arm64: dts: qcom: hamoa-iot-evk: Add SDC2 node for hamoa iot evk board

Sarthak Garg posted 1 patch 2 months ago
There is a newer version of this series
arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts | 23 ++++++++++++++++++++++
1 file changed, 23 insertions(+)
[PATCH V1] arm64: dts: qcom: hamoa-iot-evk: Add SDC2 node for hamoa iot evk board
Posted by Sarthak Garg 2 months ago
Enable SD Card host controller for hamoa iot evk board.

Signed-off-by: Sarthak Garg <sarthak.garg@oss.qualcomm.com>
---
 arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts | 23 ++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts b/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts
index 2390648a248f..56171e832e8e 100644
--- a/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts
+++ b/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts
@@ -1144,6 +1144,22 @@ &pmk8550_pwm {
 	status = "okay";
 };
 
+&sdhc_2 {
+	cd-gpios = <&tlmm 71 GPIO_ACTIVE_LOW>;
+
+	vmmc-supply = <&vreg_l9b_2p9>;
+	vqmmc-supply = <&vreg_l6b_1p8>;
+
+	no-sdio;
+	no-mmc;
+
+	pinctrl-0 = <&sdc2_default &sdc2_card_det_n>;
+	pinctrl-1 = <&sdc2_sleep &sdc2_card_det_n>;
+	pinctrl-names = "default", "sleep";
+
+	status = "okay";
+};
+
 &smb2360_0 {
 	status = "okay";
 };
@@ -1326,6 +1342,13 @@ rtmr2_default: rtmr2-reset-n-active-state {
 		bias-disable;
 	};
 
+	sdc2_card_det_n: sd-card-det-n-state {
+		pins = "gpio71";
+		function = "gpio";
+		drive-strength = <2>;
+		bias-pull-up;
+	};
+
 	usb1_pwr_1p15_reg_en: usb1-pwr-1p15-reg-en-state {
 		pins = "gpio188";
 		function = "gpio";
-- 
2.34.1
Re: [PATCH V1] arm64: dts: qcom: hamoa-iot-evk: Add SDC2 node for hamoa iot evk board
Posted by Abel Vesa 1 month, 4 weeks ago
On 26-02-11 15:00:45, Sarthak Garg wrote:
> Enable SD Card host controller for hamoa iot evk board.
> 
> Signed-off-by: Sarthak Garg <sarthak.garg@oss.qualcomm.com>

Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
Re: [PATCH V1] arm64: dts: qcom: hamoa-iot-evk: Add SDC2 node for hamoa iot evk board
Posted by Konrad Dybcio 2 months ago
On 2/11/26 10:30 AM, Sarthak Garg wrote:
> Enable SD Card host controller for hamoa iot evk board.
> 
> Signed-off-by: Sarthak Garg <sarthak.garg@oss.qualcomm.com>
> ---

nit: omit "V1" for the v1 in the subject

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>

Konrad
Re: [PATCH V1] arm64: dts: qcom: hamoa-iot-evk: Add SDC2 node for hamoa iot evk board
Posted by Sarthak Garg 1 month, 2 weeks ago
On 2/16/2026 6:23 PM, Konrad Dybcio wrote:
> On 2/11/26 10:30 AM, Sarthak Garg wrote:
>> Enable SD Card host controller for hamoa iot evk board.
>>
>> Signed-off-by: Sarthak Garg <sarthak.garg@oss.qualcomm.com>
>> ---
> nit: omit "V1" for the v1 in the subject
>
> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
>
> Konrad

Sure will resend by omitting V1 from subject.

Regards,
Sarthak
Re: [PATCH V1] arm64: dts: qcom: hamoa-iot-evk: Add SDC2 node for hamoa iot evk board
Posted by Dmitry Baryshkov 1 month, 2 weeks ago
On Fri, Feb 27, 2026 at 09:29:21AM +0530, Sarthak Garg wrote:
> 
> On 2/16/2026 6:23 PM, Konrad Dybcio wrote:
> > On 2/11/26 10:30 AM, Sarthak Garg wrote:
> > > Enable SD Card host controller for hamoa iot evk board.
> > > 
> > > Signed-off-by: Sarthak Garg <sarthak.garg@oss.qualcomm.com>
> > > ---
> > nit: omit "V1" for the v1 in the subject
> > 
> > Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
> > 
> > Konrad
> 
> Sure will resend by omitting V1 from subject.

No need to. It's a nit.

> 
> Regards,
> Sarthak
> 
> 

-- 
With best wishes
Dmitry
Re: [PATCH V1] arm64: dts: qcom: hamoa-iot-evk: Add SDC2 node for hamoa iot evk board
Posted by Bjorn Andersson 2 months ago
On Mon, Feb 16, 2026 at 01:53:57PM +0100, Konrad Dybcio wrote:
> On 2/11/26 10:30 AM, Sarthak Garg wrote:
> > Enable SD Card host controller for hamoa iot evk board.
> > 
> > Signed-off-by: Sarthak Garg <sarthak.garg@oss.qualcomm.com>
> > ---
> 
> nit: omit "V1" for the v1 in the subject
> 

Also known as, stop doing this manually, use b4!

> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
> 
> Konrad
Re: [PATCH V1] arm64: dts: qcom: hamoa-iot-evk: Add SDC2 node for hamoa iot evk board
Posted by Sarthak Garg 1 month, 2 weeks ago
On 2/16/2026 7:36 PM, Bjorn Andersson wrote:
> On Mon, Feb 16, 2026 at 01:53:57PM +0100, Konrad Dybcio wrote:
>> On 2/11/26 10:30 AM, Sarthak Garg wrote:
>>> Enable SD Card host controller for hamoa iot evk board.
>>>
>>> Signed-off-by: Sarthak Garg <sarthak.garg@oss.qualcomm.com>
>>> ---
>> nit: omit "V1" for the v1 in the subject
>>
> Also known as, stop doing this manually, use b4!


Sure Bjorn will use that.


>> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
>>
>> Konrad