Vicky Wallace | ce2159e | 2016-12-27 15:58:35 -0800 | [diff] [blame] | 1 | Qualcomm Technologies, Inc. Graphics Clock & Reset Controller Binding |
| 2 | -------------------------------------------------------------------- |
| 3 | |
| 4 | Required properties : |
| 5 | - compatible : shall contain only one of the following: |
| 6 | "qcom,gpucc-sdm845", |
Vicky Wallace | 442e295 | 2017-07-12 18:46:26 -0700 | [diff] [blame] | 7 | "qcom,gpucc-sdm845-v2", |
| 8 | "qcom,gfxcc-sdm845", |
| 9 | "qcom,gfxcc-sdm845-v2" |
Deepak Katragadda | 443bd8d | 2017-08-28 22:30:19 +0530 | [diff] [blame] | 10 | "qcom,gpucc-sdm670", |
| 11 | "qcom,gfxcc-sdm670" |
Vicky Wallace | ce2159e | 2016-12-27 15:58:35 -0800 | [diff] [blame] | 12 | |
| 13 | - reg : shall contain base register offset and size. |
| 14 | - #clock-cells : shall contain 1. |
| 15 | - #reset-cells : shall contain 1. |
| 16 | - #vdd_<rail>-supply : The logic rail supply. |
| 17 | |
| 18 | Optional properties : |
| 19 | - #power-domain-cells : shall contain 1. |
| 20 | |
| 21 | Example: |
| 22 | clock_gfx: qcom,gfxcc@5090000 { |
| 23 | compatible = "qcom,gfxcc-sdm845"; |
| 24 | reg = <0x5090000 0x9000>; |
| 25 | vdd_gfx-supply = <&pm8005_s1_level>; |
| 26 | vdd_mx-supply = <&pm8998_s6_level>; |
| 27 | #clock-cells = <1>; |
| 28 | #reset-cells = <1>; |
| 29 | }; |
| 30 | |
| 31 | clock_gpucc: qcom,gpucc@5090000 { |
| 32 | compatible = "qcom,gpucc-sdm845"; |
| 33 | reg = <0x5090000 0x9000>; |
| 34 | vdd_cx-supply = <&pm8998_s9_level>; |
| 35 | #clock-cells = <1>; |
| 36 | #reset-cells = <1>; |
| 37 | }; |