1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 $id: http://devicetree.org/schemas/power/supply/rohm,bd99954.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ROHM BD99954 Battery charger
10 - Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
11 - Markus Laine <markus.laine@fi.rohmeurope.com>
12 - Mikko Mutanen <mikko.mutanen@fi.rohmeurope.com>
15 The ROHM BD99954 is a Battery Management LSI for 1-4 cell Lithium-Ion
16 secondary battery intended to be used in space-constraint equipment such
17 as Low profile Notebook PC, Tablets and other applications. BD99954
18 provides a Dual-source Battery Charger, two port BC1.2 detection and a
26 # The battery charging profile of BD99954.
28 # Curve (1) represents charging current.
29 # Curve (2) represents battery voltage.
31 # The BD99954 data sheet divides charging to three phases.
32 # a) Trickle-charge with constant current (8).
33 # b) pre-charge with constant current (6)
34 # c) fast-charge with:
35 # First a constant current (5) phase (CC)
36 # Then constant voltage (CV) phase (after the battery voltage has reached
37 # target level - until charging current has dropped to termination
43 # (4)- -.- - - - - - - - - - - - - - +++++++++++++++++++++++++++.
45 # . ++++++/++ - - - - - - - - - - - - -.- - (5)
56 # (3)- -.-.""- - - - -+++++++++ - - - - - - -.:- - - - - - - - - .- - (6)
61 # . (1) + | "+++- - - -.- - (7)
62 # -++++++++++++++- - - - - - - - - - - - - - - - - + - - - .- - (8)
64 # -------------------------------------------------+++++++++-->
66 # | --trickle-- | -pre- | ---------fast----------- |
68 # The charger uses the following battery properties
69 # - trickle-charge-current-microamp:
70 # Current used at trickle-charge phase (8 in above chart)
74 # - precharge-current-microamp:
75 # Current used at pre-charge phase (6 in above chart)
79 # - constant-charge-current-max-microamp
80 # Current used at fast charge constant current phase (5 in above chart)
84 # - constant-charge-voltage-max-microvolt
85 # The constant voltage used in fast charging phase (4 in above chart)
89 # - precharge-upper-limit-microvolt
90 # charging mode is changed from trickle charging to pre-charging
91 # when battery voltage exceeds this limit voltage (3 in above chart)
95 # - re-charge-voltage-microvolt
99 # re-charging is automatically started when battry has been discharging
100 # to the point where the battery voltage drops below this limit
101 # - over-voltage-threshold-microvolt
102 # battery is expected to be faulty if battery voltage exceeds this limit.
103 # Charger will then enter to a "battery faulty" -state
107 # - charge-term-current-microamp
111 # a charge cycle terminates when the battery voltage is above recharge
112 # threshold, and the current is below this setting (7 in above chart)
113 # See also Documentation/devicetree/bindings/power/supply/battery.yaml
123 phandle of battery characteristics devicetree node
125 rohm,vsys-regulation-microvolt:
126 description: system specific lower limit for system voltage.
131 rohm,vbus-input-current-limit-microamp:
132 description: system specific VBUS input current limit (in microamps).
137 rohm,vcc-input-current-limit-microamp:
138 description: system specific VCC/VACP input current limit (in microamps).
146 additionalProperties: false
151 #address-cells = <1>;
154 compatible = "rohm,bd99954";
155 monitored-battery = <&battery>;
157 interrupt-parent = <&gpio1>;
159 rohm,vsys-regulation-microvolt = <8960000>;
160 rohm,vbus-input-current-limit-microamp = <1472000>;
161 rohm,vcc-input-current-limit-microamp = <1472000>;