From patchwork Wed Feb 19 14:02:32 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Wilczynski X-Patchwork-Id: 13982349 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 46CAAC021B3 for ; Wed, 19 Feb 2025 14:05:36 +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=gZQiCghIEdQSPSiAr94GZgU4Ya5Ux1TPc3yXmylcCj8=; b=NlLg/HkzP7qJqk +PlBWeUndpvrk6R3r8UtilATMA9hHJuz6lirWJ8tFeFDMkR814E8I8RLlp62WKT+T00+Q3sZBrz1y D72CNGVwHDlduwe+hyun0TO+kbN9gZxp5o49tKK7PLOLchfderFDdz703FLesZhIlZo7BLdUuNV+3 OK9RfObHPyG1NWj+ZJIOs4F0NaXZ18Kg+Pn2coSCMV0xFgJFSC/UZ1kknQY37Ti21RUjOnpKA4oHn eJB6FygZ2/p2s+N1+qBHp09zym6nX5xwVL4+v2RKyh8/vYXDLRU3T4dEamShJ6GvetzCkcpzPUSX6 pLusfd3O9vD0ZKtuBPgA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tkkhf-0000000DA1E-2e2Z; Wed, 19 Feb 2025 14:05:31 +0000 Received: from mailout2.w1.samsung.com ([210.118.77.12]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tkkfP-0000000D8sM-2z9k for linux-riscv@lists.infradead.org; Wed, 19 Feb 2025 14:03:13 +0000 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20250219140310euoutp022b1bf77c1f48006e90cf32d737bdbb15~loPGX-VW90184701847euoutp02Z for ; Wed, 19 Feb 2025 14:03:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20250219140310euoutp022b1bf77c1f48006e90cf32d737bdbb15~loPGX-VW90184701847euoutp02Z DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1739973790; bh=nVl9RqNjWqqCMJN0x65czVQJPwBmxJG9j64/CReghc4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MzblbdUN5G3BrAkAaBZmnRViltdNcRQsTGZrqDsT/poMQzsMMFEYzSdPkv3OwpA0V mbz/oMb4mIoPnB7h6j/z+x1I6WkG2e5YwMzCaelNvAOhyaNMDas6eI9raO+TXm+tzI ROSfIm2pzBPokdSgU6AL5wsM/ApjOODK0+Rub0/k= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20250219140309eucas1p197fbbc05b88ba14a3e51dc177ef08f08~loPFtDpJE1249212492eucas1p1_; Wed, 19 Feb 2025 14:03:09 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 54.92.20397.D94E5B76; Wed, 19 Feb 2025 14:03:09 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20250219140309eucas1p2701a4b4bacd3be6e9f20d637d3cefa5c~loPFQDxs_2657326573eucas1p24; Wed, 19 Feb 2025 14:03:09 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20250219140309eusmtrp1be717018bcd6c53827f20b86dcfa1556~loPFMZwCw2415024150eusmtrp1t; Wed, 19 Feb 2025 14:03:09 +0000 (GMT) X-AuditID: cbfec7f5-ed1d670000004fad-05-67b5e49d858b Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id E1.96.19920.D94E5B76; Wed, 19 Feb 2025 14:03:09 +0000 (GMT) Received: from AMDC4942.home (unknown [106.210.136.40]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20250219140306eusmtip26ba16cd7050750da8584d887567b2556~loPC6WwJl2723327233eusmtip2d; Wed, 19 Feb 2025 14:03:06 +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 v5 14/21] dt-bindings: gpu: Add 'resets' property for GPU initialization Date: Wed, 19 Feb 2025 15:02:32 +0100 Message-Id: <20250219140239.1378758-15-m.wilczynski@samsung.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250219140239.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CZUfQZkTA6bUqpUork2gVKq0+Vyk5qla1IsGfaR9YdnQitscLkj4EpZE+ hKUxsYBXamhT8nnHFAWnOY36iEafw2n7kNhg7XJM+NpRdfDpcnVHZHHSWFlMnFwaK4/bJd7E 2z01fpzPKBU67mOOO8lp/s+hdJiwEI2/GG48taw8W30G35CaHgFHvMnFhCdzPC2/VqBIc084 Lm0gZ/2fjJrqeb+tvje/uyPdnLqAWgsaXYdvVYwsGz5IUVadmbNiDUtm3/Mf6KwtQ7wiUe0B eXnJUkTRX29Z9JNczPaO1odJm0v3dbdnqvpSbrh37o0Xnt+Ttml/Zd7zdw+uJvTfd52+872b m178rvHlJg3DyGYo/eakOtveLamFdQez3rz2viT8kW2469OOu7aMZDb9mSiR4ft/2inP9JuZ HREgajxScMiUf3nqI1FVhqGStyhyqH8Zu6SFDKy0Nzmc0i+viudKdJ/pPG9sMwm2dtB5Z612 a+8pwxghxrXZCtkOTKNV/Ac2rXuxvAMAAA== X-CMS-MailID: 20250219140309eucas1p2701a4b4bacd3be6e9f20d637d3cefa5c X-Msg-Generator: CA X-RootMTR: 20250219140309eucas1p2701a4b4bacd3be6e9f20d637d3cefa5c X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20250219140309eucas1p2701a4b4bacd3be6e9f20d637d3cefa5c References: <20250219140239.1378758-1-m.wilczynski@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250219_060312_015267_E6344BC6 X-CRM114-Status: GOOD ( 11.02 ) 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 All IMG Rogue GPUs include a reset line that participates in the power-up sequence. On some SoCs (e.g., T-Head TH1520 and Banana Pi BPI-F3), this reset line is exposed and must be driven explicitly to ensure proper initialization. To support this, add a 'resets' property to the GPU device tree bindings. 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