[PATCH 1/2] dt-bindings: mmc: sdhci-msm: Add flag for restoring dll

From: Veerabhadrarao Badiganti
Date: Tue Sep 25 2018 - 11:05:10 EST


The dll settings of SDHC controller needs to be restored whenever
controller clocks are gated. This restoration is needed only on
few SDHCI-MSM controllers. This dt flag indicates whether dll
restoration is needed or not.

Signed-off-by: Veerabhadrarao Badiganti <vbadigan@xxxxxxxxxxxxxx>
---
Documentation/devicetree/bindings/mmc/sdhci-msm.txt | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/mmc/sdhci-msm.txt b/Documentation/devicetree/bindings/mmc/sdhci-msm.txt
index 3720385..207ce36 100644
--- a/Documentation/devicetree/bindings/mmc/sdhci-msm.txt
+++ b/Documentation/devicetree/bindings/mmc/sdhci-msm.txt
@@ -31,6 +31,8 @@ Optional properties:
BUS_OFF states in power irq. Should be specified in
pairs (lpm, hpm), for BUS_OFF and BUS_ON respectively.
Units uA.
+- qcom,restore-dll-config - Flag indicates that restoration of dll config after clock gating
+ is needed on given platform. This wouldn't be needed for every MSM.
Example:

sdhc_1: sdhci@f9824900 {
@@ -49,6 +51,8 @@ Example:

clocks = <&gcc GCC_SDCC1_APPS_CLK>, <&gcc GCC_SDCC1_AHB_CLK>;
clock-names = "core", "iface";
+
+ qcom,restore-dll-config;
};

sdhc_2: sdhci@f98a4900 {
--
Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project