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: 10910081 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id AB0771515 for ; Sat, 20 Apr 2019 08:47:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9C084288AD for ; Sat, 20 Apr 2019 08:47:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8F99628AAC; Sat, 20 Apr 2019 08:47:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4AD56288AD for ; Sat, 20 Apr 2019 08:47:47 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 673478928D; Sat, 20 Apr 2019 08:47:42 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by gabe.freedesktop.org (Postfix) with ESMTPS id 73FFF8920D for ; Fri, 19 Apr 2019 08:35:08 +0000 (UTC) Received: by mail-wm1-x341.google.com with SMTP id y197so5679102wmd.0 for ; Fri, 19 Apr 2019 01:35:08 -0700 (PDT) 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=kpQln27J4bEx0Dxbb2ecHe9VZdC0HmESMBNJ4hKaPgLpzmIS86EA2h5clWtHysKoAj 0cssv6fNfsyhyYbLAoDb8YYy1JED1vvIa9uh7REhimc+xWMNIKN/sZCCSDEOQZXTc1af +JtxEtLK7hxuO5HvYMUxdEDSf08UQ4zgI+Ic8I0BDQtSbbALEuh5iJN5iWS/0jrvkQ/2 4RnWPafLJynvBenyZ5e+aeJI/0hOH/U2noUGzyCz/iUlBi7gjzZRPY8nIddehmyrS1mY n69wuPXD2lRqtVjoZf3rvGHx0GAAC13OkKapW9Y7rJK/Q2YwZARQYb754VBX+C31sJJs v5bg== X-Gm-Message-State: APjAAAXg2ESVvTz5gKdTUp1vMYb1343u5OAkSBKlIllhuBPMJe8atLhY X57oBFX0IPtxNMoK37JhpC3coA== 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) 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 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> X-Mailman-Approved-At: Sat, 20 Apr 2019 08:47:32 +0000 X-Mailman-Original-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-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-clk@vger.kernel.org, dri-devel@lists.freedesktop.org, lima@lists.freedesktop.org MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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(+) 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>; + }; }; };