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

Commit 9039c3d1 authored by Umang Agrawal's avatar Umang Agrawal
Browse files

dt-bindings: leds: Add snapshot of vibrator LDO for lito



This is a snapshot of the vibrator LDO Documentation as of msm-4.14
'commit Ib18fb4bdb6e (Merged "leds: qpnp: add driver file for
configuring vibrator LDO")'.

Change-Id: I49df062c27bfd54b9b0658eb97526be2c2251499
Signed-off-by: default avatarUmang Agrawal <uagrawal@codeaurora.org>
parent 2013c3ec
Loading
Loading
Loading
Loading
+50 −0
Original line number Diff line number Diff line
Qualcomm Technologies, Inc. Vibrator-LDO

QPNP (Qualcomm Technologies, Inc. Plug N Play) Vibrator-LDO is a peripheral
on some QTI PMICs. It can be interfaced with the host processor via SPMI.

Vibrator-LDO peripheral supports Eccentric Rotation Mass (ERM) vibrator.

Properties:

- compatible
	Usage:      required
	Value type: <string>
	Definition: "qcom,qpnp-vibrator-ldo".

- reg
	Usage:      required
	Value type: <u32>
	Definition: Base address of vibrator-ldo peripheral.

- qcom,vib-ldo-volt-uv
	Usage:      required
	Value type: <u32>
	Definition: The optimal voltage requirement of the vibrator motor for
		    a normal vibration. Value is specified in microvolts.

- qcom,disable-overdrive
	Usage:      optional
	Value type: <empty>
	Definition: Do not apply overdrive voltage.

- qcom,vib-overdrive-volt-uv
	Usage:      optional and not required if qcom,disable-overdrive present
	Value type: <u32>
	Definition: The voltage in microvolts used as overdrive factor for
		    improving motor reactivity at the start of vibration.
		    If this property not specified, a default value of
		    2 times the value specified in qcom,vib-ldo-volt-uv
		    property is used.

=======
Example
=======

pmi632_vib: qcom,vibrator@5700 {
	compatible = "qcom,qpnp-vibrator-ldo";
	reg = <0x5700 0x100>;
	qcom,vib-ldo-volt-uv = <1504000>;
	qcom,disable-overdrive;
	qcom,vib-overdrive-volt-uv = <3544000>;
};