Skip to content

Commit d496d68

Browse files
nergzd723broonie
authored andcommitted
dt-bindings: regulator: Add bindings for Silicon Mitus SM5703 regulators
This patch adds device-tree bindings for regulators on Silicon Mitus SM5703 MFD. Signed-off-by: Markuss Broks <[email protected]> Reviewed-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 6963569 commit d496d68

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
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+
7+
title: Silicon Mitus SM5703 multi function device regulators
8+
9+
maintainers:
10+
- Markuss Broks <[email protected]>
11+
12+
description: |
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+
19+
properties:
20+
buck:
21+
type: object
22+
$ref: regulators.yaml#
23+
unevaluatedProperties: false
24+
description:
25+
Properties for the BUCK regulator.
26+
27+
vbus:
28+
type: object
29+
$ref: regulators.yaml#
30+
unevaluatedProperties: false
31+
description:
32+
Properties for the VBUS regulator.
33+
34+
patternProperties:
35+
"^ldo[1-3]$":
36+
type: object
37+
$ref: regulators.yaml#
38+
unevaluatedProperties: false
39+
description:
40+
Properties for single LDO regulator.
41+
42+
"^usbldo[1-2]$":
43+
type: object
44+
$ref: regulators.yaml#
45+
unevaluatedProperties: false
46+
description:
47+
Properties for a single USBLDO regulator.
48+
49+
additionalProperties: false

0 commit comments

Comments
 (0)