diff options
author | Mark Brown <broonie@kernel.org> | 2020-07-31 01:27:08 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-07-31 01:27:08 +0300 |
commit | 3f02794888213efb224ef8e38d5d0e0f74b95416 (patch) | |
tree | d36ddec4c5eb9d480994c5b85715ce4a12715dae /Documentation/devicetree/bindings/regulator/silergy,sy8827n.yaml | |
parent | 92ed301919932f777713b9172e525674157e983d (diff) | |
parent | bcb3b2a7639db2412875520cddc3abd179068793 (diff) | |
download | linux-3f02794888213efb224ef8e38d5d0e0f74b95416.tar.xz |
Merge remote-tracking branch 'regulator/for-5.9' into regulator-next
Diffstat (limited to 'Documentation/devicetree/bindings/regulator/silergy,sy8827n.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/regulator/silergy,sy8827n.yaml | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/regulator/silergy,sy8827n.yaml b/Documentation/devicetree/bindings/regulator/silergy,sy8827n.yaml new file mode 100644 index 000000000000..15983cdc7c28 --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/silergy,sy8827n.yaml @@ -0,0 +1,45 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/silergy,sy8827n.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: silergy sy8827n PMIC + +maintainers: + - Jisheng Zhang <jszhang@kernel.org> + +properties: + compatible: + enum: + - silergy,sy8827n + + reg: + maxItems: 1 + + enable-gpios: + description: GPIO to enable/disable the regulator. + maxItems: 1 + + silergy,vsel-state-high: + type: boolean + description: + Indicates if the VSEL pin is set to high. + If this property is missing, assume the VSEL pin is set to low. + +required: + - compatible + - reg + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + regulator@60 { + compatible = "silergy,sy8827n"; + reg = <0x60>; + }; + }; + +... |