Skip to content

Commit 7be3866

Browse files
committed
regulator: dt-bindings: Add ADI LT8722 support
Signed-off-by: Ramon Cristopher M. Calam <[email protected]>
1 parent b2c99e2 commit 7be3866

File tree

1 file changed

+148
-0
lines changed

1 file changed

+148
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2+
# Copyright (c) 2023 Analog Devices, Inc.
3+
%YAML 1.2
4+
---
5+
$id: http://devicetree.org/schemas/regulator/adi,lt8722-regulator.yaml#
6+
$schema: http://devicetree.org/meta-schemas/core.yaml#
7+
8+
title: Analog Devices LT8722 Ultracompact Full Bridge Driver
9+
10+
maintainers:
11+
- Ramon Cristopher Calam <[email protected]>
12+
13+
description: |
14+
The Analog Devices LT8722 is a high performance, high efficiency, 15V input,
15+
4A monolithic full bridge DC/DC converter. This converter has 92.5% efficiency
16+
with high power output of 54W for fine control TEC driving applications.
17+
18+
allOf:
19+
- $ref: regulator.yaml#
20+
21+
properties:
22+
compatible:
23+
enum:
24+
- adi,lt8722
25+
26+
reg:
27+
maxItems: 1
28+
29+
en-gpios:
30+
maxItems: 1
31+
description: Active high enable GPIO pin for the regulator.
32+
33+
swen-gpios:
34+
maxItems: 1
35+
description: Active high switch enable GPIO pin for the regulator.
36+
37+
spi-max-frequency:
38+
maximum: 10000000
39+
40+
spi-bits-per-word:
41+
const: 8
42+
43+
adi,uv-clamp-microvolt:
44+
minimum: 1250000
45+
maximum: 20000000
46+
description: |
47+
Maximum negative output voltage clamp in microvolts.
48+
Defaults to 20000000 if not specified.
49+
50+
adi,ov-clamp-microvolt:
51+
minimum: 1250000
52+
maximum: 20000000
53+
description: |
54+
Maximum positive output voltage clamp in microvolts.
55+
Defaults to 20000000 if not specified.
56+
57+
adi,ilimn-microamp:
58+
minimum: 637440
59+
maximum: 6786000
60+
description: |
61+
Maximum negative output current limit in microamps.
62+
Defaults to 6786000 if not specified.
63+
64+
adi,ilimp-microamp:
65+
minimum: 637440
66+
maximum: 6800000
67+
description: |
68+
Maximum positive output current limit in microamps.
69+
Defaults to 6800000 if not specified.
70+
71+
adi,switch-frequency-hz:
72+
enum: [500000, 1000000, 1500000, 2000000, 2500000, 3000000]
73+
description: |
74+
PWM switch frequency.
75+
Defaults to 500000 if not specified.
76+
77+
adi,switch-frequency-adjust:
78+
enum: [0, 1, 2]
79+
description: |
80+
PWM switch frequency adjustment, values map to:
81+
- 0: 0%
82+
- 1: 15%
83+
- 2: -15%
84+
Defaults to 0% if not specified.
85+
86+
adi,duty-cycle-range:
87+
enum: [0, 1, 2]
88+
description: |
89+
PWM duty cycle, values map to:
90+
- 0: 20% to 80%
91+
- 1: 15% to 85%
92+
- 2: 10% to 90%
93+
Defaults to 20% to 80% if not specified.
94+
95+
adi,vcc-vreg-millivolt:
96+
enum: [3100, 3400]
97+
description: |
98+
VCC LCO regulation voltage in millivolts.
99+
Defaults to 3400 if not specified.
100+
101+
adi,peak-inductor-current-milliamp:
102+
enum: [252, 594, 936, 1278, 1620, 1962, 2304, 2646]
103+
description: |
104+
Typical peak inductor current in milliamps.
105+
Defaults to 1620 if not specified.
106+
107+
adi,power-limit-milliwatt:
108+
enum: [0, 2000, 3000, 3500]
109+
description: |
110+
Linear power stage MOSFET power limit in milliwatts.
111+
Defaults to 0 (No Limit) if not specified.
112+
113+
required:
114+
- compatible
115+
- reg
116+
- en-gpios
117+
- swen-gpios
118+
119+
examples:
120+
- |
121+
spi {
122+
#address-cells = <1>;
123+
#size-cells = <0>;
124+
125+
regulator@0 {
126+
compatible = "adi,lt8722";
127+
reg = <0>;
128+
en-gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
129+
swen-gpios = <&gpio 24 GPIO_ACTIVE_HIGH>;
130+
spi-max-frequency = <10000000>;
131+
spi-bits-per-word = <8>;
132+
133+
adi,uv-clamp-microvolt = <20000000>;
134+
adi,ov-clamp-microvolt = <20000000>;
135+
adi,ilimn-microamp = <6786000>;
136+
adi,ilimp-microamp = <6800000>;
137+
adi,switch-frequency-hz = <500000>;
138+
adi,switch-frequency-adjust = <0>;
139+
adi,duty-cycle-range = <0>;
140+
adi,vcc-vreg-millivolt = <3400>;
141+
adi,peak-inductor-current-milliamp = <1620>;
142+
adi,power-limit-milliwatt = <0>;
143+
144+
regulator-min-microvolt = <0>;
145+
regulator-max-microvolt = <20000000>;
146+
regulator-soft-start;
147+
};
148+
};

0 commit comments

Comments
 (0)