From patchwork Fri Apr 19 08:32:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 162520 Delivered-To: patches@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp1750410jan; Fri, 19 Apr 2019 01:35:07 -0700 (PDT) X-Received: by 2002:a7b:cb58:: with SMTP id v24mr1718815wmj.121.1555662907509; Fri, 19 Apr 2019 01:35:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555662907; cv=none; d=google.com; s=arc-20160816; b=zmJscx9L09u1mxusDIbRRjyNqtz63BODyt8F4MfsxudLapbJkb/io0PSDS6wzx1sI+ Jk54jdHRqI+MsKDT7WT83KrKCUh78jRIerSOcLEQfnntVcZeHAZ6kvyC2A7Ty8bqpv86 KxYHDSqwUsYFiDRimd9veirli9kyl3qx/e+6VlcxvWLQu+Uq7DG5HyMdCF14RPpym20S hp8v6ey1ip5xIh0j+BvmJLa9+YXLBcN9iPwiFxwi9BTENWGEJ2SfFekjVsEWHR/+lToR wsAIJfYIj0iqvP49vMltIopoup95NnWZeeyesIsfTiXyFeYj0n0P/ijZior4b6SupseP ajYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=U+1RhXgibSnIdgZgBtIFJvFDwIprDWg0GFwO76wEX90=; b=NSi3BHrBYiS3Hbxf930bLNSTGUFIsBH1a9nJZ5wZFIvHZ+sQmuxOnBe9/Wh9N9uTAi 9UWx0DbAHo8OZU04VogYxBPsWj2qP6ot4AThmkOAOIFOAklm3hxtycjfA/ON3nmf70VR 3CrppnSlifl+qCxd5vAbz/8ykrUZE24R/yaNREg69Ghc06KQKnCvwat4kFvr1wpvHBZE ruAoUHex1nNtNf41PBKnFdO54YXQbixg4Szeb6YZ6ot8tIC54XZRSPr/FD8tyXOenWln yQohm2Zh4y0Fmet8RfzOqvRPbVyEdF2I1Y48p90Rs2LLSxC6NieEwA3fiLCjdIAXoj8v Eovw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ggTiLMIo; spf=pass (google.com: domain of peter.griffin@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=peter.griffin@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id y69sor2467325wmd.20.2019.04.19.01.35.07 for (Google Transport Security); Fri, 19 Apr 2019 01:35:07 -0700 (PDT) Received-SPF: pass (google.com: domain of peter.griffin@linaro.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ggTiLMIo; spf=pass (google.com: domain of peter.griffin@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=peter.griffin@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=U+1RhXgibSnIdgZgBtIFJvFDwIprDWg0GFwO76wEX90=; b=ggTiLMIo2MMiAErRNCHRkXFT4doB1OuzZsQ3lhdY35FZ7JO88Z/8xWeE27m/Z/BcJz 8TfOXyjmmYMTJBU9qzBMD0PabNOWATKdkLUA6QE3y9jgPqHLf67+CW48qTYM/3PsSNot YHh8+I8S/K643QlO7BGUnT/iKRlc6CcfpjK+adXPACUvXYEZtNePPOYq/S9AeesFB7Uj ieWoZB3rS69TZejgh8hnIyW8ykUqdVqaXUdqpmFCdKkY0RUe7IYRc3OEQdFkfY58aBeQ 8Rg5rSUD1fXBjE0X5ecd4e3AJ9dvUi3/xyRBXqa9nSAK35ZFcD80YCHW6rIlm2045Ux8 8taA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=U+1RhXgibSnIdgZgBtIFJvFDwIprDWg0GFwO76wEX90=; b=Nt0z6htyIp4DGi8GAidlOAGWc6SGUcxu2s7/Rfio5zr/44cbaXwx47NJchXn045Hz5 3Sad3vFkXts1/JTNPH/ij8rt49EpUbnjlnvrTmjpVxT6jMxU+THUXCPiRmBLbQEYWt+q OHhs2y9dAGPaVP7WO3F2sK80p9UJL+lARHH+ygydCpIxfnW03vJPW3VRC5u4pvn/8C45 ySLmP/0AgX1njbGv0jZ/4FAmvAwzI3DtRpp+APWFzXJOfPRTXnXgrY8/zrS9gPbKQXq5 TujG2vPakCHZD3ddqkRYClSyFaLwp3RuOtacw2/sya1+xw4h7C/1ZHeT5C6BjdyuRp8E 3FNw== X-Gm-Message-State: APjAAAWHLBb7kFjCdl2dVjlAqS4I+/1bWj0avlMMrH55Mufc3TNatw9p H1ni+Ed2R9AyDSsF7KP+5M24VHvR X-Google-Smtp-Source: APXvYqxGOL6NBipSMdJ5FdFtE7FShaEaFP4/LYJ8fD6dQ5oq2G5QK8hZF07N9rHyxM4oFFuBMdlMkQ== X-Received: by 2002:a1c:c910:: with SMTP id f16mr1753287wmb.47.1555662907167; Fri, 19 Apr 2019 01:35:07 -0700 (PDT) Return-Path: Received: from localhost.localdomain (cpc89244-aztw30-2-0-cust4998.18-1.cable.virginm.net. [86.31.179.135]) by smtp.gmail.com with ESMTPSA id t76sm5700147wmt.8.2019.04.19.01.35.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 19 Apr 2019 01:35:06 -0700 (PDT) From: Peter Griffin To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, john.stultz@linaro.org, airlied@linux.ie, daniel@ffwll.ch, robh+dt@kernel.org, mark.rutland@arm.com, p.zabel@pengutronix.de, xuwei5@hisilicon.com, mturquette@baylibre.com, sboyd@kernel.org, yuq825@gmail.com Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, lima@lists.freedesktop.org Subject: [PATCH v2 3/6] arm64: dts: hisilicon: Add Mali-450 MP4 GPU DT entry Date: Fri, 19 Apr 2019 09:32:58 +0100 Message-Id: <1555662781-22570-4-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1555662781-22570-1-git-send-email-peter.griffin@linaro.org> References: <1555662781-22570-1-git-send-email-peter.griffin@linaro.org> hi6220 has a Mali450 MP4 so lets add it into the DT. Signed-off-by: Peter Griffin --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 37 +++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) -- 2.7.4 diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi index aec9e37..2defc19 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi @@ -1019,6 +1019,43 @@ clock-names = "apb_pclk"; cpu = <&cpu7>; }; + + mali: gpu@f4080000 { + compatible = "hisilicon,hi6220-mali", "arm,mali-450"; + reg = <0x0 0xf4080000 0x0 0x00040000>; + interrupt-parent = <&gic>; + interrupts = , + , + , + , + , + , + , + , + , + , + ; + + interrupt-names = "gp", + "gpmmu", + "pp", + "pp0", + "ppmmu0", + "pp1", + "ppmmu1", + "pp2", + "ppmmu2", + "pp3", + "ppmmu3"; + clocks = <&media_ctrl HI6220_G3D_CLK>, + <&media_ctrl HI6220_G3D_PCLK>; + clock-names = "core", "bus"; + assigned-clocks = <&media_ctrl HI6220_G3D_CLK>, + <&media_ctrl HI6220_G3D_PCLK>; + assigned-clock-rates = <500000000>, <144000000>; + reset-names = "ao_g3d", "media_g3d"; + resets = <&ao_ctrl AO_G3D>, <&media_ctrl MEDIA_G3D>; + }; }; };