From patchwork Tue Jan 28 19:48:09 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Wilczynski X-Patchwork-Id: 13953121 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2EEB8C02190 for ; Tue, 28 Jan 2025 19:49:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:References:MIME-Version:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=e3xCLTIkgBToK4krXJuDoo5IpSB59iVavCN4vClrMyI=; b=aQInFdyNgq0Hbw O2w2KTfn9m2JbcdH5jh6B+6Lx5hvgiz8iJWf5WxijFzCLLP3uXZyilBYk3AF7gMFAGtPksT51QW1Q /xyqs4lzHF+kp5NbC3ACI7M2Thj7ne+34TVMO46qGE9tq4l93/FUtRxYFraG4CJOUhRVP0yakM+nR PhrMEW0aPVLxGdtG0M3aNJ11rGrE626ppZa/AWiKPRQwBXBGXd3GImvlnFEe+lIkBi+ex91h+nr/M ivC/euK9GlKfPezG0k8xir4nb2ewUoZAtLl7P0PC7y6gf8ArnC2Bj+kSSvEZgQRIYsZP5V3Wtrc25 yawfWDxy501w0xx6Azdg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tcrZx-00000005jfF-0KyJ; Tue, 28 Jan 2025 19:48:57 +0000 Received: from mailout1.w1.samsung.com ([210.118.77.11]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tcrZl-00000005jR8-2ENu for linux-riscv@lists.infradead.org; Tue, 28 Jan 2025 19:48:48 +0000 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20250128194842euoutp015a0b3c7e763668b8dcb35e12195565ea~e8wgQIRFX1614616146euoutp01U for ; Tue, 28 Jan 2025 19:48:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20250128194842euoutp015a0b3c7e763668b8dcb35e12195565ea~e8wgQIRFX1614616146euoutp01U DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1738093722; bh=Y2qJNPOZypRXsHO3MOeXcoXxlzsdYgLbcjVG1hzxKaI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uBbrAA+HgHU5zA4GmlmKN3hiCeYWbDkVrDa9iqvX8JOMovB8s+lFD5c+qwEr8DnVo hwNjoi1MwwlY65SfZtxr7TwxAxMuwjK8GGiCAvtlQVA9VCnYvJwQDdqbeoLhKjcw5Q LfqGEnNTvN06FF0PtbSyxhxAKazf66WcOvAmGmiM= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20250128194840eucas1p12316a8c7a0e7753c557a0039898e3297~e8wfIvVOi1988219882eucas1p1s; Tue, 28 Jan 2025 19:48:40 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 10.B2.20397.89439976; Tue, 28 Jan 2025 19:48:40 +0000 (GMT) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20250128194839eucas1p1885da20ddfec840341879c120a21f514~e8wd7luM21987319873eucas1p1q; Tue, 28 Jan 2025 19:48:39 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20250128194839eusmtrp24121382b264defa79f495155ba6b26f4~e8wd6zWPb3008430084eusmtrp2g; Tue, 28 Jan 2025 19:48:39 +0000 (GMT) X-AuditID: cbfec7f5-ed1d670000004fad-df-67993498b8b6 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id E9.E0.19920.79439976; Tue, 28 Jan 2025 19:48:39 +0000 (GMT) Received: from AMDC4942.home (unknown [106.210.136.40]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20250128194838eusmtip17b436b12e07354d608828f7ae9be1e4d~e8wclKrHC0291602916eusmtip1b; Tue, 28 Jan 2025 19:48:38 +0000 (GMT) From: Michal Wilczynski To: mturquette@baylibre.com, sboyd@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, drew@pdp7.com, guoren@kernel.org, wefu@redhat.com, jassisinghbrar@gmail.com, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, frank.binns@imgtec.com, matt.coster@imgtec.com, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, simona@ffwll.ch, ulf.hansson@linaro.org, jszhang@kernel.org, p.zabel@pengutronix.de, m.szyprowski@samsung.com Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, dri-devel@lists.freedesktop.org, linux-pm@vger.kernel.org, Michal Wilczynski , Krzysztof Kozlowski Subject: [PATCH v4 11/18] dt-bindings: gpu: Add 'resets' property for GPU initialization Date: Tue, 28 Jan 2025 20:48:09 +0100 Message-Id: <20250128194816.2185326-12-m.wilczynski@samsung.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250128194816.2185326-1-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AjEwfjIUYJDmYlEd7YczPShXhTEiurUovy44tK c1KLDzGaAt09kVlKNDkfmObySuINzQxMDU3MLA1MLc2MlcR53S6fTxMSSE8sSc1OTS1ILYLp Y+LglGpgaku9clHyXer3oHcWkWL3/spqRdy/07L40+VNk/1Ka/e6Wa+ZKSY20bmZ3feYybxN L4p6zh45pK23537F3CTePdd1ZTtD7d9Kq368LfjnVEqYjoD1ZueL/yZ1HHr9+pv+XIVfTq2e C1OZA+QP9J4urHnDtMapM7zk+bFdPMYZa3Nvik158lD0ypelh29PTzksk9S2P+CGzYczt720 eKfPmt+v5Pw31/flHrXSj8ny1jIV9xWF/jP8yUiKrapSZXuub/Piwb0Kk9g7yRoBfJHxR079 bfz88YZb6JelyS7f21VChNmMXAsMnxv7x3Btn2OutnG5v+f0I3pxJ4KT975hOii9YdvU/+Vb ispLrvCdUWIpzkg01GIuKk4EAFmqttq7AwAA X-CMS-MailID: 20250128194839eucas1p1885da20ddfec840341879c120a21f514 X-Msg-Generator: CA X-RootMTR: 20250128194839eucas1p1885da20ddfec840341879c120a21f514 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20250128194839eucas1p1885da20ddfec840341879c120a21f514 References: <20250128194816.2185326-1-m.wilczynski@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250128_114845_889072_7626F940 X-CRM114-Status: GOOD ( 10.41 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Many RISC-V boards featuring Imagination Technologies GPUs require a reset line to be de-asserted as part of the GPU power-up sequence. To support this, add a 'resets' property to the GPU device tree bindings. This ensures the GPU can be properly initialized on these platforms. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Michal Wilczynski --- Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml b/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml index 256e252f8087..bb607d4b1e07 100644 --- a/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml +++ b/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml @@ -37,6 +37,9 @@ properties: power-domains: maxItems: 1 + resets: + maxItems: 1 + required: - compatible - reg