From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.168.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796083226; b=2jgtaiNmQbd/zdbx2Rsz6lcORnjMj7IzIB/vIDfWT56fV2H79AcGhHg9LiVrSq/MdEud /wJUjtAnN+WYCAQjtEW4TlxRlBDfjqE//sMqJYwzSkYD+jptUuD8qACmCwYFbNqItNVRl SKSao8DiHtVtIFjMCMsu6EpWw8h83BkvTSOB4h5Fzsh2CP7KcBTMep0QYmO9Cy6x+f6qI nX5klOMHkD8vkDZB6cQSs/XVudZO63EZXb+Didze1Ogx+enYjA+CsggYFNrGJYLe3NrOH XzQSNiNpTE5Gyihbcc486SeJ9rKswTOF+nB+LadlP7ALp2IabI+/xxrqLucRMcnTSFw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796083226; h=DMARC-Filter:Received:DKIM-Signature:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:X-Received:Received:From:Date: Subject:MIME-Version:Content-Type:Content-Transfer-Encoding: Message-Id:References:In-Reply-To:To:Cc:X-Mailer: X-Developer-Signature:X-Developer-Key:X-Authority-Analysis: X-Proofpoint-ORIG-GUID:X-Proofpoint-GUID:X-Proofpoint-Spam-Info: X-Proofpoint-Spam-Details-Enc:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=y+MAKsZr60+prZqfFWCiEEpb7+zhU2afC8WbZLetcmw=; b=sZm1QlArR0wnD0pbZgVUzGxqNBFELHPiQz7P1+RB5K91JmNyJFQTVUabCjHfJFRmNsJA etcNmC7OKbcEeoriB5kbr261SN9C9kUWpvUtEC6xXYEKOGHUeb7dXHuGDTTKQ+3ca0Sye qDcDe7+jhcVjHz0M1RsnVrDr3OQpVi1MjuTTqUJ11HqtaToFqq8i5afg+eSCMjOrmcTEk 4BlKFOiemQ4fCY/PUNnU8whcB8uDGyE02wTATKfXq/f/b7zBh5p5YjVxqZkmQAvyHm8Y6 oI0YQv6BPFsZYv3/ANEleEdBxNPl6ngW8t450XIcm8tAPBQxTcvDMecfjINMj/Y9Lsg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=azXS0orM; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b="N9xgfKZ/"; arc=none smtp.remote-ip=205.220.168.131 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9226A606A32C for ; Tue, 1 Dec 2026 00:00:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 9226A606A32C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none 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.a=rsa-sha256 header.s=qcppdkim1 header.b=azXS0orM; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=N9xgfKZ/ Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6AUKQEjj2032770 for ; Tue, 1 Dec 2026 00:00: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= y+MAKsZr60+prZqfFWCiEEpb7+zhU2afC8WbZLetcmw=; b=azXS0orM/gRmxXZX 5QBsGHJwNhQxnsXcr/shsp/lNS5/LHR26Mw5aiO5Rq3as4dKMNbsXfpwkftBhACK xd9MFvjrE8Hr2Pd5UH/XmvZsn9tuL6GKrf2ZJpnaojsciMMu4ZE2TS7qZHkz20fj LIdvBGyNn8RDzpEOVcYlfCd6kUGo6vNWVROy0te25Jz3R17gkDoaz4KbOj7F0vX+ ofbyhiho2P/8rheRi1RYH2DN1DOL5zeQJkvfx7j1I9Th9Est8gKKZ/eWqrGnHyMO 5h2Jum6KHl5IjH+cjJTJSDIt3QfOlZ2bzPEpwkJ8y0LNHjvKeVNXbiwNZptKMPV4 3x2Qeg== Received: from mail-dy1-f199.google.com (mail-dy1-f199.google.com [74.125.82.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4j9enx10p0-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 01 Dec 2026 00:00:24 +0000 (GMT) Received: by mail-dy1-f199.google.com with SMTP id 5a478bee46e88-38711d03e80so192438eec.2 for ; Mon, 30 Nov 2026 16:00:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1796083223; x=1796688023; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=y+MAKsZr60+prZqfFWCiEEpb7+zhU2afC8WbZLetcmw=; b=N9xgfKZ/gZXLQWK2eIZlSR45Zjs9jGhG5yMox9dPbFkNHb/xBQsd+Y4D6/3WKX7oVp 1JrDnAi63pSUUC6vmygCt/WmYRH7Itil3ZVrda8hs5ofUx6tQR2EIyeuS+sgKuxNpD7o JweBl69C/QckFqn3P+4T3Uj2TGcAm7R2jhPzJ9nQi63rvLkH2uj/ls3wX3gs+fsV7+Zy vIL45K6LckjeipPhAZ9cmO+rCuLiCrCqrt7K/BvoAqm1JTRZpHiio6Ag12pIWXIB466Q xn2ECVuDHGPilDFHFgb2zBEu89l8zKxR4sxTYw6TZ4Prc5iyqhjRP6WFPo8P6el54Inq Vi9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796083223; x=1796688023; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=y+MAKsZr60+prZqfFWCiEEpb7+zhU2afC8WbZLetcmw=; b=uyH+AxfWgkJzQ8yUX1wGDRE8DNl917Jtzu22heCv9p6a6AgYyjtueApZpnqVYL0Ko0 oQxDMTPpJWQVqV0LbO4w/aThZ4XfksAqhsKJfQDW1rNicJSCwgQriDE9bJ6e7LTFxqOy r6Z8zs4kWD4emwiBVta2kQsHYwoQjZldZUksfHseLktGcK/nQ2R2EjHot5WAmjM5+zva Un8C/wCVepwsxPy+InM1h0SZ9X9IbnP54sDXM8jTEOvXloT5JMlZQ+cAfgcaM+GkCDzK HbnAyUmz2EqcOGLU/+ZKbx3Dr45AvXUzH/Z2Vl2qv8/ypimem3QvBQugpzH4EL6vtwcB 74Sg== X-Forwarded-Encrypted: i=1; AL+hErETPM01sfSEjy0Kb1GyUe780PwxORQ6/LneSJNCJWlQltAkYKTnCKrSN2DneivLK56i+zSZshfWvB98Cow=@vger.kernel.org X-Gm-Message-State: APuU4Z9x5YboiWLTfnT1/fjSXQtQrYSQvAOX2CCzSleMPWAYc61N5RmC 6TqVMiF+u4dzsZBAux/NAUmakm8CtmqmI/TAFhMbBDY9qiDCxMmgSASKQVVE5OVUDplnvwfFWFr b98u8X5iwCp9p03lE/OJH/v6E4b0vjc5HKZy+aWrytiLAZ89xnb/WjkhKuEgb8GkUm4E= X-Gm-Gg: AZFdTZfcT0L+8kvCa2XNixrtd6VwByQpSksdk8uJKN+I/1icayZwfbF9Jyi4w0aQweq cUlKdMasldOpkvXEmkjXU9IXy/RYhWfj8hOw1oEMLsArVyHHOUO39HxB0fHE/AC4pKL1QUGGB6Z fy17Qg8ZIBHjtX47dZmtS0liX9/A1rd50rJ8eTeR8aGI3r5T2OvgZM5RuTVr2qvV4yaeeYiOp2m 2/nlaMycN3cbZaugTwCvJ888dmfhIQlNNJu/qZUS/xeLQTfw3kP3X9PWex35aOkAc9tCbIKWUHd Iw37MlCLD/xxjzaj+9VA0iJnk+Gv2P4tAq2BRoADk3Y6mqlLYRY/B2K0gaOKaz+4vok9+8ZS+gt BkNtlhmbaXiR3PvKHz5QDV8kRMiHiMjJqlzE0MuKyV7rQrCyNpfaLl3U9R6pq3hDW+FojNzkfB6 KB+t00Sv2aibwSjXmfj4vSNcJC+nNZ/QBlyw== X-Received: by 2002:a05:693c:829b:10b0:386:c3c4:b914 with SMTP id 5a478bee46e88-386c3c4ba54mr37176237eec.0.1796083221704; Mon, 30 Nov 2026 16:00:21 -0800 (PST) X-Received: by 2002:a05:693c:829b:10b0:386:c3c4:b914 with SMTP id 5a478bee46e88-386c3c4ba54mr37176071eec.0.1796083220651; Mon, 30 Nov 2026 16:00:20 -0800 (PST) Received: from gu-dmadival-lv.qualcomm.com (Global_NAT1.qualcomm.com. [129.46.96.20]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385c6830815sm94064373eec.20.2026.11.30.16.00.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2026 16:00:20 -0800 (PST) From: Deepa Guthyappa Madivalara Date: Mon, 30 Nov 2026 16:00:16 -0800 Subject: [PATCH v3 1/3] dt-bindings: media: qcom,mahua-iris: Add Mahua video codec X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20261130-mahua_iris_enable-v3-1-311fdb15a11e@oss.qualcomm.com> References: <20261130-mahua_iris_enable-v3-0-311fdb15a11e@oss.qualcomm.com> In-Reply-To: <20261130-mahua_iris_enable-v3-0-311fdb15a11e@oss.qualcomm.com> To: Vikash Garodia , Dikshita Agarwal , Abhinav Kumar , Bryan O'Donoghue , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Abel Vesa Cc: linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Deepa Guthyappa Madivalara X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1796083218; l=6361; i=deepa.madivalara@oss.qualcomm.com; s=20250814; h=from:subject:message-id; bh=Fc8skBo7z7hLivpSawfUjpXsn2XbQN/qt2VC9DVAmnU=; b=+7LikDwNEYL6Dhg7Mze6dGnnujJr2D9qljRawgDZ53tSX3KsKatovLS9JswoUE2mWbUfOqX59 bVfta25hOhEBMf5NRC6vY9NVyfHQNSrDxlgq8EOcVu6qjLOYZocEXbO X-Developer-Key: i=deepa.madivalara@oss.qualcomm.com; a=ed25519; pk=MOEXgyokievn+bgpHdS6Ixh/KQYyS90z2mqIbQ822FQ= X-Authority-Analysis: v=2.4 cv=Lv0HWXdc c=1 sm=1 tr=0 ts=6b0e0e18 cx=c_pps a=cFYjgdjTJScbgFmBucgdfQ==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17 a=IkcTkHD0fZMA:10 a=pUM-KoujPXoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22 a=gEfo2CItAAAA:8 a=EUspDBNiAAAA:8 a=ZjsRUOjYzCQhN9IHvjYA:9 a=QEXdDO2ut3YA:10 a=scEy_gLbYbu1JhEsrz4S:22 a=sptkURWiP4Gy88Gu7hUp:22 X-Proofpoint-ORIG-GUID: gH3-4UNTSSga_wGaLTeEjVvZsx6mxDnO X-Proofpoint-GUID: gH3-4UNTSSga_wGaLTeEjVvZsx6mxDnO X-Proofpoint-Spam-Info: AW1haW4tMjYxMTMwMDA5NSBTYWx0ZWRfX+ge5dkDJuNNj VQ47C1IH+mhL+xmQfQs9eBlBR4JjWA2nLfBgq8Y2WZ8jtl5QeWWrgwV0i5x/gDRC45/XrX6Vj7l DUw/C1ElQYJRTXcZr78OaJLcQpa9ppI= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTMwMDA5NSBTYWx0ZWRfX+Mae92MLvWTk 9eXyoK09+ex2Dn58ly2VxzunEAmb0629xfs4DM7bc/H5+DadG8p/0TOqgs0UIa5eXCfpq4cnkG5 PGcFn1MwDh4hQMcNgMmIRtvHjssIG9xL3jKZGBb5qBQ6E2gbk2zZxSNvkcOK3xjAwtcGrPIUTuw 3N+GcPBVkkn7Bt0BcGSKCIMy/rVHozMkAfbsJOqViuJknv4wufSFagyCZ9f5/iBDf+P73UbNrFJ Iz5Soq06uStCd0EURqTkCfiD5d44sze/6ei1W0nuqXH5FKGA4nKwszTycgDAZCtoRpXuI2zx0Lt r6ZeHgROyG/nCBdINukoB1aEWAab30Djx03RiPFXPE5RwfO7qkSnQW7HS4nGTVo69r+86r1y2bW QDfpfntlZE2wZvMO2QpQYQuo8DewQeYnUYKJqkP4rMwCyMpoZlWc5+EERXFsC8BP/VjaKyDl29a XdgAgDYuVDt//8jXbRw== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-11-30_05,2026-11-30_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 phishscore=0 bulkscore=0 malwarescore=0 suspectscore=0 priorityscore=1501 spamscore=0 clxscore=1015 impostorscore=0 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2611300095 Add a devicetree binding for the Iris3.9 video encoder and decoder block found on the Qualcomm Mahua SoC. This is a single core derivative, leveraging most of Glymur data with the clks, resets present only for vcodec0 core. Signed-off-by: Deepa Guthyappa Madivalara --- .../devicetree/bindings/media/qcom,mahua-iris.yaml | 200 +++++++++++++++++++++ 1 file changed, 200 insertions(+) diff --git a/Documentation/devicetree/bindings/media/qcom,mahua-iris.yaml b/Documentation/devicetree/bindings/media/qcom,mahua-iris.yaml new file mode 100644 index 0000000000000000000000000000000000000000..5a96fd4ea08422daf3eb0fa832a75a4994e86ffa --- /dev/null +++ b/Documentation/devicetree/bindings/media/qcom,mahua-iris.yaml @@ -0,0 +1,200 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/qcom,mahua-iris.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Mahua SoC Iris video encoder and decoder + +maintainers: + - Vikash Garodia + +description: + The Iris video processing unit on Qualcomm Mahua SoC is a video encode and + decode accelerator. + +properties: + compatible: + const: qcom,mahua-iris + + clocks: + maxItems: 6 + + clock-names: + items: + - const: core_iface + - const: core + - const: vcodec0_core + - const: vcodec0_iface + - const: core_freerun + - const: vcodec0_core_freerun + + dma-coherent: true + + interconnects: + maxItems: 2 + + interconnect-names: + items: + - const: cpu-cfg + - const: video-mem + + non-pixel: + type: object + properties: + iommus: + maxItems: 3 + + operating-points-v2: true + opp-table: + type: object + + power-domains: + maxItems: 4 + + power-domain-names: + items: + - const: venus + - const: vcodec0 + - const: mxc + - const: mmcx + + resets: + maxItems: 4 + + reset-names: + items: + - const: core_bus + - const: vcodec0_bus + - const: core + - const: vcodec0_core + +required: + - clocks + - clock-names + - compatible + - dma-coherent + - interconnects + - interconnect-names + - power-domains + - power-domain-names + - resets + - reset-names + +allOf: + - $ref: qcom,venus-common.yaml# + +unevaluatedProperties: false + +examples: + - | + #include + #include + + video-codec@aa00000 { + compatible = "qcom,mahua-iris"; + reg = <0x0aa00000 0xf0000>; + + clocks = <&gcc_video_axi0c_clk>, + <&videocc_mvs0c_clk>, + <&videocc_mvs0_clk>, + <&gcc_video_axi0_clk>, + <&videocc_mvs0c_freerun_clk>, + <&videocc_mvs0_freerun_clk>; + clock-names = "core_iface", + "core", + "vcodec0_core", + "vcodec0_iface", + "core_freerun", + "vcodec0_core_freerun"; + + dma-coherent; + + interconnects = <&hsc_noc_master_appss_proc &config_noc_slave_venus_cfg>, + <&mmss_noc_master_video &mc_virt_slave_ebi1>; + interconnect-names = "cpu-cfg", + "video-mem"; + + interrupts = ; + + memory-region = <&video_mem>; + + operating-points-v2 = <&iris_opp_table>; + + power-domains = <&videocc_mvs0c_gdsc>, + <&videocc_mvs0_gdsc>, + <&rpmhpd RPMHPD_MXC>, + <&rpmhpd RPMHPD_MMCX>; + power-domain-names = "venus", + "vcodec0", + "mxc", + "mmcx"; + + resets = <&gcc_video_axi0c_clk_ares>, + <&gcc_video_axi0_clk_ares>, + <&videocc_mvs0c_freerun_clk_ares>, + <&videocc_mvs0_freerun_clk_ares>; + reset-names = "core_bus", + "vcodec0_bus", + "core", + "vcodec0_core"; + + #address-cells = <1>; + #size-cells = <1>; + dma-ranges = <0x0 0x0 0xffe00000>; + + non-pixel { + iommus = <&apps_smmu 0x1940 0x0000>, + <&apps_smmu 0x1944 0x0000>, + <&apps_smmu 0x19e0 0x0000>; + iommu-ranges = <0x25800000 0xda600000>; + }; + + pixel { + iommus = <&apps_smmu 0x1943 0x0000>; + }; + + video-firmware { + iommus = <&apps_smmu 0x19e2 0x0000>; + }; + + iris_opp_table: opp-table { + compatible = "operating-points-v2"; + + opp-240000000 { + opp-hz = /bits/ 64 <240000000 360000000>; + required-opps = <&rpmhpd_opp_svs>, + <&rpmhpd_opp_low_svs>; + }; + + opp-338000000 { + opp-hz = /bits/ 64 <338000000 507000000>; + required-opps = <&rpmhpd_opp_svs>, + <&rpmhpd_opp_svs>; + }; + + opp-366000000 { + opp-hz = /bits/ 64 <366000000 549000000>; + required-opps = <&rpmhpd_opp_svs_l1>, + <&rpmhpd_opp_svs_l1>; + }; + + opp-444000000 { + opp-hz = /bits/ 64 <444000000 666000000>; + required-opps = <&rpmhpd_opp_svs_l1>, + <&rpmhpd_opp_nom>; + }; + + opp-533333334 { + opp-hz = /bits/ 64 <533333334 800000000>; + required-opps = <&rpmhpd_opp_svs_l1>, + <&rpmhpd_opp_turbo>; + }; + + opp-655000000 { + opp-hz = /bits/ 64 <655000000 982000000>; + required-opps = <&rpmhpd_opp_nom>, + <&rpmhpd_opp_turbo_l1>; + }; + }; + }; -- 2.34.1