From patchwork Mon Jan 8 18:32:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 186091 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:37c1:b0:101:2151:f287 with SMTP id y1csp1203192dyq; Mon, 8 Jan 2024 10:36:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IHrLe5g/SQCSSQKzCEO+a/mZiMtkTfJB9987Xbx4W4cFAy5kt+DQQB4nzYQxExOr2bgeuGg X-Received: by 2002:a05:6512:1290:b0:50e:a789:dd3b with SMTP id u16-20020a056512129000b0050ea789dd3bmr2047376lfs.1.1704738973664; Mon, 08 Jan 2024 10:36:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704738973; cv=none; d=google.com; s=arc-20160816; b=c4qGHB6ZxcM/nKlAgyw4TkxwXzF+F/9OAOKExkvN8SR8Dq4Wzxu3nr53gkS0qOhBTf RRjEyAg8+Tv9aAdp686rgrXNsfiiJapWyDr4XHBJp6k/bhFGNk9p7OP7bO/Ku9gLLe/Q 03En54QgrmW1mCT0k55RrnybocAqh03nHHcTb4+99VGaQ5un2RGx2pw7Q0c5VA+1hrDI HSTIb8WY1bLlwzo7JeOurBp9WMyd8F+HpFo51cmaUFeeb75q7UfPNsRKqvHvuI0N/PXt bgTSgIrQDt7Rr5D/oWrlrsPyrg73KtYMRMg8/85XsKLVmgSvYrpNGmQO5zCuU/XcvrE2 uH/g== 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=IvOnC4lLIEjNUz1mnrO+cPAxILKA9wZcK1lUrScpP9Q=; fh=KxsLCgRx1W60WvlrtjrMBLJnN6MITNW0a37pWS2ejYg=; b=XuRKFE/8pHw9Tlq2J3fVUCew39T8lNm+fQFFgCp6uOm51L5N3jsiI7I/BvEugNWYGJ BOfKEG/4Sq08Nc8w/fcugLlhkTXF1vcfmz1nUPAdfZFceKn2VSFszgQSeLqV/v7hXBcF VUOyTQ5kEjp6XfXxy0ZLyqdjNOiTnCF8DuBZ5CiSr4jKSo3gCuSjzyVw7W5VGTPPNcin 4Gp7WdFyPQce89Jiixk9pDBcb8Uj91Tp3cS6Y6+8eOJOTY1WqfGsR9QEO0pBmEJ/shcD JNKXcyc3fTgUvSYBMUGa5HIGGM6n3Mx5IzM2Y+dWpVByMYsMXcKTzJ18e3zRyGklhWQT g/yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=MRE+pV3S; spf=pass (google.com: domain of linux-kernel+bounces-19966-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19966-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 jo19-20020a170906f6d300b00a2a13930388si118772ejb.624.2024.01.08.10.36.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 10:36:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19966-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=MRE+pV3S; spf=pass (google.com: domain of linux-kernel+bounces-19966-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19966-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 437851F224BB for ; Mon, 8 Jan 2024 18:36:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D246955C33; Mon, 8 Jan 2024 18:33:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="MRE+pV3S" 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 B8F4355786; Mon, 8 Jan 2024 18:33:51 +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 fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 408IX8A9009981; 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=IvOnC4lLIEjNUz1mnrO+cPAxILKA9wZcK1lUrScpP9Q=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=MRE+pV3SgTB/edyNUqBzfYck8AeafJwgJVY+aAOHf1SzZ1P2CP7RbJXp3MyGsb4Ez ssQSICwiAFsY/R9m9zx+O5n/1Lcf7isVTX3yXODL6/ShF4dbFm/Z4eBQwiWmvXzAqd STyI67BJFboosy6L4XI40FgkK5RAVdCJfUZM3zL4= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 408IX88X061373 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 8 Jan 2024 12:33:08 -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; Mon, 8 Jan 2024 12:33:08 -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; Mon, 8 Jan 2024 12:33:08 -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 408IX3hD051691; Mon, 8 Jan 2024 12:33:07 -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 v2 04/11] ARM: dts: omap4: Add device tree entry for SGX GPU Date: Mon, 8 Jan 2024 12:32:55 -0600 Message-ID: <20240108183302.255055-5-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 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787548373617683806 X-GMAIL-MSGID: 1787548373617683806 Add SGX GPU device entry to base OMAP4 dtsi file. Signed-off-by: Andrew Davis Reviewed-by: Javier Martinez Canillas --- 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 = ; + }; }; /*