^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) TI LP873X PMIC 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,lp8732", "ti,lp8733"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) - reg: I2C slave address.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) - gpio-controller: Marks the device node as a GPIO Controller.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) - #gpio-cells: Should be two. The first cell is the pin number and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) the second cell is used to specify flags.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) See ../gpio/gpio.txt for more information.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) - xxx-in-supply: Phandle to parent supply node of each regulator
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) populated under regulators node. xxx can be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) buck0, buck1, ldo0 or ldo1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) - regulators: List of child nodes that specify the regulator
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) initialization data.
^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) pmic: lp8733@60 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) compatible = "ti,lp8733";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) reg = <0x60>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) gpio-controller;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) #gpio-cells = <2>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) buck0-in-supply = <&vsys_3v3>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) buck1-in-supply = <&vsys_3v3>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) ldo0-in-supply = <&vsys_3v3>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) ldo1-in-supply = <&vsys_3v3>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) regulators {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) lp8733_buck0: buck0 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) regulator-name = "lp8733-buck0";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) regulator-min-microvolt = <800000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) regulator-max-microvolt = <1400000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) regulator-min-microamp = <1500000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) regulator-max-microamp = <4000000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) regulator-ramp-delay = <10000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) regulator-always-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) regulator-boot-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) lp8733_buck1: buck1 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) regulator-name = "lp8733-buck1";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) regulator-min-microvolt = <800000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) regulator-max-microvolt = <1400000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) regulator-min-microamp = <1500000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) regulator-max-microamp = <4000000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) regulator-ramp-delay = <10000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) regulator-boot-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) regulator-always-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) lp8733_ldo0: ldo0 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) regulator-name = "lp8733-ldo0";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) regulator-min-microvolt = <800000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) regulator-max-microvolt = <3000000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) regulator-boot-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) regulator-always-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) lp8733_ldo1: ldo1 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) regulator-name = "lp8733-ldo1";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) regulator-min-microvolt = <800000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) regulator-max-microvolt = <3000000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) regulator-always-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) regulator-boot-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) };