[PATCH 6/6] dt-bindings: regulator: add MAX77659 regulator binding

From: Zeynep Arslanbenzer
Date: Tue Dec 20 2022 - 08:27:49 EST


This patch adds device tree binding documentation for MAX77659 regulator.

Signed-off-by: Nurettin Bolucu <Nurettin.Bolucu@xxxxxxxxxx>
Signed-off-by: Zeynep Arslanbenzer <Zeynep.Arslanbenzer@xxxxxxxxxx>
---
.../regulator/adi,max77659-regulator.yaml | 31 +++++++++++++++++++
MAINTAINERS | 1 +
2 files changed, 32 insertions(+)
create mode 100644 Documentation/devicetree/bindings/regulator/adi,max77659-regulator.yaml

diff --git a/Documentation/devicetree/bindings/regulator/adi,max77659-regulator.yaml b/Documentation/devicetree/bindings/regulator/adi,max77659-regulator.yaml
new file mode 100644
index 000000000000..c1e2d88be25b
--- /dev/null
+++ b/Documentation/devicetree/bindings/regulator/adi,max77659-regulator.yaml
@@ -0,0 +1,31 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/regulator/adi,max77659-regulator.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Regulator driver for MAX77659 PMIC from ADI.
+
+maintainers:
+ - Nurettin Bolucu <Nurettin.Bolucu@xxxxxxxxxx>
+ - Zeynep Arslanbenzer <Zeynep.Arslanbenzer@xxxxxxxxxx>
+
+description: |
+ This module is part of the MAX77659 MFD device. For more details
+ see Documentation/devicetree/bindings/mfd/adi,max77659.yaml.
+
+ The regulator is represented as a sub-node of the PMIC node on the device tree.
+
+properties:
+ compatible:
+ const: adi,max77650-regulator
+
+ regulator-boot-on: true
+ regulator-always-on: true
+
+required:
+ - compatible
+
+additionalProperties: false
+
+...
diff --git a/MAINTAINERS b/MAINTAINERS
index 13c062a8cda2..a10fff677b0b 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -12647,6 +12647,7 @@ L: linux-kernel@xxxxxxxxxxxxxxx
S: Maintained
F: Documentation/devicetree/bindings/mfd/adi,max77659.yaml
F: Documentation/devicetree/bindings/power/supply/adi,max77659-charger.yaml
+F: Documentation/devicetree/bindings/regulator/adi,max77659-regulator.yaml
F: drivers/mfd/max77659.c
F: drivers/power/supply/max77659-charger.c
F: drivers/regulator/max77659-regulator.c
--
2.25.1