Commit 85223d60 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Mark Brown

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: default avatarRob Herring <robh@kernel.org>
Fixes: fab58deb ("regulator: dt-bindings: samsung,s5m8767: convert to dtschema")
Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20211206124306.14006-1-krzysztof.kozlowski@canonical.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 6966df48
...@@ -51,6 +51,19 @@ patternProperties: ...@@ -51,6 +51,19 @@ patternProperties:
description: description:
Properties for single BUCK regulator. Properties for single BUCK regulator.
properties:
op_mode:
$ref: /schemas/types.yaml#/definitions/uint32
enum: [0, 1, 2, 3]
default: 1
description: |
Describes the different operating modes of the regulator with power
mode change in SOC. The different possible values are:
0 - always off mode
1 - on in normal mode
2 - low power mode
3 - suspend mode
required: required:
- regulator-name - regulator-name
...@@ -63,6 +76,18 @@ patternProperties: ...@@ -63,6 +76,18 @@ patternProperties:
Properties for single BUCK regulator. Properties for single BUCK regulator.
properties: properties:
op_mode:
$ref: /schemas/types.yaml#/definitions/uint32
enum: [0, 1, 2, 3]
default: 1
description: |
Describes the different operating modes of the regulator with power
mode change in SOC. The different possible values are:
0 - always off mode
1 - on in normal mode
2 - low power mode
3 - suspend mode
s5m8767,pmic-ext-control-gpios: s5m8767,pmic-ext-control-gpios:
maxItems: 1 maxItems: 1
description: | description: |
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment