From: Shivam Rawat <[email protected]> Adreno 753 is the primary GPU in the Qualcomm Nord SoC and belongs to the A7xx Gen3 family. It is very similar to A750 and has the same register layout.
Document the qcom,adreno-43051701 GPU compatible and add a separate constraint block for the qcom,adreno-gmu-753.1 GMU describing its registers and clocks. Signed-off-by: Shivam Rawat <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Akhil P Oommen <[email protected]> --- .../devicetree/bindings/display/msm/gmu.yaml | 33 ++++++++++++++++++++++ .../devicetree/bindings/display/msm/gpu.yaml | 1 + 2 files changed, 34 insertions(+) diff --git a/Documentation/devicetree/bindings/display/msm/gmu.yaml b/Documentation/devicetree/bindings/display/msm/gmu.yaml index 07f0e547b43c..6b28694624cf 100644 --- a/Documentation/devicetree/bindings/display/msm/gmu.yaml +++ b/Documentation/devicetree/bindings/display/msm/gmu.yaml @@ -301,6 +301,39 @@ allOf: required: - qcom,qmp + - if: + properties: + compatible: + contains: + const: qcom,adreno-gmu-753.1 + then: + properties: + reg: + items: + - description: Core GMU registers + - description: Resource controller registers + - description: GMU PDC registers + reg-names: + items: + - const: gmu + - const: rscc + - const: gmu_pdc + clocks: + items: + - description: GPU AHB clock + - description: GMU clock + - description: GPU CX clock + - description: GPU AXI clock + - description: GPU MEMNOC clock + - description: GMU HUB clock + clock-names: + items: + - const: ahb + - const: gmu + - const: cxo + - const: axi + - const: memnoc + - const: hub - if: properties: compatible: diff --git a/Documentation/devicetree/bindings/display/msm/gpu.yaml b/Documentation/devicetree/bindings/display/msm/gpu.yaml index c30de7feb447..3c90a09febe7 100644 --- a/Documentation/devicetree/bindings/display/msm/gpu.yaml +++ b/Documentation/devicetree/bindings/display/msm/gpu.yaml @@ -451,6 +451,7 @@ allOf: - qcom,adreno-43050a01 - qcom,adreno-43050c01 - qcom,adreno-43051401 + - qcom,adreno-43051701 - qcom,adreno-44010000 - qcom,adreno-44050001 - qcom,adreno-44050a01 -- 2.55.0
