Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1685559
| From | Heiko Stuebner <heiko@sntech.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/4] arm64: dts: rockchip: add ARM Mali GPU node for RK3399 SoCs |
| Date | 2017-07-12 09:20 +0200 |
| Message-ID | <u2k6e-57j-17@gated-at.bofh.it> (permalink) |
| References | <u2jtw-4CF-5@gated-at.bofh.it> <u2jtw-4CF-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Caesar,
Am Mittwoch, 12. Juli 2017, 14:29:28 CEST schrieb Caesar Wang:
> Add Mali GPU device tree node for the RK3399 SoCs, with devfreq
> opp table.
>
> RK3399 and RK3399-OP1 SoCs have a different recommendation table with
> gpu opp. As the ARM's mali driver found on
> https://developer.arm.com/products/software/mali-drivers/midgard-kernel.
>
> Signed-off-by: Caesar Wang <wxt@rock-chips.com>
> ---
>
> arch/arm64/boot/dts/rockchip/rk3399-op1-opp.dtsi | 33 ++++++++++++++++++++++++
> arch/arm64/boot/dts/rockchip/rk3399-opp.dtsi | 33 ++++++++++++++++++++++++
> arch/arm64/boot/dts/rockchip/rk3399.dtsi | 16 ++++++++++++
> 3 files changed, 82 insertions(+)
[...]
> diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
> index 1cbd7a2..8c6438b 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
> +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
> @@ -1443,6 +1443,22 @@
> status = "disabled";
> };
>
> + gpu: gpu@ff9a0000 {
> + compatible = "arm,rk3399-mali",
> + "arm,malit860",
> + "arm,malit86x",
> + "arm,malit8xx";
no wildcards and correct compatibles please.
The binding specifies arm,mali-t860 for your chip and the soc
specific compatible needs a rockchip vendor, so you need
compatible = "rockchip,rk3399-mali", "arm,mali-t860";
> + reg = <0x0 0xff9a0000 0x0 0x10000>;
> + interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH 0>,
> + <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH 0>,
> + <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH 0>;
> + interrupt-names = "GPU", "JOB", "MMU";
interrupt names are job, mmu, gpu in lower case. The out-of-tree driver
will need to conform to that.
> + clocks = <&cru ACLK_GPU>;
> + clock-names = "clk_mali";
no clock-names property, as midgard malis only have one clock input
Heiko
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/4] arm64: dts: rockchip: support mail and IPA thermal for rk3399 Caesar Wang <wxt@rock-chips.com> - 2017-07-12 08:40 +0200
[PATCH 2/4] arm64: dts: rockchip: add ARM Mali GPU node for RK3399 SoCs Caesar Wang <wxt@rock-chips.com> - 2017-07-12 08:40 +0200
Re: [PATCH 2/4] arm64: dts: rockchip: add ARM Mali GPU node for RK3399 SoCs Heiko Stuebner <heiko@sntech.de> - 2017-07-12 09:20 +0200
Re: [PATCH 2/4] arm64: dts: rockchip: add ARM Mali GPU node for RK3399 SoCs Caesar Wang <caesar.upstream@gmail.com> - 2017-07-12 11:20 +0200
[PATCH 1/4] dt-bindings: gpu: add the RK3399 mali for rockchip specifics Caesar Wang <wxt@rock-chips.com> - 2017-07-12 08:40 +0200
[PATCH 3/4] arm64: dts: rockchip: enable the GPU for RK3399-GRU Caesar Wang <wxt@rock-chips.com> - 2017-07-12 08:40 +0200
[PATCH 4/4] arm64: dts: rockchip: update the thermal zones for RK3399 SoCs Caesar Wang <wxt@rock-chips.com> - 2017-07-12 08:40 +0200
Re: [PATCH 4/4] arm64: dts: rockchip: update the thermal zones for RK3399 SoCs Brian Norris <briannorris@chromium.org> - 2017-07-12 19:40 +0200
Re: [PATCH 4/4] arm64: dts: rockchip: update the thermal zones for RK3399 SoCs Heiko Stuebner <heiko@sntech.de> - 2017-07-12 20:50 +0200
csiph-web