treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / Documentation / devicetree / bindings / input / sprd,sc27xx-vibra.txt
blobf2ec0d4f2dff47692bd840f4b6a551345af8455a
1 Spreadtrum SC27xx PMIC Vibrator
3 Required properties:
4 - compatible: should be "sprd,sc2731-vibrator".
5 - reg: address of vibrator control register.
7 Example :
9         sc2731_pmic: pmic@0 {
10                 compatible = "sprd,sc2731";
11                 reg = <0>;
12                 spi-max-frequency = <26000000>;
13                 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
14                 interrupt-controller;
15                 #interrupt-cells = <2>;
16                 #address-cells = <1>;
17                 #size-cells = <0>;
19                 vibrator@eb4 {
20                         compatible = "sprd,sc2731-vibrator";
21                         reg = <0xeb4>;
22                 };
23         };