aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/regulator/qcom,sdm845-refgen-regulator.yaml
blob: f02f97d4fdd215f3c83f851a5c5713488051e58d (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
53
54
55
56
57
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/regulator/qcom,sdm845-refgen-regulator.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Qualcomm Technologies, Inc. REFGEN Regulator

maintainers:
  - Konrad Dybcio <konradybcio@kernel.org>

description:
  The REFGEN (reference voltage generator) regulator provides reference
  voltage for on-chip IPs (like PHYs) on some Qualcomm SoCs.

allOf:
  - $ref: regulator.yaml#

properties:
  compatible:
    oneOf:
      - items:
          - enum:
              - qcom,sc7180-refgen-regulator
              - qcom,sc8180x-refgen-regulator
              - qcom,sm8150-refgen-regulator
          - const: qcom,sdm845-refgen-regulator

      - items:
          - enum:
              - qcom,sc7280-refgen-regulator
              - qcom,sc8280xp-refgen-regulator
              - qcom,sm6350-refgen-regulator
              - qcom,sm6375-refgen-regulator
              - qcom,sm8350-refgen-regulator
          - const: qcom,sm8250-refgen-regulator

      - enum:
          - qcom,sdm845-refgen-regulator
          - qcom,sm8250-refgen-regulator

  reg:
    maxItems: 1

required:
  - compatible
  - reg

unevaluatedProperties: false

examples:
  - |
    regulator@162f000 {
      compatible = "qcom,sm8250-refgen-regulator";
      reg = <0x0162f000 0x84>;
    };
...