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 $ref: /schemas/types.yaml#/definitions/uint32
33 description: Battery sense resistor in microohm.
36 lltc,rsnsi-micro-ohms:
37 $ref: /schemas/types.yaml#/definitions/uint32
38 description: Input current sense resistor in microohm.
42 $ref: /schemas/types.yaml#/definitions/uint32
44 Number of battery cells. If not provided, will be obtained from the chip
45 once the external power is applied. Omit this when the number of cells
46 is somewhat dynamic. Without it, several measurements will return 0 until
47 the charger is connected to an external supply.
52 - lltc,rsnsb-micro-ohms
53 - lltc,rsnsi-micro-ohms
55 additionalProperties: false
62 charger: battery-charger@68 {
63 compatible = "lltc,ltc4162-l";
65 lltc,rsnsb-micro-ohms = <10000>;
66 lltc,rsnsi-micro-ohms = <16000>;
67 lltc,cell-count = <2>;