summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/regulator/silergy,sy8106a.yaml
blob: a52a67c869b5ccd2b11e110db8feb975dd518ad3 (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
50
51
52
# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: http://devicetree.org/schemas/regulator/silergy,sy8106a.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Silergy SY8106A Voltage Regulator Device Tree Bindings

maintainers:
  - Ondrej Jirman <megous@megous.com>

allOf:
  - $ref: regulator.yaml#

properties:
  compatible:
    const: silergy,sy8106a

  reg:
    maxItems: 1

  silergy,fixed-microvolt:
    description: >
      The voltage when I2C regulating is disabled (set by external resistor
      like a fixed voltage)

required:
  - compatible
  - reg
  - silergy,fixed-microvolt

unevaluatedProperties: false

examples:
  - |
    i2c {
        #address-cells = <1>;
        #size-cells = <0>;

        regulator@65 {
            compatible = "silergy,sy8106a";
            reg = <0x65>;
            regulator-name = "sy8106a-vdd";
            silergy,fixed-microvolt = <1200000>;
            regulator-min-microvolt = <1000000>;
            regulator-max-microvolt = <1400000>;
            regulator-boot-on;
            regulator-always-on;
        };
    };

...