1 * Device tree bindings for the Qualcomm MSM vibrator
5 - compatible: Should be one of
6 "qcom,msm8226-vibrator"
7 "qcom,msm8974-vibrator"
8 - reg: the base address and length of the IO memory for the registers.
9 - pinctrl-names: set to default.
10 - pinctrl-0: phandles pointing to pin configuration nodes. See
11 Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
12 - clock-names: set to pwm
13 - clocks: phandle of the clock. See
14 Documentation/devicetree/bindings/clock/clock-bindings.txt
15 - enable-gpios: GPIO that enables the vibrator.
19 - vcc-supply: phandle to the regulator that provides power to the sensor.
21 Example from a LG Nexus 5 (hammerhead) phone:
24 reg = <0xfd8c3450 0x400>;
25 compatible = "qcom,msm8974-vibrator";
27 vcc-supply = <&pm8941_l19>;
29 clocks = <&mmcc CAMSS_GP1_CLK>;
32 enable-gpios = <&msmgpio 60 GPIO_ACTIVE_HIGH>;
34 pinctrl-names = "default";
35 pinctrl-0 = <&vibrator_pin>;