[PATCH v2 1/8] dt-bindings: regulator: max77658: Add ADI MAX77643/54/58/59 Regulator

From: Zeynep Arslanbenzer
Date: Wed Mar 22 2023 - 01:57:47 EST


Add ADI MAX77643/MAX77654/MAX77658/MAX77659 Regulator devicetree document.

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

diff --git a/Documentation/devicetree/bindings/regulator/adi,max77658-regulator.yaml b/Documentation/devicetree/bindings/regulator/adi,max77658-regulator.yaml
new file mode 100644
index 000000000000..1d097eddcd98
--- /dev/null
+++ b/Documentation/devicetree/bindings/regulator/adi,max77658-regulator.yaml
@@ -0,0 +1,32 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/regulator/adi,max77658-regulator.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Regulator for MAX77658 PMICs family from ADI
+
+maintainers:
+ - Nurettin Bolucu <Nurettin.Bolucu@xxxxxxxxxx>
+ - Zeynep Arslanbenzer <Zeynep.Arslanbenzer@xxxxxxxxxx>
+
+description: |
+ This is part of the MAX77658 MFD device. For more details
+ see Documentation/devicetree/bindings/mfd/adi,max77658.yaml.
+
+ The regulators is represented as a sub-node of the PMIC node on the device tree.
+
+patternProperties:
+ "^LDO[01]$":
+ type: object
+ $ref: regulator.yaml#
+ additionalProperties: false
+ description: |
+ LDO regulator.
+
+ properties:
+ regulator-always-on: true
+ regulator-boot-on: true
+
+additionalProperties: false
+...
--
2.25.1