From 10f6f3c714ac024c9f1127c57107b04b1b9487b6 Mon Sep 17 00:00:00 2001 From: Ashok Kadavul Date: Thu, 3 Oct 2024 15:48:48 +0530 Subject: [PATCH] dt-bindings: qpnp-lcdb-regulator: Support for some LCDB DT properties Add support for the following LCDB devicee tree properties: "qcom,ncp-symmetry" to make NCP voltage follow LDO voltage directly. "qcom,high-p2-blank-time-ns" to control the higher clamp threshold for p2 minimum on time. "qcom,low-p2-blank-time-ns" to control the lower clamp threshold for p2 minimum on time. "qcom,mpc-current-thr-ma" to control the mpc threshold for inductor current after start up is done. Change-Id: I873d177fd71da7a98aa043f1b30db7c42a6cd803 Signed-off-by: Ashok Kadavul --- .../regulator/qcom,qpnp-lcdb-regulator.yaml | 24 ++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/bindings/regulator/qcom,qpnp-lcdb-regulator.yaml b/bindings/regulator/qcom,qpnp-lcdb-regulator.yaml index 4b7cbd70..4048d81c 100644 --- a/bindings/regulator/qcom,qpnp-lcdb-regulator.yaml +++ b/bindings/regulator/qcom,qpnp-lcdb-regulator.yaml @@ -33,6 +33,11 @@ properties: to be enabled only on platforms where voltage needs to be ramped up with multiple steps. + qcom,ncp-symmetry: + type: boolean + description: Enabling this will make NCP voltage follow LDO voltage + directly. + qcom,pwrdn-delay-ms: description: Required to control the LDO power down delay. Possible values are 0, 1, 4, 8. @@ -44,13 +49,30 @@ properties: qcom,pwrup-config: $ref: /schemas/types.yaml#/definitions/uint32 description: Controls the order of powering up BOOST, LDO AND NCP - blocks. Appilcable for PM7325B. Possible values are 0, 1, 2, 3, 4. + blocks. Applicable for PM7325B. Possible values are 0, 1, 2, 3, 4. 0 - Boost, LDO, NCP 1 - Boost, LDO 2 - Boost, NCP 3 - Boost only 4 - Boost, NCP, LDO + qcom,high-p2-blank-time-ns: + description: Controls the higher clamp threshold for p2 minimum on time. + Applicable for PM7325B. Possible values are 40, 69, 99, 129, 159, + 189, 220, 250. + + qcom,low-p2-blank-time-ns: + description: Controls the lower clamp threshold for p2 minimum on time. + Applicable for PM7325B. Possible values are 40, 69, 99, 129, 159, + 189, 220, 250. + + qcom,mpc-current-thr-ma: + $ref: /schemas/types.yaml#/definitions/uint32 + description: Controls the mpc threshold for inductor current after start up + is done. Applicable for PM7325B. Possible values are 160, 200, 240, + 280, 320, 360, 400, 440. + + qcom,ttw-enable: type: boolean description: Touch to wake-up support enabled.