ROHM BD99954 Battery charger

Schema identifier ($id): "http://devicetree.org/schemas/power/supply/rohm,bd99954.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Matti Vaittinen <mazziesaccount@gmail.com>", "Markus Laine <markus.laine@fi.rohmeurope.com>", "Mikko Mutanen <mikko.mutanen@fi.rohmeurope.com>"

The ROHM BD99954 is a Battery Management LSI for 1-4 cell Lithium-Ion secondary battery intended to be used in space-constraint equipment such as Low profile Notebook PC, Tablets and other applications. BD99954 provides a Dual-source Battery Charger, two port BC1.2 detection and a Battery Monitor.

Shared schema rule ($ref): power-supply.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "rohm,bd99954"

reg — not listed as required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

monitored-battery — not listed as required here #

phandle of battery characteristics devicetree node

rohm,vsys-regulation-microvolt — not listed as required here #

system specific lower limit for system voltage.

Minimum value (minimum): 2560000

Maximum value (maximum): 19200000

Multiple of (multipleOf): 64000

rohm,vbus-input-current-limit-microamp — not listed as required here #

system specific VBUS input current limit (in microamps).

Minimum value (minimum): 32000

Maximum value (maximum): 16352000

Multiple of (multipleOf): 32000

rohm,vcc-input-current-limit-microamp — not listed as required here #

system specific VCC/VACP input current limit (in microamps).

Minimum value (minimum): 32000

Maximum value (maximum): 16352000

Multiple of (multipleOf): 32000

Required in this object (required): "compatible"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
    #address-cells = <1>;
    #size-cells = <0>;
    charger@9 {
        compatible = "rohm,bd99954";
        monitored-battery = <&battery>;
        reg = <0x9>;
        interrupt-parent = <&gpio1>;
        interrupts = <29 8>;
        rohm,vsys-regulation-microvolt = <8960000>;
        rohm,vbus-input-current-limit-microamp = <1472000>;
        rohm,vcc-input-current-limit-microamp = <1472000>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Line 26:

Line 27: The battery charging profile of BD99954.

Line 28:

Line 29: Curve (1) represents charging current.

Line 30: Curve (2) represents battery voltage.

Line 31:

Line 32: The BD99954 data sheet divides charging to three phases.

Line 33: a) Trickle-charge with constant current (8).

Line 34: b) pre-charge with constant current (6)

Line 35: c) fast-charge with:

Line 36: First a constant current (5) phase (CC)

Line 37: Then constant voltage (CV) phase (after the battery voltage has reached

Line 38: target level - until charging current has dropped to termination

Line 39: level (7)

Line 40:

Line 41: V ^ ^ I

Line 42: . .

Line 43: . .

Line 44: (4)- -.- - - - - - - - - - - - - - +++++++++++++++++++++++++++.

Line 45: . / .

Line 46: . ++++++/++ - - - - - - - - - - - - -.- - (5)

Line 47: . + / + .

Line 48: . + - -- .

Line 49: . + - + .

Line 50: . +.- -: .

Line 51: . .+ +` .

Line 52: . .- + | `/ .

Line 53: . .." + .: .

Line 54: . -" + -- .

Line 55: . (2) ..." + | :- .

Line 56: . ..."" + -: .

Line 57: (3)- -.-.""- - - - -+++++++++ - - - - - - -.:- - - - - - - - - .- - (6)

Line 58: . + `:. .

Line 59: . + | -: .

Line 60: . + -: .

Line 61: . + .. .

Line 62: . (1) + | "+++- - - -.- - (7)

Line 63: -++++++++++++++- - - - - - - - - - - - - - - - - + - - - .- - (8)

Line 64: . + -

Line 65: -------------------------------------------------+++++++++-->

Line 66: | | | CC | CV |

Line 67: | --trickle-- | -pre- | ---------fast----------- |

Line 68:

Line 69: The charger uses the following battery properties

Line 70: - trickle-charge-current-microamp:

Line 71: Current used at trickle-charge phase (8 in above chart)

Line 72: minimum: 64000

Line 73: maximum: 1024000

Line 74: multipleOf: 64000

Line 75: - precharge-current-microamp:

Line 76: Current used at pre-charge phase (6 in above chart)

Line 77: minimum: 64000

Line 78: maximum: 1024000

Line 79: multipleOf: 64000

Line 80: - constant-charge-current-max-microamp

Line 81: Current used at fast charge constant current phase (5 in above chart)

Line 82: minimum: 64000

Line 83: maximum: 1024000

Line 84: multipleOf: 64000

Line 85: - constant-charge-voltage-max-microvolt

Line 86: The constant voltage used in fast charging phase (4 in above chart)

Line 87: minimum: 2560000

Line 88: maximum: 19200000

Line 89: multipleOf: 16000

Line 90: - precharge-upper-limit-microvolt

Line 91: charging mode is changed from trickle charging to pre-charging

Line 92: when battery voltage exceeds this limit voltage (3 in above chart)

Line 93: minimum: 2048000

Line 94: maximum: 19200000

Line 95: multipleOf: 64000

Line 96: - re-charge-voltage-microvolt

Line 97: minimum: 2560000

Line 98: maximum: 19200000

Line 99: multipleOf: 16000

Line 100: re-charging is automatically started when battry has been discharging

Line 101: to the point where the battery voltage drops below this limit

Line 102: - over-voltage-threshold-microvolt

Line 103: battery is expected to be faulty if battery voltage exceeds this limit.

Line 104: Charger will then enter to a "battery faulty" -state

Line 105: minimum: 2560000

Line 106: maximum: 19200000

Line 107: multipleOf: 16000

Line 108: - charge-term-current-microamp

Line 109: minimum: 0

Line 110: maximum: 1024000

Line 111: multipleOf: 64000

Line 112: a charge cycle terminates when the battery voltage is above recharge

Line 113: threshold, and the current is below this setting (7 in above chart)

Line 114: See also Documentation/devicetree/bindings/power/supply/battery.yaml

Edit this page