linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dang Huynh <danct12@riseup.net>
To: Dang Huynh <danct12@riseup.net>
Cc: Andy Gross <agross@kernel.org>,
	Bjorn Andersson <bjorn.andersson@linaro.org>,
	Rob Herring <robh+dt@kernel.org>,
	linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, Alexey Min <alexey.min@gmail.com>,
	Caleb Connolly <caleb@connolly.tech>,
	Martin Botka <martin.botka@somainline.org>,
	Konrad Dybcio <konradybcio@gmail.com>
Subject: [PATCH v3 6/8] arm64: dts: qcom: sdm660-xiaomi-lavender: Add eMMC and SD
Date: Thu, 11 Nov 2021 10:16:33 +0700	[thread overview]
Message-ID: <20211111031635.3839947-7-danct12@riseup.net> (raw)
In-Reply-To: <20211111031635.3839947-1-danct12@riseup.net>

This commit enable the SD card slot and internal MMC.

Reviewed-by: Caleb Connolly <caleb@connolly.tech>
Signed-off-by: Dang Huynh <danct12@riseup.net>
---
 .../boot/dts/qcom/sdm660-xiaomi-lavender.dts  | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts b/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts
index 456562cb6028..8de3e111f427 100644
--- a/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts
+++ b/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts
@@ -361,6 +361,25 @@ vreg_l19a_3p3: l19 {
 	};
 };
 
+&sdhc_1 {
+	status = "okay";
+	supports-cqe;
+
+	mmc-hs200-1_8v;
+	mmc-hs400-1_8v;
+	mmc-hs400-enhanced-strobe;
+
+	vmmc-supply = <&vreg_l4b_2p95>;
+	vqmmc-supply = <&vreg_l8a_1p8>;
+};
+
+&sdhc_2 {
+	status = "okay";
+
+	vmmc-supply = <&vreg_l5b_2p95>;
+	vqmmc-supply = <&vreg_l2b_2p95>;
+};
+
 &tlmm {
 	gpio-reserved-ranges = <8 4>;
 };
-- 
2.33.1


  parent reply	other threads:[~2021-11-11  3:17 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-11  3:16 [PATCH v3 0/8] Improve support for Xiaomi Redmi Note 7 Dang Huynh
2021-11-11  3:16 ` [PATCH v3 1/8] arm64: dts: qcom: sdm630: Assign numbers to eMMC and SD Dang Huynh
2021-11-11  3:16 ` [PATCH v3 2/8] arm64: dts: qcom: sdm630-pm660: Move RESIN to pm660 dtsi Dang Huynh
2021-11-11 21:16   ` Konrad Dybcio
2021-11-11  3:16 ` [PATCH v3 3/8] arm64: dts: qcom: sdm660-xiaomi-lavender: Add RPM and fixed regulators Dang Huynh
2021-11-11 21:33   ` Konrad Dybcio
2021-11-11  3:16 ` [PATCH v3 4/8] arm64: dts: qcom: sdm660-xiaomi-lavender: Add PWRKEY and RESIN Dang Huynh
2021-11-11 21:34   ` Konrad Dybcio
2021-11-11  3:16 ` [PATCH v3 5/8] arm64: dts: qcom: sdm660-xiaomi-lavender: Add volume up button Dang Huynh
2021-11-11 21:36   ` Konrad Dybcio
2021-11-11  3:16 ` Dang Huynh [this message]
2021-11-11  3:16 ` [PATCH v3 7/8] arm64: dts: qcom: sdm660-xiaomi-lavender: Enable Simple Framebuffer Dang Huynh
2021-11-11 21:38   ` Konrad Dybcio
2021-11-11  3:16 ` [PATCH v3 8/8] arm64: dts: qcom: sdm660-xiaomi-lavender: Add USB Dang Huynh
2021-11-11 21:40   ` Konrad Dybcio
2021-11-11  9:42 ` [PATCH v3 0/8] Improve support for Xiaomi Redmi Note 7 Marijn Suijten
2021-11-18 20:30 ` Bjorn Andersson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211111031635.3839947-7-danct12@riseup.net \
    --to=danct12@riseup.net \
    --cc=agross@kernel.org \
    --cc=alexey.min@gmail.com \
    --cc=bjorn.andersson@linaro.org \
    --cc=caleb@connolly.tech \
    --cc=devicetree@vger.kernel.org \
    --cc=konradybcio@gmail.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=martin.botka@somainline.org \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).