From patchwork Tue Jan 9 17:19:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 186476 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp262133dyi; Tue, 9 Jan 2024 09:21:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IFX8KQgTODw3AZABi0WdLPuH6bXyWy2vj1/C31q5W0cK+91/PzjH9p5gKra1w9rTGc9DBR0 X-Received: by 2002:a17:907:96a4:b0:a27:c746:f659 with SMTP id hd36-20020a17090796a400b00a27c746f659mr462601ejc.69.1704820891694; Tue, 09 Jan 2024 09:21:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704820891; cv=none; d=google.com; s=arc-20160816; b=fIE4VK5m6c5VXlWhrMPZ8kO8BUEmY4zgfZdyefIepkOBww9LQOLXyRWjVIPCVkWHiY o34tdv1QVbKGoctJLMrJHhIHlPVIppr8MivFtskQn6IpyNUHw3J0DI6CdMsXK49dmL1G AXnPHvTlRClTG0JgSPbsGfvrUNBNwftU7RUxX7f05DrptfC8AsbBK4pmFjmrY0qZwGYB bygHTlWEKCclq2XkS3BEZ2LLZjUMeDGiNl1ruPNBePEj9CkoG6GfLPAudQc50MTWX8WA LmILTmIAzVs36qaV13zMBt8CPbM0bJaTu49XQ/FRYa9HI4QK/SbT4H8xa939zxiho8fc EWBA== 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=5Dc5yrX/RYOamUu4YKar8oSCRvKGOTf5u1RUJ13WoFU=; fh=ZG1o7912NHLwbBkHH0z+Slv6fuXpoDUZHQaf9q8LDGE=; b=kFJ098xkkZ8pP6kUGix57pTVvbZqlP9PA9BMlMbaIMK9kxQggSssNaeKywlQ3Dmuc3 Tq8gWipf4tGK69gM0AxWpKQnZiLvNOFjZUrfW1Xcfjh+dJ8MwmW0GsZ4Tg2hpPEJW6nt SADSWCE/mn7ds69bfNFw6TWUANZK7u5iP8gXjW6XCc/k8htjbCz9flWyMllCIg43GlgM FBxpcY/NjuLKBmfnQCcHoI0QKNaLFNEABqAC20fuCU2cQfPvW4Fl1yVJjtHh7WtG2NFD IpXe4vUuQkRzconrmhx/J13xHOGRmmemt0OqKO6l/5mG6V5eKE3LdG70fw7RHNQY7NbX mTxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=OZ0TruMO; spf=pass (google.com: domain of linux-kernel+bounces-21158-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21158-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id n26-20020a170906689a00b00a2b281a9bdasi949220ejr.11.2024.01.09.09.21.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 09:21:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-21158-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=OZ0TruMO; spf=pass (google.com: domain of linux-kernel+bounces-21158-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21158-ouuuleilei=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 am.mirrors.kernel.org (Postfix) with ESMTPS id ACF381F258A6 for ; Tue, 9 Jan 2024 17:21:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6AF283C46D; Tue, 9 Jan 2024 17:20:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="OZ0TruMO" Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (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 7101A3A278; Tue, 9 Jan 2024 17:20:28 +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 fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 409HJvU9025990; Tue, 9 Jan 2024 11:19:57 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1704820797; bh=5Dc5yrX/RYOamUu4YKar8oSCRvKGOTf5u1RUJ13WoFU=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=OZ0TruMOC4IbglUhXqqOlbv1ggyRVCTyKxyCjHAQIALSWsFWk+jxJHbuLZXTVH7+o jqqKZ5cnDkRFT3sRmv0MSJbNW9I+Egr667MGCGUoDLGDY1OGZPTFfjmvzfe1KAly2m vkOIdTS9W1FsI/VOji1QpEBmtVxOb7wW7+RumoM4= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 409HJvxe053339 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 9 Jan 2024 11:19:57 -0600 Received: from DFLE105.ent.ti.com (10.64.6.26) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 9 Jan 2024 11:19:57 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE105.ent.ti.com (10.64.6.26) 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; Tue, 9 Jan 2024 11:19:57 -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 409HJouB089645; Tue, 9 Jan 2024 11:19:56 -0600 From: Andrew Davis To: Frank Binns , 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_Cousson?= , Tony Lindgren , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Paul Cercueil CC: , , , , , , , Andrew Davis Subject: [PATCH 06/11] ARM: dts: AM33xx: Add device tree entry for SGX GPU Date: Tue, 9 Jan 2024 11:19:45 -0600 Message-ID: <20240109171950.31010-7-afd@ti.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240109171950.31010-1-afd@ti.com> References: <20240109171950.31010-1-afd@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787634271288992695 X-GMAIL-MSGID: 1787634271288992695 Add SGX GPU device entry to base AM33xx dtsi file. Signed-off-by: Andrew Davis Reviewed-by: Javier Martinez Canillas --- arch/arm/boot/dts/ti/omap/am33xx.dtsi | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/ti/omap/am33xx.dtsi b/arch/arm/boot/dts/ti/omap/am33xx.dtsi index 5b9e01a8aa5d5..989d5a6edeed9 100644 --- a/arch/arm/boot/dts/ti/omap/am33xx.dtsi +++ b/arch/arm/boot/dts/ti/omap/am33xx.dtsi @@ -640,10 +640,11 @@ target-module@56000000 { #size-cells = <1>; ranges = <0 0x56000000 0x1000000>; - /* - * Closed source PowerVR driver, no child device - * binding or driver in mainline - */ + gpu@0 { + compatible = "ti,omap3630-gpu", "img,powervr-sgx530"; + reg = <0x0 0x10000>; /* 64kB */ + interrupts = <37>; + }; }; }; };