From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 D7EDC3E92AD for ; Wed, 6 May 2026 09:32:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778059961; cv=none; b=ACp1pqTubZe9wsS1zCbxMMoT6XeTenSW2bWG35z7hxi60/BwrGkzr+cjpx1VKG+NBNud6XzorCKzvEOezE0l7KYI02TD8yUEvhVCKZ25+o9PvxqhBCubaLanihBY7X7A4YYpTd3EMkaY8pKMzQrTBE/j+/4WTOq8c8nZyFz9NxU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778059961; c=relaxed/simple; bh=f0FQAS1GD3dN9uwV8F5vKw0hNMRhc34lZFSrPLYTbjE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=e7SNR1M8EA9lwSkMSVDuYm/KfMezQw918vGQzGAZX6okuFWi3yCg7p/maK6UFuuPdAW4Gw4c5CDzvalRfClzg838JSFfGQNQOmS4oO9MJAdXc9OHgBlG7JDD+IF5M+0cZvThuOiNnB8VEVYnwgRH19hnqa34sBmOdS8cKyMUSW0= 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=XBrBBIeE; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=GPWDWuwt; arc=none smtp.client-ip=205.220.168.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="XBrBBIeE"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="GPWDWuwt" Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6465r7Gs2581484 for ; Wed, 6 May 2026 09:32:39 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= f0FQAS1GD3dN9uwV8F5vKw0hNMRhc34lZFSrPLYTbjE=; b=XBrBBIeErZn1ngc4 lvmrsupECFO+P0Qp73xN2be0BwwzxheaW2Fu46M76lHtLISshYm23wjtootAwnPK UOVWOB9yOQ2RW2ZY/weXgpvw6ibGCTudakdq/bvOYr8GEYB2JwqoT+QC8tAkAXlC bpaSi6ROatTzs++iP0ttFRx8C0T57JpO19s+kfWH84kl/s72B5eKC8U7TkLjlry2 A33z2hUctu0DyYso+8GyXpSG684Y1u8z0ns9vAirOT5q1mlQ09wIU6kg8ggkwIAf LAeneRU5rlXdcs7KLDaSg36lx0J46pE4O7I5bWnfZkr7E2hG6T/LHYEo71bo0GsQ Cki22w== Received: from mail-pj1-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4dyyvw0wqe-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 06 May 2026 09:32:39 +0000 (GMT) Received: by mail-pj1-f72.google.com with SMTP id 98e67ed59e1d1-35fc22424d9so14653718a91.2 for ; Wed, 06 May 2026 02:32:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1778059958; x=1778664758; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=f0FQAS1GD3dN9uwV8F5vKw0hNMRhc34lZFSrPLYTbjE=; b=GPWDWuwtHZ7He3qQO76vtFpfJEEmgYhgvLGDj5WlEOfUJhRVt6tlyxF/o2i/j1odKS UOUkmTOi6dlf/Hr8GZB7ndspbWMWRPxss1eLCuRQMTLnySQnpMdIHkV65LXXluAAGUW+ LW04u+2BggA6pxDoY/psgA7/s5wOZNGMRAHOWs1CmTWnzYZCmYcLxtFtjLK60wVYjq4l m28GP27IztN1JTAhEmAl83ChTS6Ng4g26EKrnSeyEJ2CJFA1DUGlPb5KQbJhz9pXqsk2 jU7vrnh5g0oEcJW7UTeEibZq0m06ueDzXk1K8vR5KCOyrlp828iSsw6/CFtyzUfeuRi2 Vr3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778059958; x=1778664758; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=f0FQAS1GD3dN9uwV8F5vKw0hNMRhc34lZFSrPLYTbjE=; b=TliqRDWVQp6rJGgM6w4UqzwtMWg9/JJa/EgvJrhl5DPq7TFqXmKI7+bEY1eovd45M/ h0PePkjHNFx0z/aNhbHcHDeh13uXy3uHBFCtcFLZkjrkm65ovjHftd09dokNvBn1S3R5 U3KFEMVNTMw0FD9UBrLU05Wv8gVD1dT5ETRGUH3aafDzj5aiVn013UCDFvAMNobVp9km r+RntLmxLehBPAzAYY5YAGjGFiTmyFw9S3XsKyvWVs5/VmZMDOqsFPhwIeKBngmKWvGz y4uj5ROHuvH2NftjiSd2AOoW7i0MbJes10bqOyPJxmfLzcbo6GYwxzQpqOZJDPMCdSRE PIUA== X-Forwarded-Encrypted: i=1; AFNElJ8gLVA+OIEO5TlvbVbkJqBwsf/TXr0fWmoYWQpwYt7EZogdC7OYKU22wr923u7JPRvP8sc24lzj/e9T@vger.kernel.org X-Gm-Message-State: AOJu0Yy1LCReYNPmxd9czLWicUhQcjWD3+O0+1VDX7VNGJmYT2ci/8Mw pqUJEfDD3IlCuir6oB2iSikcMFebrcNX38jZX72AFvUfK3RWpXq9a3DPszJI1PriQkPao4Y/jQL cl9EwqPKzL9S7xUtF8rr2PsZ/uLA5mEvrzYIavoM+SPBaltLUV7g5v9TE0G7FhJ2L X-Gm-Gg: AeBDieu/eWDBcjiCbJS8eArpb90dIIZMg+7XZBCkPBfd0pLxWFnfCA+S5fJ2+qqYPpA ybMLMbCgDLYIJAIXDlrdRqHznsXEM9DcIh8kK+0/Lxfk6+k5Iqtsv5NcaOWedFtM+UG6QmP6X+D ctkxbGTsV07BIgHzFUyvzlN4lfqnxw3in7VKfhuIZE63apM0V939Di+3NLo40IoWtcvx0C9U2Do zEvcqMUzK5vvMCFDcFk04kLn+CsAP6t4vgvT4gCRQbumGN61HOK4/VKBONu3OJ3h9waKJ5dI/mI 8bPuvWCgA4ql2kIhlfMQuWkmjX3jNtH1u7+jgkuC+p7c9puAxuVd/GOBaq63mYar08wdf0DGsPD NaIcwZSkRKfzqxkaZxDHBPj2/kyCmU90dclJH0ugtjkTuMcp1rZpJWvn5egui5HuL X-Received: by 2002:a17:90b:5546:b0:35f:be35:fedb with SMTP id 98e67ed59e1d1-365abadb3d0mr2543399a91.9.1778059958531; Wed, 06 May 2026 02:32:38 -0700 (PDT) X-Received: by 2002:a17:90b:5546:b0:35f:be35:fedb with SMTP id 98e67ed59e1d1-365abadb3d0mr2543361a91.9.1778059958052; Wed, 06 May 2026 02:32:38 -0700 (PDT) Received: from [10.206.105.200] ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-365b0058b30sm1020810a91.0.2026.05.06.02.32.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 May 2026 02:32:37 -0700 (PDT) Message-ID: <455376f9-48c2-e663-3be3-fd310afb7f7f@oss.qualcomm.com> Date: Wed, 6 May 2026 15:02:29 +0530 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH v4 02/13] dt-bindings: media: qcom,venus: Remove clock, power-domain, and iommus from common schema To: Krzysztof Kozlowski Cc: Vikash Garodia , Dikshita Agarwal , Abhinav Kumar , Bryan O'Donoghue , Mauro Carvalho Chehab , Hans Verkuil , Stefan Schmidt , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Stanimir Varbanov , Joerg Roedel , Will Deacon , Robin Murphy , Bjorn Andersson , Konrad Dybcio , linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, iommu@lists.linux.dev References: <20260505-glymur-v4-0-17571dbd1caa@oss.qualcomm.com> <20260505-glymur-v4-2-17571dbd1caa@oss.qualcomm.com> <20260506-inquisitive-wondrous-lori-a9e639@quoll> Content-Language: en-US From: Vishnu Reddy In-Reply-To: <20260506-inquisitive-wondrous-lori-a9e639@quoll> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Authority-Analysis: v=2.4 cv=YYCNIQRf c=1 sm=1 tr=0 ts=69fb0ab7 cx=c_pps a=RP+M6JBNLl+fLTcSJhASfg==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=IkcTkHD0fZMA:10 a=NGcC8JguVDcA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=Um2Pa8k9VHT-vaBCBUpS:22 a=TQHRF8L8_Bey4eUWYNUA:9 a=QEXdDO2ut3YA:10 a=iS9zxrgQBfv6-_F4QbHw:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNTA2MDA5MyBTYWx0ZWRfX8joCuUS/TI9d Oube/dcT29BC5dcu1ncHMjs8xgni40jvjnEMAyUuEVWNdknyO4VJpqGLkYazwpSZ3K2QPWNjVNM cF5UziSUKS8+jftI7Prls7VWf6dreRVSgZ9sgOMZZu2iwCN235fcDQa8/QPL5ra9asU8meobJWe FwDtLCdkxe57e3ifJfIhWJglmLHXJMK+tLyvAgf6bd17FPTnHty0Vss/7JMwFqglRiNGBt9A+0j btOpor81kH4D5tKeHkDbX9yjNANkKSGvDgFWlsfsgY/+MbAI6KqfOrpbfm6GOAFafNFC6/nenbx CIBQvCeBVllD/JT9FQpTNdEDrd4KhUo/tQJjuMVrG3m55l+lhq7nTraKcWz90cpA3AaEfOsCmQ1 Avi7qqwo8mFrq5drKY9wdQ1yBtCoCJpROjYd78IiqkJaItY4Fpsif6w5qdyd6Kga8X4CaGZncqN gq51waGxPu2qRsAN3JA== X-Proofpoint-ORIG-GUID: l7886RUchdjj0X3GgQetb8NB8H9Sfs2T X-Proofpoint-GUID: l7886RUchdjj0X3GgQetb8NB8H9Sfs2T X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-05-05_03,2026-04-30_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 adultscore=0 impostorscore=0 malwarescore=0 clxscore=1015 lowpriorityscore=0 priorityscore=1501 spamscore=0 bulkscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2604200000 definitions=main-2605060093 On 5/6/2026 12:11 PM, Krzysztof Kozlowski wrote: > On Tue, May 05, 2026 at 12:29:23PM +0530, Vishnu Reddy wrote: >> The common schema defines minItems and maxItems for clocks, power-domains, >> and iommus. This suggests that the number of these resources can vary, >> while in reality they are fixed constraints per platform. > OK, that's interesting approach. I am fine with it, but then you need to > remove these from "required:" list as well, because requiring properties > which are not defined here is not the most readable. Ack, I will remove them from "required:" in the next revision. > I still do not understand though why you cannot just grow the properties > here. The point of this schema is to define common set for range of > devices, because all of these devices are supposed to be veri similar. If a new platform schema uses this common schema but does not explicitly re-declare clocks or power-domains, it will inherit minItems and maxItems range from the common schema. This gives the false impression that the resource count is flexible for that platform, when in reality it should be a fixed constraints. If a new platform requires more resources than the current maxItems (e.g., Glymur due to its dual vcodec core design), we need to keep bumping maxItems in the common schema every time a new platform exceeds the previous limit. That makes the common schema a moving target driven by platform specific. Thanks, Vishnu Reddy > Best regards, > Krzysztof >