On Fri, Jun 14, 2019 at 04:57:19PM -0700, Joseph Kogut wrote: > Add device tree node for mali gpu on Odroid XU3 SoCs. > > Signed-off-by: Joseph Kogut <joseph.kogut@xxxxxxxxx> > --- > > Changes v1 -> v2: > - Use interrupt name ordering from binding doc > - Specify a single clock for GPU node > - Add gpu opp table > - Fix warnings from IRQ_TYPE_NONE > > .../boot/dts/exynos5422-odroidxu3-common.dtsi | 26 +++++++++++++++++++ This should go to exynos5422-odroid-core.dtsi instead, because it is common to entire Odroid Exynos5422 family (not only XU3 family). > 1 file changed, 26 insertions(+) > > diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi > index 93a48f2dda49..b8a4246e3b37 100644 > --- a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi > +++ b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi > @@ -48,6 +48,32 @@ > cooling-levels = <0 130 170 230>; > }; > > + gpu: gpu@11800000 { > + compatible = "samsung,exynos-mali", "arm,mali-t628"; This is common to all Exynos542x chips so it should go to exynos5420.dtsi. Here you would need to only enable it and provide regulator. Probably this should be also associated with tmu_gpu as a cooling device (if Mali registers a cooling device...). Otherwise the tmu_gpu is not really used for it. > + reg = <0x11800000 0x5000>; > + interrupts = <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH>, > + <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>, > + <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>; > + interrupt-names = "job", "mmu", "gpu"; > + clocks = <&clock CLK_G3D>; > + mali-supply = <&buck4_reg>; Please check if always-on property could be removed from buck4. Also, what about LDO27? It should be used as well (maybe through vendor-specific properties which would justify the need of new vendor compatible). Best regards, Krzysztof > + operating-points-v2 = <&gpu_opp_table>; > + }; > + > + gpu_opp_table: gpu-opp-table { > + compatible = "operating-points-v2"; > + > + opp-177000000 { > + opp-hz = /bits/ 64 <117000000>; > + opp-microvolt = <812500>; > + }; > + > + opp-600000000 { > + opp-hz = /bits/ 64 <600000000>; > + opp-microvolt = <1150000>; > + }; > + }; > + > thermal-zones { > cpu0_thermal: cpu0-thermal { > thermal-sensors = <&tmu_cpu0 0>; > -- > 2.22.0 >