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