From patchwork Tue Jan 9 17:19:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 186484 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp267933dyi; Tue, 9 Jan 2024 09:31:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IEM42f15kaxmThIs3lg+NvVGTX9SDmOmWIaQsDtci73fWJ7hEi+hHBBy96KfxC7inA0r7kp X-Received: by 2002:a05:6e02:b4a:b0:35f:c959:6404 with SMTP id f10-20020a056e020b4a00b0035fc9596404mr7899265ilu.113.1704821490758; Tue, 09 Jan 2024 09:31:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704821490; cv=none; d=google.com; s=arc-20160816; b=K7C6cb7hOUNawu9FdUhXjKMWQm854WBzJL6HQg75QXVZNtjD9P+7hyLmoc1KSRywdP HvEQ00v2+cw9c0Y+Kdw8emvGOlnWH7KX+g7lv4tw/TB4WoJ2Eu2zkBQMq75iVnqFuvpw vM/2K6umnHNlK9bnmxCP2e9qOEIawzaEhClkPN9iQ1CqATPpLePW/4aPVMju8brJD4Sm +NcOCyYSTKx/7TlG2M6ci7oydy08SBdra+hzcOCna8f+/KmJgasOdVITa0M8JWlZT8/N C8VLxcMC8v9GwWbtONBkv4GwT/6W21+AGkxXYkWQz9bVa/jYj0cpxxxUVudP0QHQ1K5l q1AQ== 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=epFNXejMFGFMpNlRz8xyTT1KBYbxImqO/bjKUiAjdE0=; fh=ZG1o7912NHLwbBkHH0z+Slv6fuXpoDUZHQaf9q8LDGE=; b=qtg6eyR0IybmxJ4poN/EKrfIk2UrWItqXJzXWx3RrpoHlrIFw1MD2aSzmUT8nQvFGz 2ENHQe7kBDEf0Nz1N36GA0hMB83JcTfJ1c9TxnF+864YfjUlucSvqE2oN3z/V16yJfxe SlLOLCndbqCFpny1iJiFasL8hza2Q5U1dCpyxdOHoRsagrd9DtBMfMkO9Nr3H9ejrfHL A4QxvVe6tT0ARhRspU28xiQ6B/ooC46EceuFC6iUO3DIT01igV0UXGmiqIMMDucFJIov ++HO+RFNlNfqeQ13bU9I17KSR7sSVLaEOnlkx+LoYHKlAjfG3OJqurI9eSyh1DgFbbAu 0HRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=n3pIoV3P; spf=pass (google.com: domain of linux-kernel+bounces-21162-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21162-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id g24-20020a633758000000b005ce12225e6bsi1740013pgn.210.2024.01.09.09.31.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 09:31:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-21162-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=n3pIoV3P; spf=pass (google.com: domain of linux-kernel+bounces-21162-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21162-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 3F76028227E for ; Tue, 9 Jan 2024 17:31:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 42F0A3D397; Tue, 9 Jan 2024 17:20:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="n3pIoV3P" 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 297A23AC25; Tue, 9 Jan 2024 17:20:39 +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 409HJrKq123263; Tue, 9 Jan 2024 11:19:53 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1704820793; bh=epFNXejMFGFMpNlRz8xyTT1KBYbxImqO/bjKUiAjdE0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=n3pIoV3PWgN7Xoj4xyq1OqcOfErt7tB1Zm+7YLRJF+RuH9O92swROIPgs4JVirbK5 ndy+2lBkrRucOJ3aAJSPqiWEU2PMbnJ67eHOOzr54QCwFLM1H6o9neFqpa9v1MKu3t VK7z4pV9SbPINi4uQzzOB4Ifv+2ywzvSwyWtLbbc= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 409HJrP8127656 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 9 Jan 2024 11:19:53 -0600 Received: from DFLE110.ent.ti.com (10.64.6.31) by DFLE113.ent.ti.com (10.64.6.34) 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:52 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) 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; Tue, 9 Jan 2024 11:19:52 -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 409HJou6089645; Tue, 9 Jan 2024 11:19:52 -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 01/11] dt-bindings: gpu: Rename img,powervr to img,powervr-rogue Date: Tue, 9 Jan 2024 11:19:40 -0600 Message-ID: <20240109171950.31010-2-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: 1787634899937654215 X-GMAIL-MSGID: 1787634899937654215 This binding will be used for GPUs starting from Series6 (Rogue) and later. A different binding document will describe Series5. With that the name "img,powervr" is too generic, rename to "img,powervr-rogue" to avoid confusion. Suggested-by: Maxime Ripard Signed-off-by: Andrew Davis Reviewed-by: Javier Martinez Canillas Reviewed-by: Frank Binns Acked-by: Krzysztof Kozlowski --- .../bindings/gpu/{img,powervr.yaml => img,powervr-rogue.yaml} | 4 ++-- MAINTAINERS | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename Documentation/devicetree/bindings/gpu/{img,powervr.yaml => img,powervr-rogue.yaml} (91%) diff --git a/Documentation/devicetree/bindings/gpu/img,powervr.yaml b/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml similarity index 91% rename from Documentation/devicetree/bindings/gpu/img,powervr.yaml rename to Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml index a13298f1a1827..256e252f8087f 100644 --- a/Documentation/devicetree/bindings/gpu/img,powervr.yaml +++ b/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml @@ -2,10 +2,10 @@ # Copyright (c) 2023 Imagination Technologies Ltd. %YAML 1.2 --- -$id: http://devicetree.org/schemas/gpu/img,powervr.yaml# +$id: http://devicetree.org/schemas/gpu/img,powervr-rogue.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: Imagination Technologies PowerVR and IMG GPU +title: Imagination Technologies PowerVR and IMG Rogue GPUs maintainers: - Frank Binns diff --git a/MAINTAINERS b/MAINTAINERS index bcacd665f2594..2a4e8d2c69c40 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -10468,7 +10468,7 @@ M: Donald Robson M: Matt Coster S: Supported T: git git://anongit.freedesktop.org/drm/drm-misc -F: Documentation/devicetree/bindings/gpu/img,powervr.yaml +F: Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml F: Documentation/gpu/imagination/ F: drivers/gpu/drm/imagination/ F: include/uapi/drm/pvr_drm.h From patchwork Tue Jan 9 17:19:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 186480 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp263069dyi; Tue, 9 Jan 2024 09:23:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IGN3qE8seL8a2APJ6lEnie4Ul44XDFuOIF11bmCY6ZFTvgynQBQTNKI38jBRa6D+7oMePyC X-Received: by 2002:a05:620a:379f:b0:783:668:a7b9 with SMTP id pi31-20020a05620a379f00b007830668a7b9mr5145954qkn.85.1704820985146; Tue, 09 Jan 2024 09:23:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704820985; cv=none; d=google.com; s=arc-20160816; b=U8UaQb0uXKrcgk7ud5F6vCBPJjTUMEhqkiDRn9TRCmsegDcbhdC5UyqA+xSwi2XZgI 4EQYzbqx0ci+MQyDbNCY0j2TjDcU7/yl95nEpFClY2kild1SRE2CwmKAh5YP+M3FqMBY mvveMuxDS0sWPr1CydJuAZZBtdOmgipt/c8/+u7Pg1AzEhCJINP86LSHptYb8LL77iCE lEl3G8tWONGHsr07VeOvoOFrSmCAJVnFgc3npmzmDzhlr3b5vNBHABoXxVDeFNemx6HH uEC6s5h0XCj/Y/BQfnmU7kzwzXknKyX922nwKEMFtsr+pJQXCseR+mvVsyNIui+otU4C czpA== 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=MwhXB5AAcwcHljcmVOvGDmkg49EqeHrTbgpd/8jnQ/Q=; fh=ZG1o7912NHLwbBkHH0z+Slv6fuXpoDUZHQaf9q8LDGE=; b=chZzKRraqxS+76/4U83LmbBjGfpvdVdFumWCb/TBzU+99ljqSRnnEvcqpcX1TNu68J uVajnADF5SZwi8RFl3xnk9DkAXq9TYgLBGHTYin8J+CX4vqa3N2R70QPMEIMmxAYa9gr kH300m9BkZdZUkcctdvCXu++HlGlXkOIBO8oBDaWik0wUe0cZhKHaK1GvZwVe3JEzjyo b4o4mLlmQNzucWc8vAwQY7WBip5zhBqepGeo+JDR0GHILyVqnMFoVg+4NfMf0o2+bJph 5jBzQBji1o4Me8SaIjc1P5dr13sp4km2JIHyy4LkTfos/iHMZcKiePpHgg6oLGCxjSIg jtaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=xuTfFy+l; spf=pass (google.com: domain of linux-kernel+bounces-21166-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21166-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id j9-20020a05620a288900b0076d81c85ecesi2489090qkp.723.2024.01.09.09.23.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 09:23:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-21166-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=xuTfFy+l; spf=pass (google.com: domain of linux-kernel+bounces-21166-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21166-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id DC0AC1C24627 for ; Tue, 9 Jan 2024 17:23:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9212E3D57C; Tue, 9 Jan 2024 17:20:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="xuTfFy+l" 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 08DFF3C6A6; Tue, 9 Jan 2024 17:20:41 +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 lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 409HJsYV123283; Tue, 9 Jan 2024 11:19:54 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1704820794; bh=MwhXB5AAcwcHljcmVOvGDmkg49EqeHrTbgpd/8jnQ/Q=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=xuTfFy+lry3X32ECoXzFAcyBvBmpr+Bm+NRm78BdO7QILAzUJZBhCk1M/n1ZpH0OB 0uXeOXE3rI87atkSG3g87zS7ri7RHIiYs91SVZpFg+bOC6LFyg/zSWc8yAAKGDNyMf W6LzMPF6fcFed9N4XS3/Ey9jUCO0Vyts51ohShM4= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 409HJsEo021620 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 9 Jan 2024 11:19:54 -0600 Received: from DLEE113.ent.ti.com (157.170.170.24) 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; Tue, 9 Jan 2024 11:19:53 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE113.ent.ti.com (157.170.170.24) 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:53 -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 409HJou7089645; Tue, 9 Jan 2024 11:19:52 -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 02/11] dt-bindings: gpu: Add PowerVR Series5 SGX GPUs Date: Tue, 9 Jan 2024 11:19:41 -0600 Message-ID: <20240109171950.31010-3-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: 1787634369261536895 X-GMAIL-MSGID: 1787634369261536895 The Imagination PowerVR Series5 "SGX" GPU is part of several SoCs from multiple vendors. Describe how the SGX GPU is integrated in these SoC, including register space and interrupts. Clocks, reset, and power domain information is SoC specific. Signed-off-by: Andrew Davis Reviewed-by: Javier Martinez Canillas Reviewed-by: Krzysztof Kozlowski --- .../bindings/gpu/img,powervr-sgx.yaml | 138 ++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 139 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpu/img,powervr-sgx.yaml diff --git a/Documentation/devicetree/bindings/gpu/img,powervr-sgx.yaml b/Documentation/devicetree/bindings/gpu/img,powervr-sgx.yaml new file mode 100644 index 0000000000000..f5898b04381cb --- /dev/null +++ b/Documentation/devicetree/bindings/gpu/img,powervr-sgx.yaml @@ -0,0 +1,138 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (c) 2023 Imagination Technologies Ltd. +# Copyright (C) 2024 Texas Instruments Incorporated - https://www.ti.com/ +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpu/img,powervr-sgx.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Imagination Technologies PowerVR SGX GPUs + +maintainers: + - Frank Binns + +properties: + compatible: + oneOf: + - items: + - enum: + - ti,omap3430-gpu # Rev 121 + - ti,omap3630-gpu # Rev 125 + - const: img,powervr-sgx530 + - items: + - enum: + - ingenic,jz4780-gpu # Rev 130 + - ti,omap4430-gpu # Rev 120 + - const: img,powervr-sgx540 + - items: + - enum: + - allwinner,sun6i-a31-gpu # MP2 Rev 115 + - ti,omap4470-gpu # MP1 Rev 112 + - ti,omap5432-gpu # MP2 Rev 105 + - ti,am5728-gpu # MP2 Rev 116 + - ti,am6548-gpu # MP1 Rev 117 + - const: img,powervr-sgx544 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + minItems: 1 + maxItems: 3 + + clock-names: + minItems: 1 + items: + - const: core + - const: mem + - const: sys + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +allOf: + - if: + properties: + compatible: + contains: + const: ti,am6548-gpu + then: + required: + - power-domains + else: + properties: + power-domains: false + - if: + properties: + compatible: + contains: + enum: + - allwinner,sun6i-a31-gpu + - ingenic,jz4780-gpu + then: + required: + - clocks + - clock-names + else: + properties: + clocks: false + clock-names: false + - if: + properties: + compatible: + contains: + const: allwinner,sun6i-a31-gpu + then: + properties: + clocks: + minItems: 2 + maxItems: 2 + clock-names: + minItems: 2 + maxItems: 2 + - if: + properties: + compatible: + contains: + const: ingenic,jz4780-gpu + then: + properties: + clocks: + maxItems: 1 + clock-names: + maxItems: 1 + +additionalProperties: false + +examples: + - | + #include + #include + #include + + gpu@7000000 { + compatible = "ti,am6548-gpu", "img,powervr-sgx544"; + reg = <0x7000000 0x10000>; + interrupts = ; + power-domains = <&k3_pds 65 TI_SCI_PD_EXCLUSIVE>; + }; + + - | + #include + #include + + gpu: gpu@1c40000 { + compatible = "allwinner,sun6i-a31-gpu", "img,powervr-sgx544"; + reg = <0x01c40000 0x10000>; + interrupts = ; + clocks = <&ccu 1>, <&ccu 2>; + clock-names = "core", "mem"; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 2a4e8d2c69c40..b8b3aab5dd490 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -10469,6 +10469,7 @@ M: Matt Coster S: Supported T: git git://anongit.freedesktop.org/drm/drm-misc F: Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml +F: Documentation/devicetree/bindings/gpu/img,powervr-sgx.yaml F: Documentation/gpu/imagination/ F: drivers/gpu/drm/imagination/ F: include/uapi/drm/pvr_drm.h From patchwork Tue Jan 9 17:19:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 186475 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp262087dyi; Tue, 9 Jan 2024 09:21:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IF9J7wvY0rEwA3LS5zhfhuqtttHvsS09aFa6UjI4c4naw2EEdltjMW7RPY44HsE6co5Gh7D X-Received: by 2002:a05:6871:614:b0:203:ca67:a5e2 with SMTP id w20-20020a056871061400b00203ca67a5e2mr5029082oan.89.1704820887638; Tue, 09 Jan 2024 09:21:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704820887; cv=none; d=google.com; s=arc-20160816; b=vFzD1F1rvqnNUAAf4/NTeGzUnxK2Dwm8Cdkk8G1cNCU9TkkXDKRet7/7IAyvv6i03R YRd9tKfnPE8v9SaIBWkqmF83f8QbZ3Cn0ajTPnMK3VO4s0L89lnnIyIMBAkTSxEhujIW J92QAWoWIJAWWJ96KCpRgte8jKUJGGJz6PvdcKQ3rpNI1ijkN3YkpPJt+6C8uSZc1pAa 2OIw27fdr1QRe9nddxC39BYTBRDN+owQ9d9m0PMEjpSj+V22xos+mmIdWwW+m61tuvX3 ekO5HhaR25xKx67sAY1FKvv5w3Vc0UE/tqbE0ytt2s2oYgSwq4ohBqab+vBoSZff2ZHe snuw== 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=w2PB4QobwSiLp9szgtnPOF2ZH+GGBmyRNVSuVnT/JME=; fh=ZG1o7912NHLwbBkHH0z+Slv6fuXpoDUZHQaf9q8LDGE=; b=wPRu7sbdAJFw+N6jUEJQtXQoTckQdgn5h1wyCKd4Z5/cmOYq7wmQNx0b6fpkZC5RVP DS77r0TLHFSbP3YqPhjVRO07d/ZI0c2aFILbOGRikf9HIgHJ1k0xcdGSX1fhCxWEHEzN 8POQbxCAxmu4r9dtAr+DK+HcmHyIDSRUzhjIrRGbqNcKFOvkNm6PUcY5xaLPHmNjMhQD JARVs163s0XOvN/wIvG1VJF/WvqKRUk531Ef7tRxrmnxYbPCqpy94Z+GRDH0K41uaYQ6 t1cxNy/CqQhyic72spi1cGMwuIdajv17bH/kob55b0Ufyf+GIkdyU+l6n7pmXQhlk11x n9wA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=cBi+P+nv; spf=pass (google.com: domain of linux-kernel+bounces-21160-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21160-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id i3-20020a05620a0a0300b00781afb6db4esi2397424qka.190.2024.01.09.09.21.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 09:21:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-21160-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=cBi+P+nv; spf=pass (google.com: domain of linux-kernel+bounces-21160-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21160-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 6A9971C243DA for ; Tue, 9 Jan 2024 17:21:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ECF593C47E; 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="cBi+P+nv" 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 DE1E33B287; 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 409HJtTH025983; Tue, 9 Jan 2024 11:19:55 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1704820795; bh=w2PB4QobwSiLp9szgtnPOF2ZH+GGBmyRNVSuVnT/JME=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=cBi+P+nvk2CO++KzlK8/+V2CBgqne4LuBWmSLJm3KUu+Bb1OgEDTtZt2EOdgPm01O bCVxfqvLNxKSDwyK5W/mNI6BDcwNlbW6qkbMD2kzfWW4XuG9i2g18mDy8cPaziiFf4 yoCX7wxyEXb4S5iDlJVdeaXmjh892wdES6x3DbIY= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 409HJtsR053325 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 9 Jan 2024 11:19:55 -0600 Received: from DFLE106.ent.ti.com (10.64.6.27) by DFLE100.ent.ti.com (10.64.6.21) 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:54 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE106.ent.ti.com (10.64.6.27) 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:54 -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 409HJou8089645; Tue, 9 Jan 2024 11:19:53 -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 03/11] ARM: dts: omap3: Add device tree entry for SGX GPU Date: Tue, 9 Jan 2024 11:19:42 -0600 Message-ID: <20240109171950.31010-4-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: 1787634267441079760 X-GMAIL-MSGID: 1787634267441079760 Add SGX GPU device entries to base OMAP3 dtsi files. Signed-off-by: Andrew Davis Reviewed-by: Javier Martinez Canillas --- 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>; + }; }; }; From patchwork Tue Jan 9 17:19:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 186478 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp262624dyi; Tue, 9 Jan 2024 09:22:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IGzp8fVDQhvl2On7+2HpORLnf1XRfVoE1KR0WDehspFdnePR/Y2eobG/4+1kK3n9v6X9SXk X-Received: by 2002:a05:6214:acd:b0:681:1d6:b17a with SMTP id g13-20020a0562140acd00b0068101d6b17amr4869376qvi.42.1704820936499; Tue, 09 Jan 2024 09:22:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704820936; cv=none; d=google.com; s=arc-20160816; b=N8x6M2GZO3tjcR4moRI2GnZxtKMcjMvyifXlFUnCRvNW19gGz+ppNqv3UocHQyVlRN ndKcqndHpTYH9q4MiG1sbS529u8ohL5AEjI3AEBUAdJQWhrNKmkyy02njrfSyH0goA8D I59e8hgMc/QLKsyo0xpm8UyILsWlmjJPEhQDtfSnoluArQHcoQrdxHBWOMWB1W8HZfUk cwc0CvzYGp+Wa5M24DRUwxcvOU+/BhyWsQK8SbK9E3eSKhyKJrtPI5ikk9SRBSZeRJ1O spQ+4/A/SFcieFyaYwJZKJDE9gyQYJ1KwQIgGldDAkEbkqbSJdkpBVaAs8bZYwuXns// eyNA== 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=Y34tWMRWALESKgjpdnNRwm6x88Gm+MZVGaqVtyQF1KI=; fh=ZG1o7912NHLwbBkHH0z+Slv6fuXpoDUZHQaf9q8LDGE=; b=v46uLxRw38DFwlIvjEqmRzd9K9Rz32AG8m0ogG9o6Pe6x+CtHsfjS7puDe/+jit9pg 0XjyPwRwOhvXkqNK2AZDwUOeywyTSIdebsrnTWsUiK+sAT+36oyUnxiFRYpm2Q3vjjMW DSWRYaPN5GAgHIyg+Xx2klsKVmt7UR8rehERVgeN2qbC2G75uyd0/F7X2QS5Z9M9Lxzs RTyEs0ZBem/eDi/rFVEVGyUr+SdJZPUE+Q2H9MpRZdNRMOcZMADdSv0nHwVmKDYQg5mb ZSx0sJrmhJ+BWlvHb6ggf5cd3394wVx2BihCNvi3qj04fxlCNMtVofKz5ciN0Irr0HDC MhfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=DZtdN7je; spf=pass (google.com: domain of linux-kernel+bounces-21161-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21161-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id c18-20020a0ce152000000b0067a56b2ec60si2804085qvl.168.2024.01.09.09.22.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 09:22:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-21161-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=DZtdN7je; spf=pass (google.com: domain of linux-kernel+bounces-21161-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21161-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 4B09A1C247ED for ; Tue, 9 Jan 2024 17:22:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2F73F3D392; Tue, 9 Jan 2024 17:20:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="DZtdN7je" 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 2CF673B287; Tue, 9 Jan 2024 17:20:38 +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 lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 409HJtXb123302; Tue, 9 Jan 2024 11:19:55 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1704820795; bh=Y34tWMRWALESKgjpdnNRwm6x88Gm+MZVGaqVtyQF1KI=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=DZtdN7je67yS0kAtznkutv+hO/HcEc1m+tbfPM29hqPdl6FAgwmSQVaZYpthvgBIk jY/Yku82sgC1xcN4LVIC9xIheQt8UP9B1uOJL3ALEQBcTl4gLlD5twWrt9kLuVRaEO wUsRxgHaAbkAMTWbmhSSUalxWMIKfIf/8v9qpYNk= Received: from DFLE107.ent.ti.com (dfle107.ent.ti.com [10.64.6.28]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 409HJtIw021632 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 9 Jan 2024 11:19:55 -0600 Received: from DFLE110.ent.ti.com (10.64.6.31) by DFLE107.ent.ti.com (10.64.6.28) 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:55 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) 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; Tue, 9 Jan 2024 11:19:55 -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 409HJou9089645; Tue, 9 Jan 2024 11:19:54 -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 04/11] ARM: dts: omap4: Add device tree entry for SGX GPU Date: Tue, 9 Jan 2024 11:19:43 -0600 Message-ID: <20240109171950.31010-5-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: 1787634318427723682 X-GMAIL-MSGID: 1787634318427723682 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 = ; + }; }; /* From patchwork Tue Jan 9 17:19:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 186481 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp263114dyi; Tue, 9 Jan 2024 09:23:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IE2mguJyetm4Gjp/i6ovtBC5kX6SdSKEn9Q1YvdeqONhEVZwBIthLb///Uc6WTjBAjcEYVb X-Received: by 2002:a17:90a:f2d4:b0:28c:c39e:ac8 with SMTP id gt20-20020a17090af2d400b0028cc39e0ac8mr2480089pjb.75.1704820990319; Tue, 09 Jan 2024 09:23:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704820990; cv=none; d=google.com; s=arc-20160816; b=aM3n2X3oUOudayP+uClbw5EMaLrO5CBI4OSGxn0vG7Xb57lRQle2BFDYh1TrlA04Kf 6HKnq/7iFkc1Bd6PCROxURYF9ILt23n4itc/PSG0Un3hQyk947Zn4ZaX401ljnUNYgVM dBfzQdXgF/9hOnGGCeAOtbSoX8AflPZFbyp5WB9hUeHFHpVo47axPjcj9Uh1w3lJqkSe eszX2I0RCNNZxKhpSd6hKROn4kVY+PdkDvX7zW/iitZzWVFDa4CBb9eApXkXRvbZ8U9Z xnwr9kWqzyaUGW05X9eA6HT1WCRvsJZKnYJNhdJPoW3XuGBpum3VzyG4c7hMmKJgVk8u JBPw== 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=Bis8FeU6lnRQjDDfbUohAYBnwCKbBUlkXv3C00ixbKM=; fh=ZG1o7912NHLwbBkHH0z+Slv6fuXpoDUZHQaf9q8LDGE=; b=TnmvKxOYrYRMQ5ZlcDOAJGr8fm2gO4m+1WgsHKi5XVWIP3uO3Hg6H9ErdjGx8Si7YT tCTavqvIqjk34eVUn/Yc4p3p7UMTqMB4EM3Y9jbdxMFEVj7c2cJVZlrSRHGQpVobzhuI bH7ZrRIdiLFEzLSCW5iNw9cGXtpQC3dS/nBl0KA2TD9D+xeQoJq+LJ/WHyyk0BhennMU Y6F0lD1KrPMNsOXg7qZwKkdg38qhbMtnnUlJ9KXN5OYyeEd5CbYDkqpCFy3h5h31NGig KMMJ6q59s8nfuoVYgq1ANcfmd99vHFamnXqmY50HEBEwf0MwxXlBkv2WAxmfk5B1VDlG 8DtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=HvTe33pt; spf=pass (google.com: domain of linux-kernel+bounces-21165-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21165-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id s3-20020a17090b070300b0028ce0a2347asi1838545pjz.173.2024.01.09.09.23.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 09:23:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-21165-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=HvTe33pt; spf=pass (google.com: domain of linux-kernel+bounces-21165-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21165-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 599B4288D00 for ; Tue, 9 Jan 2024 17:22:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0D0F73D3A1; Tue, 9 Jan 2024 17:20:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="HvTe33pt" 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 379D93B290; Tue, 9 Jan 2024 17:20:40 +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 lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 409HJua0123312; Tue, 9 Jan 2024 11:19:56 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1704820796; bh=Bis8FeU6lnRQjDDfbUohAYBnwCKbBUlkXv3C00ixbKM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=HvTe33ptPEN/HW+OeiKfTXV4mAFh2iTn1bjWny7dYK2e9CLi7N9S6EK45dx6XomeN Oyb/6s0E/IG/9Z7fdtN83//GJjq6RA9xxu6EUiuL4mgto1lg9k+orchaiFtLjSSnmZ w2TzH2+1qaK2lJhrsLk82YPgM5+rh0Ca7D0dI+Is= Received: from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 409HJubf021645 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 9 Jan 2024 11:19:56 -0600 Received: from DFLE107.ent.ti.com (10.64.6.28) by DFLE104.ent.ti.com (10.64.6.25) 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:56 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE107.ent.ti.com (10.64.6.28) 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:56 -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 409HJouA089645; Tue, 9 Jan 2024 11:19:55 -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 05/11] ARM: dts: omap5: Add device tree entry for SGX GPU Date: Tue, 9 Jan 2024 11:19:44 -0600 Message-ID: <20240109171950.31010-6-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: 1787634374793108197 X-GMAIL-MSGID: 1787634374793108197 Add SGX GPU device entry to base OMAP5 dtsi file. Signed-off-by: Andrew Davis Reviewed-by: Javier Martinez Canillas --- arch/arm/boot/dts/ti/omap/omap5.dtsi | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/ti/omap/omap5.dtsi b/arch/arm/boot/dts/ti/omap/omap5.dtsi index bac6fa8387936..6a66214ad0e2f 100644 --- a/arch/arm/boot/dts/ti/omap/omap5.dtsi +++ b/arch/arm/boot/dts/ti/omap/omap5.dtsi @@ -453,10 +453,11 @@ 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,omap5432-gpu", "img,powervr-sgx544"; + reg = <0x0 0x2000000>; /* 32MB */ + interrupts = ; + }; }; target-module@58000000 { 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>; + }; }; }; }; From patchwork Tue Jan 9 17:19:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 186474 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp261932dyi; Tue, 9 Jan 2024 09:21:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IGf6Acxic86qAFpW3qXdST4vbbNGesM7vY7KUKW7co3p8PkTMtZWUss2TQEiYisKCa+CQsG X-Received: by 2002:a05:620a:2415:b0:781:5b96:537f with SMTP id d21-20020a05620a241500b007815b96537fmr7694517qkn.114.1704820870294; Tue, 09 Jan 2024 09:21:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704820870; cv=none; d=google.com; s=arc-20160816; b=yriuewQMHsTxw1p3N9XxR0o4ncbUmkMdD/ZahfzixpBRmP6qXALwAWLVl/5bbE8XGI F5FEQXegmhYCvawlJTEY2rtDHbIR6JkXtKvjUxGg71RaIYvMnfeIspqq76YHxhwWvJ8A myEqd8bTPsq+uf7yaDg6i4gWMCE851LshXQurip84CRclM746bbcaIRvdpYCebGsUcEP skhBjFxOfRxb3eKNmmPWhTQiP13Gdo6+q3MtHA+kA+8fI1rkHOqsKOuHOgJ/m+dX9cxv xUNLjkyoXbb9CtrAADMyME84PXwxS/Cdbn5QYxkISXa5KGy2A99/3fQs2f3Ckmtwahe1 byMQ== 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=HUbTmutK9VbyHml79UHY/SOp8Om3QJMFxpYIRe5xCkE=; fh=ZG1o7912NHLwbBkHH0z+Slv6fuXpoDUZHQaf9q8LDGE=; b=DQQpmP5lkyXdSIG9eSvk/1L2oKthvJXXDWtimVbAWKfQDwHlaCxSfUAzC4+iuMu/ki tW7Mkfjqp3YXHHyeP7w8XP35HcXC/Dip95zJ+QKnZwCJ4gFNlU4YgD2BGUbIiZUxWsxT X+mPmJdTl+26s2+kGEvtSdiOvqnjd3O4DitohKzrT2T8v/5HQm4bIwYbHm0eV++HeH5z j+8TVw6RHOZ+770/YBwVPkTjhUx8n0PC5vWTvwCeZOdDSs/Klds8V42UN8bq6WGsFio0 rtN55mS6UHsD9fO4xPGNmPxFgD+fedrIcBpQycI1LlsKRXJVZphv8t7Y7E30jZxcue0Y 6rdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=k7rZ3WS7; spf=pass (google.com: domain of linux-kernel+bounces-21157-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21157-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id s2-20020a05620a030200b007831c95dab4si2391559qkm.459.2024.01.09.09.21.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 09:21:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-21157-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=k7rZ3WS7; spf=pass (google.com: domain of linux-kernel+bounces-21157-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21157-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 1B35B1C24647 for ; Tue, 9 Jan 2024 17:21:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9868A3C070; Tue, 9 Jan 2024 17:20:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="k7rZ3WS7" Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) (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 AA2D93AC19; Tue, 9 Jan 2024 17:20:27 +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 fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 409HJwSV072316; Tue, 9 Jan 2024 11:19:58 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1704820798; bh=HUbTmutK9VbyHml79UHY/SOp8Om3QJMFxpYIRe5xCkE=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=k7rZ3WS7HAy7cvBpMhIfSpBLf+kR8i0cJrcEZEPOcKEhTNBNAdX3I7ZH8JF90IRqI 0HJv/6V0/CUJhLgZTl+7jAcPFWgy+Mko23JfxCDxhZO21Ozn4ori6koKnGVyIWJ3TQ SX//kS1+1EJGJKO5JBN8CqvJbAJCr02952Ff/2ag= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 409HJw1u053352 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 9 Jan 2024 11:19:58 -0600 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE109.ent.ti.com (157.170.170.41) 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:58 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE107.ent.ti.com (157.170.170.37) 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:58 -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 409HJouC089645; Tue, 9 Jan 2024 11:19:57 -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 07/11] ARM: dts: AM437x: Add device tree entry for SGX GPU Date: Tue, 9 Jan 2024 11:19:46 -0600 Message-ID: <20240109171950.31010-8-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: 1787634249019209883 X-GMAIL-MSGID: 1787634249019209883 Add SGX GPU device entry to base AM437x dtsi file. Signed-off-by: Andrew Davis Reviewed-by: Javier Martinez Canillas --- arch/arm/boot/dts/ti/omap/am4372.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/ti/omap/am4372.dtsi b/arch/arm/boot/dts/ti/omap/am4372.dtsi index 9d2c064534f7d..5fd1b380ece62 100644 --- a/arch/arm/boot/dts/ti/omap/am4372.dtsi +++ b/arch/arm/boot/dts/ti/omap/am4372.dtsi @@ -719,6 +719,12 @@ target-module@56000000 { #address-cells = <1>; #size-cells = <1>; ranges = <0 0x56000000 0x1000000>; + + gpu@0 { + compatible = "ti,omap3630-gpu", "img,powervr-sgx530"; + reg = <0x0 0x10000>; /* 64kB */ + interrupts = ; + }; }; }; }; From patchwork Tue Jan 9 17:19:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 186479 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp262895dyi; Tue, 9 Jan 2024 09:22:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IEzdx6rcpKr5A941xgRMNCsgYD5mjuqLUU/83Nd0KZcIL67+2/dwtZqyBArrpykeA21UM2Y X-Received: by 2002:a50:d75e:0:b0:558:15f2:6b4d with SMTP id i30-20020a50d75e000000b0055815f26b4dmr594167edj.51.1704820967469; Tue, 09 Jan 2024 09:22:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704820967; cv=none; d=google.com; s=arc-20160816; b=agIv2p1IHSqELuVsDNmHokgkaQqT2YZCp8XGzXNMhooPv3pSm9dTAEztHaIAGfJ+R6 7YKmJh2XkqB3cuyFriaoD/O9nXyXMvc72gzkNHUrWJ//GhreGoo+a6UZxqoTKipOPepZ BEnLaL62r7yPDM6EtYShdMchFirXXDDF+u7dsMbjOKUzh4eL+R+a589aShbp28U8U+m6 6w8qsAo6B6ATp1+w4zsUcTPWczb0jr2wMjbDz69pNbF6eN6aAEI6Xc/kHoTFC0GUDGg9 7RXaBHeVfi3XMsHix2huG+t+Ub3d7ZXkICtF6kqSVSwgqoCSEpAbYDOpv56u3E4ctXKC fsUg== 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=/A8F7GnR9icPmLdv2WR17zNBw67OAAXurt/PLePpvhA=; fh=ZG1o7912NHLwbBkHH0z+Slv6fuXpoDUZHQaf9q8LDGE=; b=BkvAQxBJEKiDczQQnmQP4XJihSvuJjw19Ki9u25pDyawyeJeZR6LVAJ7VZeZmU69p3 7Ox2EzdSgQn5aJ4tp2HS3yDbplUyWc76dfOVwad7YH5RwKxuYtagnsJmctM9d5PkHUkZ XXeOED3Wrl4N5JMRP6EVFsRCXtDnNuYf98xX28BRvyrJdZkpMGigOd5+1TIZsU+Wg93K VQUnyM/9uDjplAtNAN8RA/h3PntixXgcieDvOCjBGn3EaNlFpsnSsuQxits7KbD/taiX dfQnRrErdbsRLyGUm80yHKEqNG8gBu0a+rAYC2Tgqli6wgHFtEqE+k/SMOc4+IvQDtKN wobA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=LmE0wQiO; spf=pass (google.com: domain of linux-kernel+bounces-21163-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21163-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 g9-20020a50d5c9000000b00557173ca427si918264edj.271.2024.01.09.09.22.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 09:22:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-21163-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=LmE0wQiO; spf=pass (google.com: domain of linux-kernel+bounces-21163-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21163-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 1839C1F24858 for ; Tue, 9 Jan 2024 17:22:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8A2943D55B; Tue, 9 Jan 2024 17:20:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="LmE0wQiO" 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 738963B293; Tue, 9 Jan 2024 17:20:40 +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 409HJxbE123319; Tue, 9 Jan 2024 11:19:59 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1704820799; bh=/A8F7GnR9icPmLdv2WR17zNBw67OAAXurt/PLePpvhA=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=LmE0wQiOpOW7/7f0TnqOukOxuxjo8rWFnW/2bfX9Z9XZ4qvHS7RfPBtTz01kTzRwp 8t4LNsQV+OG5uugH7Ew/9gIrvju7lycZ21PbX6L7aPtsOFKA6bZXyki+KEjoY+GR2v FgA6NdnKB/BicxUA73RY2XLNzFkJOEdWxIu5+e+k= 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 409HJxoF053360 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 9 Jan 2024 11:19:59 -0600 Received: from DLEE112.ent.ti.com (157.170.170.23) 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; Tue, 9 Jan 2024 11:19:59 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE112.ent.ti.com (157.170.170.23) 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:59 -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 409HJouD089645; Tue, 9 Jan 2024 11:19:58 -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 08/11] ARM: dts: DRA7xx: Add device tree entry for SGX GPU Date: Tue, 9 Jan 2024 11:19:47 -0600 Message-ID: <20240109171950.31010-9-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: 1787634351253736710 X-GMAIL-MSGID: 1787634351253736710 Add SGX GPU device entry to base DRA7x dtsi file. Signed-off-by: Andrew Davis Reviewed-by: Javier Martinez Canillas --- arch/arm/boot/dts/ti/omap/dra7.dtsi | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/ti/omap/dra7.dtsi b/arch/arm/boot/dts/ti/omap/dra7.dtsi index 6509c742fb58c..8527643cb69a8 100644 --- a/arch/arm/boot/dts/ti/omap/dra7.dtsi +++ b/arch/arm/boot/dts/ti/omap/dra7.dtsi @@ -850,12 +850,19 @@ target-module@56000000 { ; ti,sysc-sidle = , , - ; + , + ; clocks = <&gpu_clkctrl DRA7_GPU_CLKCTRL 0>; clock-names = "fck"; #address-cells = <1>; #size-cells = <1>; ranges = <0 0x56000000 0x2000000>; + + gpu@0 { + compatible = "ti,am5728-gpu", "img,powervr-sgx544"; + reg = <0x0 0x10000>; /* 64kB */ + interrupts = ; + }; }; crossbar_mpu: crossbar@4a002a48 { From patchwork Tue Jan 9 17:19:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 186483 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp263470dyi; Tue, 9 Jan 2024 09:23:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IHn6+gfJICVkqJwfj1pLqFiIIGPjqIAnCGNRPhUG3GRCk95ETFqlQslPdVv7oSDjW9fi/pk X-Received: by 2002:a17:902:ecc4:b0:1d0:b095:9acc with SMTP id a4-20020a170902ecc400b001d0b0959accmr3767829plh.22.1704821028672; Tue, 09 Jan 2024 09:23:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704821028; cv=none; d=google.com; s=arc-20160816; b=bHxgP6/ownlk29HaxZSq1H89Ipw8r3SbZ0lkYGpezS7GufnQdRIQP0YrgOSs4HWIwe WHGeo7xSMiS0hCOb0tIBnTYienpWitKlU5ddu4y4stELnb0M2G062TJvOC4Qu+xRTGTd /Vlkj/Z+mBCdV7FpUOLQVJS9Iu8yUKS4UrKCXseHU8Cy9CS/Kaqqfp89Cpk1JGGBttYD evAB831LiHlM7EwtFwQTmDabZCOFjdCNwOL8UtkGvzO3hRm60PzxMJJNbaHWZZElOJlp i2zuQlinYNmNGghaBUXSJa/qsh03+aP7p+XEbiSUhVk6Nv0XWsuXIY6947jwAtoZ38Wl YDQA== 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=yVjuHQUM9faqobL4vMHbNxJbRKQ2si6luHTTyyhfnHs=; fh=ZG1o7912NHLwbBkHH0z+Slv6fuXpoDUZHQaf9q8LDGE=; b=Ow+mZOxP2gbv1m5sJ3Y2s9CUa7qMYe8I+KW8o2puvkBm12d45FVCvaj+qd57bF5xEj f2/OjNQ57/++pT0zwjXkaP+ycz2fsgLcmQHuuqu0cQizryp9IHpPyiNvNG6okv1VsbAQ ixujzz1PabCbNB54F4srKOCSnBNPhyAWvMIrcEpFq1hjzqtD59ol0pW2NafAG8DZNGfs 2WVm37aeOkyozxrQJWQpSxBFaDTag7Au/uI8VRHYGfAeLCM+jVOMg1jkx16YZtUUgmID nrt1Mt77WuFx2rVpFd8rOH4HQst2hBBZWgRPxKAmBmJ/YOcWOzCsmgKHSlZpTCD73Dqt u1Tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=euekyNZv; spf=pass (google.com: domain of linux-kernel+bounces-21168-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21168-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id a4-20020a170902ecc400b001d43e87d479si1770902plh.446.2024.01.09.09.23.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 09:23:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-21168-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=euekyNZv; spf=pass (google.com: domain of linux-kernel+bounces-21168-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21168-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 4D4FB28846D for ; Tue, 9 Jan 2024 17:23:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 13A3B3D995; Tue, 9 Jan 2024 17:20:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="euekyNZv" Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) (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 28B733D962; Tue, 9 Jan 2024 17:20:48 +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 fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 409HK0Uq107633; Tue, 9 Jan 2024 11:20:00 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1704820800; bh=yVjuHQUM9faqobL4vMHbNxJbRKQ2si6luHTTyyhfnHs=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=euekyNZvWo26vBoQWeSE8LvaoqDTscGKaliXXedPv9BM9eHG6IyQnwnX2UVbEeJgg Njp7RLbhjkeS7kzaq5UqDpkAQXqQPbBm/gAWgaHHJuoVSzOPYHu9OUM/g1RhtqLUzh a4TjabfJsYM7NjvAcmhw3B8ljH1f6BbITybAaK8g= Received: from DLEE101.ent.ti.com (dlee101.ent.ti.com [157.170.170.31]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 409HK0X5123473 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 9 Jan 2024 11:20:00 -0600 Received: from DLEE106.ent.ti.com (157.170.170.36) by DLEE101.ent.ti.com (157.170.170.31) 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:59 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE106.ent.ti.com (157.170.170.36) 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:20:00 -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 409HJouE089645; Tue, 9 Jan 2024 11:19:59 -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 09/11] arm64: dts: ti: k3-am654-main: Add device tree entry for SGX GPU Date: Tue, 9 Jan 2024 11:19:48 -0600 Message-ID: <20240109171950.31010-10-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: 1787634414971373398 X-GMAIL-MSGID: 1787634414971373398 Add SGX GPU device entry to base AM654 dtsi file. Signed-off-by: Andrew Davis Reviewed-by: Javier Martinez Canillas --- arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi index fcea544656360..64b52c8dafc6c 100644 --- a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi @@ -1050,6 +1050,13 @@ dss_ports: ports { }; }; + gpu: gpu@7000000 { + compatible = "ti,am6548-gpu", "img,powervr-sgx544"; + reg = <0x0 0x7000000 0x0 0x10000>; + interrupts = ; + power-domains = <&k3_pds 65 TI_SCI_PD_EXCLUSIVE>; + }; + ehrpwm0: pwm@3000000 { compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm"; #pwm-cells = <3>; From patchwork Tue Jan 9 17:19:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 186477 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp262148dyi; Tue, 9 Jan 2024 09:21:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IHkLMzOmzEk6gRg644AHmRolY6sFin9UY+lKQSYbVEUGI2T7nP4RPXdQPTzYWfyNemdGhRb X-Received: by 2002:a05:6512:23a3:b0:50e:76e0:a51f with SMTP id c35-20020a05651223a300b0050e76e0a51fmr2893749lfv.100.1704820893299; Tue, 09 Jan 2024 09:21:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704820893; cv=none; d=google.com; s=arc-20160816; b=RS2trRFldcnMATf+jfcC/L3Dz7ZDuqXUg13+TZE6naAlslRJbIC6YWq6NaHXXz9Vkq Gni3zOaQYcFyfku0sBn0iiYfhLZj1xFj+clmedldq+H0dWrNnLJjaqxWxa4ip2U+Bchf F56RLxrEmOp50iYZ+9kWeouQt5n9mAet0DO8YeZUy96OcwA4Wdq4FeTxFKerYvfOZhJ0 g57uEcM81WTvoVbINq8K2p4H11aenc4MY7oa90C6jkaharQ3X5daXbOYtDdBXXe46Cfa QYpcDS+H1DHd8zQkPkQzs6MuoLN4BBvQL/vrsjX32juOTSbETtrLwvBZKF1SZiz/EtxH llVA== 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=VawEpna3v0lS7GPRRlnu64Wvw1h5R0QsWm64N4grDiw=; fh=ZG1o7912NHLwbBkHH0z+Slv6fuXpoDUZHQaf9q8LDGE=; b=Cm+UWnQmMxVga0QXHyDCVyJRhvSUSbMD02HQMgni9lKLK7sR9omuWGpCqAOXtweG27 Xj9eNgj/Bx2PKrZrL1e6dtxy5+Ovpzhtb0HMI6PTpaAesthCphYc17ow/uhceQsF5Ig8 eRfZA+NKlypzen0NmhUYKZYa8bPsCuuvrapB0UhSx0bNLyWTp13hs3IlA7Wu5ZRJHaiP e/uvdcSKK4EvEfzTDUkRvFHd/pi+ZfnbaNlFpwHG+0XOY00yL3MeXsRUO1gKNClb5wOA TuIkaXMwvl3R9iT60lOHTSXxoIblTBolgIuzeHHOa69XtSP223HPJbJcgihrZ+TKzkcl 0EPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=xmiYQpsA; spf=pass (google.com: domain of linux-kernel+bounces-21159-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21159-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. [147.75.80.249]) by mx.google.com with ESMTPS id e25-20020a1709062c1900b00a29687c3a55si964852ejh.975.2024.01.09.09.21.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 09:21:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-21159-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=xmiYQpsA; spf=pass (google.com: domain of linux-kernel+bounces-21159-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21159-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 9F5A41F2623D for ; Tue, 9 Jan 2024 17:21:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B4A223C474; 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="xmiYQpsA" Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) (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 ACD783AC25; 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 fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 409HK1S0072326; Tue, 9 Jan 2024 11:20:01 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1704820801; bh=VawEpna3v0lS7GPRRlnu64Wvw1h5R0QsWm64N4grDiw=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=xmiYQpsARtN81uqOzExACSARNxYnhZvs4K0pyNiKgxK2BJzbiJfcdiB3+ZV8vxNJs tQN/JZcPK1Jf0hcRMO7dYO8iJTHC4g47Dojqj2Q/fJTpPEcC25YGuy+PeugZcaQXGb J6vM3E+qLYpUyLRXoZNJrkHHCulmNNhtXak5EflM= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 409HK1pE123483 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 9 Jan 2024 11:20:01 -0600 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE114.ent.ti.com (10.64.6.35) 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:20:00 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE104.ent.ti.com (10.64.6.25) 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:20:00 -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 409HJouF089645; Tue, 9 Jan 2024 11:20:00 -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 10/11] ARM: dts: sun6i: Add device tree entry for SGX GPU Date: Tue, 9 Jan 2024 11:19:49 -0600 Message-ID: <20240109171950.31010-11-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: 1787634273101031835 X-GMAIL-MSGID: 1787634273101031835 Add SGX GPU device entry to base sun6i-a31 dtsi file. Signed-off-by: Andrew Davis Reviewed-by: Javier Martinez Canillas --- arch/arm/boot/dts/allwinner/sun6i-a31.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/allwinner/sun6i-a31.dtsi b/arch/arm/boot/dts/allwinner/sun6i-a31.dtsi index 5cce4918f84c9..e6998783b89aa 100644 --- a/arch/arm/boot/dts/allwinner/sun6i-a31.dtsi +++ b/arch/arm/boot/dts/allwinner/sun6i-a31.dtsi @@ -962,6 +962,15 @@ mdio: mdio { }; }; + gpu: gpu@1c40000 { + compatible = "allwinner,sun6i-a31-gpu", "img,powervr-sgx544"; + reg = <0x01c40000 0x10000>; + interrupts = ; + clocks = <&ccu CLK_GPU_CORE>, <&ccu CLK_GPU_MEMORY>; + clock-names = "core", "mem"; + status = "disabled"; + }; + crypto: crypto-engine@1c15000 { compatible = "allwinner,sun6i-a31-crypto", "allwinner,sun4i-a10-crypto"; From patchwork Tue Jan 9 17:19:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 186482 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp263340dyi; Tue, 9 Jan 2024 09:23:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IGHlKIIN3fG259WEeYO+5BzMzOr6f7cdOWhjR37Om+CvH/KBhyPTBBTKx/QuQfYRcki/9cZ X-Received: by 2002:ac2:428c:0:b0:50e:5049:a179 with SMTP id m12-20020ac2428c000000b0050e5049a179mr2155441lfh.105.1704821015462; Tue, 09 Jan 2024 09:23:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704821015; cv=none; d=google.com; s=arc-20160816; b=mg97K8y+NzC+46aBuNxRfrvkHplali68t/fn3g7ywTquUeT9KoIZeBl8ylJfSmQFb7 BTNPUMShjQQl8JOz6IAFVheeUYfFC5ldphjB7wToNaNEEbtND/fKW7pD0Wq+0wEb8hop FQa414AZTS+g7nQpS3WOxkYvwXhsFgFF8B/1kcAOXIYLHgxAKRrgwKV5KiLDWjtqvk0X mNHSXQwCwzx9yzI9AdgoOuzQyqLMC81DdIqB98EFnIuZnuckpiNiOFc8aI2b+v8eD8nC gPetL9DNCdwigm+GVgBcQdv131NHC0v8ftJNZpOF4xceywkB64MrKJ/anHFVRRhL18jo reAw== 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=+BZRfg6nhZdzKnCLNt4s2t//pdkbbIJbI/lXRcVy5sM=; fh=ZG1o7912NHLwbBkHH0z+Slv6fuXpoDUZHQaf9q8LDGE=; b=O69skcCroMnP64ep7K6YOV9sVSV49tuSMLmuhGp/nxvVmgwPRPvmF5V6Dxpdn4NrNU s7t47bb0KHg9XIZ39ZwHI2Ac6co+Y7V8sLs9vska4TyiEbM6gDHNzD7FBG0AU56cEPdS 7H7lQ+YbC7ao5vvgAPkDxMnX5LCcGQ8tpXvywo4n2p1QJl6zRg4vyNm7CSVO33pBav+N DTJgDdWKO/ApM4bKELG2YPsdJ8pd6ESuQFn3OartrgbE00YoCcP5lTeMVm61W2q1+e5O sOjJEx0WD23dS7RtjWmdNhrUkDryhZvtgc7kFbynwMHVEiIGxYLP3gSdqOoZqWzk++2A DnJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="riVeoI1/"; spf=pass (google.com: domain of linux-kernel+bounces-21167-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21167-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 gu12-20020a170906f28c00b00a280396c7fasi960124ejb.306.2024.01.09.09.23.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 09:23:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-21167-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="riVeoI1/"; spf=pass (google.com: domain of linux-kernel+bounces-21167-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21167-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 1378D1F24CFC for ; Tue, 9 Jan 2024 17:23:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D05463D992; Tue, 9 Jan 2024 17:20:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="riVeoI1/" Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) (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 E1EC23D961; Tue, 9 Jan 2024 17:20:48 +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 lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 409HK2pr107668; Tue, 9 Jan 2024 11:20:02 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1704820802; bh=+BZRfg6nhZdzKnCLNt4s2t//pdkbbIJbI/lXRcVy5sM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=riVeoI1/RpAyKyKZcaIgSUn1HHddUBEuPjm6KhBLrsfiSfLspoYMcWEpPoJSjBNYV 4KoqNATwmwiDjMi3OjtYMaQDbELo3Pzcq+EB8j+AaSjsbb91TTdhpnlPl3F1OBK/S1 5EZTcOQFi6Ng71QMdmb9MWi1kKvElYimBNjXpeKc= Received: from DFLE111.ent.ti.com (dfle111.ent.ti.com [10.64.6.32]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 409HK2p0127802 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 9 Jan 2024 11:20:02 -0600 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE111.ent.ti.com (10.64.6.32) 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:20:01 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE103.ent.ti.com (10.64.6.24) 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:20:01 -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 409HJouG089645; Tue, 9 Jan 2024 11:20:00 -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 11/11] MIPS: DTS: jz4780: Add device tree entry for SGX GPU Date: Tue, 9 Jan 2024 11:19:50 -0600 Message-ID: <20240109171950.31010-12-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: 1787634400715189174 X-GMAIL-MSGID: 1787634400715189174 Add SGX GPU device entry to base jz4780 dtsi file. Signed-off-by: Andrew Davis Reviewed-by: Javier Martinez Canillas --- arch/mips/boot/dts/ingenic/jz4780.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/mips/boot/dts/ingenic/jz4780.dtsi b/arch/mips/boot/dts/ingenic/jz4780.dtsi index 18affff85ce38..5ea6833f5e872 100644 --- a/arch/mips/boot/dts/ingenic/jz4780.dtsi +++ b/arch/mips/boot/dts/ingenic/jz4780.dtsi @@ -460,6 +460,17 @@ hdmi: hdmi@10180000 { status = "disabled"; }; + gpu: gpu@13040000 { + compatible = "ingenic,jz4780-gpu", "img,powervr-sgx540"; + reg = <0x13040000 0x4000>; + + clocks = <&cgu JZ4780_CLK_GPU>; + clock-names = "core"; + + interrupt-parent = <&intc>; + interrupts = <63>; + }; + lcdc0: lcdc0@13050000 { compatible = "ingenic,jz4780-lcd"; reg = <0x13050000 0x1800>;