Skip to content

Commit 62596c7

Browse files
committed
dt-bindings: power: supply: add adi,lt8491.yaml
Add documentation for devicetree bindings for LT8491 Signed-off-by: John Erasmus Mari Geronimo <[email protected]>
1 parent a679a20 commit 62596c7

File tree

1 file changed

+89
-0
lines changed

1 file changed

+89
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/power/supply/adi,lt8491.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Linear Technology (Analog Devices) LT8491 Battery Charger
8+
9+
maintainers:
10+
- John Erasmus Mari Geronimo <[email protected]>
11+
12+
description: |
13+
The LT8491 is a buck-boost switching regulator battery charger that implements
14+
a constant-current constant-voltage (CCCV) charging profile used for most
15+
battery types, including sealed lead-acid (SLA), flooded, gel and lithium-ion.
16+
17+
Specifications about the charger can be found at:
18+
https://www.analog.com/en/products/lt8491.html
19+
20+
properties:
21+
compatible:
22+
enum:
23+
- adi,lt8491
24+
25+
reg:
26+
maxItems: 1
27+
28+
adi,rsense1-micro-ohms:
29+
description: Resistance value of RSENSE1 in micro ohms.
30+
31+
adi,rimon-out-ohms:
32+
description: Resistance value of RIMON_OUT in ohms.
33+
34+
adi,rsense2-micro-ohms:
35+
description: Resistance value of RSENSE2 in micro ohms.
36+
37+
adi,rdaco-ohms:
38+
description: Resistance value of RDACO1 + RDACO2 in ohms.
39+
40+
adi,rfbout1-ohms:
41+
description: Resistance value of RFBOUT1 in ohms.
42+
43+
adi,rfbout2-ohms:
44+
description: Resistance value of RFBOUT2 in ohms.
45+
46+
adi,rdaci-ohms:
47+
description: Resistance value of RDACI1 + RDACI2 in ohms.
48+
49+
adi,rfbin2-ohms:
50+
description: Resistance value of RFBIN2 in ohms.
51+
52+
adi,rfbin1-ohms:
53+
description: Resistance value of RFBIN1 in ohms.
54+
55+
required:
56+
- compatible
57+
- reg
58+
- adi,rsense1-micro-ohms
59+
- adi,rimon-out-ohms
60+
- adi,rsense2-micro-ohms
61+
- adi,rdaco-ohms
62+
- adi,rfbout1-ohms
63+
- adi,rfbout2-ohms
64+
- adi,rdaci-ohms
65+
- adi,rfbin2-ohms
66+
- adi,rfbin1-ohms
67+
68+
additionalProperties: false
69+
70+
examples:
71+
- |
72+
i2c {
73+
#address-cells = <1>;
74+
#size-cells = <0>;
75+
76+
battery-charger@10 {
77+
compatible = "adi,lt8491";
78+
reg = <0x10>;
79+
adi,rsense1-micro-ohms = <5000>;
80+
adi,rimon-out-ohms = <124000>;
81+
adi,rsense2-micro-ohms = <3000>;
82+
adi,rdaco-ohms = <64900>;
83+
adi,rfbout1-ohms = <113000>;
84+
adi,rfbout2-ohms = <10000>;
85+
adi,rdaci-ohms = <7000>;
86+
adi,rfbin2-ohms = <3480>;
87+
adi,rfbin1-ohms = <102000>;
88+
};
89+
};

0 commit comments

Comments
 (0)