1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/regulator/dlg,da9121.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Dialog Semiconductor DA9121 voltage regulator
10 - Adam Ward <Adam.Ward.opensource@diasemi.com>
13 Dialog Semiconductor DA9121 Single-channel 10A double-phase buck converter
14 Dialog Semiconductor DA9122 Double-channel 5A single-phase buck converter
15 Dialog Semiconductor DA9220 Double-channel 3A single-phase buck converter
16 Dialog Semiconductor DA9217 Single-channel 6A double-phase buck converter
17 Dialog Semiconductor DA9130 Single-channel 10A double-phase buck converter
18 Dialog Semiconductor DA9131 Double-channel 5A single-phase buck converter
19 Dialog Semiconductor DA9132 Double-channel 3A single-phase buck converter
20 Dialog Semiconductor DA9141 Single-channel 40A quad-phase buck converter
21 Dialog Semiconductor DA9142 Single-channel 20A double-phase buck converter
23 Device parameter ranges
25 The current limits can be set to at/near double the rated current per channel
26 to allow for transient peaks.
27 Current limit changes when the output is enabled are not supported, as a
28 precaution against undefined behaviour.
30 |----------------------------------------------|
31 | | range & reset default value |
32 | Device |------------------------------|
33 | | microvolt | microamp |
34 |----------------------------------------------|
35 | DA9121/DA9130 | Min: 300000 | Min: 7000000 |
36 | | Max: 1900000 | Max: 20000000 |
37 |----------------------------------------------|
38 | DA9121/DA9131 | Min: 300000 | Min: 3500000 |
39 | | Max: 1900000 | Max: 10000000 |
40 |----------------------------------------------|
41 | DA9121/DA9131 | Min: 300000 | Min: 3500000 |
42 | | Max: 1900000 | Max: 6000000 |
43 |----------------------------------------------|
44 | DA9217 | Min: 300000 | Min: 7000000 |
45 | | Max: 1900000 | Max: 12000000 |
46 |----------------------------------------------|
47 | DA9141 | Min: 300000 | Min: 26000000 |
48 | | Max: 1300000 | Max: 78000000 |
49 |----------------------------------------------|
50 | DA9142 | Min: 300000 | Min: 13000000 |
51 | | Max: 1300000 | Max: 39000000 |
52 |----------------------------------------------|
56 pattern: "pmic@[0-9a-f]{1,2}"
71 description: Specifies the I2C slave address.
75 description: IRQ line information.
77 dlg,irq-polling-delay-passive-ms:
81 Specify the polling period, measured in milliseconds, between interrupt status
82 update checks. Range 1000-10000 ms.
86 additionalProperties: false
88 List of regulators provided by the device
95 Properties for a single BUCK regulator
99 pattern: "^BUCK([1-2])$"
101 BUCK2 present in DA9122, DA9220, DA9131, DA9132 only
103 regulator-initial-mode:
105 description: Defined in include/dt-bindings/regulator/dlg,da9121-regulator.h
109 description: Specify a valid GPIO for platform control of the regulator
112 $ref: "/schemas/types.yaml#/definitions/uint32"
115 Defined in include/dt-bindings/regulator/dlg,da9121-regulator.h
116 Only present on multi-channel devices (DA9122, DA9220, DA9131, DA9132)
118 unevaluatedProperties: false
125 additionalProperties: false
129 #include <dt-bindings/gpio/gpio.h>
130 #include <dt-bindings/interrupt-controller/irq.h>
131 #include <dt-bindings/regulator/dlg,da9121-regulator.h>
133 #address-cells = <1>;
136 compatible = "dlg,da9121";
139 interrupt-parent = <&gpio6>;
140 interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
142 dlg,irq-polling-delay-passive-ms = <2000>;
145 DA9121_BUCK1: buck1 {
146 regulator-name = "BUCK1";
147 regulator-min-microvolt = <300000>;
148 regulator-max-microvolt = <1900000>;
149 regulator-min-microamp = <7000000>;
150 regulator-max-microamp = <20000000>;
152 regulator-initial-mode = <DA9121_BUCK_MODE_AUTO>;
153 enable-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
160 #include <dt-bindings/gpio/gpio.h>
161 #include <dt-bindings/interrupt-controller/irq.h>
162 #include <dt-bindings/regulator/dlg,da9121-regulator.h>
164 #address-cells = <1>;
167 compatible = "dlg,da9122";
170 interrupt-parent = <&gpio6>;
171 interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
173 dlg,irq-polling-delay-passive-ms = <2000>;
176 DA9122_BUCK1: buck1 {
177 regulator-name = "BUCK1";
178 regulator-min-microvolt = <300000>;
179 regulator-max-microvolt = <1900000>;
180 regulator-min-microamp = <3500000>;
181 regulator-max-microamp = <10000000>;
183 regulator-initial-mode = <DA9121_BUCK_MODE_AUTO>;
184 enable-gpios = <&gpio6 1 GPIO_ACTIVE_HIGH>;
185 dlg,ripple-cancel = <DA9121_BUCK_RIPPLE_CANCEL_NONE>;
187 DA9122_BUCK2: buck2 {
188 regulator-name = "BUCK2";
189 regulator-min-microvolt = <300000>;
190 regulator-max-microvolt = <1900000>;
191 regulator-min-microamp = <3500000>;
192 regulator-max-microamp = <10000000>;
194 regulator-initial-mode = <DA9121_BUCK_MODE_AUTO>;
195 enable-gpios = <&gpio6 2 GPIO_ACTIVE_HIGH>;
196 dlg,ripple-cancel = <DA9121_BUCK_RIPPLE_CANCEL_NONE>;