1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/regulator/siliconmitus,sm5703-regulator.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Silicon Mitus SM5703 multi function device regulators
8
9maintainers:
10  - Markuss Broks <markuss.broks@gmail.com>
11
12description: |
13  SM5703 regulators node should be a sub node of the SM5703 MFD node. See SM5703 MFD
14  bindings at Documentation/devicetree/bindings/mfd/siliconmitus,sm5703.yaml
15  Regulator nodes should be named as USBLDO_<number>, BUCK, VBUS, LDO_<number>.
16  The definition for each of these nodes is defined using the standard
17  binding for regulators at Documentation/devicetree/bindings/regulator/regulator.txt.
18
19properties:
20  buck:
21    type: object
22    $ref: regulator.yaml#
23    unevaluatedProperties: false
24    description:
25      Properties for the BUCK regulator.
26
27  vbus:
28    type: object
29    $ref: regulator.yaml#
30    unevaluatedProperties: false
31    description:
32      Properties for the VBUS regulator.
33
34patternProperties:
35  "^ldo[1-3]$":
36    type: object
37    $ref: regulator.yaml#
38    unevaluatedProperties: false
39    description:
40      Properties for single LDO regulator.
41
42  "^usbldo[1-2]$":
43    type: object
44    $ref: regulator.yaml#
45    unevaluatedProperties: false
46    description:
47      Properties for a single USBLDO regulator.
48
49additionalProperties: false
50