Commit | Line | Data |
---|---|---|
c7f15d43 ST |
1 | * Dialog DA9063 Power Management Integrated Circuit (PMIC) |
2 | ||
3 | DA9093 consists of a large and varied group of sub-devices (I2C Only): | |
4 | ||
5 | Device Supply Names Description | |
6 | ------ ------------ ----------- | |
7 | da9063-regulator : : LDOs & BUCKs | |
557e86e5 | 8 | da9063-onkey : : On Key |
c7f15d43 ST |
9 | da9063-rtc : : Real-Time Clock |
10 | da9063-watchdog : : Watchdog | |
11 | ||
12 | ====== | |
13 | ||
14 | Required properties: | |
15 | ||
16 | - compatible : Should be "dlg,da9063" | |
17 | - reg : Specifies the I2C slave address (this defaults to 0x58 but it can be | |
18 | modified to match the chip's OTP settings). | |
19 | - interrupt-parent : Specifies the reference to the interrupt controller for | |
20 | the DA9063. | |
21 | - interrupts : IRQ line information. | |
22 | - interrupt-controller | |
23 | ||
24 | Sub-nodes: | |
25 | ||
26 | - regulators : This node defines the settings for the LDOs and BUCKs. The | |
27 | DA9063 regulators are bound using their names listed below: | |
28 | ||
29 | bcore1 : BUCK CORE1 | |
30 | bcore2 : BUCK CORE2 | |
31 | bpro : BUCK PRO | |
32 | bmem : BUCK MEM | |
33 | bio : BUCK IO | |
34 | bperi : BUCK PERI | |
35 | ldo1 : LDO_1 | |
36 | ldo2 : LDO_2 | |
37 | ldo3 : LDO_3 | |
38 | ldo4 : LDO_4 | |
39 | ldo5 : LDO_5 | |
40 | ldo6 : LDO_6 | |
41 | ldo7 : LDO_7 | |
42 | ldo8 : LDO_8 | |
43 | ldo9 : LDO_9 | |
44 | ldo10 : LDO_10 | |
45 | ldo11 : LDO_11 | |
46 | ||
47 | The component follows the standard regulator framework and the bindings | |
48 | details of individual regulator device can be found in: | |
49 | Documentation/devicetree/bindings/regulator/regulator.txt | |
50 | ||
51 | - rtc : This node defines settings for the Real-Time Clock associated with | |
52 | the DA9063. There are currently no entries in this binding, however | |
53 | compatible = "dlg,da9063-rtc" should be added if a node is created. | |
54 | ||
557e86e5 ST |
55 | - onkey : This node defines the OnKey settings for controlling the key |
56 | functionality of the device. The node should contain the compatible property | |
57 | with the value "dlg,da9063-onkey". | |
58 | ||
59 | Optional onkey properties: | |
60 | ||
61 | - dlg,disable-key-power : Disable power-down using a long key-press. If this | |
62 | entry exists the OnKey driver will remove support for the KEY_POWER key | |
63 | press. If this entry does not exist then by default the key-press | |
64 | triggered power down is enabled and the OnKey will support both KEY_POWER | |
65 | and KEY_SLEEP. | |
66 | ||
c7f15d43 ST |
67 | - watchdog : This node defines settings for the Watchdog timer associated |
68 | with the DA9063. There are currently no entries in this binding, however | |
69 | compatible = "dlg,da9063-watchdog" should be added if a node is created. | |
70 | ||
71 | ||
72 | Example: | |
73 | ||
74 | pmic0: da9063@58 { | |
75 | compatible = "dlg,da9063" | |
76 | reg = <0x58>; | |
77 | interrupt-parent = <&gpio6>; | |
78 | interrupts = <11 IRQ_TYPE_LEVEL_LOW>; | |
79 | interrupt-controller; | |
80 | ||
81 | rtc { | |
82 | compatible = "dlg,da9063-rtc"; | |
83 | }; | |
84 | ||
85 | wdt { | |
86 | compatible = "dlg,da9063-watchdog"; | |
87 | }; | |
88 | ||
557e86e5 ST |
89 | onkey { |
90 | compatible = "dlg,da9063-onkey"; | |
91 | dlg,disable-key-power; | |
92 | }; | |
93 | ||
c7f15d43 ST |
94 | regulators { |
95 | DA9063_BCORE1: bcore1 { | |
96 | regulator-name = "BCORE1"; | |
97 | regulator-min-microvolt = <300000>; | |
98 | regulator-max-microvolt = <1570000>; | |
99 | regulator-min-microamp = <500000>; | |
100 | regulator-max-microamp = <2000000>; | |
101 | regulator-boot-on; | |
102 | }; | |
103 | DA9063_LDO11: ldo11 { | |
104 | regulator-name = "LDO_11"; | |
105 | regulator-min-microvolt = <900000>; | |
106 | regulator-max-microvolt = <3600000>; | |
107 | regulator-boot-on; | |
108 | }; | |
109 | }; | |
110 | }; | |
111 |