From nobody Sun Oct 5 21:48:08 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 684971F1306; Wed, 30 Jul 2025 09:34:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753868087; cv=none; b=bfcU7Keau0ceGMvkKMrf9kgA5rYI+UOm4IzlH6EBi0r6OkhRADkrKhlvdYtU2v9O7J0l9xH7RmAUOQpLp/SrrG28QiET7pmM4m6MeY4HWxJOiJ/KNh+nbBLexj79NEY6Ads6/2Oc7hztJw7t7pxfCPIBvDi+ZNZa6jayxQRDweE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753868087; c=relaxed/simple; bh=0jkmJjmaLP26q19mUDnS43dqbcQIG+Aa08NpifOstZ4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=IdDU4GpqjErc+NNDS4zNhIaezS7rRlWePnQXFbY1muC2pMlgatJ1WQ2xfvhRDV5sKz1n8VTIPaerlM2VsZ3PshNlcOqQJPlb+qtgoJ8f8EqQByqZNzMomFDZ+B7WEo2Q5tR3Wf4cKvIpjLxJS/DXEAOWVSDtNqOHSB37PqawiWI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=TmAAKvXd; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="TmAAKvXd" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4047CC4CEF5; Wed, 30 Jul 2025 09:34:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1753868086; bh=0jkmJjmaLP26q19mUDnS43dqbcQIG+Aa08NpifOstZ4=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=TmAAKvXdDoW/CWU1bIrTKUHmmGHqTa0gGirkycgOKiG3JXRxCzMoHt4wQgCSEdVXb k0ZYLvbZ1Rm7AMx287Y/rx3Xm++nXEEiO0Ym2huhAik83Lp1RDv8KzUQQJcyQmy8HK ZM1ohBTvCRjQPrK7tnkcrFn9xfDjJk8lD4ut7utYa26O/JjpOeSh6Cxkj0QcLPmTTB FHer34d0RC/ZQDNB4Q1ZXx/PwPZ9GsTTlMMkqM3kWuRVTZ00KEye8E6Ozt7ZVDO6L+ 2r+IcE5ef1D7VvGRBXVajkGwc77mBT3LUq3lgJ+TvwR7yslcDnbodWWo5EuzEocsI2 AqqUn5a3MGaLA== From: Konrad Dybcio Date: Wed, 30 Jul 2025 11:33:28 +0200 Subject: [PATCH RFC 1/6] dt-bindings: dma: qcom,gpi: Retire passing the protocol ID Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250730-topic-dma_genise_cookie-v1-1-b505c1238f9f@oss.qualcomm.com> References: <20250730-topic-dma_genise_cookie-v1-0-b505c1238f9f@oss.qualcomm.com> In-Reply-To: <20250730-topic-dma_genise_cookie-v1-0-b505c1238f9f@oss.qualcomm.com> To: Vinod Koul , Sven Peter , Janne Grunau , Alyssa Rosenzweig , Neal Gompa , Ludovic Desroches , Florian Fainelli , Broadcom internal kernel review list , Ray Jui , Scott Branden , Paul Cercueil , Eugeniy Paltsev , Viresh Kumar , Andy Shevchenko , Frank Li , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Taichi Sugaya , Takao Orito , =?utf-8?q?Andreas_F=C3=A4rber?= , Manivannan Sadhasivam , Daniel Mack , Haojian Zhuang , Robert Jarzmik , Geert Uytterhoeven , Magnus Damm , Patrice Chotard , Linus Walleij , =?utf-8?q?Am=C3=A9lie_Delaunay?= , Maxime Coquelin , Alexandre Torgue , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Laxman Dewangan , Jon Hunter , Thierry Reding , Peter Ujfalusi , Kunihiko Hayashi , Masami Hiramatsu , Michal Simek , Laurent Pinchart , Rob Herring , Saravana Kannan , =?utf-8?q?Martin_Povi=C5=A1er?= , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Kuninori Morimoto , Mukesh Kumar Savaliya , Viken Dadhaniya , Andi Shyti , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio Cc: Marijn Suijten , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-rpi-kernel@lists.infradead.org, linux-mips@vger.kernel.org, imx@lists.linux.dev, linux-actions@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-sunxi@lists.linux.dev, linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, linux-sound@vger.kernel.org, linux-i2c@vger.kernel.org, linux-spi@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1753868049; l=1740; i=konrad.dybcio@oss.qualcomm.com; s=20230215; h=from:subject:message-id; bh=yNIS2ZIXL38n6NlfTncthlTW/cDDGkytjzcrGiY6noU=; b=jRMGBRYh5z3VhrE2hOQ/tsahlnmmCcC5+6eD5S7UtXRq/sQbsboibgpVNMlio7nRvIevSuKgV G2e4Ba2obqDAiq+P7fA3mJTvqy4/YFtc8YKHIuHXwOfKw1XAd4F1c9N X-Developer-Key: i=konrad.dybcio@oss.qualcomm.com; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= From: Konrad Dybcio This is a software construct that has no business being expressed in dt-bindings. Drivers can be constructed to retrieve the protocol ID at runtime or hardcode them per protocol. Remove it, as a pre-requisite for further simplifying the GENI bindings. Signed-off-by: Konrad Dybcio --- Documentation/devicetree/bindings/dma/qcom,gpi.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/dma/qcom,gpi.yaml b/Document= ation/devicetree/bindings/dma/qcom,gpi.yaml index bbe4da2a11054f0d272017ddf5d5f7e47cf7a443..745613b93b210afd38946030f74= 77e91e08c907a 100644 --- a/Documentation/devicetree/bindings/dma/qcom,gpi.yaml +++ b/Documentation/devicetree/bindings/dma/qcom,gpi.yaml @@ -61,14 +61,13 @@ properties: maxItems: 13 =20 "#dma-cells": - const: 3 + const: 2 description: > DMA clients must use the format described in dma.txt, giving a phand= le to the DMA controller plus the following 3 integer cells: - channel: if set to 0xffffffff, any available channel will be alloc= ated for the client. Otherwise, the exact channel specified will be use= d. - seid: serial id of the client as defined in the SoC documentation. - - client: type of the client as defined in dt-bindings/dma/qcom-gpi.h =20 iommus: maxItems: 1 @@ -98,7 +97,7 @@ examples: #include gpi_dma0: dma-controller@800000 { compatible =3D "qcom,sdm845-gpi-dma"; - #dma-cells =3D <3>; + #dma-cells =3D <2>; reg =3D <0x00800000 0x60000>; iommus =3D <&apps_smmu 0x0016 0x0>; dma-channels =3D <13>; --=20 2.50.1