Commit | Line | Data |
---|---|---|
94b6c3da AT |
1 | * Dialog DA9055 Power Management Integrated Circuit (PMIC) |
2 | ||
3 | DA9055 consists of a large and varied group of sub-devices (I2C Only): | |
4 | ||
5 | Device Supply Names Description | |
6 | ------ ------------ ----------- | |
7 | da9055-gpio : : GPIOs | |
8 | da9055-regulator : : Regulators | |
9 | da9055-onkey : : On key | |
10 | da9055-rtc : : RTC | |
11 | da9055-hwmon : : ADC | |
12 | da9055-watchdog : : Watchdog | |
13 | ||
14 | The CODEC device in DA9055 has a separate, configurable I2C address and so | |
15 | is instantiated separately from the PMIC. | |
16 | ||
17 | For details on accompanying CODEC I2C device, see the following: | |
18 | Documentation/devicetree/bindings/sound/da9055.txt | |
19 | ||
20 | ====== | |
21 | ||
22 | Required properties: | |
23 | - compatible : Should be "dlg,da9055-pmic" | |
24 | - reg: Specifies the I2C slave address (defaults to 0x5a but can be modified) | |
25 | - interrupt-parent: Specifies the phandle of the interrupt controller to which | |
26 | the IRQs from da9055 are delivered to. | |
27 | - interrupts: IRQ line info for da9055 chip. | |
28 | - interrupt-controller: da9055 has internal IRQs (has own IRQ domain). | |
29 | - #interrupt-cells: Should be 1, is the local IRQ number for da9055. | |
30 | ||
31 | Sub-nodes: | |
32 | - regulators : Contain the regulator nodes. The DA9055 regulators are | |
33 | bound using their names as listed below: | |
34 | ||
35 | buck1 : regulator BUCK1 | |
36 | buck2 : regulator BUCK2 | |
37 | ldo1 : regulator LDO1 | |
38 | ldo2 : regulator LDO2 | |
39 | ldo3 : regulator LDO3 | |
40 | ldo4 : regulator LDO4 | |
41 | ldo5 : regulator LDO5 | |
42 | ldo6 : regulator LDO6 | |
43 | ||
44 | The bindings details of individual regulator device can be found in: | |
45 | Documentation/devicetree/bindings/regulator/regulator.txt | |
46 | ||
47 | ||
48 | Example: | |
49 | ||
50 | pmic: da9055-pmic@5a { | |
51 | compatible = "dlg,da9055-pmic"; | |
52 | reg = <0x5a>; | |
53 | interrupt-parent = <&intc>; | |
54 | interrupts = <5 IRQ_TYPE_LEVEL_LOW>; | |
55 | interrupt-controller; | |
56 | #interrupt-cells = <1>; | |
57 | ||
58 | regulators { | |
59 | buck1: BUCK1 { | |
60 | regulator-min-microvolt = <725000>; | |
61 | regulator-max-microvolt = <2075000>; | |
62 | }; | |
63 | buck2: BUCK2 { | |
64 | regulator-min-microvolt = <925000>; | |
65 | regulator-max-microvolt = <2500000>; | |
66 | }; | |
67 | ldo1: LDO1 { | |
68 | regulator-min-microvolt = <900000>; | |
69 | regulator-max-microvolt = <3300000>; | |
70 | }; | |
71 | }; | |
72 | }; |