summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/regulator/siliconmitus,sm5703-regulator.yaml
blob: 9d84117530caac58d155ef243a3da7e259d9bc35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/regulator/siliconmitus,sm5703-regulator.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Silicon Mitus SM5703 multi function device regulators

maintainers:
  - Markuss Broks <markuss.broks@gmail.com>

description: |
  SM5703 regulators node should be a sub node of the SM5703 MFD node. See SM5703 MFD
  bindings at Documentation/devicetree/bindings/mfd/siliconmitus,sm5703.yaml
  Regulator nodes should be named as USBLDO_<number>, BUCK, VBUS, LDO_<number>.
  The definition for each of these nodes is defined using the standard
  binding for regulators at Documentation/devicetree/bindings/regulator/regulator.txt.

properties:
  buck:
    type: object
    $ref: regulator.yaml#
    unevaluatedProperties: false
    description:
      Properties for the BUCK regulator.

  vbus:
    type: object
    $ref: regulator.yaml#
    unevaluatedProperties: false
    description:
      Properties for the VBUS regulator.

patternProperties:
  "^ldo[1-3]$":
    type: object
    $ref: regulator.yaml#
    unevaluatedProperties: false
    description:
      Properties for single LDO regulator.

  "^usbldo[1-2]$":
    type: object
    $ref: regulator.yaml#
    unevaluatedProperties: false
    description:
      Properties for a single USBLDO regulator.

additionalProperties: false