From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Stuebner Subject: Re: [PATCH v3 2/5] ARM: dts: rockchip: add ARM Mali GPU node for rk3288 Date: Thu, 20 Apr 2017 08:43:40 +0200 Message-ID: <20465416.u9Y0ETYs62@phil> References: <5403013.fQWx48MQOq@phil> <319a2a72-ca25-08d7-68dc-7eae74f1a622@collabora.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <319a2a72-ca25-08d7-68dc-7eae74f1a622-ZGY8ohtN/8qB+jHODAdFcQ@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+glpar-linux-rockchip=m.gmane.org-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org To: Guillaume Tucker Cc: Mark Rutland , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Neil Armstrong , Sjoerd Simons , Wookey , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, John Reitan , Rob Herring , Enric Balletbo i Serra , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: devicetree@vger.kernel.org Hi Guillaume, Am Donnerstag, 20. April 2017, 06:44:56 CEST schrieb Guillaume Tucker: > On 19/04/17 09:59, Heiko Stuebner wrote: > > 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 . > > Sure, will fix that in v4. > > >> + 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"; > > OK, sorry I overlooked this part. I'll add it in v4 with a > vendor compatible string in the binding documentation. great, thanks :-) > > >> + 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? > > Well it wasn't entirely clear to me in Rob's email whether it was > necessary to use opp-v2 now or rather if it would be a potential > option whenever opp-v2 was needed. If operating-points (v1) are > being deprecated then I can change that in my next patch v4. > Using operating-points-v2 with the Mali driver works as far as I > can tell on rk3288 so that's not an issue. I don't care to much either way, just remembered it being mentioned in the previous version. So lets see what Rob says. Heiko