1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 # Copyright (C) 2020 Topic Embedded Products
5 $id: http://devicetree.org/schemas/power/supply/ltc4162-l.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Linear Technology (Analog Devices) LTC4162-L Charger
11 - Mike Looijmans <mike.looijmans@topic.nl>
14 The LTC ® 4162-L is an advanced monolithic synchronous step-down switching
15 battery charger and PowerPath (TM) manager that seamlessly manages power
16 distribution between input sources such as wall adapters, backplanes, solar
17 panels, etc., and a rechargeable Lithium-Ion/Polymer battery.
19 Specifications about the charger can be found at:
20 https://www.analog.com/en/products/ltc4162-s.html
29 description: I2C address of the charger.
31 lltc,rsnsb-micro-ohms:
32 description: Battery sense resistor in microohm.
35 lltc,rsnsi-micro-ohms:
36 description: Input current sense resistor in microohm.
40 $ref: /schemas/types.yaml#/definitions/uint32
42 Number of battery cells. If not provided, will be obtained from the chip
43 once the external power is applied. Omit this when the number of cells
44 is somewhat dynamic. Without it, several measurements will return 0 until
45 the charger is connected to an external supply.
50 - lltc,rsnsb-micro-ohms
51 - lltc,rsnsi-micro-ohms
53 additionalProperties: false
60 charger: battery-charger@68 {
61 compatible = "lltc,ltc4162-l";
63 lltc,rsnsb-micro-ohms = <10000>;
64 lltc,rsnsi-micro-ohms = <16000>;
65 lltc,cell-count = <2>;