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 4333623536A 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 57199tr1021187 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-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 484p1aujq4-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-f199.google.com with SMTP id d75a77b69052e-4ab3f1d1571so4541601cf.3 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=HJP4Pp7IlNQYMg1vmnh42q84ScgFfoDkgjXrIZfvk9zuaypTHLkm2vb0S+tk8sTONv FFDzFpzggbzmfpV/B7V7N1Ja5K0QEJ59CrdkBSbhOG70eEA3U0neef5L4Dbv3Yd4Xksx pKEpcmUCvA1Gtahb+bqxgrfGi9f47nMw4hyPPLdBFkjjQ772Aoh4AA5EwQzMMpjACFce vLmrj/BlqFJ7p5jOmqDaTcs3GI0ojKR7yWth9SaGyg+FMw3rjSV+1KsaJlQ6hYUBnvt8 MYazLDWhTZxnk/ul4xjwURBGBtea5pNb3T7iwAO1cDQAWACeDjgK1wDLBDc+5e3kaNn1 9UKA== X-Forwarded-Encrypted: i=1; AJvYcCUx4ltKx2KZw5ooyFS53EY02FLLatdDkViPR+ZPpKg6c5YqLBHm5QGtevzRsgn7undgQrgojoAbkxWrNw==@lists.linux.dev X-Gm-Message-State: AOJu0YzMd5+hEiNCmQJftXhHA1wBNEiGGzkPdtLV7rar0SXeKC7NBE8p G2AVDc6xtiCQtzCW1U4BK0dzEyujM3W5sU11L96r6yTPJIodFlajlBAU7W2MGOz2cyb0nqAj8/b B5WP1X7zuxVdr3dbnoIfKhAy6kMZoLp1ArfG6F3LJD+QWEAKD8U3SQWoDzqbA9YkwpQ== X-Gm-Gg: ASbGncsLO4cZeVmtsbCb8DdznTQ+Z5Gt0eAvvaEWuoYffferzluvon9JhGuF50S/tgT GI6A6pirG7s5HhEJZc4WV1Lhf6zZm18dWeeb4B9pICqYisnCRuj8XSrbR1MwtILS7IPVYlnfIsH cwdsQyZ8rNrAaHY8rLCOYikr82RAYRAIK09qxSu49fi9WnLgbr0L5WCVhTHzjUnJRD+jl+i0wax qXE2Grefn7UIsexNUxqyHc0lssXZSQid996ma0Hfjap28Eh1gTIxzi7g/eIQPC9NPplGy4rornN hvJLpOoE4k1WQnY8VCqVCSX6OHJVO1R5Rq5s1IUKMJGjGJKpVg2ffimHWnBs2tb0ejPSkXwQdCT I6wC5JZhe97E0Iuftpg== X-Received: by 2002:a05:620a:469f:b0:7e1:ba5:6ee0 with SMTP id af79cd13be357-7e66eec27a7mr809614385a.0.1754048219832; 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-sunxi@lists.linux.dev 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: BAzhHb0BRRQRCnM-xsfXIeaUWLXZ67sI X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwODAxMDA4NiBTYWx0ZWRfX8M1taSrc0vv8 Xk1BWdLev+qOaoJTnEM2fpDe4DWhNWa00UJL+d7jT0d4XBE4LqE4EI8aEkgWD8E4nO8ks2/gZwO 3g1KHtkJUW3Fa/k43qiXfHyhrrZ2RZEBEHUwpJiFLqS34XhvPhu0CtGwQTsoEbJFTaBZ0MoEpZF zm7L3Sd+csimo5uc0FbmM+jovnT54sxUkmLP89B+7drhGTch/GyNaSPwYqYRqR5sHfDobAI80Zy nNQWfLFC0rirwhCHfFRf7Xwgp88/XvOvE5Che2+BO38pcWISpcdVK/XqQWpC1QQ216XzTtoYooV Lb9+t4Cuou7gskvyOCLf+V/uHGSNfQWLKH6XbRwXy5LxYi137uMV/iWMc97+u54p+6lfZ1YJ2M4 GcZZm/wrKDiqEBZ3WNYndrLYhG7YyRmdt0e1XvAQe2u5x2EGuRhRtmDHfmM8L95JHYaYIJbY X-Proofpoint-GUID: BAzhHb0BRRQRCnM-xsfXIeaUWLXZ67sI X-Authority-Analysis: v=2.4 cv=KtNN2XWN c=1 sm=1 tr=0 ts=688ca6dd cx=c_pps a=WeENfcodrlLV9YRTxbY/uA==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=2OwXVqhp2XgA:10 a=EUspDBNiAAAA:8 a=RNpRkCq-AmGuj0ryOp4A:9 a=QEXdDO2ut3YA:10 a=kacYvNCVWA4VmyqE58fU: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=954 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