Skip to content

Commit 85223d6

Browse files
krzkbroonie
authored andcommitted
regulator: dt-bindings: samsung,s5m8767: add missing op_mode to bucks
While converting bindings to dtschema, the buck regulators lost "op_mode" property. The "op_mode" is a valid property for all regulators (both LDOs and bucks), so add it. Reported-by: Rob Herring <robh@kernel.org> Fixes: fab58de ("regulator: dt-bindings: samsung,s5m8767: convert to dtschema") Cc: <stable@vger.kernel.org> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Link: https://lore.kernel.org/r/20211206124306.14006-1-krzysztof.kozlowski@canonical.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 6966df4 commit 85223d6

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)