[PATCH V2] arm64: dts: qcom: sc7280: Enable gcc HW reset

Shaik Sajida Bhanu
2022-03-10T14:55:20Z

Enable gcc HW reset for eMMC and SD card.

Signed-off-by: Shaik Sajida Bhanu <quic_c_sbhanu@quicinc.com>
---

Changes since V1:
- Updated commit message, subject and comments in dtsi file as
suggested by Krzysztof Kozlowski.
---
arch/arm64/boot/dts/qcom/sc7280.dtsi | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi
index c07765d..721abf5 100644
--- a/arch/arm64/boot/dts/qcom/sc7280.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi
@@ -881,6 +881,9 @@
mmc-hs400-1_8v;
mmc-hs400-enhanced-strobe;

+ /* Add gcc hw reset dt entry for eMMC */
+ resets = <&gcc GCC_SDCC1_BCR>;
+ reset-names = "core_reset";
sdhc1_opp_table: opp-table {
compatible = "operating-points-v2";

@@ -2686,6 +2689,9 @@

qcom,dll-config = <0x0007642c>;

+ /* Add gcc hw reset dt entry for SD card */
+ resets = <&gcc GCC_SDCC2_BCR>;
+ reset-names = "core_reset";
sdhc2_opp_table: opp-table {
compatible = "operating-points-v2";

--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation