From 846a2721e68bfb0b6aa6a2ea98f8bda8ffd7e5fe Mon Sep 17 00:00:00 2001 From: Fenglin Wu Date: Tue, 13 Oct 2020 11:11:32 +0800 Subject: [PATCH] bindings: qcom-hv-haptics: add properties to support non-HBoost regulator Haptics module can be configured to get power from non-HBoost regulator, add properties to specify the regulator device and voltage level. Change-Id: I8aea15c812c2e7cb5e45df90d5c2464582867bc6 --- bindings/input/qcom-hv-haptics.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/bindings/input/qcom-hv-haptics.txt b/bindings/input/qcom-hv-haptics.txt index 128e9266baac..805b3baedf70 100644 --- a/bindings/input/qcom-hv-haptics.txt +++ b/bindings/input/qcom-hv-haptics.txt @@ -119,6 +119,20 @@ Properties: haptics ISC (short circuit current) config during LRA impedance detection. +- qcom,hpwr-supply: + Usage: optional + Value type: + Definition: Phandle of the regulator device that supplies power for haptics + module. This is needed when haptics module is supplied by + non-HBoost regulator. + +- qcom,hpwr-voltage-mv: + Usage: optional + Value type: + Definition: Specify the voltage level in mv unit requested from the + non-HBoost regulator. When BoB regulator is used, the + requested voltage shouldn't be higher than 4000 mV. + The following properties are only required when LRA actuator is used: - qcom,lra-period-us: