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