From b5c45e7d59e7fe5878ca63fb9d50bda970bedf0d Mon Sep 17 00:00:00 2001 From: Fenglin Wu Date: Thu, 10 Oct 2024 14:48:57 +0800 Subject: [PATCH] dt-bindings: qcom,hv-haptics: add qcom,hbst-ovp-trim property Add qcom,hbst-ovp-trim property as an option for SW to trigger hBoost OVP trim sequence. The sequence adjusts certain trim registers and reduces hBoost voltage stepper rate. The adjustment can help in preventing hBoost overshoots that might trigger OVP and potentially lead to the shutdown of haptics driver. Change-Id: I8e1e84053015e6aec46d1ba874243e66acb2d23a Signed-off-by: Fenglin Wu --- bindings/input/qcom,hv-haptics.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bindings/input/qcom,hv-haptics.yaml b/bindings/input/qcom,hv-haptics.yaml index 70997a88..4eb33ab5 100644 --- a/bindings/input/qcom,hv-haptics.yaml +++ b/bindings/input/qcom,hv-haptics.yaml @@ -161,6 +161,13 @@ properties: method is used for LRA resonant frequency detection. type: boolean + qcom,hbst-ovp-trim: + description: | + Boolean flag indicating that the hBoost OVP trim PBS sequence would be + triggered during driver initialization. This is only applicable for HAP530_HV + haptics module. + type: boolean + patternProperties: ".*hap-swr-slave-reg$": description: |