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 E6D5B41325E for ; Fri, 8 May 2026 19:01:24 +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=1778266886; cv=none; b=QfLaCtBuRFYSdFegc+5K27+iE+PjEvdrnwvpcUaCKxrC5ZfCdwzbMWleqt6VCpFR7/muFzCU2ZgV3Hsan6jtItMPvAOacz80mVrT2aIjT1pnAVxR25gUN/HRsthoyD7YaWaOJH10+A/an4IybXrA3/qLJ18tly/kzTiTOQxl+cw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778266886; c=relaxed/simple; bh=0dWJdTDAwn0TkLi9oQbbPaM4nI+PhW9C76C69+j4eJE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=PKSQ0IY1XoyuJZh1y0X45DWL0RqMnLE3GaAypSNw+sJPKSfqXH/10WiPYXC36gegsGeMPo0jk2I/rZbmMDy8hx8WaQU3UHtq47D9XFalitnqG2GdeXyF8RX2qfM4i3PXy273xQr4PdtRkEHII0AEtUKGGZd3Ge93mCI0Qp4/WkM= 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=KQ7HfnkQ; 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="hYXzWdtw"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="KQ7HfnkQ" Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 648GTjbw145296 for ; Fri, 8 May 2026 19:01:24 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 4e1kdc0gyb-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-835417ba8c8so1314144b3a.0 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=lists.linux.dev; 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=KQ7HfnkQN45hCaa967wTrjQpq1ExO3gout1wveE68fcoBHAi1L+tqGXBFJTWQixV9k sdmuBjDedJNMokH3RV9mAs1v0pQTEd0xPdRX8/cX0u5Ixg8Be7KCcyMG311bZU3/3pzk I0qNROJolYwLBUQ+qAdat4Rgycsu3lci3QwGHwuMagE/OZiFOGbACIpc7j8Qm18LY6DD IG7n/z1q4XzzaqFKv6cHx2WGbpgrgxgnaPGuTMuwY0RjqwWoDfadXB8Qg42Pxh+FJ2k/ TXqmeMh+pIyhRse+umSgTElPtQpytM6JgsN/USQdxGvlX6xsh3/bIC1kI4mIR/yqOXaS PmUQ== 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=pJINx5tTT0L/Dc9qaKXpB1ThtGRls3qXv2IISZ+6ym3Fx1bHtf5SiX3/DVD6pyMk2K BwtnvHi0Z7Y9BFqASEDsjbVzeO1uKhCf2AgXkd0Mv5qUT0s/8q6PxAI6X2NAj07J9wb2 jnc5vlxQatxy7/0mXUIrHCcqcTxO/aF7YVdv4kXteVE5JXqUthakmZQ26dI2B8l6xOaz tv+eXN1TY0GIcbPYS9SnU1bziyJtkCM8i67C/+NFOXdHJC38ebXki4qPmBBuxGc9bi/M ZcWn6L3P8Jrv2wXWIWrv1Flvs5BRuEE0L1P6xDotuboH3mYYjDpJsAx9kOxyUow7vS5l qiEQ== X-Forwarded-Encrypted: i=1; AFNElJ9GbCAnByDi6skBduj5UgfZsj0U7ce8dgHueK/ZxNPK9weGR//IAPTSnqJ0jF1OP/a0yZsgqw==@lists.linux.dev X-Gm-Message-State: AOJu0YwDJ0VPM4V4hZ6Z1eLf5Kx5GsSGZaq8/2QpF+h0kkbE8O3FpP77 qYA8okfk4bf2ncV6cS7K2DOlcDkevy7FmLurAR7nIjZjCEqJL0HRff3UDxAW+8zSpCBy0uT9oxm toHk644QSOqn1vU9i+xTrCUT+1IX2xc0p+BDjcS0eJaZkIdiDTzBKAhuUQw== X-Gm-Gg: Acq92OHGzKokMecsivLUMw2lk7lKKabqf0vNCMw0ljPSvDKV0C/BNa5wlFo6urrjMJf BHEZRknL+mzZkirQGWvFD9Y6VItaaY8ebjcK6gHICJMiSIvnAZoscpm3HwJc0dCCAwTOzU89C/H bFkZ67IeBt9tIhcfW//vYgqs0haGvfihCq2hBfMjcXScddp8jcm64lBVpIGd3fbZYkvvka0v42d Fd1qcF9K0XA5U0hvVg13Wu57JnM5x9eg25fOW5t0Y757dYnrdPKX7rGXIz02N4sCuwye3u70LeB 5fPa9R5TrXwlH+iGTA8r6+lgtVWwDaW6RJ4ynDrrcqmij9JAENPqG4qTZx4s6D41A3dYilrKyGC jFcw1VbFsuodwF4DoJQY9J6S4GE75UYFw0Uk0iB7b X-Received: by 2002:a05:6a00:12d2:b0:82c:d7c4:4c57 with SMTP id d2e1a72fcca58-83a5badef24mr13109496b3a.19.1778266883525; 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: iommu@lists.linux.dev 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-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNTA4MDE5MCBTYWx0ZWRfX6ElZAcq2W4bW fmzDP9CbuCqLH3cs1UFV/73Fuptc3OVM9o3wbe1rdaViISkJw2AKCGLsGottHJ37lFD85M1mbIP +PN8MMKXjPxyNW0p5j/akIt8zrhvy2Z0hWDzvl27V9FoVt+q7F+KPm8T0VA5jMx1G3ZEoQGlpdn YVnp74lzhrs8dBcGosQDLnqxVOM/O0akTSPCNEOa9FCBg8PMQtTnI0OSfsPbiFowJ+BmL1FYU3M xeajc6HzmH+MFM49sh1d5PRGbVdEmzCB1JLCQClZKIobl6NgoXleIcOGtY5Fc5i1xv2fLSr81nV tOP5ufaX7mFT0p4iuVAaonKQhPcViOGwEtCy6PQwOOZMHD0ULhJWXjx9Vg4YHET7SR7AmybJOFr +bnT05jlwHudn3k+tKMOboOpxlF3P0GOqWwpU29HmCyrvWPQUKOLGQpG2Qc4SH0gjKD1w6wC9mb 7sawhFA7Dr1c4iFf52g== X-Authority-Analysis: v=2.4 cv=RZOgzVtv 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=YMgV9FUhrdKAYTUUvYB2:22 a=EUspDBNiAAAA:8 a=w3dAq1wZhxS8m1Mzo3IA:9 a=QEXdDO2ut3YA:10 a=IoOABgeZipijB_acs4fv:22 X-Proofpoint-GUID: 09eaxNU-xz0Yass-5O2ueZYi_iyk7cHJ X-Proofpoint-ORIG-GUID: 09eaxNU-xz0Yass-5O2ueZYi_iyk7cHJ 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 clxscore=1015 bulkscore=0 suspectscore=0 impostorscore=0 malwarescore=0 adultscore=0 phishscore=0 spamscore=0 priorityscore=1501 lowpriorityscore=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