Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |
| 7 | title: Qualcomm Technologies, Inc. REFGEN Regulator |
| 8 | |
| 9 | maintainers: |
| 10 | - Konrad Dybcio <konradybcio@kernel.org> |
| 11 | |
| 12 | description: |
| 13 | The REFGEN (reference voltage generator) regulator provides reference |
| 14 | voltage for on-chip IPs (like PHYs) on some Qualcomm SoCs. |
| 15 | |
| 16 | allOf: |
| 17 | - $ref: regulator.yaml# |
| 18 | |
| 19 | properties: |
| 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 | |
| 45 | required: |
| 46 | - compatible |
| 47 | - reg |
| 48 | |
| 49 | unevaluatedProperties: false |
| 50 | |
| 51 | examples: |
| 52 | - | |
| 53 | regulator@162f000 { |
| 54 | compatible = "qcom,sm8250-refgen-regulator"; |
| 55 | reg = <0x0162f000 0x84>; |
| 56 | }; |
| 57 | ... |