Xiaotong Lu | 45615a9 | 2018-06-01 11:36:22 -0700 | [diff] [blame] | 1 | Spreadtrum SC27xx PMIC Vibrator |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible: should be "sprd,sc2731-vibrator". |
| 5 | - reg: address of vibrator control register. |
| 6 | |
| 7 | Example : |
| 8 | |
| 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>; |
| 18 | |
| 19 | vibrator@eb4 { |
| 20 | compatible = "sprd,sc2731-vibrator"; |
| 21 | reg = <0xeb4>; |
| 22 | }; |
| 23 | }; |