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 <mazziesaccount@gmail.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
21 $ref: power-supply.yaml#
27 # The battery charging profile of BD99954.
29 # Curve (1) represents charging current.
30 # Curve (2) represents battery voltage.
32 # The BD99954 data sheet divides charging to three phases.
33 # a) Trickle-charge with constant current (8).
34 # b) pre-charge with constant current (6)
35 # c) fast-charge with:
36 # First a constant current (5) phase (CC)
37 # Then constant voltage (CV) phase (after the battery voltage has reached
38 # target level - until charging current has dropped to termination
44 # (4)- -.- - - - - - - - - - - - - - +++++++++++++++++++++++++++.
46 # . ++++++/++ - - - - - - - - - - - - -.- - (5)
57 # (3)- -.-.""- - - - -+++++++++ - - - - - - -.:- - - - - - - - - .- - (6)
62 # . (1) + | "+++- - - -.- - (7)
63 # -++++++++++++++- - - - - - - - - - - - - - - - - + - - - .- - (8)
65 # -------------------------------------------------+++++++++-->
67 # | --trickle-- | -pre- | ---------fast----------- |
69 # The charger uses the following battery properties
70 # - trickle-charge-current-microamp:
71 # Current used at trickle-charge phase (8 in above chart)
75 # - precharge-current-microamp:
76 # Current used at pre-charge phase (6 in above chart)
80 # - constant-charge-current-max-microamp
81 # Current used at fast charge constant current phase (5 in above chart)
85 # - constant-charge-voltage-max-microvolt
86 # The constant voltage used in fast charging phase (4 in above chart)
90 # - precharge-upper-limit-microvolt
91 # charging mode is changed from trickle charging to pre-charging
92 # when battery voltage exceeds this limit voltage (3 in above chart)
96 # - re-charge-voltage-microvolt
100 # re-charging is automatically started when battry has been discharging
101 # to the point where the battery voltage drops below this limit
102 # - over-voltage-threshold-microvolt
103 # battery is expected to be faulty if battery voltage exceeds this limit.
104 # Charger will then enter to a "battery faulty" -state
108 # - charge-term-current-microamp
112 # a charge cycle terminates when the battery voltage is above recharge
113 # threshold, and the current is below this setting (7 in above chart)
114 # See also Documentation/devicetree/bindings/power/supply/battery.yaml
124 phandle of battery characteristics devicetree node
126 rohm,vsys-regulation-microvolt:
127 description: system specific lower limit for system voltage.
132 rohm,vbus-input-current-limit-microamp:
133 description: system specific VBUS input current limit (in microamps).
138 rohm,vcc-input-current-limit-microamp:
139 description: system specific VCC/VACP input current limit (in microamps).
147 additionalProperties: false
152 #address-cells = <1>;
155 compatible = "rohm,bd99954";
156 monitored-battery = <&battery>;
158 interrupt-parent = <&gpio1>;
160 rohm,vsys-regulation-microvolt = <8960000>;
161 rohm,vbus-input-current-limit-microamp = <1472000>;
162 rohm,vcc-input-current-limit-microamp = <1472000>;