xref: /freebsd/sys/contrib/device-tree/Bindings/regulator/samsung,s2mps14.yaml (revision 8bab661a3316d8bd9b9fbd11a3b4371b91507bd2)
18cc087a1SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
28cc087a1SEmmanuel Vadot%YAML 1.2
38cc087a1SEmmanuel Vadot---
48cc087a1SEmmanuel Vadot$id: http://devicetree.org/schemas/regulator/samsung,s2mps14.yaml#
58cc087a1SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
68cc087a1SEmmanuel Vadot
78cc087a1SEmmanuel Vadottitle: Samsung S2MPS14 Power Management IC regulators
88cc087a1SEmmanuel Vadot
98cc087a1SEmmanuel Vadotmaintainers:
10c9ccf3a3SEmmanuel Vadot  - Krzysztof Kozlowski <krzk@kernel.org>
118cc087a1SEmmanuel Vadot
128cc087a1SEmmanuel Vadotdescription: |
138cc087a1SEmmanuel Vadot  This is a part of device tree bindings for S2M and S5M family of Power
148cc087a1SEmmanuel Vadot  Management IC (PMIC).
158cc087a1SEmmanuel Vadot
168cc087a1SEmmanuel Vadot  The S2MPS14 provides buck and LDO regulators.
178cc087a1SEmmanuel Vadot
188cc087a1SEmmanuel Vadot  See also Documentation/devicetree/bindings/mfd/samsung,s2mps11.yaml for
198cc087a1SEmmanuel Vadot  additional information and example.
208cc087a1SEmmanuel Vadot
218cc087a1SEmmanuel VadotpatternProperties:
22*8bab661aSEmmanuel Vadot  # 25 LDOs, without LDO10-12
23*8bab661aSEmmanuel Vadot  "^LDO([1-9]|1[3-9]|2[0-5])$":
248cc087a1SEmmanuel Vadot    type: object
258cc087a1SEmmanuel Vadot    $ref: regulator.yaml#
268cc087a1SEmmanuel Vadot    unevaluatedProperties: false
278cc087a1SEmmanuel Vadot    description:
288cc087a1SEmmanuel Vadot      Properties for single LDO regulator.
298cc087a1SEmmanuel Vadot
308cc087a1SEmmanuel Vadot    required:
318cc087a1SEmmanuel Vadot      - regulator-name
328cc087a1SEmmanuel Vadot
33*8bab661aSEmmanuel Vadot  "^LDO(1[0-2])$":
34*8bab661aSEmmanuel Vadot    type: object
35*8bab661aSEmmanuel Vadot    $ref: regulator.yaml#
36*8bab661aSEmmanuel Vadot    unevaluatedProperties: false
37*8bab661aSEmmanuel Vadot    description:
38*8bab661aSEmmanuel Vadot      Properties for single LDO regulator.
39*8bab661aSEmmanuel Vadot
40*8bab661aSEmmanuel Vadot    properties:
41*8bab661aSEmmanuel Vadot      samsung,ext-control-gpios:
42*8bab661aSEmmanuel Vadot        maxItems: 1
43*8bab661aSEmmanuel Vadot        description:
44*8bab661aSEmmanuel Vadot          LDO10, LDO11 and LDO12 can be configured to external control over
45*8bab661aSEmmanuel Vadot          GPIO.
46*8bab661aSEmmanuel Vadot
47*8bab661aSEmmanuel Vadot    required:
48*8bab661aSEmmanuel Vadot      - regulator-name
49*8bab661aSEmmanuel Vadot
508cc087a1SEmmanuel Vadot  # 5 bucks
518cc087a1SEmmanuel Vadot  "^BUCK[1-5]$":
528cc087a1SEmmanuel Vadot    type: object
538cc087a1SEmmanuel Vadot    $ref: regulator.yaml#
548cc087a1SEmmanuel Vadot    unevaluatedProperties: false
558cc087a1SEmmanuel Vadot    description:
568cc087a1SEmmanuel Vadot      Properties for single BUCK regulator.
578cc087a1SEmmanuel Vadot
588cc087a1SEmmanuel Vadot    required:
598cc087a1SEmmanuel Vadot      - regulator-name
608cc087a1SEmmanuel Vadot
618cc087a1SEmmanuel VadotadditionalProperties: false
62