From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EF57DCA9EAF for ; Wed, 30 Oct 2019 09:12:47 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C284420874 for ; Wed, 30 Oct 2019 09:12:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="rrQ17slE" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C284420874 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=hisilicon.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=mKboQIe0fhCytyOqkWh4CxIeh+AZrgWYcEMxM4cXmZk=; b=rrQ17slEne+OCAtr1o4y1sxhs 0peE5WaD2qJwzNeKoHK0Bpd6wsxWzzLnRksz6RiCLbqBjR89UJ976qMrE0D9KfRUa2FnCU0M470jn JyDhFAA1XGWfvjXPbF0RPf07HRPwAXic5OqdlnN24ftTmU5G7BMDFmK7wkgtBY3EPaAT6Ejdnt3vE X8qnTaoxRLNmN+BC6XwS5yE+64P16G6H1HlCQzB7xEo/3bFlg/hrpUHzbgUYCOAYUgf7S7kp2DyAz n6tkvtr/YH433H7Vb55HkDNLZViTi4wFzsLpq07s959QAhgFgNz2kLa6Nt+3/1SIkwUXr7En8PvIi ii4WQ9hnQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iPk20-0001a9-7P; Wed, 30 Oct 2019 09:12:44 +0000 Received: from szxga06-in.huawei.com ([45.249.212.32] helo=huawei.com) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iPk1w-0001Z8-J0 for linux-arm-kernel@lists.infradead.org; Wed, 30 Oct 2019 09:12:42 +0000 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id A2F42984BC1C39FDC845; Wed, 30 Oct 2019 17:12:34 +0800 (CST) Received: from [127.0.0.1] (10.57.101.250) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.439.0; Wed, 30 Oct 2019 17:12:33 +0800 Subject: Re: [PATCH] arm64: dts: hisilicon: Add Mali-450 MP4 GPU DT entry To: John Stultz , lkml References: <20191001183535.70835-1-john.stultz@linaro.org> From: Wei Xu Message-ID: <5DB95401.2000609@hisilicon.com> Date: Wed, 30 Oct 2019 17:12:33 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20191001183535.70835-1-john.stultz@linaro.org> X-Originating-IP: [10.57.101.250] X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191030_021240_819699_2BFF67D2 X-CRM114-Status: GOOD ( 13.72 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Griffin , Mark Rutland , Rob Herring , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 2019/10/2 2:35, John Stultz wrote: > From: Peter Griffin > > hi6220 has a Mali450 MP4 so lets add it into the DT. > > Cc: Wei Xu > Cc: Rob Herring > Cc: Mark Rutland > Cc: linux-arm-kernel@lists.infradead.org > Cc: devicetree@vger.kernel.org > Signed-off-by: Peter Griffin > Signed-off-by: John Stultz Thanks! Applied to the hisilicon arm64 dt tree. Best Regards, Wei > --- > arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 38 +++++++++++++++++++++++ > 1 file changed, 38 insertions(+) > > diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi > index 108e2a4227f6..2072b637b5af 100644 > --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi > +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi > @@ -260,6 +260,7 @@ > compatible = "hisilicon,hi6220-aoctrl", "syscon"; > reg = <0x0 0xf7800000 0x0 0x2000>; > #clock-cells = <1>; > + #reset-cells = <1>; > }; > > sys_ctrl: sys_ctrl@f7030000 { > @@ -1021,6 +1022,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>; > + }; > }; > }; > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B35DFCA9EAF for ; Wed, 30 Oct 2019 09:12:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 89CA220874 for ; Wed, 30 Oct 2019 09:12:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726091AbfJ3JMh (ORCPT ); Wed, 30 Oct 2019 05:12:37 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:54454 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726028AbfJ3JMg (ORCPT ); Wed, 30 Oct 2019 05:12:36 -0400 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id A2F42984BC1C39FDC845; Wed, 30 Oct 2019 17:12:34 +0800 (CST) Received: from [127.0.0.1] (10.57.101.250) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.439.0; Wed, 30 Oct 2019 17:12:33 +0800 Subject: Re: [PATCH] arm64: dts: hisilicon: Add Mali-450 MP4 GPU DT entry To: John Stultz , lkml References: <20191001183535.70835-1-john.stultz@linaro.org> CC: Peter Griffin , Rob Herring , Mark Rutland , , From: Wei Xu Message-ID: <5DB95401.2000609@hisilicon.com> Date: Wed, 30 Oct 2019 17:12:33 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20191001183535.70835-1-john.stultz@linaro.org> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.57.101.250] X-CFilter-Loop: Reflected Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 2019/10/2 2:35, John Stultz wrote: > From: Peter Griffin > > hi6220 has a Mali450 MP4 so lets add it into the DT. > > Cc: Wei Xu > Cc: Rob Herring > Cc: Mark Rutland > Cc: linux-arm-kernel@lists.infradead.org > Cc: devicetree@vger.kernel.org > Signed-off-by: Peter Griffin > Signed-off-by: John Stultz Thanks! Applied to the hisilicon arm64 dt tree. Best Regards, Wei > --- > arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 38 +++++++++++++++++++++++ > 1 file changed, 38 insertions(+) > > diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi > index 108e2a4227f6..2072b637b5af 100644 > --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi > +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi > @@ -260,6 +260,7 @@ > compatible = "hisilicon,hi6220-aoctrl", "syscon"; > reg = <0x0 0xf7800000 0x0 0x2000>; > #clock-cells = <1>; > + #reset-cells = <1>; > }; > > sys_ctrl: sys_ctrl@f7030000 { > @@ -1021,6 +1022,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>; > + }; > }; > }; >