18c2ecf20Sopenharmony_ciTI LP873X PMIC MFD driver 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired properties: 48c2ecf20Sopenharmony_ci - compatible: "ti,lp8732", "ti,lp8733" 58c2ecf20Sopenharmony_ci - reg: I2C slave address. 68c2ecf20Sopenharmony_ci - gpio-controller: Marks the device node as a GPIO Controller. 78c2ecf20Sopenharmony_ci - #gpio-cells: Should be two. The first cell is the pin number and 88c2ecf20Sopenharmony_ci the second cell is used to specify flags. 98c2ecf20Sopenharmony_ci See ../gpio/gpio.txt for more information. 108c2ecf20Sopenharmony_ci - xxx-in-supply: Phandle to parent supply node of each regulator 118c2ecf20Sopenharmony_ci populated under regulators node. xxx can be 128c2ecf20Sopenharmony_ci buck0, buck1, ldo0 or ldo1. 138c2ecf20Sopenharmony_ci - regulators: List of child nodes that specify the regulator 148c2ecf20Sopenharmony_ci initialization data. 158c2ecf20Sopenharmony_ciExample: 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_cipmic: lp8733@60 { 188c2ecf20Sopenharmony_ci compatible = "ti,lp8733"; 198c2ecf20Sopenharmony_ci reg = <0x60>; 208c2ecf20Sopenharmony_ci gpio-controller; 218c2ecf20Sopenharmony_ci #gpio-cells = <2>; 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ci buck0-in-supply = <&vsys_3v3>; 248c2ecf20Sopenharmony_ci buck1-in-supply = <&vsys_3v3>; 258c2ecf20Sopenharmony_ci ldo0-in-supply = <&vsys_3v3>; 268c2ecf20Sopenharmony_ci ldo1-in-supply = <&vsys_3v3>; 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ci regulators { 298c2ecf20Sopenharmony_ci lp8733_buck0: buck0 { 308c2ecf20Sopenharmony_ci regulator-name = "lp8733-buck0"; 318c2ecf20Sopenharmony_ci regulator-min-microvolt = <800000>; 328c2ecf20Sopenharmony_ci regulator-max-microvolt = <1400000>; 338c2ecf20Sopenharmony_ci regulator-min-microamp = <1500000>; 348c2ecf20Sopenharmony_ci regulator-max-microamp = <4000000>; 358c2ecf20Sopenharmony_ci regulator-ramp-delay = <10000>; 368c2ecf20Sopenharmony_ci regulator-always-on; 378c2ecf20Sopenharmony_ci regulator-boot-on; 388c2ecf20Sopenharmony_ci }; 398c2ecf20Sopenharmony_ci 408c2ecf20Sopenharmony_ci lp8733_buck1: buck1 { 418c2ecf20Sopenharmony_ci regulator-name = "lp8733-buck1"; 428c2ecf20Sopenharmony_ci regulator-min-microvolt = <800000>; 438c2ecf20Sopenharmony_ci regulator-max-microvolt = <1400000>; 448c2ecf20Sopenharmony_ci regulator-min-microamp = <1500000>; 458c2ecf20Sopenharmony_ci regulator-max-microamp = <4000000>; 468c2ecf20Sopenharmony_ci regulator-ramp-delay = <10000>; 478c2ecf20Sopenharmony_ci regulator-boot-on; 488c2ecf20Sopenharmony_ci regulator-always-on; 498c2ecf20Sopenharmony_ci }; 508c2ecf20Sopenharmony_ci 518c2ecf20Sopenharmony_ci lp8733_ldo0: ldo0 { 528c2ecf20Sopenharmony_ci regulator-name = "lp8733-ldo0"; 538c2ecf20Sopenharmony_ci regulator-min-microvolt = <800000>; 548c2ecf20Sopenharmony_ci regulator-max-microvolt = <3000000>; 558c2ecf20Sopenharmony_ci regulator-boot-on; 568c2ecf20Sopenharmony_ci regulator-always-on; 578c2ecf20Sopenharmony_ci }; 588c2ecf20Sopenharmony_ci 598c2ecf20Sopenharmony_ci lp8733_ldo1: ldo1 { 608c2ecf20Sopenharmony_ci regulator-name = "lp8733-ldo1"; 618c2ecf20Sopenharmony_ci regulator-min-microvolt = <800000>; 628c2ecf20Sopenharmony_ci regulator-max-microvolt = <3000000>; 638c2ecf20Sopenharmony_ci regulator-always-on; 648c2ecf20Sopenharmony_ci regulator-boot-on; 658c2ecf20Sopenharmony_ci }; 668c2ecf20Sopenharmony_ci }; 678c2ecf20Sopenharmony_ci}; 68