Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: regulator: max77650: convert the binding document to yaml

Convert the binding document for MAX77650 regulator module to YAML.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Bartosz Golaszewski and committed by
Rob Herring
a62ffede b8fee802

+31 -41
-41
Documentation/devicetree/bindings/regulator/max77650-regulator.txt
··· 1 - Regulator driver for MAX77650 PMIC from Maxim Integrated. 2 - 3 - This module is part of the MAX77650 MFD device. For more details 4 - see Documentation/devicetree/bindings/mfd/max77650.txt. 5 - 6 - The regulator controller is represented as a sub-node of the PMIC node 7 - on the device tree. 8 - 9 - The device has a single LDO regulator and a SIMO buck-boost regulator with 10 - three independent power rails. 11 - 12 - Required properties: 13 - -------------------- 14 - - compatible: Must be "maxim,max77650-regulator" 15 - 16 - Each rail must be instantiated under the regulators subnode of the top PMIC 17 - node. Up to four regulators can be defined. For standard regulator properties 18 - refer to Documentation/devicetree/bindings/regulator/regulator.txt. 19 - 20 - Available regulator compatible strings are: "ldo", "sbb0", "sbb1", "sbb2". 21 - 22 - Example: 23 - -------- 24 - 25 - regulators { 26 - compatible = "maxim,max77650-regulator"; 27 - 28 - max77650_ldo: regulator@0 { 29 - regulator-compatible = "ldo"; 30 - regulator-name = "max77650-ldo"; 31 - regulator-min-microvolt = <1350000>; 32 - regulator-max-microvolt = <2937500>; 33 - }; 34 - 35 - max77650_sbb0: regulator@1 { 36 - regulator-compatible = "sbb0"; 37 - regulator-name = "max77650-sbb0"; 38 - regulator-min-microvolt = <800000>; 39 - regulator-max-microvolt = <1587500>; 40 - }; 41 - };
+31
Documentation/devicetree/bindings/regulator/max77650-regulator.yaml
··· 1 + # SPDX-License-Identifier: GPL-2.0 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/regulator/max77650-regulator.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Regulator driver for MAX77650 PMIC from Maxim Integrated. 8 + 9 + maintainers: 10 + - Bartosz Golaszewski <bgolaszewski@baylibre.com> 11 + 12 + description: | 13 + This module is part of the MAX77650 MFD device. For more details 14 + see Documentation/devicetree/bindings/mfd/max77650.yaml. 15 + 16 + The regulator controller is represented as a sub-node of the PMIC node 17 + on the device tree. 18 + 19 + The device has a single LDO regulator and a SIMO buck-boost regulator with 20 + three independent power rails. 21 + 22 + properties: 23 + compatible: 24 + const: maxim,max77650-regulator 25 + 26 + patternProperties: 27 + "^regulator@[0-3]$": 28 + $ref: "regulator.yaml#" 29 + 30 + required: 31 + - compatible