xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/lp3943.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunTI/National Semiconductor LP3943 MFD driver
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun  - compatible: "ti,lp3943"
5*4882a593Smuzhiyun  - reg: I2C slave address. From 0x60 to 0x67.
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunLP3943 consists of two sub-devices, lp3943-gpio and lp3943-pwm.
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunFor the LP3943 GPIO properties please refer to:
10*4882a593SmuzhiyunDocumentation/devicetree/bindings/gpio/gpio-lp3943.txt
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunFor the LP3943 PWM properties please refer to:
13*4882a593SmuzhiyunDocumentation/devicetree/bindings/pwm/pwm-lp3943.txt
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunExample:
16*4882a593Smuzhiyun
17*4882a593Smuzhiyunlp3943@60 {
18*4882a593Smuzhiyun	compatible = "ti,lp3943";
19*4882a593Smuzhiyun	reg = <0x60>;
20*4882a593Smuzhiyun
21*4882a593Smuzhiyun	gpioex: gpio {
22*4882a593Smuzhiyun		compatible = "ti,lp3943-gpio";
23*4882a593Smuzhiyun		gpio-controller;
24*4882a593Smuzhiyun		#gpio-cells = <2>;
25*4882a593Smuzhiyun	};
26*4882a593Smuzhiyun
27*4882a593Smuzhiyun	pwm3943: pwm {
28*4882a593Smuzhiyun		compatible = "ti,lp3943-pwm";
29*4882a593Smuzhiyun		#pwm-cells = <2>;
30*4882a593Smuzhiyun		ti,pwm0 = <8 9 10>;
31*4882a593Smuzhiyun		ti,pwm1 = <15>;
32*4882a593Smuzhiyun	};
33*4882a593Smuzhiyun};
34