From patchwork Mon Aug 28 21:19:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 9926209 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E386960380 for ; Mon, 28 Aug 2017 21:20:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D6C01287CE for ; Mon, 28 Aug 2017 21:20:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C82FC287DC; Mon, 28 Aug 2017 21:20:25 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 308A7287C8 for ; Mon, 28 Aug 2017 21:20:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751340AbdH1VUM (ORCPT ); Mon, 28 Aug 2017 17:20:12 -0400 Received: from muru.com ([72.249.23.125]:38262 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751336AbdH1VUL (ORCPT ); Mon, 28 Aug 2017 17:20:11 -0400 Received: from sampyla.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id 91FE1826A; Mon, 28 Aug 2017 21:20:30 +0000 (UTC) From: Tony Lindgren To: linux-omap@vger.kernel.org Cc: =?UTF-8?q?Beno=C3=AEt=20Cousson?= , devicetree@vger.kernel.org, Tomi Valkeinen Subject: [PATCH 14/17] ARM: dts: Add missing gpu node and binding for omap4 Date: Mon, 28 Aug 2017 14:19:15 -0700 Message-Id: <20170828211918.11573-15-tony@atomide.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170828211918.11573-1-tony@atomide.com> References: <20170828211918.11573-1-tony@atomide.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On omap4 we're missing the PowerVR SGX GPU node with it's related "ti,hwmods" property that the SoC interconnect code needs. Note that this will only show up as a bug with "doesn't have mpu register target base" boot errors when the legacy platform data is removed. Cc: Tomi Valkeinen Signed-off-by: Tony Lindgren --- .../devicetree/bindings/gpu/ti-powervr-sgx.txt | 34 ++++++++++++++++++++++ arch/arm/boot/dts/omap4.dtsi | 7 +++++ 2 files changed, 41 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpu/ti-powervr-sgx.txt diff --git a/Documentation/devicetree/bindings/gpu/ti-powervr-sgx.txt b/Documentation/devicetree/bindings/gpu/ti-powervr-sgx.txt new file mode 100644 --- /dev/null +++ b/Documentation/devicetree/bindings/gpu/ti-powervr-sgx.txt @@ -0,0 +1,34 @@ +Texas Instruments PowevVR SGX binding + +SGX can be used for graphics acceleration on Texas Instruments SoCs. + +Note that the SGX binding is currently only used by the SoC interconnect +code to idle the module on init and no open source driver is available +for SGX. Please update this documentation if that changes. + +Required properties: + +compatible: Shall be one of the following: + "ti,omap4-gpu" + +reg: Shall contain the device instance IO range + +interrupts: Shall contain the device instance interrupt + + +Optional properties: + +reg-names: Shall contain the IO range names if multiple IO + ranges are used by the SoC + +ti,hwmods: Shall contain the TI interconnect module name if needed + by the SoC + + +Example: + gpu: gpu@56000000 { + compatible = "ti,omap4-gpu"; + reg = <0x56000000 0x10000>; + interrupts = ; + ti,hwmods = "gpu"; + }; diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi --- a/arch/arm/boot/dts/omap4.dtsi +++ b/arch/arm/boot/dts/omap4.dtsi @@ -1086,6 +1086,13 @@ status = "disabled"; }; + gpu: gpu@56000000 { + compatible = "ti,omap4-gpu"; + reg = <0x56000000 0x10000>; + interrupts = ; + ti,hwmods = "gpu"; + }; + dss: dss@58000000 { compatible = "ti,omap4-dss"; reg = <0x58000000 0x80>;