Debian Codegraph @

Documentation/devicetree/bindings/power/supply/ltc4162-l.yaml

raw
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 # Copyright (C) 2020 Topic Embedded Products
3 %YAML 1.2
4 ---
5 $id: http://devicetree.org/schemas/power/supply/ltc4162-l.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
7
8 title: Linear Technology (Analog Devices) LTC4162-L Charger
9
10 maintainers:
11 - Mike Looijmans <[email protected]>
12
13 description: |
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.
18
19 Specifications about the charger can be found at:
20 https://www.analog.com/en/products/ltc4162-l.html
21 https://www.analog.com/en/products/ltc4162-f.html
22 https://www.analog.com/en/products/ltc4162-s.html
23 https://www.analog.com/en/products/ltc4015.html
24
25 properties:
26 compatible:
27 enum:
28 - lltc,ltc4015
29 - lltc,ltc4162-f
30 - lltc,ltc4162-l
31 - lltc,ltc4162-s
32
33 reg:
34 maxItems: 1
35 description: I2C address of the charger.
36
37 lltc,rsnsb-micro-ohms:
38 description: Battery sense resistor in microohm.
39 minimum: 1000
40
41 lltc,rsnsi-micro-ohms:
42 description: Input current sense resistor in microohm.
43 minimum: 1000
44
45 lltc,cell-count:
46 $ref: /schemas/types.yaml#/definitions/uint32
47 description: |
48 Number of battery cells. If not provided, will be obtained from the chip
49 once the external power is applied. Omit this when the number of cells
50 is somewhat dynamic. Without it, several measurements will return 0 until
51 the charger is connected to an external supply.
52
53 required:
54 - compatible
55 - reg
56 - lltc,rsnsb-micro-ohms
57 - lltc,rsnsi-micro-ohms
58
59 additionalProperties: false
60
61 examples:
62 - |
63 i2c {
64 #address-cells = <1>;
65 #size-cells = <0>;
66 charger: battery-charger@68 {
67 compatible = "lltc,ltc4162-l";
68 reg = <0x68>;
69 lltc,rsnsb-micro-ohms = <10000>;
70 lltc,rsnsi-micro-ohms = <16000>;
71 lltc,cell-count = <2>;
72 };
73 };