Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1802011rdb; Mon, 8 Jan 2024 10:35:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IG72yrV/MUpNQLboXGcxR6JUMwp0xmyEQMrezexaW2qj6wMqu1UhE/M9E4C5Qf7MfWHQnzn X-Received: by 2002:a17:903:11d1:b0:1d4:ca93:981a with SMTP id q17-20020a17090311d100b001d4ca93981amr1991516plh.19.1704738951152; Mon, 08 Jan 2024 10:35:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704738951; cv=none; d=google.com; s=arc-20160816; b=Rpm6DYFOnq7rSpVnONwLZT9iI5KL0MXWHCKhnNLuq9oEfXKPspcOzg6TpCFd4yXpWL Em1y0oR09Y7AuvjQsSNS5gJQ2+K8eOv55BEPt+hZTsz7V2vfcdcrHFgTLqN1qS+jW4ag d53BssNXXhHwwAj4JnwtaSXaSRFUA5W+V+PNUwWrx1IWfdA4tmBHXF7BNK9twcQnnC4b 9fjzZQR+n3vr3pKAyu3jjr1vVBM2/PKfcE9LyV/qRnp7hI86q8YEETq9fnYuBxaoS8Yr 1qn2m/CTYM5nHLUR/Ycw3hEOEkFayJxtl82WKVm/lYkTbSltYLFYAW198PPyLNuXOFi+ DSuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=SwS6Hp++rPXPP2EoDuktDgnS3dXRGhf3rRr4kieOuH4=; fh=KxsLCgRx1W60WvlrtjrMBLJnN6MITNW0a37pWS2ejYg=; b=Opj3EECAL1v+rPjGGUJq1c/mjWTi6tghF+AX+7kqH+jYmN4YbOA1Yp9WPqRgGUHY8G J4wAslY3ocOdAfv7lOCnvDj/sX1JkGokq9vXLMaW1yjxDWGrSQAJhjilX8Fw34kBGwEM dhw/t6BRm3OiK6fcz8llF21psits9qOewnX8ayISsCa3TJH70NEwX5eZQ/e4SC2n9Rpo jU8wYnjqGMx/ACN4+bvdLsbHE1AabSS9NqvthmSJL2BLuYfpZoFEfdYLndjtKS3zjr4K aR33cCDlljydjTLt1AOjwtDXnb1TV5/dvGroIAOwaDMMpwl0XFrWthQz4A5fPVXj4RFm Jauw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="cEap/d2q"; spf=pass (google.com: domain of linux-kernel+bounces-19971-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19971-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id q2-20020a170902edc200b001d4b0311cacsi240863plk.234.2024.01.08.10.35.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 10:35:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19971-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="cEap/d2q"; spf=pass (google.com: domain of linux-kernel+bounces-19971-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19971-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id F0AC5281506 for ; Mon, 8 Jan 2024 18:35:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ED3BD56452; Mon, 8 Jan 2024 18:33:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="cEap/d2q" X-Original-To: linux-kernel@vger.kernel.org Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A983955764; Mon, 8 Jan 2024 18:33:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 408IX8TL009957; Mon, 8 Jan 2024 12:33:08 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1704738788; bh=SwS6Hp++rPXPP2EoDuktDgnS3dXRGhf3rRr4kieOuH4=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=cEap/d2q8Plo7zIRvncvMro2U4Ab0nM1cdY73yYh+06JSM6bhj2FCsD62E2eVI9pu 2YkzfSjiYgB8wFhnQcMjjEhnMRfA7iNRhsMfO0E1PHUrOcmXmxlj+zmwZGgQjXjkVC sgYAZoSTToa3bgvac0xviyv5tz2fqP40sxJHvCTc= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 408IX8QU123901 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 8 Jan 2024 12:33:08 -0600 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 8 Jan 2024 12:33:07 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Mon, 8 Jan 2024 12:33:07 -0600 Received: from lelvsmtp5.itg.ti.com ([10.249.40.136]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 408IX3hC051691; Mon, 8 Jan 2024 12:33:06 -0600 From: Andrew Davis To: Frank Binns , Donald Robson , Matt Coster , "H . Nikolaus Schaller" , Adam Ford , Ivaylo Dimitrov , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , =?UTF-8?q?Beno=C3=AEt=20Cousson?= , Tony Lindgren , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Paul Cercueil CC: , , , , , , , Andrew Davis Subject: [PATCH RFC v2 03/11] ARM: dts: omap3: Add device tree entry for SGX GPU Date: Mon, 8 Jan 2024 12:32:54 -0600 Message-ID: <20240108183302.255055-4-afd@ti.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240108183302.255055-1-afd@ti.com> References: <20240108183302.255055-1-afd@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Add SGX GPU device entries to base OMAP3 dtsi files. Signed-off-by: Andrew Davis --- arch/arm/boot/dts/ti/omap/am3517.dtsi | 11 ++++++----- arch/arm/boot/dts/ti/omap/omap34xx.dtsi | 11 ++++++----- arch/arm/boot/dts/ti/omap/omap36xx.dtsi | 9 +++++---- 3 files changed, 17 insertions(+), 14 deletions(-) diff --git a/arch/arm/boot/dts/ti/omap/am3517.dtsi b/arch/arm/boot/dts/ti/omap/am3517.dtsi index 77e58e686fb17..19aad715dff70 100644 --- a/arch/arm/boot/dts/ti/omap/am3517.dtsi +++ b/arch/arm/boot/dts/ti/omap/am3517.dtsi @@ -162,12 +162,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@0 { + compatible = "ti,omap3430-gpu", "img,powervr-sgx530"; + reg = <0x0 0x10000>; /* 64kB */ + interrupts = <21>; + }; }; }; }; diff --git a/arch/arm/boot/dts/ti/omap/omap34xx.dtsi b/arch/arm/boot/dts/ti/omap/omap34xx.dtsi index fc7233ac183a8..acdd0ee34421d 100644 --- a/arch/arm/boot/dts/ti/omap/omap34xx.dtsi +++ b/arch/arm/boot/dts/ti/omap/omap34xx.dtsi @@ -164,12 +164,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@0 { + compatible = "ti,omap3430-gpu", "img,powervr-sgx530"; + reg = <0x0 0x10000>; /* 64kB */ + interrupts = <21>; + }; }; }; diff --git a/arch/arm/boot/dts/ti/omap/omap36xx.dtsi b/arch/arm/boot/dts/ti/omap/omap36xx.dtsi index e6d8070c1bf88..c3d79ecd56e39 100644 --- a/arch/arm/boot/dts/ti/omap/omap36xx.dtsi +++ b/arch/arm/boot/dts/ti/omap/omap36xx.dtsi @@ -211,10 +211,11 @@ sgx_module: target-module@50000000 { #size-cells = <1>; ranges = <0 0x50000000 0x2000000>; - /* - * Closed source PowerVR driver, no child device - * binding or driver in mainline - */ + gpu@0 { + compatible = "ti,omap3630-gpu", "img,powervr-sgx530"; + reg = <0x0 0x2000000>; /* 32MB */ + interrupts = <21>; + }; }; }; -- 2.39.2