Skip to content

Commit 3856c1b

Browse files
committed
Merge tag 'regulator-fix-v5.16-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator
Pull regulator fix from Mark Brown: "Binding fix for v5.16 This fixes problems validating DT bindings using op_mode which wasn't described as it should have been when converting to DT schema" * tag 'regulator-fix-v5.16-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator: regulator: dt-bindings: samsung,s5m8767: add missing op_mode to bucks
2 parents 59b3f94 + 85223d6 commit 3856c1b

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

Documentation/devicetree/bindings/regulator/samsung,s5m8767.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,19 @@ patternProperties:
5151
description:
5252
Properties for single BUCK regulator.
5353

54+
properties:
55+
op_mode:
56+
$ref: /schemas/types.yaml#/definitions/uint32
57+
enum: [0, 1, 2, 3]
58+
default: 1
59+
description: |
60+
Describes the different operating modes of the regulator with power
61+
mode change in SOC. The different possible values are:
62+
0 - always off mode
63+
1 - on in normal mode
64+
2 - low power mode
65+
3 - suspend mode
66+
5467
required:
5568
- regulator-name
5669

@@ -63,6 +76,18 @@ patternProperties:
6376
Properties for single BUCK regulator.
6477

6578
properties:
79+
op_mode:
80+
$ref: /schemas/types.yaml#/definitions/uint32
81+
enum: [0, 1, 2, 3]
82+
default: 1
83+
description: |
84+
Describes the different operating modes of the regulator with power
85+
mode change in SOC. The different possible values are:
86+
0 - always off mode
87+
1 - on in normal mode
88+
2 - low power mode
89+
3 - suspend mode
90+
6691
s5m8767,pmic-ext-control-gpios:
6792
maxItems: 1
6893
description: |

0 commit comments

Comments
 (0)