Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 16b7be13 authored by Fenglin Wu's avatar Fenglin Wu
Browse files

bindings: qcom-hv-haptics: add PBS device for triggering ISC config

ISC (short circuit current) config for LRA impedance detection need to
be set by triggering a PBS sequence. Add the PBS device information for
this.

Change-Id: I475c76a96d609d3aa67dd89f8f4bc9ef856cf1d6
parent 03417227
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -112,6 +112,13 @@ Properties:
  Definition:	Phandle of the nvmem device used for haptics configuration.
		Please refer to nvmem bindings as described in bindings/nvmem/nvmem.txt.

- qcom,pbs-client:
  Usage:	optional
  Value type:	<phandle>
  Definition:	Phandle of the PBS client used for triggering PBS to configure
		haptics ISC (short circuit current) config during LRA impedance
		detection.

The following properties are only required when LRA actuator is used:

- qcom,lra-period-us:
@@ -262,6 +269,7 @@ Example:
		nvmem-cells = <&hap_cl_brake>;
		nvmem-names = "hap_cfg_sdam";
		nvmem = <&pmk8350_sdam_46>;
		qcom,pbs-client = <&pm8350b_pbs2>;
		qcom,vmax-mv = <900>;
		qcom,brake-mode = <BRAKE_CLOSE_LOOP>;
		qcom,brake-pattern = /bits/ 8 <0xff 0x3f 0x1f>;