Back to home page

OSCL-LXR

 
 

    


0001 * Maxim max8925 Power Management IC
0002 
0003 Required parent device properties:
0004 - compatible : "maxim,max8925"
0005 - reg : the I2C slave address for the max8925 chip
0006 - interrupts : IRQ line for the max8925 chip
0007 - interrupt-controller: describes the max8925 as an interrupt
0008   controller (has its own domain)
0009 - #interrupt-cells : should be 1.
0010         - The cell is the max8925 local IRQ number
0011 
0012 Optional parent device properties:
0013 - maxim,tsc-irq: there are 2 IRQ lines for max8925, one is indicated in
0014   interrupts property, the other is indicated here.
0015 
0016 max8925 consists of a large and varied group of sub-devices:
0017 
0018 Device                   Supply Names    Description
0019 ------                   ------------    -----------
0020 max8925-onkey           :               : On key
0021 max8925-rtc             :               : RTC
0022 max8925-regulator       :               : Regulators
0023 max8925-backlight       :               : Backlight
0024 max8925-touch           :               : Touchscreen
0025 max8925-power           :               : Charger
0026 
0027 Example:
0028 
0029         pmic: max8925@3c {
0030                 compatible = "maxim,max8925";
0031                 reg = <0x3c>;
0032                 interrupts = <1>;
0033                 interrupt-parent = <&intcmux4>;
0034                 interrupt-controller;
0035                 #interrupt-cells = <1>;
0036                 maxim,tsc-irq = <0>;
0037 
0038                 regulators {
0039                         SDV1 {
0040                                 regulator-min-microvolt = <637500>;
0041                                 regulator-max-microvolt = <1425000>;
0042                                 regulator-boot-on;
0043                                 regulator-always-on;
0044                         };
0045 
0046                         LDO1 {
0047                                 regulator-min-microvolt = <750000>;
0048                                 regulator-max-microvolt = <3900000>;
0049                                 regulator-boot-on;
0050                                 regulator-always-on;
0051                         };
0052 
0053                 };
0054                 backlight {
0055                         maxim,max8925-dual-string = <0>;
0056                 };
0057                 charger {
0058                         batt-detect = <0>;
0059                         topoff-threshold = <1>;
0060                         fast-charge = <7>;
0061                         no-temp-support = <0>;
0062                         no-insert-detect = <0>;
0063                 };
0064         };