]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - Documentation/devicetree/bindings/mfd/da9062.txt
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[mirror_ubuntu-bionic-kernel.git] / Documentation / devicetree / bindings / mfd / da9062.txt
1 * Dialog DA9062 Power Management Integrated Circuit (PMIC)
2
3 Product information for the DA9062 and DA9061 devices can be found here:
4 - http://www.dialog-semiconductor.com/products/da9062
5 - http://www.dialog-semiconductor.com/products/da9061
6
7 The DA9062 PMIC consists of:
8
9 Device Supply Names Description
10 ------ ------------ -----------
11 da9062-regulator : : LDOs & BUCKs
12 da9062-rtc : : Real-Time Clock
13 da9062-onkey : : On Key
14 da9062-watchdog : : Watchdog Timer
15 da9062-thermal : : Thermal
16
17 The DA9061 PMIC consists of:
18
19 Device Supply Names Description
20 ------ ------------ -----------
21 da9062-regulator : : LDOs & BUCKs
22 da9062-onkey : : On Key
23 da9062-watchdog : : Watchdog Timer
24 da9062-thermal : : Thermal
25
26 ======
27
28 Required properties:
29
30 - compatible : Should be
31 "dlg,da9062" for DA9062
32 "dlg,da9061" for DA9061
33 - reg : Specifies the I2C slave address (this defaults to 0x58 but it can be
34 modified to match the chip's OTP settings).
35 - interrupt-parent : Specifies the reference to the interrupt controller for
36 the DA9062 or DA9061.
37 - interrupts : IRQ line information.
38 - interrupt-controller
39
40 See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt for
41 further information on IRQ bindings.
42
43 Sub-nodes:
44
45 - regulators : This node defines the settings for the LDOs and BUCKs.
46 The DA9062 regulators are bound using their names listed below:
47
48 buck1 : BUCK_1
49 buck2 : BUCK_2
50 buck3 : BUCK_3
51 buck4 : BUCK_4
52 ldo1 : LDO_1
53 ldo2 : LDO_2
54 ldo3 : LDO_3
55 ldo4 : LDO_4
56
57 The DA9061 regulators are bound using their names listed below:
58
59 buck1 : BUCK_1
60 buck2 : BUCK_2
61 buck3 : BUCK_3
62 ldo1 : LDO_1
63 ldo2 : LDO_2
64 ldo3 : LDO_3
65 ldo4 : LDO_4
66
67 The component follows the standard regulator framework and the bindings
68 details of individual regulator device can be found in:
69 Documentation/devicetree/bindings/regulator/regulator.txt
70
71 - rtc : This node defines settings required for the Real-Time Clock associated
72 with the DA9062. There are currently no entries in this binding, however
73 compatible = "dlg,da9062-rtc" should be added if a node is created.
74
75 - onkey : See ../input/da9062-onkey.txt
76
77 - watchdog: See ../watchdog/da9062-watchdog.txt
78
79 - thermal : See ../thermal/da9062-thermal.txt
80
81 Example:
82
83 pmic0: da9062@58 {
84 compatible = "dlg,da9062";
85 reg = <0x58>;
86 interrupt-parent = <&gpio6>;
87 interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
88 interrupt-controller;
89
90 rtc {
91 compatible = "dlg,da9062-rtc";
92 };
93
94 regulators {
95 DA9062_BUCK1: buck1 {
96 regulator-name = "BUCK1";
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 DA9062_LDO1: ldo1 {
104 regulator-name = "LDO_1";
105 regulator-min-microvolt = <900000>;
106 regulator-max-microvolt = <3600000>;
107 regulator-boot-on;
108 };
109 };
110 };
111