From patchwork Thu Nov 7 11:06:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H. Nikolaus Schaller" X-Patchwork-Id: 11232639 X-Patchwork-Delegate: paulburton@kernel.org Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6751C139A for ; Thu, 7 Nov 2019 11:18:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B7F5421D6C for ; Thu, 7 Nov 2019 11:18:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=goldelico.com header.i=@goldelico.com header.b="ZL/wPgP4" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387796AbfKGLSN (ORCPT ); Thu, 7 Nov 2019 06:18:13 -0500 Received: from mo4-p04-ob.smtp.rzone.de ([85.215.255.124]:30104 "EHLO mo4-p04-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728183AbfKGLSN (ORCPT ); Thu, 7 Nov 2019 06:18:13 -0500 X-Greylist: delayed 713 seconds by postgrey-1.27 at vger.kernel.org; Thu, 07 Nov 2019 06:18:12 EST DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1573125491; s=strato-dkim-0002; d=goldelico.com; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=11dnnmhb1p7k4nx66KvKMNZIk0qpx8gkJedgWR7HCNM=; b=ZL/wPgP4FtpaKR/gbstWCi906HsW9DzEd297K7hunes5CThWkRfdmNjQKmwjhLfwek asflGKdUU2tOF6ddjQTF3PLzKkYdDdQNBvI9vsVFN4/gILeh1GP+YgkoU0TkPiYNFSTm CypoO2HAYNWoDTINdZnA/1FK5pNx/+dIxqhH/HRdfKBYnPw10oYpWlkd+rDQZohdsgs9 AO+jiZiHtKRZbz0SN5kKa91INO9tXtSZsFJ7aani19OvlgD+yWyibiQ43nMeUmSHaFwH CQ5BNMGo09Eumt3yWNl39C/jozp1P33ea89iCmDzbpsGt0KaM6D65S6/s4rlKfHsBic8 lEDQ== X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMhflhwDubTJ9o1OAA2UNf2M7PR5/L9P0" X-RZG-CLASS-ID: mo00 Received: from iMac.fritz.box by smtp.strato.de (RZmta 44.29.0 DYNA|AUTH) with ESMTPSA id L09db3vA7B6Hdh7 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Thu, 7 Nov 2019 12:06:17 +0100 (CET) From: "H. Nikolaus Schaller" To: David Airlie , Daniel Vetter , Rob Herring , Mark Rutland , =?utf-8?q?Beno=C3=AEt_Cousson?= , Tony Lindgren , Paul Cercueil , Ralf Baechle , Paul Burton , James Hogan Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, openpvrsgx-devgroup@letux.org, letux-kernel@openphoenux.org, kernel@pyra-handheld.com, linux-mips@vger.kernel.org, "H. Nikolaus Schaller" , Paul Boddie Subject: [PATCH v2 8/8] MIPS: DTS: jz4780: add sgx gpu node Date: Thu, 7 Nov 2019 12:06:11 +0100 Message-Id: <9e5dae8c163c2183e4c6fac5c0c9218782fad665.1573124770.git.hns@goldelico.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: References: MIME-Version: 1.0 Sender: linux-mips-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org and add interrupt and clocks. Tested to build for CI20 board and load a (non-working) driver. Suggested-by: Paul Boddie Signed-off-by: H. Nikolaus Schaller --- arch/mips/boot/dts/ingenic/jz4780.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/mips/boot/dts/ingenic/jz4780.dtsi b/arch/mips/boot/dts/ingenic/jz4780.dtsi index c54bd7cfec55..21ea5f4a405b 100644 --- a/arch/mips/boot/dts/ingenic/jz4780.dtsi +++ b/arch/mips/boot/dts/ingenic/jz4780.dtsi @@ -46,6 +46,17 @@ #clock-cells = <1>; }; + gpu: gpu@13040000 { + compatible = "ingenic,jz4780-sgx540-120", "img,sgx540-120", "img,sgx540", "img,sgx5"; + reg = <0x13040000 0x4000>; + + clocks = <&cgu JZ4780_CLK_GPU>; + clock-names = "gpu"; + + interrupt-parent = <&intc>; + interrupts = <63>; + }; + tcu: timer@10002000 { compatible = "ingenic,jz4780-tcu", "ingenic,jz4770-tcu",