Lines Matching +full:bd71828 +full:- +full:pmic

1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/mfd/rohm,bd71828-pmic.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ROHM BD71828 Power Management Integrated Circuit
10 - Matti Vaittinen <mazziesaccount@gmail.com>
13 BD71828GW is a single-chip power management IC for battery-powered portable
15 single-cell linear charger. Also included is a Coulomb counter, a real-time
21 - const: rohm,bd71828
23 - items:
24 - const: rohm,bd71879
25 - const: rohm,bd71828
35 gpio-controller: true
37 "#gpio-cells":
46 "#clock-cells":
49 clock-output-names:
50 const: bd71828-32k-out
52 rohm,clkout-open-drain:
53 description: clk32kout mode. Set to 1 for "open-drain" or 0 for "cmos".
58 rohm,charger-sense-resistor-micro-ohms:
63 BD71827 and BD71828 have SAR ADC for measuring charging currents.
69 $ref: /schemas/regulator/rohm,bd71828-regulator.yaml
74 $ref: /schemas/leds/rohm,bd71828-leds.yaml
76 gpio-reserved-ranges:
78 Usage of BD71828 GPIO pins can be changed via OTP. This property can be
82 system-power-controller: true
85 - compatible
86 - reg
87 - interrupts
88 - clocks
89 - "#clock-cells"
90 - regulators
91 - gpio-controller
92 - "#gpio-cells"
97 - |
98 #include <dt-bindings/interrupt-controller/irq.h>
99 #include <dt-bindings/leds/common.h>
101 #address-cells = <1>;
102 #size-cells = <0>;
103 pmic: pmic@4b {
104 compatible = "rohm,bd71828";
107 interrupt-parent = <&gpio1>;
111 #clock-cells = <0>;
112 clock-output-names = "bd71828-32k-out";
114 gpio-controller;
115 #gpio-cells = <2>;
116 gpio-reserved-ranges = <0 1>, <2 1>;
118 rohm,charger-sense-resistor-micro-ohms = <10000>;
122 regulator-name = "buck1";
123 regulator-min-microvolt = <500000>;
124 regulator-max-microvolt = <2000000>;
125 regulator-ramp-delay = <2500>;
128 regulator-name = "buck2";
129 regulator-min-microvolt = <500000>;
130 regulator-max-microvolt = <2000000>;
131 regulator-ramp-delay = <2500>;
134 regulator-name = "buck3";
135 regulator-min-microvolt = <1200000>;
136 regulator-max-microvolt = <2000000>;
139 regulator-name = "buck4";
140 regulator-min-microvolt = <1000000>;
141 regulator-max-microvolt = <1800000>;
144 regulator-name = "buck5";
145 regulator-min-microvolt = <2500000>;
146 regulator-max-microvolt = <3300000>;
149 regulator-name = "buck6";
150 regulator-min-microvolt = <500000>;
151 regulator-max-microvolt = <2000000>;
152 regulator-ramp-delay = <2500>;
155 regulator-name = "buck7";
156 regulator-min-microvolt = <500000>;
157 regulator-max-microvolt = <2000000>;
158 regulator-ramp-delay = <2500>;
161 regulator-name = "ldo1";
162 regulator-min-microvolt = <800000>;
163 regulator-max-microvolt = <3300000>;
166 regulator-name = "ldo2";
167 regulator-min-microvolt = <800000>;
168 regulator-max-microvolt = <3300000>;
171 regulator-name = "ldo3";
172 regulator-min-microvolt = <800000>;
173 regulator-max-microvolt = <3300000>;
176 regulator-name = "ldo4";
177 regulator-min-microvolt = <800000>;
178 regulator-max-microvolt = <3300000>;
181 regulator-name = "ldo5";
182 regulator-min-microvolt = <800000>;
183 regulator-max-microvolt = <3300000>;
186 regulator-name = "ldo6";
187 regulator-min-microvolt = <1800000>;
188 regulator-max-microvolt = <1800000>;
191 regulator-name = "ldo7";
192 regulator-min-microvolt = <800000>;
193 regulator-max-microvolt = <3300000>;
198 compatible = "rohm,bd71828-leds";
200 led-1 {
201 rohm,led-compatible = "bd71828-grnled";
205 led-2 {
206 rohm,led-compatible = "bd71828-ambled";