ARM: dts: qcom-apq8064: adreno: use compatible which contains chipid
Subsystems (3)
PATCH 1/3 ARM: dts: qcom-apq8064: adreno: use compatible which contains chipid
Also resolves these kernel warnings for APQ8064:
adreno 4300000.adreno-3xx: Using legacy qcom,chipid binding! adreno 4300000.adreno-3xx: Use compatible qcom,adreno-320.2 instead.
Tested on Nexus 7 2013, no functional changes.
Cc <[email protected]>
Signed-off-by David Heidelberg <[email protected]>
--- arch/arm/boot/dts/qcom-apq8064.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm/boot/dts/qcom-apq8064.dtsi +1 -2
@@ -1148,7 +1148,7 @@ tcsr: syscon@1a400000 { }; gpu: adreno-3xx@4300000 { - compatible = "qcom,adreno-3xx"; + compatible = "qcom,adreno-320.2", "qcom,adreno"; reg = <0x04300000 0x20000>; reg-names = "kgsl_3d0_reg_memory"; interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
@@ -1163,7 +1163,6 @@ gpu: adreno-3xx@4300000 { <&mmcc GFX3D_AHB_CLK>, <&mmcc GFX3D_AXI_CLK>, <&mmcc MMSS_IMEM_AHB_CLK>; - qcom,chipid = <0x03020002>; iommus = <&gfx3d 0 &gfx3d 1
Signature · 1 line
2.33.0
PATCH 2/3 ARM: dts: qcom-apq8064: adreno: update clock names
Tested on Nexus 7 2013, no functional changes.
Cc <[email protected]>
Signed-off-by David Heidelberg <[email protected]>
--- arch/arm/boot/dts/qcom-apq8064.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm/boot/dts/qcom-apq8064.dtsi +4 -4
@@ -1154,10 +1154,10 @@ gpu: adreno-3xx@4300000 { interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>; interrupt-names = "kgsl_3d0_irq"; clock-names = - "core_clk", - "iface_clk", - "mem_clk", - "mem_iface_clk"; + "core", + "iface", + "mem", + "mem_iface"; clocks = <&mmcc GFX3D_CLK>, <&mmcc GFX3D_AHB_CLK>,
Signature · 1 line
2.33.0
PATCH 3/3 ARM: dts: qcom-apq8064: adreno: convert from legacy gpu-pwrlevels to opp-v2
In reply to David HeidelbergAPQ8064 was last user of gpu-pwrlevels inside mainline tree, so convert it now.
Tested on Nexus 7 2013, no functional changes.
Signed-off-by David Heidelberg <[email protected]>
--- arch/arm/boot/dts/qcom-apq8064.dtsi | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-)
arch/arm/boot/dts/qcom-apq8064.dtsi +10 -6
@@ -1229,13 +1229,17 @@ &gfx3d1 29 &gfx3d1 30 &gfx3d1 31>; - qcom,gpu-pwrlevels { - compatible = "qcom,gpu-pwrlevels"; - qcom,gpu-pwrlevel@0 { - qcom,gpu-freq = <450000000>; + operating-points-v2 = <&gpu_opp_table>; + + gpu_opp_table: opp-table { + compatible = "operating-points-v2"; + + opp-320000000 { + opp-hz = /bits/ 64 <450000000>; }; - qcom,gpu-pwrlevel@1 { - qcom,gpu-freq = <27000000>; + + opp-27000000 { + opp-hz = /bits/ 64 <27000000>; }; }; };
Signature · 1 line
2.33.0