From nobody Fri Apr 3 22:26:42 2026 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 CB5853AA1A9 for ; Mon, 23 Mar 2026 12:58:35 +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=1774270717; cv=none; b=KvOkzy0TboXX7qVb310rlPE2bFRpouhB34jm+Y0F3Dh/cNkPWQGMsLZpUppwZvCMNridkGQoVxj/DfSXnx7yq0KQ95GwChq7XD1PGKDo8XVIrGmi6YizWSyxzH8b9qxBdZTaudTxwR4UJDaF+W1xKuxrRYxm8P5pszwMU7eQm7A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774270717; c=relaxed/simple; bh=O3qTqvPrEAM2Z6DMps4v+LJ+XWKaRSdRt03qEk2jEP0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=KySZjcK6AveOFT7xCXyzVmz67CvgLtvbqVekAJx4BGk2DUKGbrwhndXhRsLckof4Hl6pFi6KcOTEXS5zxg9KHTVPRMXtSQXjpycZI2sxqmjbAAlHvymDw74iAO/4jl6HVxTK4PEsrfVuO81iyLQweqzHSlTeG49e6+BHBeKMHnE= 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=EtkYH8Jn; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=N/+j7O0F; 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="EtkYH8Jn"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="N/+j7O0F" Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 62N7trLT3468141 for ; Mon, 23 Mar 2026 12:58:35 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=GuB2uDFgbIo dLV5rjISLBBhR1Mies0xNCtvE5IW7Ez8=; b=EtkYH8JnWZEM9Zn9vgVEGUs0ICh bMbqDwVxnDU2gUY2OYTvwfx5/NsF9aqMGV/NsyUTwTOQO4XYjEMSmQ2iGYzprZ5p 9/pvYAGw/7fVvS/F+m4TiAaxfYk9/2KfDU/9/4ZJh9QXxkGn67iJeb1RBuDNGm2A yVDiN0XtRO5OYFwbhJMM0753qFPMxgsmqEgnQCf9GKSJA8sJvNgjiiSNr1Vs2jmY LGX/gUC9iubmQZRI3YQnSG4QyydAeCFFBwLs8SgknfppHJ105wMbT0RjMQVVJj/L +ePSFsjZD7boBcCoF2YvdeW+tEi6paM9eWvHjiR5iDzdSKZT3BAT8D9Xlvw== Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4d31jgh1ke-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 23 Mar 2026 12:58:35 +0000 (GMT) Received: by mail-qt1-f200.google.com with SMTP id d75a77b69052e-5094ba09affso5173801cf.2 for ; Mon, 23 Mar 2026 05:58:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1774270714; x=1774875514; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=GuB2uDFgbIodLV5rjISLBBhR1Mies0xNCtvE5IW7Ez8=; b=N/+j7O0F7NjkKBw2miw9bk0jnux8S74mCyxRMJVwr3cSG+ETgQm6hXSlaPqDObWJk1 fveXfWCYY1+cQT1P8FN+/suF7E4TQ6RGcgiBRhS7O2oYW1D+0pYafK/EZTpwHdn8AYAF 5DysyFDKLW2eWLWqojfyQ9c8WKY248KiSyeE5TQUuRdFPUdzI0qh29G9SMyDYOn/J3/4 fKyS0336NxIBSUm3dz01p/DhynlW6dD1eQCKRVOHeTKqFp+bWzgdOd4h1zupVmez5yi2 dnXRFXNVzLJP8i1Tc3ptEMUCYncxFr8u+JWScLZD2Gg8poas6XysDbvMcFwBGL8febBG cRoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774270714; x=1774875514; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=GuB2uDFgbIodLV5rjISLBBhR1Mies0xNCtvE5IW7Ez8=; b=n5M/YtLToI9ZpT7219f6zCCygd2eyYHKKR8t7eHSMkxlA8U7D7hd5m2F1nyczz33q1 Xau8wqikcEXe5f6cGUdSuILktw7xOXhoDLkQmc2+MIhwAzkkD+fHXHJRH8pp/0RwxP45 iDix2WcwCT9FA35q09dvVdqUXUEY6dhmx70n6p2Vl46BMBvVSowdpgj8iD5qNkjmNXDG Hn7G8suMRD7oFIdWSAFTF4ANxj00uBiYWTiduZYdaFfxPzP5Tcv2lppL1J1X8aK0aMMD 5mRpOUBodDPeEpsxYUZPLfJPTIMDoM7/CEgh1cQvDPpcSz+WOzpX+AATOF1kiFOUWdaw tLbg== X-Forwarded-Encrypted: i=1; AJvYcCUnwmwUTel8rAfh2Y/CJtKXwIn63vHqf2r0Zh/09fy9IF4lATRV6w0nPJ5IAvTjrDoBynISXiFzcdWuowo=@vger.kernel.org X-Gm-Message-State: AOJu0Yz5p3XAsuEOk58ZaGTa89K43DkDVs1VsFUcP5m+YniC1H63r5z+ It4jNhuwiV0zdcJp2dNH0so73UK1y01+ju7Vdx9fh4DxMEqYH3rWHTZxAwPIbIanzAwY8IzEJ2e e6d495dAp40As0UsV0ygGkTO7ZlQ+ljh2qpxkkMNUuSlkailD6cI5NAf1t27cLCHp4rE= X-Gm-Gg: ATEYQzy6C05zF1x5qDSh9bRPyPH9CvidXDiPMQx5a4KVytnouxBXfRhH4NogTq/+L6V kWa8ZEhZeHX2+/CumoUpkdMmUOLMjQTVfhBfpeSrinEYVqJPB2EjWH2fHPWd83rBbJGm4coTDCn diOhw6ZS9VxlsFbkQTMypla33NQvNtGUde4mTkXWSFcrszdzsZFLosjUkoMfuDoVqZQY8yG6LDL CV5aVnr4M7Uy9K6B6B5ryX9HGGZK3eEGniHIWrwqxMg5PM5Y1RwAsQMKCIwpS7RRh0QOGS0HSx9 f+vmFOvW8xeKgCVqRMv3lMwMab673wier628kAb8vP2P9A4+grqBfYQt+YJBaRzJSSC6++mDBV8 xl8ZHJZDmtBmRVWqrWHkzyml3mBv7QJXgd0Ily1CxAqoOf58s+C0ijMkUbJX1nxg816v9YWtKL7 JIpbPhz0xanWYQ X-Received: by 2002:ac8:5985:0:b0:50b:51f7:c671 with SMTP id d75a77b69052e-50b51f7d579mr94395931cf.67.1774270713905; Mon, 23 Mar 2026 05:58:33 -0700 (PDT) X-Received: by 2002:ac8:5985:0:b0:50b:51f7:c671 with SMTP id d75a77b69052e-50b51f7d579mr94395631cf.67.1774270713493; Mon, 23 Mar 2026 05:58:33 -0700 (PDT) Received: from QCOM-eG0v1AUPpu.qualcomm.com ([2a01:e0a:830:450:d9f3:cf55:9f3d:be1c]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b98335ddfb9sm487139066b.37.2026.03.23.05.58.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Mar 2026 05:58:32 -0700 (PDT) From: Loic Poulain To: bod@kernel.org, vladimir.zapolskiy@linaro.org, laurent.pinchart@ideasonboard.com, kieran.bingham@ideasonboard.com, robh@kernel.org, krzk+dt@kernel.org, andersson@kernel.org, konradybcio@kernel.org Cc: linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, johannes.goede@oss.qualcomm.com, mchehab@kernel.org, Loic Poulain Subject: [RFC PATCH 3/3] arm64: dts: qcom: qcm2290: Add CAMSS OPE node Date: Mon, 23 Mar 2026 13:58:24 +0100 Message-Id: <20260323125824.211615-4-loic.poulain@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260323125824.211615-1-loic.poulain@oss.qualcomm.com> References: <20260323125824.211615-1-loic.poulain@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-GUID: _4HJRSDX1Gp5gVp77jFq6jCx5xrXhNKW X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMzIzMDEwMCBTYWx0ZWRfX+Ul3Ww3KQOf8 5aXOVJlvGRKAp5QWIhdokPrOxawc7xUkAt7dbnsq+wn7O+1VSu/dNgHghuSStlq2qvYK7nmSz1z uupCqFA/ytuA3UmL9YNJ6j8DsqQuA8cjbVJU6TLy+mNFj42YU6j9FEtjQwuaWgRRcsaoI5I4QHR ZmMRdP0dAqL7ZROAIUXREBoDZpUTwEiTI+Dg6CuGefEhPnBwajgMcyHAlTCyBi3B/YtOvUXd3lx bq+WTDnGscNBKuUFlcl2tB7Y9C8tas0iItytZqMRMUE2byyHfSqHAgR0L4jqxdtcpZOHoQfgXom zCiSWG8X/HhDbmpgvm727IoYFtf/h01A3MHCfzDmoCluFiq58G7FsyOO5itIJx1hd2GbI/vRg8r z8wLLaEPbi706RIKBR2ucYnPwNNGL+W2IN4edAhlZ4pI/OuF8G+un0Qt4UVZy0DwYqaH56sFGNL R9G1mwygU8EyshZXKtg== X-Authority-Analysis: v=2.4 cv=CMInnBrD c=1 sm=1 tr=0 ts=69c138fb cx=c_pps a=JbAStetqSzwMeJznSMzCyw==:117 a=xqWC_Br6kY4A:10 a=Yq5XynenixoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_K5XuSEh1TEqbUxoQ0s3:22 a=EUspDBNiAAAA:8 a=mzACg6t9QVaUiISIE5MA:9 a=2O4lf2QStkfF1PFr:21 a=uxP6HrT_eTzRwkO_Te1X:22 X-Proofpoint-ORIG-GUID: _4HJRSDX1Gp5gVp77jFq6jCx5xrXhNKW 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-03-23_03,2026-03-20_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 clxscore=1015 malwarescore=0 adultscore=0 lowpriorityscore=0 priorityscore=1501 spamscore=0 phishscore=0 impostorscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2603050001 definitions=main-2603230100 Content-Type: text/plain; charset="utf-8" Add the Qualcomm CAMSS Offline Processing Engine (OPE) node for QCM2290. The OPE is a memory-to-memory image processing block used in offline imaging pipelines. The node includes register regions, clocks, interconnects, IOMMU mappings, power domains, interrupts, and an associated OPP table. At the moment we assign a fixed rate to GCC_CAMSS_AXI_CLK since this clock is shared across multiple CAMSS components and there is currently no support for dynamically scaling it. Signed-off-by: Loic Poulain --- arch/arm64/boot/dts/qcom/agatti.dtsi | 72 ++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/agatti.dtsi b/arch/arm64/boot/dts/qco= m/agatti.dtsi index f9b46cf1c646..358ebfc99552 100644 --- a/arch/arm64/boot/dts/qcom/agatti.dtsi +++ b/arch/arm64/boot/dts/qcom/agatti.dtsi @@ -1935,6 +1935,78 @@ port@1 { }; }; =20 + isp_ope: isp@5c42400 { + compatible =3D "qcom,qcm2290-camss-ope"; + + reg =3D <0x0 0x5c42400 0x0 0x200>, + <0x0 0x5c46c00 0x0 0x190>, + <0x0 0x5c46d90 0x0 0xa00>, + <0x0 0x5c42800 0x0 0x4400>, + <0x0 0x5c42600 0x0 0x200>; + reg-names =3D "top", + "bus_read", + "bus_write", + "pipeline", + "qos"; + + clocks =3D <&gcc GCC_CAMSS_AXI_CLK>, + <&gcc GCC_CAMSS_OPE_CLK>, + <&gcc GCC_CAMSS_OPE_AHB_CLK>, + <&gcc GCC_CAMSS_NRT_AXI_CLK>, + <&gcc GCC_CAMSS_TOP_AHB_CLK>; + clock-names =3D "axi", "core", "iface", "nrt", "top"; + assigned-clocks =3D <&gcc GCC_CAMSS_AXI_CLK>; + assigned-clock-rates =3D <300000000>; + + interrupts =3D ; + + interconnects =3D <&bimc MASTER_APPSS_PROC RPM_ACTIVE_TAG + &config_noc SLAVE_CAMERA_CFG RPM_ACTIVE_TAG>, + <&mmnrt_virt MASTER_CAMNOC_SF RPM_ALWAYS_TAG + &bimc SLAVE_EBI1 RPM_ALWAYS_TAG>; + interconnect-names =3D "config", + "data"; + + iommus =3D <&apps_smmu 0x820 0x0>, + <&apps_smmu 0x840 0x0>; + + operating-points-v2 =3D <&ope_opp_table>; + power-domains =3D <&gcc GCC_CAMSS_TOP_GDSC>, + <&rpmpd QCM2290_VDDCX>; + power-domain-names =3D "camss", + "cx"; + + ope_opp_table: opp-table { + compatible =3D "operating-points-v2"; + + opp-19200000 { + opp-hz =3D /bits/ 64 <19200000>; + required-opps =3D <&rpmpd_opp_min_svs>; + }; + + opp-200000000 { + opp-hz =3D /bits/ 64 <200000000>; + required-opps =3D <&rpmpd_opp_svs>; + }; + + opp-266600000 { + opp-hz =3D /bits/ 64 <266600000>; + required-opps =3D <&rpmpd_opp_svs_plus>; + }; + + opp-465000000 { + opp-hz =3D /bits/ 64 <465000000>; + required-opps =3D <&rpmpd_opp_nom>; + }; + + opp-580000000 { + opp-hz =3D /bits/ 64 <580000000>; + required-opps =3D <&rpmpd_opp_turbo>; + turbo-mode; + }; + }; + }; + mdss: display-subsystem@5e00000 { compatible =3D "qcom,qcm2290-mdss"; reg =3D <0x0 0x05e00000 0x0 0x1000>; --=20 2.34.1