Lines Matching +full:charger +full:- +full:sense +full:- +full:resistor +full:- +full:ohms

1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Chris Zhong <zyw@rock-chips.com>
11 - Zhang Qing <zhangqing@rock-chips.com>
16 battery charger manager.
21 - rockchip,rk817
29 '#clock-cells':
31 See <dt-bindings/clock/rockchip,rk808.h> for clock IDs.
35 clock-output-names:
39 rockchip,system-power-controller:
44 wakeup-source:
49 vcc1-supply:
53 vcc2-supply:
57 vcc3-supply:
61 vcc4-supply:
65 vcc5-supply:
69 vcc6-supply:
73 vcc7-supply:
77 vcc8-supply:
81 vcc9-supply:
88 "^(LDO_REG[1-9]|DCDC_REG[1-4]|BOOST|OTG_SWITCH)$":
98 clock-names:
102 - const: mclk
104 '#sound-dai-cells':
117 rockchip,mic-in-differential:
122 charger:
124 The child node for the charger to hold additional properties. If a
128 monitored-battery:
132 charge-full-design-microamp-hours,
133 charge-term-current-microamp,
134 constant-charge-current-max-microamp,
135 constant-charge-voltage-max-microvolt,
136 voltage-max-design-microvolt,
137 voltage-min-design-microvolt,
138 and a valid ocv-capacity table.
140 rockchip,resistor-sense-micro-ohms:
142 Value in microohms of the battery sense resistor. This value is
147 rockchip,sleep-enter-current-microamp:
149 Value in microamps of the sleep enter current for the charger.
152 rockchip,sleep-filter-current-microamp:
154 Value in microamps of the sleep filter current for the charger.
158 - monitored-battery
159 - rockchip,resistor-sense-micro-ohms
160 - rockchip,sleep-enter-current-microamp
161 - rockchip,sleep-filter-current-microamp
166 - if:
168 '#clock-cells':
173 clock-output-names:
178 clock-output-names:
182 - compatible
183 - reg
184 - interrupts
185 - "#clock-cells"
190 - |
191 #include <dt-bindings/clock/px30-cru.h>
192 #include <dt-bindings/pinctrl/rockchip.h>
193 #include <dt-bindings/interrupt-controller/irq.h>
194 #include <dt-bindings/gpio/gpio.h>
196 #address-cells = <1>;
197 #size-cells = <0>;
202 interrupt-parent = <&gpio0>;
204 clock-output-names = "rk808-clkout1", "xin32k";
205 clock-names = "mclk";
207 pinctrl-names = "default";
208 pinctrl-0 = <&pmic_int>, <&i2s1_2ch_mclk>;
209 wakeup-source;
210 #clock-cells = <1>;
211 #sound-dai-cells = <0>;
213 vcc1-supply = <&vccsys>;
214 vcc2-supply = <&vccsys>;
215 vcc3-supply = <&vccsys>;
216 vcc4-supply = <&vccsys>;
217 vcc5-supply = <&vccsys>;
218 vcc6-supply = <&vccsys>;
219 vcc7-supply = <&vccsys>;
223 regulator-name = "vdd_logic";
224 regulator-min-microvolt = <950000>;
225 regulator-max-microvolt = <1150000>;
226 regulator-ramp-delay = <6001>;
227 regulator-always-on;
228 regulator-boot-on;
230 regulator-state-mem {
231 regulator-on-in-suspend;
232 regulator-suspend-microvolt = <950000>;
237 regulator-name = "vdd_arm";
238 regulator-min-microvolt = <950000>;
239 regulator-max-microvolt = <1350000>;
240 regulator-ramp-delay = <6001>;
241 regulator-always-on;
242 regulator-boot-on;
244 regulator-state-mem {
245 regulator-off-in-suspend;
246 regulator-suspend-microvolt = <950000>;
251 regulator-name = "vcc_ddr";
252 regulator-always-on;
253 regulator-boot-on;
255 regulator-state-mem {
256 regulator-on-in-suspend;
261 regulator-name = "vcc_3v3";
262 regulator-min-microvolt = <3300000>;
263 regulator-max-microvolt = <3300000>;
264 regulator-always-on;
265 regulator-boot-on;
267 regulator-state-mem {
268 regulator-off-in-suspend;
269 regulator-suspend-microvolt = <3300000>;
274 regulator-name = "vcc_1v8";
275 regulator-min-microvolt = <1800000>;
276 regulator-max-microvolt = <1800000>;
277 regulator-always-on;
278 regulator-boot-on;
280 regulator-state-mem {
281 regulator-on-in-suspend;
282 regulator-suspend-microvolt = <1800000>;
287 regulator-name = "vdd_1v0";
288 regulator-min-microvolt = <1000000>;
289 regulator-max-microvolt = <1000000>;
290 regulator-always-on;
291 regulator-boot-on;
293 regulator-state-mem {
294 regulator-on-in-suspend;
295 regulator-suspend-microvolt = <1000000>;
300 regulator-name = "vcc3v3_pmu";
301 regulator-min-microvolt = <3300000>;
302 regulator-max-microvolt = <3300000>;
303 regulator-always-on;
304 regulator-boot-on;
306 regulator-state-mem {
307 regulator-on-in-suspend;
308 regulator-suspend-microvolt = <3300000>;
313 regulator-name = "vccio_sd";
314 regulator-min-microvolt = <1800000>;
315 regulator-max-microvolt = <3300000>;
316 regulator-always-on;
317 regulator-boot-on;
319 regulator-state-mem {
320 regulator-on-in-suspend;
321 regulator-suspend-microvolt = <3300000>;
326 regulator-name = "vcc_sd";
327 regulator-min-microvolt = <3300000>;
328 regulator-max-microvolt = <3300000>;
329 regulator-boot-on;
331 regulator-state-mem {
332 regulator-on-in-suspend;
333 regulator-suspend-microvolt = <3300000>;
338 regulator-name = "vcc_bl";
339 regulator-min-microvolt = <3300000>;
340 regulator-max-microvolt = <3300000>;
342 regulator-state-mem {
343 regulator-off-in-suspend;
344 regulator-suspend-microvolt = <3300000>;
349 regulator-name = "vcc_lcd";
350 regulator-min-microvolt = <2800000>;
351 regulator-max-microvolt = <2800000>;
353 regulator-state-mem {
354 regulator-off-in-suspend;
355 regulator-suspend-microvolt = <2800000>;
360 regulator-name = "vcc_cam";
361 regulator-min-microvolt = <3000000>;
362 regulator-max-microvolt = <3000000>;
364 regulator-state-mem {
365 regulator-off-in-suspend;
366 regulator-suspend-microvolt = <3000000>;
371 rk817_charger: charger {
372 monitored-battery = <&battery>;
373 rockchip,resistor-sense-micro-ohms = <10000>;
374 rockchip,sleep-enter-current-microamp = <300000>;
375 rockchip,sleep-filter-current-microamp = <100000>;
379 rockchip,mic-in-differential;