From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (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 028B4223707 for ; Fri, 1 Aug 2025 11:37:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1754048224; cv=none; b=cL6j2eOwzefAeRvpsAn73zuhxiCN5lsDq9YrcCLLyGwB6gMMMBiMlVS74EK6buKZi2pmfx0caJi36vw4N7uAUbeuHj947wpSRE5hdGjXowV3C6ZKvjniLAm4WB1jLg93cA53wyNoVrtQdiPxzdEitHRV7Op4dN5zJeNRLkFnCWw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1754048224; c=relaxed/simple; bh=S+OUPbutuw7eeLKJnK8PAXGqLsNg1a/WjTPWGFI+L2M=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=CXuAaw0mq6Kyl8wE7iJj5Xx6AGjyxBG+4Y8dgDoMIuFGA7u0qzanp02tHrrA+uPD6POgP4Mx8ToGdDvE4xVpNdgfHgNAnGfdJnMXTHmcmna9KuuowJPbanHjJKO4n0mTl6tz9lK+TB0lsuzzZc0NZsj/RT5rPr49FiBs10LIBAA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=laVbsFeT; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="laVbsFeT" Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 5719EAik020328 for ; Fri, 1 Aug 2025 11:37:01 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= Ib4lVo6bA5cxWNHRPcfBAhasx6+Tv4uNCb8kn2zACc4=; b=laVbsFeTSRGnvXcG VQ2dm5mVML9HBSszJSDpmG0jaePCntW0E7z1mjKqtg6++Z8M5HFFov1sjM/X9D2G Nkyl2xrjKsHMMLVk50u2aG46qOUQ45/z/qpRp8VKWzRkHc9hQUIZLXI14r4wvrH+ WV1Z9xgZ7lYxJmlU/UJ9qzE2KefWiCSKps3+QqzjfxonfEFUamwEs+a1+2kOIGcu ofac97tI2++OhGEXEfinA9bnQfmZkWXzufN8lb/uBUEtqby9IQ4H/3xZ0XOJ0SZf fErNHoj4BWUjLc3siW8Qws/nSq9LSKUsgkheVYL2HdcctmL4Wiac7NJVOjrbZuO9 2rFvag== Received: from mail-qt1-f198.google.com (mail-qt1-f198.google.com [209.85.160.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 484p1aujq1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Fri, 01 Aug 2025 11:37:00 +0000 (GMT) Received: by mail-qt1-f198.google.com with SMTP id d75a77b69052e-4aefe21386fso1296801cf.2 for ; Fri, 01 Aug 2025 04:37:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1754048220; x=1754653020; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Ib4lVo6bA5cxWNHRPcfBAhasx6+Tv4uNCb8kn2zACc4=; b=V9//SC0kvoG53YgsWzoiAZz9nT50Sn8mFWGm9V32nxpE+pJgmUbPvevukvXMADNVvA ql3K7neKIKRKGTOSPCaB6RaNINBsKKZUHOk/qiwHtTPwcm8HwfpfcPzR3JIILVjnEjKh /N034ZwsuyTQ+6AeFNx+sGTWm2hDf9bGXrtfXpjGLMlNZ4a8MJk2E0OWNN/ZTEbsIk2n VMb3ubHMiUwICg11D91rcyC0MnbTmA6wSWQbNdH5A+/tW8HIiNsEjrf23RAvpIrn2WN+ zAJxjLEHXyR64L+uKOi5tnEeLWQ6wAkEqqTD2fkCfxq38YZgI++P/5X+/otthxt65z6a xIFw== X-Forwarded-Encrypted: i=1; AJvYcCWTH7aDsSn8V4LyzOKVMdBLD/m9opXzg2KbDs+sApp6YvW8GZv1spz5DpM2wM8wyuG7WXbUBmF9Wvk=@vger.kernel.org X-Gm-Message-State: AOJu0YxggTcJRMEC0YgeHU0fSHJaA8b2tcX7NYuG82LYmLBHp8qjB37F gaKwsCMJGhayJM27VkZvvEcLq19M2XIhZXz/F1lH/OnfrD6MpchluOTyAJyuxu9q/nabBPc0gri SaAiM0GMBkIDlfJcrNZqdvCpUiyIFUQ+fVZM0FBqJ6Ww3BFlcvd0VyAVUao31pBA= X-Gm-Gg: ASbGnctt5rAbBiyurJHaPQ0t2kTXy+HmSaoRrrKpQNolFql16kNUUudrlOtd13PqCNl Q9PnNPEh0u9iFHbPsytD3AT1byxDifGyLGrYvAw+408WN3KhOefwiJEBEBLy18uVEQfcJp7BjcE hYZT1EJGkv/GMm7Eg+iDGX6pkoSrBVvjezW7AvQCiee0O5qbaL5pYJYZG6OMzmi/hbkGZDzIWfB L6ECd4djGHrq4HeQ6zDuhD/IN9GOFRhrXaSZa2QYz6GX3We/8CVQN2OiIhsdBH8GBw0ESdvnmK1 6MyKtN5RiGPgJOrzpr6gqR0jEYXyGOOdt0ILK7lndJXVDJxS7V4a+JwAdvvDmO357FBTTZ35fi6 n1P5DRsxlAde/UkE8jg== X-Received: by 2002:a05:620a:469f:b0:7e1:ba5:6ee0 with SMTP id af79cd13be357-7e66eec27a7mr809609685a.0.1754048219792; Fri, 01 Aug 2025 04:36:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGISRK3LCNP6LCJEXt6pbFs22LciSzSSA6wDhhyR/ABPjUX2hHCx0gXfYiLZNNNjNHw2rNI9w== X-Received: by 2002:a05:620a:469f:b0:7e1:ba5:6ee0 with SMTP id af79cd13be357-7e66eec27a7mr809604985a.0.1754048219285; Fri, 01 Aug 2025 04:36:59 -0700 (PDT) Received: from [192.168.43.16] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-af91a0a3981sm272166466b.35.2025.08.01.04.36.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 01 Aug 2025 04:36:58 -0700 (PDT) Message-ID: Date: Fri, 1 Aug 2025 13:36:50 +0200 Precedence: bulk X-Mailing-List: linux-i2c@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH RFC 1/6] dt-bindings: dma: qcom,gpi: Retire passing the protocol ID To: Rob Herring , Konrad Dybcio Cc: 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 , 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 , 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 References: <20250730-topic-dma_genise_cookie-v1-0-b505c1238f9f@oss.qualcomm.com> <20250730-topic-dma_genise_cookie-v1-1-b505c1238f9f@oss.qualcomm.com> <20250730234631.GA1899887-robh@kernel.org> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20250730234631.GA1899887-robh@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-ORIG-GUID: 6FHLQ8cNKCzX3BhIaS1HuyiGRQciJ_da X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwODAxMDA4NiBTYWx0ZWRfXwuMpxT19mE8I fypzTWcEpezl8NZuopILKvYoM+1MrscbFuAtOABRRl4/Slf95HSE+zXCb3n0MLsV608/HoyufGX eJLHucAPJjgfXK6Lqc+1lmIqYjq0Fi3le+BHo+f4cvjf8N51RgGGgpU29Posz2A3eJWdHvLdH1B ffI9ddLzt3dnEc8YN+/i6Byb6xZHrcW17EHzukhhXW4KrGIHYmJvKMsFZjRSj90QqA0S1T3PoVp OKqNz+C68HU0oM1ghB/Tab8OBtk2nCzwIxKh5+gAVIM9jbZbFJAwXnjkwbfGCpqgpm6LEGpz4Fg O1C5URDNErmCAExKC16ML1CErK4khX8hciyWilMUFP7IC2P774Hm3YGgfR5u8YQHBNpA1HL422w 0IdRufp48p/Q1rIoJ/+OqZmijd+DgLoNBwq3f3kyfBRtiLI77z9YhI+tt2s4Yy2EIuSnPPOt X-Proofpoint-GUID: 6FHLQ8cNKCzX3BhIaS1HuyiGRQciJ_da X-Authority-Analysis: v=2.4 cv=KtNN2XWN c=1 sm=1 tr=0 ts=688ca6dc cx=c_pps a=mPf7EqFMSY9/WdsSgAYMbA==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=2OwXVqhp2XgA:10 a=EUspDBNiAAAA:8 a=RNpRkCq-AmGuj0ryOp4A:9 a=QEXdDO2ut3YA:10 a=dawVfQjAaf238kedN5IG:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-08-01_03,2025-07-31_03,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 priorityscore=1501 lowpriorityscore=0 suspectscore=0 adultscore=0 mlxlogscore=902 bulkscore=0 spamscore=0 impostorscore=0 mlxscore=0 malwarescore=0 phishscore=0 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2505280000 definitions=main-2508010086 On 7/31/25 1:46 AM, Rob Herring wrote: > On Wed, Jul 30, 2025 at 11:33:28AM +0200, Konrad Dybcio wrote: >> 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/Documentation/devicetree/bindings/dma/qcom,gpi.yaml >> index bbe4da2a11054f0d272017ddf5d5f7e47cf7a443..745613b93b210afd38946030f7477e91e08c907a 100644 >> --- a/Documentation/devicetree/bindings/dma/qcom,gpi.yaml >> +++ b/Documentation/devicetree/bindings/dma/qcom,gpi.yaml >> @@ -61,14 +61,13 @@ properties: >> maxItems: 13 >> >> "#dma-cells": >> - const: 3 >> + const: 2 > > I think you need to keep 3 and note it is deprecated. Does an existing > kernel support this being 2 already. If not, ABI break... Hm, I thought this is a case of relaxing the requirements, although I suppose some software might have had a "if n_cells != 3" (and not < 3) check Konrad