1 # SPDX-License-Identifier: GPL-2.0
2 # Copyright (C) 2021 Sebastian Reichel
5 $id: "http://devicetree.org/schemas/power/supply/bq2415x.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
8 title: Binding for TI bq2415x Li-Ion Charger
11 - Sebastian Reichel <sre@kernel.org>
14 - $ref: power-supply.yaml#
36 $ref: /schemas/types.yaml#/definitions/uint32
37 description: initial maximum current charger can pull from power supply in mA.
39 ti,weak-battery-voltage:
40 $ref: /schemas/types.yaml#/definitions/uint32
42 weak battery voltage threshold in mV.
43 The chip will use slow precharge if battery voltage is below this value.
45 ti,battery-regulation-voltage:
46 $ref: /schemas/types.yaml#/definitions/uint32
47 description: maximum charging voltage in mV.
50 $ref: /schemas/types.yaml#/definitions/uint32
51 description: maximum charging current in mA.
53 ti,termination-current:
54 $ref: /schemas/types.yaml#/definitions/uint32
56 charge will be terminated when current in constant-voltage phase drops
57 below this value (in mA).
60 $ref: /schemas/types.yaml#/definitions/uint32
61 description: value of sensing resistor in milliohm.
63 ti,usb-charger-detection:
64 $ref: /schemas/types.yaml#/definitions/phandle
65 description: phandle to usb charger detection device (required for auto mode)
71 - ti,weak-battery-voltage
72 - ti,battery-regulation-voltage
74 - ti,termination-current
77 additionalProperties: false
86 compatible = "ti,bq24150a";
89 ti,current-limit = <100>;
90 ti,weak-battery-voltage = <3400>;
91 ti,battery-regulation-voltage = <4200>;
92 ti,charge-current = <650>;
93 ti,termination-current = <100>;
94 ti,resistor-sense = <68>;
96 ti,usb-charger-detection = <&isp1704>;