1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/regulator/samsung,s2mpu02.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Samsung S2MPU02 Power Management IC regulators
8
9maintainers:
10  - Krzysztof Kozlowski <krzk@kernel.org>
11
12description: |
13  This is a part of device tree bindings for S2M and S5M family of Power
14  Management IC (PMIC).
15
16  The S2MPU02 provides buck and LDO regulators.
17
18  See also Documentation/devicetree/bindings/mfd/samsung,s2mps11.yaml for
19  additional information and example.
20
21patternProperties:
22  # 28 LDOs
23  "^LDO([1-9]|1[0-9]|2[0-8])$":
24    type: object
25    $ref: regulator.yaml#
26    unevaluatedProperties: false
27    description:
28      Properties for single LDO regulator.
29
30    required:
31      - regulator-name
32
33  # 7 bucks
34  "^BUCK[1-7]$":
35    type: object
36    $ref: regulator.yaml#
37    unevaluatedProperties: false
38    description:
39      Properties for single BUCK regulator.
40
41    required:
42      - regulator-name
43
44additionalProperties: false
45