Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp635847ybz; Wed, 15 Apr 2020 15:37:48 -0700 (PDT) X-Google-Smtp-Source: APiQypIBhzIFlavj30U+5r3j3YVsaCxe+quE8vdyk5xpefMK57DPTZyx3DXQdyLQy3kEHq0oNk8A X-Received: by 2002:a50:c20a:: with SMTP id n10mr28027734edf.319.1586990268812; Wed, 15 Apr 2020 15:37:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586990268; cv=none; d=google.com; s=arc-20160816; b=P2c1+QNGeJJpqSqnxHQuYYULRrpIpxPKIRj4Bh6VLB+p3yo5CYCaOidQoLvicr7R8Z I0q3LTG9pKAL+NFr5iUsQXaaPx6NbyercHTw5ChW+5bRVufQyo8yT4PJl7m9wftOW3tF 9lf2mKvQj1Rr35Px6ZXpjbR7wk/3dC2ioKrFv9xpAua3bS3IIDZ19Eo4ADRCs3F1iAdh Nq9ENSXWxjJ5uqQgPvt+K9d9NLT6CWBsHWDrvC+Qan9Kh5r3uh8QkkGvZsf8jn2fQsoc fLwna/MtCpuY7b1/Hu2HBCt1FxT1wyGtYgrsG5g2x6p87g72X5uCk1Ir3knzVtssvCwP GAwA== 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=Yq6hgnjHR7Rm0pXOfRm3OsZIBIP2cqxLTjaSlwPQ/iI=; b=zfxyEn2xe8AfS7zb4d1pQGqub2Cr/kU4C2Lu8c1wrO+E/Knx0oCXk7J5qt4JiYNcTX yCcDpDjTQcD9iYm9tGklCMy9Lnb1BFjQO/8aCaV7em8ImnOY5GUY6yheyCQdJA7SdHq5 BscAyo5f8vtfYHCq3upT/e46yNtjGyj2FkUB4+BNTbmW0hbkjUpyUuPIq3wA/htVcN5O cwoHFMtpDQbgThsJDmrfFartmSKdfN5mJbe3F+iKk5LthYVI0OHGIlmKcniFqeEk1e74 THm7CLTQAMGSwcuF27X6Jx7oZxCG18m0URDD03hcd/jwH74Aha0yOT4isqNgrNcUmPcE 9wew== 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 v5si10899325ejh.81.2020.04.15.15.37.26; Wed, 15 Apr 2020 15:37:48 -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 S2408103AbgDOIgI (ORCPT + 99 others); Wed, 15 Apr 2020 04:36:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2894626AbgDOIf4 (ORCPT ); Wed, 15 Apr 2020 04:35:56 -0400 Received: from mo6-p03-ob.smtp.rzone.de (mo6-p03-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5303::5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2F16C061A0C; Wed, 15 Apr 2020 01:35:55 -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 6028a2w3F8ZO0In (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Wed, 15 Apr 2020 10:35:24 +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" , "Andrew F . Davis" Subject: [PATCH v6 04/12] ARM: DTS: omap34xx: add sgx gpu child node Date: Wed, 15 Apr 2020 10:35:11 +0200 Message-Id: <170b0ee4c97f68852b8fc15c92d53e86b566c8a5.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. According to omap3530 TRM the SGX register block is 64kB. See: 13.4 SGX Register Mapping, Table 13-2 Reported-by: Andrew F. Davis # register size Tested-by: H. Nikolaus Schaller # OpenPandora 600 MHz. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap34xx.dtsi | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/omap34xx.dtsi b/arch/arm/boot/dts/omap34xx.dtsi index c4dd9801840d..51c60ee2b68d 100644 --- a/arch/arm/boot/dts/omap34xx.dtsi +++ b/arch/arm/boot/dts/omap34xx.dtsi @@ -167,12 +167,13 @@ sgx_module: target-module@50000000 { clock-names = "fck", "ick"; #address-cells = <1>; #size-cells = <1>; - ranges = <0 0x50000000 0x4000>; + ranges = <0 0x50000000 0x10000>; - /* - * Closed source PowerVR driver, no child device - * binding or driver in mainline - */ + gpu: gpu@0 { + compatible = "ti,omap3-sgx530-121", "img,sgx530-121", "img,sgx530"; + reg = <0x0 0x10000>; /* 64kB */ + interrupts = <21>; + }; }; }; -- 2.25.1