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 E72133E92BB 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 (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 64660qD63475631 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-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4dyhsgv8yw-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-f71.google.com with SMTP id 98e67ed59e1d1-35fbaada2f3so11390211a91.0 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=dE0Dp0qncJuY9lgmEEqxZVB58rnIEVLYSEDi6W3Dq4RQxvu1qwluxe6Ph2WEdTL8Pp 4ZCjG0pDIXuircvXUfQiKkzbwkNKSWuMQGp01FmTw1qecMqAJNu2ZepOk9ddCQ0RyBck CB24+NWocoBuStOw93uaOrY+fUFzSDZooOYhHDxp+wxAtwc3mm+2lGB9L4qotR50WZYS ePG/yoQU6RnLGbS4XIEkujkh31AoTG7VU5dzOSu3Eju0lAbeoRdw8zjvBvwUspmWcUoU i+BS/VeSqtcfdKriN4aNyfbEeITF2y0aW0CmSNlj/OYS+GUg1Zs3Fkyexha7l1ga9vSI zBGA== X-Forwarded-Encrypted: i=1; AFNElJ8aTVFCuSO2g7qMKKQnlQoUaXDUHGpvVB+vwVJw40BhMOPWH1L6oPCRom8zTIXZqLmiUgJzxPveUdxATa4=@vger.kernel.org X-Gm-Message-State: AOJu0YwbgZg06hwkQPX85Dl1dW43KmZaVrN7tf0OehyNcYmHiXTFFp4T OibAKXQ83/Auc3MrbDkXGazZUhD/TSqJ5wTgO6mNhyuhtUQhr6qTCu0sOjHTOmsjzNwP8MJgGQ1 wlfH3+YtENJKSdOIwPFP7q6MjJb5YlRhxDVKvwnoRvuhZsq9/0BPzaAHOdcGECqkxU4ACmJj7Kh k= X-Gm-Gg: AeBDieuiChmjAAYD9cT/gSgzcV3X1DYLytU2T3vlp4jl7WneA282jo849Hs5k9AYCRb r5chelIaQl/xq5PnfG3ieTISDKyDiOCdokGs8aTIqsLDbTdjNP+ATawC+xs+8s35q4bFFRFFsU9 XYvdzAGgkCGMpnFN9ktq0gAUafGqCvVCsWwIdwByJUZ+XSg+klk2JhTnqpMRzd3tcMVpzll9LR0 I1uckj5kwIj/yqe0KRUda0AxgX2ArgRyuj91W8nSRoc+TrrY8QwX5ttzeEEZC6Zsm9W5+1Gb9od C92yrRT8FFNL7jzPaS4XZDOJLJz7Hi80Y8rab56evAGOxjTW3QyIxlUzjRLZVX/cEEluuILnWti boHAKUiB0/bWjW/6XuRa2TYDWHg3DWTGm9mIwGlFDvavJAA7iC94ORmld/85s+8VE X-Received: by 2002:a17:90b:5546:b0:35f:be35:fedb with SMTP id 98e67ed59e1d1-365abadb3d0mr2543389a91.9.1778059958528; 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: linux-kernel@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-Proofpoint-ORIG-GUID: xhhLFiIWjczB9md6_rdY8TVx1XvuABpb X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNTA2MDA5MyBTYWx0ZWRfX0YQhsCA7wjX9 FajF7D96YWUfDV7Zns8tvL91144KK5a4kD0ra4pTo7R9B4W6gXsrHIfScJ0qt9Vl/Ryvx9YQhOS XkrM2A/E2gtJAFaD5/X+vdUdbjyCmmwn0VZvH1ZbrkHfQi2elBoZAkSCNrw0qsPFKln75jb5Xnc pI6r+yO65tagWHjBCh4o9qWzWgahHvQs5YqapL6AT15k+H/G7F/k1ZTjnJa+ctZI7hm3VrDTqLy 6FcXW2CznBpAU8maSeBkOmvpy1U3hlOgHNCMVLsNdCsAJ0a8FkelH6BBSXeSnKS/9JymFL2l2Qt 7YZjQUyjp1yQ6lbzO09M5zH7jy4a+yVMTdbScPf1ZMm/P2lFJbCiDt8B8MguWK4RGkWInUkM6L/ 8VTRQcXGX15aWune39byrliaU4UZ3C0U+KhoNuS8DuwfrkQOyCygaHjeQrVHfWvvYoEr1Ui7Oji QOcFwxmX4VKcKj8vd0A== X-Authority-Analysis: v=2.4 cv=EPU2FVZC c=1 sm=1 tr=0 ts=69fb0ab7 cx=c_pps a=UNFcQwm+pnOIJct1K4W+Mw==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=IkcTkHD0fZMA:10 a=NGcC8JguVDcA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=eoimf2acIAo5FJnRuUoq:22 a=TQHRF8L8_Bey4eUWYNUA:9 a=QEXdDO2ut3YA:10 a=uKXjsCUrEbL0IQVhDsJ9:22 X-Proofpoint-GUID: xhhLFiIWjczB9md6_rdY8TVx1XvuABpb 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 adultscore=0 malwarescore=0 impostorscore=0 clxscore=1015 bulkscore=0 phishscore=0 suspectscore=0 priorityscore=1501 spamscore=0 lowpriorityscore=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 >