From patchwork Mon Dec 4 18:22:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 173504 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp2950442vqy; Mon, 4 Dec 2023 10:24:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IFAQ9F5bv9ojxI/GdmT/tuPybmlCGZRkKXXM6X+ODSC6TEnNb5TquVnAsJue+d9S0NNBkuf X-Received: by 2002:a92:d94c:0:b0:35d:59a2:bc3 with SMTP id l12-20020a92d94c000000b0035d59a20bc3mr2326177ilq.89.1701714243922; Mon, 04 Dec 2023 10:24:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701714243; cv=none; d=google.com; s=arc-20160816; b=e0JJ8rUHroR9q/uX9IIy2/zRNzL6g29oYe2y19L+ip0VTwZZDWpOuOqQ1DiM7R+a9C RwnURvDDR7gEAD5dq21lpONX2SHIPpxwDwFa8ZMtIyc1PWV2PP6OmP/UXZ9yruK3OCRk vMGp6VStczllmH/bVlNjjE4A/eneXD2CiYCAvbPzgEJl7me5To8E1l7dJ792DcxIz7CN WbO42ExDg4wyeBJvvahgdIVRvM2J1aqk7k7kEKPItcn8myCzPpcPOSu9aFvLonNVjI+/ /oJUB/AISuxZ9GlOfui6H1CgQDjje8DInKGQeBo0IMbmXwo/QBVxpickghpE5ZgdFrva lr8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=IvOnC4lLIEjNUz1mnrO+cPAxILKA9wZcK1lUrScpP9Q=; fh=KxsLCgRx1W60WvlrtjrMBLJnN6MITNW0a37pWS2ejYg=; b=EdtSBxPJFJS96w6whXpYj/bmUF1MobldFtgwMNkxuZ2A4Ia3mg+IuR5/11H99G5Z5e BDcLLcX0L7JFQq0gzeSSWtZNPPJqpGIi+bc+Xiqa/X8u4Osm3954UnFE8v2C8Lq6RCf9 cssjw+h98RZICpbjkQShcSIoz/GJ0HyCwWM1yi/R2Er/gxZ8yCMpCCXy8jNCqecDP9/b Iqe73rEMamauj+MtlJoMpB9qjxjKu8mq2caHS7duvw1MgVkMWmT+dIxN8NHK743bBN8Q DZOqMH15CvHN9XnVlWmAJI9Vw9oAoM1lad9FkBu2jbHoyrZH5WKFwfWk7hzbRfizbNqx Queg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=kuzzg6SR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id c3-20020a656743000000b005c621f72807si8310368pgu.593.2023.12.04.10.24.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 10:24:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=kuzzg6SR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id B19AC8057DB3; Mon, 4 Dec 2023 10:23:58 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233408AbjLDSXn (ORCPT + 99 others); Mon, 4 Dec 2023 13:23:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232992AbjLDSXk (ORCPT ); Mon, 4 Dec 2023 13:23:40 -0500 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 078F6109; Mon, 4 Dec 2023 10:23:44 -0800 (PST) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3B4IMpnW034876; Mon, 4 Dec 2023 12:22:51 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1701714171; bh=IvOnC4lLIEjNUz1mnrO+cPAxILKA9wZcK1lUrScpP9Q=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=kuzzg6SRkz1UCOEKwT1t8RTCkD03+x5RlxYjBylkT8naXoc8LUm+BymNl30IcW4RO LUMC5Thos8x3m/PzR5ywFElG7SBliQW/u/0Y3TgkmVKFFGvvg+XN3Pxr+xitmapvZv KyZQO7pSsFepfmGfxLLex+cR+i2/OKyKV+sgebQQ= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3B4IMpc4083407 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 4 Dec 2023 12:22:51 -0600 Received: from DFLE110.ent.ti.com (10.64.6.31) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 4 Dec 2023 12:22:50 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE110.ent.ti.com (10.64.6.31) 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, 4 Dec 2023 12:22:51 -0600 Received: from fllv0039.itg.ti.com (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3B4IMkx6042313; Mon, 4 Dec 2023 12:22:50 -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_Cousson?= , Tony Lindgren , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Paul Cercueil CC: , , , , , , , Andrew Davis Subject: [PATCH RFC 03/10] ARM: dts: omap4: Add device tree entry for SGX GPU Date: Mon, 4 Dec 2023 12:22:38 -0600 Message-ID: <20231204182245.33683-4-afd@ti.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231204182245.33683-1-afd@ti.com> References: <20231204182245.33683-1-afd@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 04 Dec 2023 10:23:58 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784376714765996616 X-GMAIL-MSGID: 1784376714765996616 Add SGX GPU device entry to base OMAP4 dtsi file. Signed-off-by: Andrew Davis --- arch/arm/boot/dts/ti/omap/omap4.dtsi | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/ti/omap/omap4.dtsi b/arch/arm/boot/dts/ti/omap/omap4.dtsi index 2bbff9032be3e..559b2bfe4ca7c 100644 --- a/arch/arm/boot/dts/ti/omap/omap4.dtsi +++ b/arch/arm/boot/dts/ti/omap/omap4.dtsi @@ -501,10 +501,11 @@ sgx_module: target-module@56000000 { #size-cells = <1>; ranges = <0 0x56000000 0x2000000>; - /* - * Closed source PowerVR driver, no child device - * binding or driver in mainline - */ + gpu@0 { + compatible = "ti,omap4430-gpu", "img,powervr-sgx540"; + reg = <0x0 0x2000000>; /* 32MB */ + interrupts = ; + }; }; /*