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,s2mps14.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Samsung S2MPS14 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 S2MPS14 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  # 25 LDOs, without LDO10-12
23  "^LDO([1-9]|1[3-9]|2[0-5])$":
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  "^LDO(1[0-2])$":
34    type: object
35    $ref: regulator.yaml#
36    unevaluatedProperties: false
37    description:
38      Properties for single LDO regulator.
39
40    properties:
41      samsung,ext-control-gpios:
42        maxItems: 1
43        description:
44          LDO10, LDO11 and LDO12 can be configured to external control over
45          GPIO.
46
47    required:
48      - regulator-name
49
50  # 5 bucks
51  "^BUCK[1-5]$":
52    type: object
53    $ref: regulator.yaml#
54    unevaluatedProperties: false
55    description:
56      Properties for single BUCK regulator.
57
58    required:
59      - regulator-name
60
61additionalProperties: false
62