Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | TI/National Semiconductor LP3943 MFD driver |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible: "ti,lp3943" |
| 5 | - reg: I2C slave address. From 0x60 to 0x67. |
| 6 | |
| 7 | LP3943 consists of two sub-devices, lp3943-gpio and lp3943-pwm. |
| 8 | |
| 9 | For the LP3943 GPIO properties please refer to: |
| 10 | Documentation/devicetree/bindings/gpio/gpio-lp3943.txt |
| 11 | |
| 12 | For the LP3943 PWM properties please refer to: |
| 13 | Documentation/devicetree/bindings/pwm/pwm-lp3943.txt |
| 14 | |
| 15 | Example: |
| 16 | |
| 17 | lp3943@60 { |
| 18 | compatible = "ti,lp3943"; |
| 19 | reg = <0x60>; |
| 20 | |
| 21 | gpioex: gpio { |
| 22 | compatible = "ti,lp3943-gpio"; |
| 23 | gpio-controller; |
| 24 | #gpio-cells = <2>; |
| 25 | }; |
| 26 | |
| 27 | pwm3943: pwm { |
| 28 | compatible = "ti,lp3943-pwm"; |
| 29 | #pwm-cells = <2>; |
| 30 | ti,pwm0 = <8 9 10>; |
| 31 | ti,pwm1 = <15>; |
| 32 | }; |
| 33 | }; |