Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2720724pxb; Sun, 8 Nov 2020 10:52:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJyh/CjCwduIbu+8/6Tlzr7fJXqIY3CDQiimN9mvecLO8uFHPAi0AiDSVbs9Eu61l/25+v26 X-Received: by 2002:a17:906:a149:: with SMTP id bu9mr11480163ejb.115.1604861557938; Sun, 08 Nov 2020 10:52:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604861557; cv=none; d=google.com; s=arc-20160816; b=gcuFKSjLl3DSFe0guLq7/XvJmedrP13t8dvnTuvj3xjh2d/HWvewz7a2S92pVHVwgP 2ygjFPPGnFw926W/AO2CI/CAo5mWqTXc2zIO0bxW6+aCHCWAMk2U9kMZoj+IjA7ztgWA cg4TN7G6juhuvDR+gItISNyrPYFvZBf4LZUKayPpqk4Xd/UnQESdBv8Z9xeMuc9OsUCw BPC9myVY1XAy5VhAJAkLS2YL6dcvMcK/2eRulJTgeV3mRpDpFN/QGkOR/5Rch7F34Mo8 LwzH9iT8sramOj2Asj+PhLZO/ZdDdbK49ewmT/GVU++10CCgEuIz7UenirhpjE4H4eNk S2rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=e4MFmro9LRzZqM00MSLpje3m5vP1BDJdx4WIA1ubdow=; b=kJnhbBRpmeL+CCsSIvHXL0zOLCVaD+JyaYGEJAy/PyOEFaa9Rkeq3vO+k21MPk/xC0 y7Cr/rwA0vy4fQfTCa+J95tmOtoAjUEQZfztikAdwxgyI3JuWB57dMpyLX0t685X6UjH FgbWy61OZE+Pi/gl5koJap2OzHcKXP8LwZEbgdp0yL6D8NCDV3e2bV5deihOEBIMaCk8 6tgfV8Is8U5KGmN/qj4p8gLY9hAtwc2P74A6pl451FYhrabDh5qvs3YOL+aUmhBGQTwF ZjgQtWT+UL/HBfgDvmAaZrV+gRCB9on+5oSNUV6r9cHKYU43pD2Vdn9huVOnDHQ4xDKp +KEQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gf11si63696ejb.494.2020.11.08.10.52.13; Sun, 08 Nov 2020 10:52:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728834AbgKHSsS (ORCPT + 99 others); Sun, 8 Nov 2020 13:48:18 -0500 Received: from mail-ej1-f68.google.com ([209.85.218.68]:35598 "EHLO mail-ej1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727570AbgKHSsS (ORCPT ); Sun, 8 Nov 2020 13:48:18 -0500 Received: by mail-ej1-f68.google.com with SMTP id f23so2509998ejk.2; Sun, 08 Nov 2020 10:48:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=e4MFmro9LRzZqM00MSLpje3m5vP1BDJdx4WIA1ubdow=; b=s6GSTn8H+FVYnSwPPpC11opJlBDUZWGeZtZA8V7/GtBiXKPn0mJ/8jEjSMF4FtU9jq PHXSZumsUggnU+VG9T81emvWOCg1R1CrF+ZdRjTcw2jnBrWK2WIUknm92+XsrJFuXVq5 pSbKkjhwB65iSBdG88zx93PUdve9qFaCa8w8lvKIlwEfSm7oB+DzGYVrBwISizzhEzp6 M/QLcnkCRQ/yfAur0xGC58uNzx1rCozbuweas0740rL/kxyG398cRyfo7vpkXAaZ0BOx NH0leQNcOCJhj3fzLQQvL8kJ6YtF1PBNfSB8Nlswg8RChHrcQ8t4wj5z1vuRgoC9NVN1 ZbRg== X-Gm-Message-State: AOAM530IJyG1JT5bFHsL9KdrPCggNvh/PlHPM6gY05cvAAz6tdTeyacw pjjowrNgyOP99fbvTi4HkMo= X-Received: by 2002:a17:906:85c1:: with SMTP id i1mr12060491ejy.157.1604861296017; Sun, 08 Nov 2020 10:48:16 -0800 (PST) Received: from kozik-lap (adsl-84-226-167-205.adslplus.ch. [84.226.167.205]) by smtp.googlemail.com with ESMTPSA id q8sm6754088ejy.102.2020.11.08.10.48.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Nov 2020 10:48:14 -0800 (PST) Date: Sun, 8 Nov 2020 19:48:13 +0100 From: Krzysztof Kozlowski To: Adam Ford Cc: linux-arm-kernel@lists.infradead.org, aford@beaconembedded.com, Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Andrey Smirnov , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH V2 5/5] arm64: dts: imx8mn: Add GPU node Message-ID: <20201108184813.GD7078@kozik-lap> References: <20201107140026.1974312-1-aford173@gmail.com> <20201107140026.1974312-5-aford173@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20201107140026.1974312-5-aford173@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Nov 07, 2020 at 08:00:25AM -0600, Adam Ford wrote: > According to the documentation from NXP, the i.MX8M Nano has a > Vivante GC7000 Ultra Lite as its GPU core. > > With this patch, the Etnaviv driver presents the GPU as: > etnaviv-gpu 38000000.gpu: model: GC7000, revision: 6203 > > The stock operating voltage for the i.MX8M Nano is .85V which means > the GPU needs to run at 400MHz. For boards where the operating > voltage is higher, this can be increased. > > Signed-off-by: Adam Ford > --- > V2: Move into this series > Update clocking description > > arch/arm64/boot/dts/freescale/imx8mn.dtsi | 25 +++++++++++++++++++++++ > 1 file changed, 25 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi > index 5e4b6934de40..6e650ea422a7 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi > @@ -1008,6 +1008,31 @@ gpmi: nand-controller@33002000 { > status = "disabled"; > }; > > + gpu: gpu@38000000 { > + compatible = "vivante,gc"; > + reg = <0x38000000 0x8000>; > + interrupts = ; > + clocks = <&clk IMX8MN_CLK_GPU_AHB>, > + <&clk IMX8MN_CLK_GPU_BUS_ROOT>, > + <&clk IMX8MN_CLK_GPU_CORE_ROOT>, > + <&clk IMX8MN_CLK_GPU_SHADER_DIV>; > + clock-names = "reg", "bus", "core", "shader"; > + assigned-clocks = <&clk IMX8MN_CLK_GPU_CORE_SRC>, > + <&clk IMX8MN_CLK_GPU_SHADER_SRC>, > + <&clk IMX8MN_CLK_GPU_AXI>, > + <&clk IMX8MN_CLK_GPU_AHB>, > + <&clk IMX8MN_GPU_PLL>, > + <&clk IMX8MN_CLK_GPU_CORE_DIV>, > + <&clk IMX8MN_CLK_GPU_SHADER_DIV>; > + assigned-clock-parents = <&clk IMX8MN_GPU_PLL_OUT>, > + <&clk IMX8MN_GPU_PLL_OUT>, > + <&clk IMX8MN_SYS_PLL1_800M>, > + <&clk IMX8MN_SYS_PLL1_800M>; > + assigned-clock-rates = <0>, <0>, <800000000>, <400000000>, <1200000000>, > + <400000000>, <400000000>; It would be nice to align indentation here to <0> above. Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof