Back to home page

OSCL-LXR

 
 

    


0001 TI/National Semiconductor LP3943 MFD driver
0002 
0003 Required properties:
0004   - compatible: "ti,lp3943"
0005   - reg: I2C slave address. From 0x60 to 0x67.
0006 
0007 LP3943 consists of two sub-devices, lp3943-gpio and lp3943-pwm.
0008 
0009 For the LP3943 GPIO properties please refer to:
0010 Documentation/devicetree/bindings/gpio/gpio-lp3943.txt
0011 
0012 For the LP3943 PWM properties please refer to:
0013 Documentation/devicetree/bindings/pwm/pwm-lp3943.txt
0014 
0015 Example:
0016 
0017 lp3943@60 {
0018         compatible = "ti,lp3943";
0019         reg = <0x60>;
0020 
0021         gpioex: gpio {
0022                 compatible = "ti,lp3943-gpio";
0023                 gpio-controller;
0024                 #gpio-cells = <2>;
0025         };
0026 
0027         pwm3943: pwm {
0028                 compatible = "ti,lp3943-pwm";
0029                 #pwm-cells = <2>;
0030                 ti,pwm0 = <8 9 10>;
0031                 ti,pwm1 = <15>;
0032         };
0033 };