Skip to contentSkip to conversation

arm64: dts: qcom: qcs404: Enable CQE support for eMMC

PATCH New Veerabhadrarao Badiganti 1 participant 2 messages Mar 11, 2020

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: qcom: qcs404: Enable CQE support for eMMC

Enabling CQE support for eMMC by supplying the correct reg name and flag which indicates CQE support.

Also remove the redundant _mem suffix for reg names.

---
 arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 1 +
 arch/arm64/boot/dts/qcom/qcs404.dtsi     | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/qcs404-evb.dtsi +1 -0
index 522d3ef..afe69e8 100644
@@ -200,6 +200,7 @@
 &sdcc1 {
 	status = "ok";
 
+	supports-cqe;
 	mmc-ddr-1_8v;
 	mmc-hs400-1_8v;
 	bus-width = <8>;
arch/arm64/boot/dts/qcom/qcs404.dtsi +1 -1
index 1eea064..f149a53 100644
@@ -687,7 +687,7 @@
 		sdcc1: sdcc@7804000 {
 			compatible = "qcom,qcs404-sdhci", "qcom,sdhci-msm-v5";
 			reg = <0x07804000 0x1000>, <0x7805000 0x1000>;
-			reg-names = "hc_mem", "cmdq_mem";
+			reg-names = "hc", "cqhci";
 
 			interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
 				     <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
Signature · 1 line
Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc., is a member of Code Aurora Forum, a Linux Foundation Collaborative Project
#1 lore raw

PATCH 1/1 arm64: dts: qcom: sc7180: Update reg names for SDHC

Remove the redundant _mem suffix for SDHC reg names.

For SDcard instance, no need supply reg names since hc reg map is accessed with index. So remove reg names for SDcard.

---
 arch/arm64/boot/dts/qcom/sc7180.dtsi | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm64/boot/dts/qcom/sc7180.dtsi +1 -2
index 253274d..efca50a 100644
@@ -394,7 +394,7 @@
 			compatible = "qcom,sc7180-sdhci", "qcom,sdhci-msm-v5";
 			reg = <0 0x7c4000 0 0x1000>,
 				<0 0x07c5000 0 0x1000>;
-			reg-names = "hc_mem", "cqhci_mem";
+			reg-names = "hc", "cqhci";
 
 			iommus = <&apps_smmu 0x60 0x0>;
 			interrupts = <GIC_SPI 641 IRQ_TYPE_LEVEL_HIGH>,
@@ -1234,7 +1234,6 @@
 		sdhc_2: sdhci@8804000 {
 			compatible = "qcom,sc7180-sdhci", "qcom,sdhci-msm-v5";
 			reg = <0 0x08804000 0 0x1000>;
-			reg-names = "hc_mem";
 
 			iommus = <&apps_smmu 0x80 0>;
 			interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>,
Signature · 1 line
Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc., is a member of Code Aurora Forum, a Linux Foundation Collaborative Project