summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/regulator/allwinner,sun20i-d1-system-ldos.yaml
blob: ec6695c8d2e30e19dd95c439ce642f2fc3108085 (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
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/regulator/allwinner,sun20i-d1-system-ldos.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Allwinner D1 System LDOs

maintainers:
  - Samuel Holland <samuel@sholland.org>

description:
  Allwinner D1 contains a pair of general-purpose LDOs which are designed to
  supply power inside and outside the SoC. They are controlled by a register
  within the system control MMIO space.

properties:
  compatible:
    enum:
      - allwinner,sun20i-d1-system-ldos

  reg:
    maxItems: 1

patternProperties:
  "^ldo[ab]$":
    type: object
    $ref: regulator.yaml#
    unevaluatedProperties: false

required:
  - compatible
  - reg

additionalProperties: false

...