xref: /freebsd/sys/contrib/device-tree/Bindings/regulator/samsung,s2mpa01.yaml (revision fe75646a0234a261c0013bf1840fdac4acaf0cec)
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,s2mpa01.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Samsung S2MPA01 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 S2MPA01 provides buck and LDO regulators.
17
18  See also Documentation/devicetree/bindings/mfd/samsung,s2mpa01.yaml for
19  additional information and example.
20
21patternProperties:
22  # 26 LDOs
23  "^LDO([1-9]|1[0-9]|2[0-6])$":
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  # 10 bucks
34  "^BUCK([1-9]|10)$":
35    type: object
36    $ref: regulator.yaml#
37    unevaluatedProperties: false
38    description:
39      Properties for single BUCK regulator.
40
41    properties:
42      regulator-ramp-delay:
43        enum: [0, 6250, 12500, 25000, 50000]
44        default: 12500
45        description: |
46          May be 0 for disabling the ramp delay on BUCK{1,2,3,4}.
47
48          In the absence of the regulator-ramp-delay property, the default ramp
49          delay will be used.
50
51          Note: Some bucks share the ramp rate setting i.e. same ramp value
52          will be set for a particular group of bucks so provide the same
53          regulator-ramp-delay value for them.
54          Groups sharing ramp rate:
55            * buck{1,6},
56            * buck{2,4},
57            * buck{8,9,10}.
58
59    required:
60      - regulator-name
61
62additionalProperties: false
63