Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp636144ybz; Wed, 15 Apr 2020 15:38:14 -0700 (PDT) X-Google-Smtp-Source: APiQypK8lS9TGTHjs6AEw3JO2GKdEeMU+387s8ayNDtV8z9LdAQ4+PIL2ZXslWRvcGzvrTAYrlVB X-Received: by 2002:a05:6402:b99:: with SMTP id cf25mr19551395edb.372.1586990294279; Wed, 15 Apr 2020 15:38:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586990294; cv=none; d=google.com; s=arc-20160816; b=L0xBehnyHUU8pOSZGG45K73sO9+YTbBzNPeTMTRaBXIr4KU46UMb2VgX5YMu+3puQK ispsyLdJ78iU/3mnlRhf+THFH6baBYepR8z9vr1ZBKgo4MfRqXAiUpuCQWD9wzsvbHkA JRd8qMBO+3To8pbS8k7EBYg2pilXZeQoTKtEWCzFG9LilpcwEzAT/NbrKlId2UJMm82S ZzZejLoWI9D3A4C6pzulAueUhczvE4JB49AI1NOvRkfO3DaqTGTK3YTwKSbEg8V76P/M csIoDtjngCHCdsE98NwINwc2NRfdDK+jjNmTypyTi/tw134fvPaT4F4dhvgWGqkVBBNr yU6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=1Ik0W52h1P3DqsEKervnuYBLHYDwAO17lsngt7yWHqw=; b=wzPsts6EWyaVBMn1OxZLG8ooms/dl9LXlk19/TBzwT6nNr5B/vMaAlEM1BbaL1r+SP 6Pz4mwOW2WitKnSpLrFNMKqioss+tjpyZTjDQm38lC0xKV+P7+bYvart/BDaD8kyklxc thbh9fiMnJfChdGdjtcyt/blnh9ueqMU355lyi5hYF2Q5QB1WMHrFxdO2VWPIlmcFoyK P7X4yl+/RYoFtUZXKi9W4xf2f5Xyy7SPfj2dVslAoapnFxSN9+1/Q+L/R5AkGiBQ9HTL DVTWnTCJcd61LG9oXZlOKFIW4vRLLgoD2kV3Jd0uSIvV4sFopdAhuE+c51TLBwI+U5+2 myCg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 22si4781287ejw.409.2020.04.15.15.37.50; Wed, 15 Apr 2020 15:38:14 -0700 (PDT) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404999AbgDOIgX (ORCPT + 99 others); Wed, 15 Apr 2020 04:36:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2894641AbgDOIgB (ORCPT ); Wed, 15 Apr 2020 04:36:01 -0400 Received: from mo6-p04-ob.smtp.rzone.de (mo6-p04-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5304::3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0832C061A0C; Wed, 15 Apr 2020 01:36:00 -0700 (PDT) X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMhflhwDubTJ9o1OAA2UNf2M7O2CKN9ej" X-RZG-CLASS-ID: mo00 Received: from iMac.fritz.box by smtp.strato.de (RZmta 46.4.0 DYNA|AUTH) with ESMTPSA id 6028a2w3F8ZU0Iy (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Wed, 15 Apr 2020 10:35:30 +0200 (CEST) From: "H. Nikolaus Schaller" To: David Airlie , Daniel Vetter , Rob Herring , Mark Rutland , =?UTF-8?q?Beno=C3=AEt=20Cousson?= , Tony Lindgren , Paul Cercueil , Ralf Baechle , Paul Burton , James Hogan , Kukjin Kim , Krzysztof Kozlowski , Maxime Ripard , Chen-Yu Tsai , Thomas Bogendoerfer Cc: Philipp Rossak , 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, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, "H. Nikolaus Schaller" , Paul Boddie Subject: [PATCH v6 12/12] MIPS: DTS: jz4780: add sgx gpu node Date: Wed, 15 Apr 2020 10:35:19 +0200 Message-Id: <2ee64babb11f79fe4a03b7bad6c94fbbe0ce4b64.1586939718.git.hns@goldelico.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org and add interrupt and clocks. Tested to build for CI20 board and load a driver. Setup can not yet be fully tested since there is no working HDMI driver for jz4780. Suggested-by: Paul Boddie Tested-by: H. Nikolaus Schaller # CI20. 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 bb89653d16a3..883fe2c4c9e1 100644 --- a/arch/mips/boot/dts/ingenic/jz4780.dtsi +++ b/arch/mips/boot/dts/ingenic/jz4780.dtsi @@ -357,6 +357,17 @@ i2c4: i2c@10054000 { status = "disabled"; }; + gpu: gpu@13040000 { + compatible = "ingenic,jz4780-sgx540-130", "img,sgx540-130", "img,sgx540"; + reg = <0x13040000 0x4000>; + + clocks = <&cgu JZ4780_CLK_GPU>; + clock-names = "gpu"; + + interrupt-parent = <&intc>; + interrupts = <63>; + }; + nemc: nemc@13410000 { compatible = "ingenic,jz4780-nemc"; reg = <0x13410000 0x10000>; -- 2.25.1