xref: /linux/Documentation/devicetree/bindings/regulator/qcom,sdm845-refgen-regulator.yaml (revision 34dc1baba215b826e454b8d19e4f24adbeb7d00d)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/regulator/qcom,sdm845-refgen-regulator.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Technologies, Inc. REFGEN Regulator
8
9maintainers:
10  - Konrad Dybcio <konradybcio@kernel.org>
11
12description:
13  The REFGEN (reference voltage generator) regulator provides reference
14  voltage for on-chip IPs (like PHYs) on some Qualcomm SoCs.
15
16allOf:
17  - $ref: regulator.yaml#
18
19properties:
20  compatible:
21    oneOf:
22      - items:
23          - enum:
24              - qcom,sc7180-refgen-regulator
25              - qcom,sc8180x-refgen-regulator
26              - qcom,sm8150-refgen-regulator
27          - const: qcom,sdm845-refgen-regulator
28
29      - items:
30          - enum:
31              - qcom,sc7280-refgen-regulator
32              - qcom,sc8280xp-refgen-regulator
33              - qcom,sm6350-refgen-regulator
34              - qcom,sm6375-refgen-regulator
35              - qcom,sm8350-refgen-regulator
36          - const: qcom,sm8250-refgen-regulator
37
38      - enum:
39          - qcom,sdm845-refgen-regulator
40          - qcom,sm8250-refgen-regulator
41
42  reg:
43    maxItems: 1
44
45required:
46  - compatible
47  - reg
48
49unevaluatedProperties: false
50
51examples:
52  - |
53    regulator@162f000 {
54      compatible = "qcom,sm8250-refgen-regulator";
55      reg = <0x0162f000 0x84>;
56    };
57...
58