Skip to content

Commit 8827073

Browse files
committed
dt-bindings: regulator: Document the ltc7871 regulator
The LTC7871 is a bidirectional buck or boost switching regulator controller that operates in either buck or boost mode on demand. Add corresponding DT bindings. Signed-off-by: Celine Joy A. Capua <celinejoy.capua@analog.com>
1 parent c8daf49 commit 8827073

File tree

1 file changed

+102
-0
lines changed

1 file changed

+102
-0
lines changed
Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2+
# Copyright (c) 2025 Analog Devices, Inc.
3+
%YAML 1.2
4+
---
5+
$id: http://devicetree.org/schemas/regulator/adi,ltc7871-regulator.yaml#
6+
$schema: http://devicetree.org/meta-schemas/core.yaml#
7+
8+
title: Analog Devices LTC7871 Buck-Boost Voltage Regulator
9+
maintainers:
10+
- Celine Joy Capua <celinejoy.capua@analog.com>
11+
12+
description:
13+
The LTC7871 is a high performance bidirectional buck or boost switching
14+
regulator controller that operates in either buck or boost mode on demand.
15+
It regulates in buck mode from VHIGH-to-VLOW and boost mode from
16+
VLOW-to-VHIGH depending on a control signal, making it ideal for 48V/12V
17+
automotive dual battery systems
18+
properties:
19+
compatible:
20+
enum:
21+
- adi,ltc7871
22+
- adi,ltc7872
23+
24+
reg:
25+
maxItems: 1
26+
27+
adi,enable-chip-ctrl-wp:
28+
description: If present, this indicates the use of regulator's
29+
internal write protection.
30+
type: boolean
31+
32+
adi,ra-external-ohm:
33+
description: External Resistor used to compute the value of
34+
programmable VLOW in buck mode.
35+
$ref: /schemas/types.yaml#/definitions/uint32
36+
default: 10000
37+
38+
adi,rb-external-ohm:
39+
description: External Resistor used to compute the value of
40+
programmable VLOW in buck mode.
41+
$ref: /schemas/types.yaml#/definitions/uint32
42+
default: 107000
43+
44+
adi,rc-external-ohm:
45+
description: External Resistor used to compute the value of
46+
programmable VHIGH in boost mode.
47+
$ref: /schemas/types.yaml#/definitions/uint32
48+
default: 12700
49+
50+
adi,rd-external-ohm:
51+
description: External Resistor used to compute the value of
52+
programmable VHIGH in boost mode.
53+
$ref: /schemas/types.yaml#/definitions/uint32
54+
default: 499000
55+
56+
adi,idac-setcur-microamp:
57+
description: Adjusts the IDAC_SETCUR to program SETCUR
58+
pin's sourcing current.
59+
minimum: -63
60+
maximum: 64
61+
default: 0
62+
63+
adi,freq-spread-percentage:
64+
description: Sets the range of modulation with respect to the
65+
switching frequency.
66+
enum: [+-12%, +-15%, +-10%, +-8%]
67+
default: +-12%
68+
69+
adi,switching-freq-divider:
70+
description: The factor at which the switching frequency is
71+
divided to get the modulation frequency.
72+
$ref: /schemas/types.yaml#/definitions/uint32
73+
enum: [512, 1024, 2048, 4096, 256, 128, 64]
74+
default: 512
75+
76+
required:
77+
- compatible
78+
- reg
79+
80+
allOf:
81+
- $ref: regulator.yaml#
82+
- $ref: /schemas/spi/spi-peripheral-props.yaml#
83+
84+
unevaluatedProperties: false
85+
86+
examples:
87+
- |
88+
spi {
89+
#address-cells = <1>;
90+
#size-cells = <0>;
91+
regulator@0 {
92+
compatible = "adi,ltc7871";
93+
reg = <0>;
94+
adi,ra-external-ohm = <10000>;
95+
adi,rb-external-ohm = <107000>;
96+
adi,rc-external-ohm = <12700>;
97+
adi,rd-external-ohm = <499000>;
98+
adi,idac-setcur-microamp = <0>;
99+
adi,freq-spread-percentage = "+-12%";
100+
adi,switching-freq-divider = <512>;
101+
};
102+
};

0 commit comments

Comments
 (0)