From: Bartosz Golaszewski <[email protected]>
This series converts all DT binding documents for max77650 PMIC to yaml.
Bartosz Golaszewski (6):
dt-bindings: mfd: max77650: convert the binding document to yaml
dt-bindings: input: max77650: convert the binding document to yaml
dt-bindings: regulator: max77650: convert the binding document to yaml
dt-bindings: power: max77650: convert the binding document to yaml
dt-bindings: leds: max77650: convert the binding document to yaml
MAINTAINERS: update the list of maintained files for max77650
.../bindings/input/max77650-onkey.txt | 27 +-----
.../bindings/input/max77650-onkey.yaml | 43 ++++++++++
.../bindings/leds/leds-max77650.txt | 58 +------------
.../bindings/leds/leds-max77650.yaml | 82 ++++++++++++++++++
.../devicetree/bindings/mfd/max77650.txt | 47 +----------
.../devicetree/bindings/mfd/max77650.yaml | 83 +++++++++++++++++++
.../power/supply/max77650-charger.txt | 29 +------
.../power/supply/max77650-charger.yaml | 42 ++++++++++
.../bindings/regulator/max77650-regulator.txt | 42 +---------
.../regulator/max77650-regulator.yaml | 51 ++++++++++++
MAINTAINERS | 4 +-
11 files changed, 308 insertions(+), 200 deletions(-)
create mode 100644 Documentation/devicetree/bindings/input/max77650-onkey.yaml
create mode 100644 Documentation/devicetree/bindings/leds/leds-max77650.yaml
create mode 100644 Documentation/devicetree/bindings/mfd/max77650.yaml
create mode 100644 Documentation/devicetree/bindings/power/supply/max77650-charger.yaml
create mode 100644 Documentation/devicetree/bindings/regulator/max77650-regulator.yaml
--
2.23.0
From: Bartosz Golaszewski <[email protected]>
Convert the binding document for max77650 charger module to yaml.
Signed-off-by: Bartosz Golaszewski <[email protected]>
---
.../power/supply/max77650-charger.txt | 29 +------------
.../power/supply/max77650-charger.yaml | 42 +++++++++++++++++++
2 files changed, 43 insertions(+), 28 deletions(-)
create mode 100644 Documentation/devicetree/bindings/power/supply/max77650-charger.yaml
diff --git a/Documentation/devicetree/bindings/power/supply/max77650-charger.txt b/Documentation/devicetree/bindings/power/supply/max77650-charger.txt
index e6d0fb6ff94e..fbab7d3ac8e3 100644
--- a/Documentation/devicetree/bindings/power/supply/max77650-charger.txt
+++ b/Documentation/devicetree/bindings/power/supply/max77650-charger.txt
@@ -1,28 +1 @@
-Battery charger driver for MAX77650 PMIC from Maxim Integrated.
-
-This module is part of the MAX77650 MFD device. For more details
-see Documentation/devicetree/bindings/mfd/max77650.txt.
-
-The charger is represented as a sub-node of the PMIC node on the device tree.
-
-Required properties:
---------------------
-- compatible: Must be "maxim,max77650-charger"
-
-Optional properties:
---------------------
-- input-voltage-min-microvolt: Minimum CHGIN regulation voltage. Must be one
- of: 4000000, 4100000, 4200000, 4300000,
- 4400000, 4500000, 4600000, 4700000.
-- input-current-limit-microamp: CHGIN input current limit (in microamps). Must
- be one of: 95000, 190000, 285000, 380000,
- 475000.
-
-Example:
---------
-
- charger {
- compatible = "maxim,max77650-charger";
- input-voltage-min-microvolt = <4200000>;
- input-current-limit-microamp = <285000>;
- };
+This file was moved to max77650-charger.yaml.
diff --git a/Documentation/devicetree/bindings/power/supply/max77650-charger.yaml b/Documentation/devicetree/bindings/power/supply/max77650-charger.yaml
new file mode 100644
index 000000000000..9dd0dad0f948
--- /dev/null
+++ b/Documentation/devicetree/bindings/power/supply/max77650-charger.yaml
@@ -0,0 +1,42 @@
+# SPDX-License-Identifier: GPL-2.0
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/power/supply/max77650-charger.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Battery charger driver for MAX77650 PMIC from Maxim Integrated.
+
+maintainers:
+ - Bartosz Golaszewski <[email protected]>
+
+description: |
+ This module is part of the MAX77650 MFD device. For more details
+ see Documentation/devicetree/bindings/mfd/max77650.txt.
+
+ The charger is represented as a sub-node of the PMIC node on the device tree.
+
+properties:
+ compatible:
+ const: maxim,max77650-charger
+
+ input-voltage-min-microvolt:
+ description:
+ Minimum CHGIN regulation voltage.
+ enum: [ 4000000, 4100000, 4200000, 4300000,
+ 4400000, 4500000, 4600000, 4700000 ]
+
+ input-current-limit-microamp:
+ description:
+ CHGIN input current limit (in microamps).
+ enum: [ 95000, 190000, 285000, 380000, 475000 ]
+
+required:
+ - compatible
+
+examples:
+ - |
+ charger {
+ compatible = "maxim,max77650-charger";
+ input-voltage-min-microvolt = <4200000>;
+ input-current-limit-microamp = <285000>;
+ };
--
2.23.0
Hi,
On Mon, Sep 30, 2019 at 03:02:44PM +0200, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <[email protected]>
>
> Convert the binding document for max77650 charger module to yaml.
>
> Signed-off-by: Bartosz Golaszewski <[email protected]>
> ---
Assuming, that Rob will merge the series:
Acked-by: Sebastian Reichel <[email protected]>
-- Sebastian
> .../power/supply/max77650-charger.txt | 29 +------------
> .../power/supply/max77650-charger.yaml | 42 +++++++++++++++++++
> 2 files changed, 43 insertions(+), 28 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/power/supply/max77650-charger.yaml
>
> diff --git a/Documentation/devicetree/bindings/power/supply/max77650-charger.txt b/Documentation/devicetree/bindings/power/supply/max77650-charger.txt
> index e6d0fb6ff94e..fbab7d3ac8e3 100644
> --- a/Documentation/devicetree/bindings/power/supply/max77650-charger.txt
> +++ b/Documentation/devicetree/bindings/power/supply/max77650-charger.txt
> @@ -1,28 +1 @@
> -Battery charger driver for MAX77650 PMIC from Maxim Integrated.
> -
> -This module is part of the MAX77650 MFD device. For more details
> -see Documentation/devicetree/bindings/mfd/max77650.txt.
> -
> -The charger is represented as a sub-node of the PMIC node on the device tree.
> -
> -Required properties:
> ---------------------
> -- compatible: Must be "maxim,max77650-charger"
> -
> -Optional properties:
> ---------------------
> -- input-voltage-min-microvolt: Minimum CHGIN regulation voltage. Must be one
> - of: 4000000, 4100000, 4200000, 4300000,
> - 4400000, 4500000, 4600000, 4700000.
> -- input-current-limit-microamp: CHGIN input current limit (in microamps). Must
> - be one of: 95000, 190000, 285000, 380000,
> - 475000.
> -
> -Example:
> ---------
> -
> - charger {
> - compatible = "maxim,max77650-charger";
> - input-voltage-min-microvolt = <4200000>;
> - input-current-limit-microamp = <285000>;
> - };
> +This file was moved to max77650-charger.yaml.
> diff --git a/Documentation/devicetree/bindings/power/supply/max77650-charger.yaml b/Documentation/devicetree/bindings/power/supply/max77650-charger.yaml
> new file mode 100644
> index 000000000000..9dd0dad0f948
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/power/supply/max77650-charger.yaml
> @@ -0,0 +1,42 @@
> +# SPDX-License-Identifier: GPL-2.0
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/power/supply/max77650-charger.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Battery charger driver for MAX77650 PMIC from Maxim Integrated.
> +
> +maintainers:
> + - Bartosz Golaszewski <[email protected]>
> +
> +description: |
> + This module is part of the MAX77650 MFD device. For more details
> + see Documentation/devicetree/bindings/mfd/max77650.txt.
> +
> + The charger is represented as a sub-node of the PMIC node on the device tree.
> +
> +properties:
> + compatible:
> + const: maxim,max77650-charger
> +
> + input-voltage-min-microvolt:
> + description:
> + Minimum CHGIN regulation voltage.
> + enum: [ 4000000, 4100000, 4200000, 4300000,
> + 4400000, 4500000, 4600000, 4700000 ]
> +
> + input-current-limit-microamp:
> + description:
> + CHGIN input current limit (in microamps).
> + enum: [ 95000, 190000, 285000, 380000, 475000 ]
> +
> +required:
> + - compatible
> +
> +examples:
> + - |
> + charger {
> + compatible = "maxim,max77650-charger";
> + input-voltage-min-microvolt = <4200000>;
> + input-current-limit-microamp = <285000>;
> + };
> --
> 2.23.0
>