Skip to content

Commit bad582f

Browse files
ConchuODgroeck
authored andcommitted
regulator: dt-bindings: promote infineon buck converters to their own binding
These devices are regulators may need to make use of the common regulator properties, but these are not permitted while only documented in trivial-devices.yaml Signed-off-by: Conor Dooley <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Mark Brown <[email protected]> Link: https://lore.kernel.org/r/20240223-blabber-obnoxious-353e519541a6@spud [groeck: Dropped empty line at end of patch] Signed-off-by: Guenter Roeck <[email protected]>
1 parent f1ed8af commit bad582f

File tree

2 files changed

+45
-8
lines changed

2 files changed

+45
-8
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/regulator/infineon,ir38060.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Infineon Buck Regulators with PMBUS interfaces
8+
9+
maintainers:
10+
- Not Me.
11+
12+
allOf:
13+
- $ref: regulator.yaml#
14+
15+
properties:
16+
compatible:
17+
enum:
18+
- infineon,ir38060
19+
- infineon,ir38064
20+
- infineon,ir38164
21+
- infineon,ir38263
22+
23+
reg:
24+
maxItems: 1
25+
26+
required:
27+
- compatible
28+
- reg
29+
30+
unevaluatedProperties: false
31+
32+
examples:
33+
- |
34+
i2c {
35+
#address-cells = <1>;
36+
#size-cells = <0>;
37+
38+
regulator@34 {
39+
compatible = "infineon,ir38060";
40+
reg = <0x34>;
41+
42+
regulator-min-microvolt = <437500>;
43+
regulator-max-microvolt = <1387500>;
44+
};
45+
};

Documentation/devicetree/bindings/trivial-devices.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -143,14 +143,6 @@ properties:
143143
- ibm,cffps2
144144
# Infineon IR36021 digital POL buck controller
145145
- infineon,ir36021
146-
# Infineon IR38060 Voltage Regulator
147-
- infineon,ir38060
148-
# Infineon IR38064 Voltage Regulator
149-
- infineon,ir38064
150-
# Infineon IR38164 Voltage Regulator
151-
- infineon,ir38164
152-
# Infineon IR38263 Voltage Regulator
153-
- infineon,ir38263
154146
# Infineon IRPS5401 Voltage Regulator (PMIC)
155147
- infineon,irps5401
156148
# Infineon TLV493D-A1B6 I2C 3D Magnetic Sensor

0 commit comments

Comments
 (0)