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 C94EE410D14 for ; Fri, 8 May 2026 19:01:25 +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=1778266887; cv=none; b=m8Byxyj1KzZfQI6W/El7FThR/keww3Hx8y7YYF+KnkFMIJSXFq82cG054g4C1ai1WjrEOtQ/LUjpf9TVA+6nU0+hu3bdIZbeTXlSFXLpVZP0t1s3jC4coUe5i2yVXy5TC+PHPWnMp1LTaqTVYayohJyAfF+LdlM0+yQg2KnORBw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778266887; c=relaxed/simple; bh=0dWJdTDAwn0TkLi9oQbbPaM4nI+PhW9C76C69+j4eJE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=uWbGcB+BwFF73So3WN680mby7lv16U4CESocodjMmrcRl1SjT869bFgmcxIwL2iIQEECa51l/uBW/YOQJdPaGWVxEy491NtpAmk9hFtcUmJK88JI8cRkw0iyWyF9o7GUJSWIDThhCc37naMtWxSkZsyoUi2WA3W5Axv6PXRmcnM= 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=hYXzWdtw; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=KiBOGcOD; 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="hYXzWdtw"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="KiBOGcOD" Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 648G3Pel725477 for ; Fri, 8 May 2026 19:01:25 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= Za4FY71bjLDkMnLupG5mzx1Qmfy9AGS6QDY9irb9sDY=; b=hYXzWdtw1pLIDNgI bQneaH821UuAVth2yqQHREe2JJNj4VRjSI9uqTzlMCflolwz3JxKVCg0s0gVbeHY 18/Xmi2tT9UqD0Fz2Hsbfe98NDVFdt10h428ysXHYdLt4wUGY2ZoTM3SJ+tIoFvA ycG7YkamZ3dKDIE63sT372+BWiW3yND4O/gotYH6OmeQ5BtWx1W4M+AYf2Urz6iX 2F8mjognmrxHolgMJ8AZhCVGGKWiCVsXIpFtjDoAEH21PNxihfuN3E+kdSCggdTU mfVvXZYEVGmXkIp/kr3gaMOYRXXEecQQPOY8vm7hc1MJuz876pz7vNnv8aufvpdN n/sHnA== Received: from mail-pf1-f198.google.com (mail-pf1-f198.google.com [209.85.210.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4e1k0ugmk8-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 08 May 2026 19:01:24 +0000 (GMT) Received: by mail-pf1-f198.google.com with SMTP id d2e1a72fcca58-835444b6ce1so1755570b3a.1 for ; Fri, 08 May 2026 12:01:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1778266884; x=1778871684; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=Za4FY71bjLDkMnLupG5mzx1Qmfy9AGS6QDY9irb9sDY=; b=KiBOGcODM/bQOTDVFrLmYehYc3J1PVw6fbBsG/AYfLvYXyTjinx+vDl32kCYVFs5mi /OfI+1Ys5vvYwtJ+JPz6VllF4XMpzONMSx3WvEhTcW4sHhR+vYtsNHP5HOAywAHLKN7y QbH6zdkKMXFfmsre5ggAlpXDVJSJg0iSz3IwAu8QAezFab4s9SGdBWnCPn7O4yyDeunA U2L9C+DwAdex6UysUObeskCXwVSdXf9OmIFK2q7x00epE1BwHmTo4UPrIZqRCSFyr1a8 h44AK9Y/FtO240O0g0sMmye91/zrXrjTT+1RjPlBj+JcTDTTS3EzgcSAHqV9v501nkv3 EwaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778266884; x=1778871684; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=Za4FY71bjLDkMnLupG5mzx1Qmfy9AGS6QDY9irb9sDY=; b=pJQbk7ScF2gSr8xrz7Tw/qbuVjt5EfJPoYLc6LU94BgzuSRzHX1RMqLnDyt5lLxwI9 MPrc2wEcECIxgobcW3SV7QPd30G8BkwrKWvDMJg38ZH8e7QTHGJhqSHFNLUGLN67Mtma EnNprjL/nR26bdhISrccrohZqrj2hRRq4XNoHLNIZBDm6tOwbkM2beJdDbeND9tjFPkH 3NcI+mlb3xfsMvWmFv9CoD2+7NYGsx/4SM2eSxaTLxFRC4aBJeaeLGUWQhLsbi/87orS iT7z+Vm4FtdGS+G3KY34zgHGUHzla+Goinhb00CwI3Zw78EnT7uUlzqrYjHDfOjdXZsb 2LZg== X-Gm-Message-State: AOJu0Yx+k72VlE9Ri9cMwOeYjibV1g9xb4VhhbPaWO8dVXnIFkQovbG0 S7UhMeVEDRyMZ987KAvDJK1mfbYOgaE+vrrshkMGVveFoBd4h8KNnFcRjCNxM/KdeLFYdWeIJh1 7bh7bQJYDBU4mFSEr4Qa2wh40qecdaVtQj3H4D1hE1aiXtkmBo9FYI0FPWLndwZfptowV5qGxgE k= X-Gm-Gg: Acq92OH0CWL8xgJR6i8u9r3Y/5VqGq1ONh5DB0taA7pzFRwBOFaoT0aqK2g9fEmSz9h v5tRL60ZzLg2KhmCVcxALPZz1nO6M2JMQ/x2lUOg8j3kqsF7Db7MVJAYysP+xmOiHQI7yukQX08 MWRJjEeQ7nFzXrNd8HyEZFelNVTebg/89PqwY/Yz4h/hdTNMIyOjcPaFY4lVEp7Z5oT0mH0DZc3 wdzwLwBC4qUcGwoEANSKHuOlQsBOaCwxyGw0vFBOQ9CPYUi/BaPcIjhOzqBLbrRJ2tWauIKYPhg m/GtS4+ayAYOwzzC5j8c14AHk4Q0euEqw3VdjL4VFhN+fqJlMlLdGKE+gcznjmutpIeX+LduUQV 7vQPdPMfijPdqeCuMSyREoCoeXX8+VmvW4WuZs35NbYzJNzQklqZcyW0= X-Received: by 2002:a05:6a00:12d2:b0:82c:d7c4:4c57 with SMTP id d2e1a72fcca58-83a5badef24mr13109488b3a.19.1778266883513; Fri, 08 May 2026 12:01:23 -0700 (PDT) X-Received: by 2002:a05:6a00:12d2:b0:82c:d7c4:4c57 with SMTP id d2e1a72fcca58-83a5badef24mr13109425b3a.19.1778266882880; Fri, 08 May 2026 12:01:22 -0700 (PDT) Received: from hu-bvisredd-hyd.qualcomm.com ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-83965a3e3ecsm13395550b3a.19.2026.05.08.12.01.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 May 2026 12:01:22 -0700 (PDT) From: Vishnu Reddy Date: Sat, 09 May 2026 00:29:53 +0530 Subject: [PATCH v5 04/14] dt-bindings: media: qcom,venus: Remove clock, power-domain, and iommus from common schema 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: 7bit Message-Id: <20260509-glymur-v5-4-7fbb340c5dbd@oss.qualcomm.com> References: <20260509-glymur-v5-0-7fbb340c5dbd@oss.qualcomm.com> In-Reply-To: <20260509-glymur-v5-0-7fbb340c5dbd@oss.qualcomm.com> To: Vikash Garodia , Dikshita Agarwal , Abhinav Kumar , Bryan O'Donoghue , Mauro Carvalho Chehab , Joerg Roedel , Will Deacon , Robin Murphy , Hans Verkuil , Stefan Schmidt , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Stanimir Varbanov , Jorge Ramirez-Ortiz , Del Regno , Bjorn Andersson , Konrad Dybcio Cc: linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, iommu@lists.linux.dev, Krzysztof Kozlowski , devicetree@vger.kernel.org, Vishnu Reddy X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1778266845; l=7695; i=busanna.reddy@oss.qualcomm.com; s=20260216; h=from:subject:message-id; bh=0dWJdTDAwn0TkLi9oQbbPaM4nI+PhW9C76C69+j4eJE=; b=/KHg6Fbbyp7bMxmwvQxCz0VYHfgfzQIE0Gbe+gRd72nMi4t1mZGyk/6fiUKwFB2BFzcEI1AQE k8lpBJaG1E2Cqc/ETPS7EMuueKsNCNqKuYCTExfokLgTurZiylNk4IR X-Developer-Key: i=busanna.reddy@oss.qualcomm.com; a=ed25519; pk=9vmy9HahBKVAa+GBFj1yHVbz0ey/ucIs1hrlfx+qtok= X-Authority-Analysis: v=2.4 cv=dIqWXuZb c=1 sm=1 tr=0 ts=69fe3304 cx=c_pps a=m5Vt/hrsBiPMCU0y4gIsQw==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=IkcTkHD0fZMA:10 a=NGcC8JguVDcA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=rJkE3RaqiGZ5pbrm-msn:22 a=EUspDBNiAAAA:8 a=w3dAq1wZhxS8m1Mzo3IA:9 a=QEXdDO2ut3YA:10 a=IoOABgeZipijB_acs4fv:22 X-Proofpoint-ORIG-GUID: k-TnHmp9KtwZyGsrhOBXPHnEtJjvHyhd X-Proofpoint-GUID: k-TnHmp9KtwZyGsrhOBXPHnEtJjvHyhd X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNTA4MDE5MCBTYWx0ZWRfXytb2jMXAew9f QlBqJ1gJQShy3Qvr65zCYZ0pDyzn6Uyy4dLDesr4YWtQPLQxDejzEMqqIKQT2cO7L1DdOJo3OIk 77nHT8DrRSCatdpuIrpAifpfSs2oiaSk/N18N+NaLfAAvprRSo3mjHlRj2Zz3LgaAfw4Qpqr4S1 yMsV1MoO9L327A6eJIS9eiVhavZJUiD/FotXvkgVmww99uYQIfsgwCm4zyYgpuV7SKOZvWAwXOf HfBkTaIlljQUdpDcGZcLvQvPV0R4Pdy1v1TwglTcRtYRdkMdVtqE+OXKveQr7/plPJYsiWtXH48 JAqxDajDm+DxoXZc1YUO3BPqGevtBJK0okQ5vxsPEHMO1NhQpSVF+O1Bs5XsYezF7v8LSS8ufeQ z4O7wHfc8QxgEgti6mbLZG3L5CcDjQ6IHl1CBFDDIGENn8y/mGxK1/qvi54F9t/zpjqBBemkCd7 d8pOg/ON3I4znRd2mhw== 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-07_02,2026-05-08_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 bulkscore=0 phishscore=0 suspectscore=0 malwarescore=0 clxscore=1015 lowpriorityscore=0 adultscore=0 priorityscore=1501 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2604200000 definitions=main-2605080190 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. Remove these constraints from the common schema. Each platform specific schema already defines its own exact fixed constraints for these properties. Additionally, remove these from the required list and update all schemas that reference this common schema. Signed-off-by: Vishnu Reddy --- .../bindings/media/qcom,msm8916-venus.yaml | 3 +++ .../bindings/media/qcom,msm8996-venus.yaml | 3 +++ .../bindings/media/qcom,qcm2290-venus.yaml | 3 +++ .../bindings/media/qcom,sc7180-venus.yaml | 3 +++ .../bindings/media/qcom,sc7280-venus.yaml | 3 +++ .../bindings/media/qcom,sdm660-venus.yaml | 3 +++ .../bindings/media/qcom,sdm845-venus-v2.yaml | 3 +++ .../bindings/media/qcom,sdm845-venus.yaml | 3 +++ .../bindings/media/qcom,sm8250-venus.yaml | 3 +++ .../bindings/media/qcom,sm8750-iris.yaml | 3 +++ .../bindings/media/qcom,venus-common.yaml | 23 ---------------------- 11 files changed, 30 insertions(+), 23 deletions(-) diff --git a/Documentation/devicetree/bindings/media/qcom,msm8916-venus.yaml b/Documentation/devicetree/bindings/media/qcom,msm8916-venus.yaml index da140c2e3d3f..b1046a112e17 100644 --- a/Documentation/devicetree/bindings/media/qcom,msm8916-venus.yaml +++ b/Documentation/devicetree/bindings/media/qcom,msm8916-venus.yaml @@ -62,8 +62,11 @@ properties: additionalProperties: false required: + - clocks + - clock-names - compatible - iommus + - power-domains unevaluatedProperties: false diff --git a/Documentation/devicetree/bindings/media/qcom,msm8996-venus.yaml b/Documentation/devicetree/bindings/media/qcom,msm8996-venus.yaml index 56c16458e3bb..3664d5447ccb 100644 --- a/Documentation/devicetree/bindings/media/qcom,msm8996-venus.yaml +++ b/Documentation/devicetree/bindings/media/qcom,msm8996-venus.yaml @@ -97,8 +97,11 @@ properties: additionalProperties: false required: + - clocks + - clock-names - compatible - iommus + - power-domains - video-decoder - video-encoder diff --git a/Documentation/devicetree/bindings/media/qcom,qcm2290-venus.yaml b/Documentation/devicetree/bindings/media/qcom,qcm2290-venus.yaml index 7e6dc410c2d2..9c90e16679df 100644 --- a/Documentation/devicetree/bindings/media/qcom,qcm2290-venus.yaml +++ b/Documentation/devicetree/bindings/media/qcom,qcm2290-venus.yaml @@ -57,7 +57,10 @@ properties: type: object required: + - clocks + - clock-names - compatible + - power-domains - power-domain-names - iommus diff --git a/Documentation/devicetree/bindings/media/qcom,sc7180-venus.yaml b/Documentation/devicetree/bindings/media/qcom,sc7180-venus.yaml index bfd8b1ad4731..1017e522b4b7 100644 --- a/Documentation/devicetree/bindings/media/qcom,sc7180-venus.yaml +++ b/Documentation/devicetree/bindings/media/qcom,sc7180-venus.yaml @@ -92,7 +92,10 @@ properties: additionalProperties: false required: + - clocks + - clock-names - compatible + - power-domains - power-domain-names - iommus diff --git a/Documentation/devicetree/bindings/media/qcom,sc7280-venus.yaml b/Documentation/devicetree/bindings/media/qcom,sc7280-venus.yaml index 413c5b4ee650..120c9300789d 100644 --- a/Documentation/devicetree/bindings/media/qcom,sc7280-venus.yaml +++ b/Documentation/devicetree/bindings/media/qcom,sc7280-venus.yaml @@ -85,7 +85,10 @@ properties: additionalProperties: false required: + - clocks + - clock-names - compatible + - power-domains - power-domain-names - iommus diff --git a/Documentation/devicetree/bindings/media/qcom,sdm660-venus.yaml b/Documentation/devicetree/bindings/media/qcom,sdm660-venus.yaml index a51835b22045..c4103a0452a9 100644 --- a/Documentation/devicetree/bindings/media/qcom,sdm660-venus.yaml +++ b/Documentation/devicetree/bindings/media/qcom,sdm660-venus.yaml @@ -96,8 +96,11 @@ properties: additionalProperties: false required: + - clocks + - clock-names - compatible - iommus + - power-domains - video-decoder - video-encoder diff --git a/Documentation/devicetree/bindings/media/qcom,sdm845-venus-v2.yaml b/Documentation/devicetree/bindings/media/qcom,sdm845-venus-v2.yaml index c839cb1ebc09..5943a0411fc7 100644 --- a/Documentation/devicetree/bindings/media/qcom,sdm845-venus-v2.yaml +++ b/Documentation/devicetree/bindings/media/qcom,sdm845-venus-v2.yaml @@ -87,7 +87,10 @@ properties: additionalProperties: false required: + - clocks + - clock-names - compatible + - power-domains - power-domain-names - iommus diff --git a/Documentation/devicetree/bindings/media/qcom,sdm845-venus.yaml b/Documentation/devicetree/bindings/media/qcom,sdm845-venus.yaml index eabc0957b241..a5b45f95ad2e 100644 --- a/Documentation/devicetree/bindings/media/qcom,sdm845-venus.yaml +++ b/Documentation/devicetree/bindings/media/qcom,sdm845-venus.yaml @@ -88,8 +88,11 @@ properties: additionalProperties: false required: + - clocks + - clock-names - compatible - iommus + - power-domains - video-core0 - video-core1 diff --git a/Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml b/Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml index da54493220c9..1fd46ee8a9c5 100644 --- a/Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml +++ b/Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml @@ -90,11 +90,14 @@ properties: additionalProperties: false required: + - clocks + - clock-names - compatible - power-domain-names - interconnects - interconnect-names - iommus + - power-domains - resets - reset-names diff --git a/Documentation/devicetree/bindings/media/qcom,sm8750-iris.yaml b/Documentation/devicetree/bindings/media/qcom,sm8750-iris.yaml index c42d3470bdac..46aa5743d672 100644 --- a/Documentation/devicetree/bindings/media/qcom,sm8750-iris.yaml +++ b/Documentation/devicetree/bindings/media/qcom,sm8750-iris.yaml @@ -68,11 +68,14 @@ properties: - const: vcodec0_core required: + - clocks + - clock-names - compatible - dma-coherent - interconnects - interconnect-names - iommus + - power-domains - power-domain-names - resets - reset-names diff --git a/Documentation/devicetree/bindings/media/qcom,venus-common.yaml b/Documentation/devicetree/bindings/media/qcom,venus-common.yaml index 3153d91f9d18..060be67574c7 100644 --- a/Documentation/devicetree/bindings/media/qcom,venus-common.yaml +++ b/Documentation/devicetree/bindings/media/qcom,venus-common.yaml @@ -18,35 +18,15 @@ properties: reg: maxItems: 1 - clocks: - minItems: 3 - maxItems: 7 - - clock-names: - minItems: 3 - maxItems: 7 - firmware-name: maxItems: 1 interrupts: maxItems: 1 - iommus: - minItems: 1 - maxItems: 20 - memory-region: maxItems: 1 - power-domains: - minItems: 1 - maxItems: 4 - - power-domain-names: - minItems: 1 - maxItems: 4 - video-firmware: type: object additionalProperties: false @@ -64,10 +44,7 @@ properties: required: - reg - - clocks - - clock-names - interrupts - memory-region - - power-domains additionalProperties: true -- 2.34.1