Back to home page

OSCL-LXR

 
 

    


0001 * Dialog DA9055 Power Management Integrated Circuit (PMIC)
0002 
0003 DA9055 consists of a large and varied group of sub-devices (I2C Only):
0004 
0005 Device                   Supply Names    Description
0006 ------                   ------------    -----------
0007 da9055-gpio             :               : GPIOs
0008 da9055-regulator        :               : Regulators
0009 da9055-onkey            :               : On key
0010 da9055-rtc              :               : RTC
0011 da9055-hwmon            :               : ADC
0012 da9055-watchdog         :               : Watchdog
0013 
0014 The CODEC device in DA9055 has a separate, configurable I2C address and so
0015 is instantiated separately from the PMIC.
0016 
0017 For details on accompanying CODEC I2C device, see the following:
0018 Documentation/devicetree/bindings/sound/da9055.txt
0019 
0020 ======
0021 
0022 Required properties:
0023 - compatible : Should be "dlg,da9055-pmic"
0024 - reg: Specifies the I2C slave address (defaults to 0x5a but can be modified)
0025 - interrupts: IRQ line info for da9055 chip.
0026 - interrupt-controller: da9055 has internal IRQs (has own IRQ domain).
0027 - #interrupt-cells: Should be 1, is the local IRQ number for da9055.
0028 
0029 Sub-nodes:
0030 - regulators : Contain the regulator nodes. The DA9055 regulators are
0031   bound using their names as listed below:
0032 
0033     buck1     : regulator BUCK1
0034     buck2     : regulator BUCK2
0035     ldo1      : regulator LDO1
0036     ldo2      : regulator LDO2
0037     ldo3      : regulator LDO3
0038     ldo4      : regulator LDO4
0039     ldo5      : regulator LDO5
0040     ldo6      : regulator LDO6
0041 
0042   The bindings details of individual regulator device can be found in:
0043   Documentation/devicetree/bindings/regulator/regulator.txt
0044 
0045 
0046 Example:
0047 
0048         pmic: da9055-pmic@5a {
0049                 compatible = "dlg,da9055-pmic";
0050                 reg = <0x5a>;
0051                 interrupt-parent = <&intc>;
0052                 interrupts = <5 IRQ_TYPE_LEVEL_LOW>;
0053                 interrupt-controller;
0054                 #interrupt-cells = <1>;
0055 
0056                 regulators {
0057                         buck1: BUCK1 {
0058                                 regulator-min-microvolt = <725000>;
0059                                 regulator-max-microvolt = <2075000>;
0060                         };
0061                         buck2: BUCK2 {
0062                                 regulator-min-microvolt = <925000>;
0063                                 regulator-max-microvolt = <2500000>;
0064                         };
0065                         ldo1: LDO1 {
0066                                 regulator-min-microvolt = <900000>;
0067                                 regulator-max-microvolt = <3300000>;
0068                         };
0069                 };
0070         };