Back to home page

OSCL-LXR

 
 

    


0001 TI LP873X PMIC MFD driver
0002 
0003 Required properties:
0004   - compatible: "ti,lp8732", "ti,lp8733"
0005   - reg:                I2C slave address.
0006   - gpio-controller:    Marks the device node as a GPIO Controller.
0007   - #gpio-cells:        Should be two.  The first cell is the pin number and
0008                         the second cell is used to specify flags.
0009                         See ../gpio/gpio.txt for more information.
0010   - xxx-in-supply:      Phandle to parent supply node of each regulator
0011                         populated under regulators node. xxx can be
0012                         buck0, buck1, ldo0 or ldo1.
0013   - regulators: List of child nodes that specify the regulator
0014                         initialization data.
0015 Example:
0016 
0017 pmic: lp8733@60 {
0018         compatible = "ti,lp8733";
0019         reg = <0x60>;
0020         gpio-controller;
0021         #gpio-cells = <2>;
0022 
0023         buck0-in-supply = <&vsys_3v3>;
0024         buck1-in-supply = <&vsys_3v3>;
0025         ldo0-in-supply = <&vsys_3v3>;
0026         ldo1-in-supply = <&vsys_3v3>;
0027 
0028         regulators {
0029                 lp8733_buck0: buck0 {
0030                         regulator-name = "lp8733-buck0";
0031                         regulator-min-microvolt = <800000>;
0032                         regulator-max-microvolt = <1400000>;
0033                         regulator-min-microamp = <1500000>;
0034                         regulator-max-microamp = <4000000>;
0035                         regulator-ramp-delay = <10000>;
0036                         regulator-always-on;
0037                         regulator-boot-on;
0038                 };
0039 
0040                 lp8733_buck1: buck1 {
0041                         regulator-name = "lp8733-buck1";
0042                         regulator-min-microvolt = <800000>;
0043                         regulator-max-microvolt = <1400000>;
0044                         regulator-min-microamp = <1500000>;
0045                         regulator-max-microamp = <4000000>;
0046                         regulator-ramp-delay = <10000>;
0047                         regulator-boot-on;
0048                         regulator-always-on;
0049                 };
0050 
0051                 lp8733_ldo0: ldo0 {
0052                         regulator-name = "lp8733-ldo0";
0053                         regulator-min-microvolt = <800000>;
0054                         regulator-max-microvolt = <3000000>;
0055                         regulator-boot-on;
0056                         regulator-always-on;
0057                 };
0058 
0059                 lp8733_ldo1: ldo1 {
0060                         regulator-name = "lp8733-ldo1";
0061                         regulator-min-microvolt = <800000>;
0062                         regulator-max-microvolt = <3000000>;
0063                         regulator-always-on;
0064                         regulator-boot-on;
0065                 };
0066         };
0067 };