Skip to content

Commit 034008d

Browse files
martenlibroonie
authored andcommitted
regulator: dt-bindings: Add bindings for TPS6287x
Add bindings for the TPS62870/TPS62871/TPS62872/TPS62873 voltage regulators. Signed-off-by: Mårten Lindahl <marten.lindahl@axis.com Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org Link: https://lore.kernel.org/r/20230502-tps6287x-driver-v3-1-e25140a023f5@axis.com Signed-off-by: Mark Brown <broonie@kernel.org
1 parent 964e186 commit 034008d

1 file changed

Lines changed: 52 additions & 0 deletions

File tree

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/regulator/ti,tps62870.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: TI TPS62870/TPS62871/TPS62872/TPS62873 voltage regulator
8+
9+
maintainers:
10+
- Mårten Lindahl <marten.lindahl@axis.com>
11+
12+
allOf:
13+
- $ref: regulator.yaml#
14+
15+
properties:
16+
compatible:
17+
enum:
18+
- ti,tps62870
19+
- ti,tps62871
20+
- ti,tps62872
21+
- ti,tps62873
22+
23+
reg:
24+
maxItems: 1
25+
26+
regulator-initial-mode:
27+
enum: [ 1, 2 ]
28+
description: 1 - Forced PWM mode, 2 - Low power mode
29+
30+
required:
31+
- compatible
32+
- reg
33+
34+
unevaluatedProperties: false
35+
36+
examples:
37+
- |
38+
i2c {
39+
#address-cells = <1>;
40+
#size-cells = <0>;
41+
42+
regulator@41 {
43+
compatible = "ti,tps62873";
44+
reg = <0x41>;
45+
regulator-name = "+0.75V";
46+
regulator-min-microvolt = <400000>;
47+
regulator-max-microvolt = <1675000>;
48+
regulator-initial-mode = <1>;
49+
};
50+
};
51+
52+
...

0 commit comments

Comments
 (0)