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 220D63FE34D for ; Fri, 8 May 2026 19:01:26 +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=1778266888; cv=none; b=n6UVRqOxlCHtYUogqYcsIVi8Mt64JimKCg7jRcvwsLizAIA3hZw1UoR4quizqP44Mg/amcIfeFOXxDZVwTRkwuyXblDt7qZjIA2JGZ6wYjL745EC2hJbz8kNfOGNIs9zrh81uC8/ZYea9oN1iYQxEFINNi/BwC7LzyE37w/ljLQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778266888; c=relaxed/simple; bh=0dWJdTDAwn0TkLi9oQbbPaM4nI+PhW9C76C69+j4eJE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=nD25NFqJ6nO67uMEIHCQhorlJ3J+wmSVpwjcnKCXMmCGAt/Kue1d8Vh1/u6pHdlIHMK7wf/PYHWvOhL+NJ2Ahh4CytZOgCuN/EhQF41P3mp9PseZYHe4WegQ35sGfD12+NgxERezR/9DX1S0+6N/e9auJDXq1o098dWhvlU3iSo= 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 (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 648DXeWI257933 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-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4e1auejse9-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-f197.google.com with SMTP id d2e1a72fcca58-82fd55bf6cdso1647592b3a.3 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=aZ5+Pb6s83cXJKGV2ewrf4ZesMRPIfQLK9gf6/374nxUl5GBRcm5ndmFPsy/Wfx0Kh d8mbl7Z8Nn9R3j+f4UycZ1wHL/5mMRJjFG+V1/SflpWFY8xL54pHAAboL7D1hWbsZX/g d6dec8GiVD89aC5PibMf7+DRqQSw6R7lLAZVMGe3dJOLWMRfpA6xcvitX0FeWe2ykPW2 cXF6C1f1l4i5SF2wtyVC/xRz7KgWMorOYI4+bJeThwc3XoxcuwpOABfRukWPTzwRUnVf mcEcpvVHX8iQo/kYa5ADZD0ofuQCjbN4hN/lekpsHu4nDjCMNIHGGAV8TNx1t6N1nkBt 9TPA== X-Forwarded-Encrypted: i=1; AFNElJ/ZhHCbT7mSy7HkQ/mGC33DbFjtGQaK5eL8+LXv7tWjazYFjeaDszu5TDfwZsp4aMEiWpXTIdK3iHXVgIvZ@vger.kernel.org X-Gm-Message-State: AOJu0YzqPR88nYuWNjs3JZ+yqwR1gAjkAL36E0p2c3GQWz4S3vgCtQh5 A3RxvI0Mg/mrlNcrrllcD6SDwHpBPqT76ml4GdbRah7OVE+6NECIX2O4iVpAzH7mH4l3rp8DN2n 4BUxncnekzYodgbRi6GxT50gUG4DJGD7no+1N4mC4T3pHrfawK2iw+Mi65HldLjbmMrME X-Gm-Gg: Acq92OHTLxIGZLnw5+fxEeak1ew1BOy7dEQAV1NfjwjdI7vAp0gp6QtGkgiZGKhFVGv ZKBYAePghJe/koR1XraPaDeqBqkpTAlgyw2RWtguGBwtTDSemeNrT9naAiMLbbAT6zsFxkEqJCe ZImKGXZwJeLbzGRiSv2lBX0Qb14m/RuehmFPK5L9/8jAXULAbpx61z38dn46W9wBI5KlYd9/izv GMW1YyRngSZDPQiGS+37KiFjJD0vAUzN+S0kdNcL3kr7+QhV2ytpsrqZmaQJbMDqE8Mf8tZh0ut wQSTyHzW5dUrCZiyOw5h249Onmb3qzfHyPRXkhfP4vQe4wpSEJfeGthbVHZghgn4jffw6Tdltv/ r4XCCHdEsmddEYcbibmHCUuZkg317c6qkWyqPRpKFCFtl4lBv9XZbheM= X-Received: by 2002:a05:6a00:12d2:b0:82c:d7c4:4c57 with SMTP id d2e1a72fcca58-83a5badef24mr13109506b3a.19.1778266883535; 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-arm-msm@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-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNTA4MDE5MCBTYWx0ZWRfXzWg4pcVNCybJ sOmWmEHYSgXZr//Wc3HhY3+zdbT/VZeoviCQLHV3tmf5xFpH1fXkNFkwYzBXlXlcPZZaIBrPd4j zr+YNIti1QOZnB3C2O6dfBewzlDhlEdTS6DNOoJcinAt1qxGEhGygYQr7ERXEgd28o/UxdSPl98 xuqB814E6vSVfGhzCMT1eexZy0dj3blnsxRUdv/ljveKJes8uu3nTTOfR/VM3YyMHwo+H8bblcA /aKf9vtsvzi3WdwFlG3V7HmBwILKQc0eL/0HratDguzLQYt1WWpVaNSChhCKfp258EZHBsgBxfZ cyhdBoeqBPE2bicqzP9TicumEu4Mt81pXl/9rmrrQ+TeecT1tNl9Mkw9lJYiX+e0QnTOpn0nE// 8TVAosO/KiErRM/GDAjhYkGFAJNxKL9ykjQa8Ck1mXHHFTHLGrwprOIVOEDOh0xEsv7Gf5mlzSw OFpdSK3qzpwMmOmJG1g== X-Proofpoint-GUID: p1GD7ZpKT4_DBpWvrUKKgsrekMV6DYyV X-Proofpoint-ORIG-GUID: p1GD7ZpKT4_DBpWvrUKKgsrekMV6DYyV X-Authority-Analysis: v=2.4 cv=fcydDUQF c=1 sm=1 tr=0 ts=69fe3304 cx=c_pps a=rEQLjTOiSrHUhVqRoksmgQ==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=IkcTkHD0fZMA:10 a=NGcC8JguVDcA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=3WHJM1ZQz_JShphwDgj5:22 a=EUspDBNiAAAA:8 a=w3dAq1wZhxS8m1Mzo3IA:9 a=QEXdDO2ut3YA:10 a=2VI0MkxyNR6bbpdq8BZq:22 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 malwarescore=0 spamscore=0 bulkscore=0 lowpriorityscore=0 phishscore=0 priorityscore=1501 impostorscore=0 adultscore=0 clxscore=1015 suspectscore=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