PageRenderTime 27ms CodeModel.GetById 22ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

/Documentation/devicetree/bindings/platform/msm/qpnp-vibrator.txt

https://gitlab.com/webhaikal/SenseiFerrari
Plain Text | 40 lines | 34 code | 6 blank | 0 comment | 0 complexity | 915c2ddc2cc3b44fb0c35b63b6ddee6d MD5 | raw file
 1QPNP Vibrator
 2
 3QPNP (Qualcomm Plug N Play) vibrator is a peripheral on
 4Qualcomm PMICs.  The PMIC is connected to Host processor
 5via SPMI bus.
 6
 7Required Properties:
 8 - status: default status is set to "disabled.  Must be "okay"
 9 - compatible: must be "qcom,qpnp-vibrator"
10 - label: name which describes the device
11 - reg: address of device
12
13Optional Properties:
14 - qcom,vib-timeout-ms: timeout of vibrator, in ms.  Default 15000 ms
15 - qcom,vib-vtg-level-mV: voltage level, in mV.  Default 3100 mV
16 - qcom,mode: mode in which vibrator is operating. It can be one of
17		"manual", "dtest1", "dtest2" and "dtest3"
18 - qcom,active-low: boolean to specify if the dtestx is operated
19		in active low or high
20
21Required Properties for "dtestx" mode:
22 - qcom,pwm-channel: pwm channel number
23 - qcom,period-us: period for pwm in micro secs
24 - qcom,duty-us: duty cycle for pwm in micro secs
25
26
27Example:
28		qcom,vib@c000 {
29			status = "okay";
30			compatible = "qcom,qpnp-vibrator";
31			reg = <0xc000 0x100>;
32			label = "vibrator";
33			qcom,vib-timeout-ms = <15000>;
34			qcom,vib-vtg-level-mV = <3100>;
35			qcom,mode = "dtest3";
36			qcom,pwm-channel = <5>;
37			qcom,period-us = <1000>;
38			qcom,duty-us = <750>;
39			qcom,active-low;
40		};