From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761363AbdDSI7b (ORCPT ); Wed, 19 Apr 2017 04:59:31 -0400 Received: from gloria.sntech.de ([95.129.55.99]:41942 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761318AbdDSI72 (ORCPT ); Wed, 19 Apr 2017 04:59:28 -0400 From: Heiko Stuebner To: Guillaume Tucker Cc: Rob Herring , Mark Rutland , Neil Armstrong , Sjoerd Simons , Enric Balletbo i Serra , John Reitan , Wookey , devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 2/5] ARM: dts: rockchip: add ARM Mali GPU node for rk3288 Date: Wed, 19 Apr 2017 10:59:21 +0200 Message-ID: <5403013.fQWx48MQOq@phil> User-Agent: KMail/5.2.3 (Linux/4.9.0-2-amd64; KDE/5.28.0; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Mittwoch, 19. April 2017, 09:06:18 CEST schrieb Guillaume Tucker: > Add Mali GPU device tree node for the rk3288 SoC, with devfreq > opp table. > > Tested-by: Enric Balletbo i Serra > Signed-off-by: Guillaume Tucker > --- > arch/arm/boot/dts/rk3288.dtsi | 22 ++++++++++++++++++++++ > 1 file changed, 22 insertions(+) > > diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi > index df8a0dbe9d91..187eed528f83 100644 > --- a/arch/arm/boot/dts/rk3288.dtsi > +++ b/arch/arm/boot/dts/rk3288.dtsi > @@ -43,6 +43,7 @@ > #include > #include > #include > +#include > #include > #include > #include > @@ -227,6 +228,27 @@ > ports = <&vopl_out>, <&vopb_out>; > }; > > + gpu: mali@ffa30000 { please sort nodes by address. ffa30000 should be placed below hdmi@ff980000 and above qos@ffaa0000 . > + compatible = "arm,mali-t760", "arm,mali-midgard"; As indicated before I don't trust that a generic binding will work for everything, so I would feel safer if we had a "rockchip,rk3288-mali" in front for future purposes, making it a compatible = "rockchip,rk3288-mali", "arm,mali-t760", "arm,mali-midgard"; > + reg = <0xffa30000 0x10000>; > + interrupts = , > + , > + ; > + interrupt-names = "job", "mmu", "gpu"; > + clocks = <&cru ACLK_GPU>; > + operating-points = < > + /* KHz uV */ > + 100000 950000 > + 200000 950000 > + 300000 1000000 > + 400000 1100000 > + 500000 1200000 > + 600000 1250000 > + >; Wasn't there a wish for opp-v2 in a previous version? Thanks Heiko > + power-domains = <&power RK3288_PD_GPU>; > + status = "disabled"; > + }; > + > sdmmc: dwmmc@ff0c0000 { > compatible = "rockchip,rk3288-dw-mshc"; > max-frequency = <150000000>; >