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=1793634805; b=aUdYXMyXm81REpqtCnAd6ULXNttkc61qFFW6noFO+HpAFtvSdmS51/5lomzvfFcgvoDk sjIIkCMwaeBOGm31ZYE+d2bTyCHQcse3W8nFpGqmb6af6amokTi+EnCNicjwM1lCPlK/1 iDBC1fAJGwLZmtIyiVIfCFL11CZU8MP1eaMNHSlqAX3leyILVJSnbe4I0XSbu/UvgLtfR BPYVpBitRI7O15Hey2z0TcNWIz8XskKEMvG7lye+3btwUTG8EOtETRkWuvxZyUIaLrBVJ YvSC5d6vw69WYRqjlFkg6U5NtIT5vmaOmVLheX5+Yn06ick5PZaYSIa3zT1GrZQwIxA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793634805; 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-Authority-Analysis: X-Proofpoint-GUID:X-Proofpoint-Spam-Info:X-Proofpoint-ORIG-GUID: X-Proofpoint-Spam-Details-Enc:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=yQgJsfAJIwc1P3YmgjY5JtZQxBkIW43VtHK4ofExmak=; b=B24zWdyR3H9rYqk31714Icnukha4AuOz0cv4N7m6zAo3tQTf9Er6exCnySQXNVWKo+nd cX0uB6GTseNrRqaQrSh5rQ5b5ekIj1rME/S27qOgkZGHu2ND3cbvjerKFKmBXJB/IRRxz c0jl95s2EkHio68Q5Zvpy85pbRKVEg+6BiQBU6GayL6+Q9G8JHCmC4yJ1EHdssI7mrHgo aTw+SKdOfqV9+8jaSR4tQuXAbfkhb0sb9nAcMD1x/qn1B+0sVMTvUI5y3l4MwKTBEdMmy XioWlphCWhx3shngcrQ5yGhuCzypcpDkXg9cXIBwlWOleGnngov3bksJe9S5cdfiwYA== 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=k3+yOmvj; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=Y193JeDP; 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 7D72B60A8C18 for ; Mon, 2 Nov 2026 15:53:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 7D72B60A8C18 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, unprotected) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=k3+yOmvj; dkim=pass (2048-bit key, unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=Y193JeDP 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 6A2DpVOv3512815 for ; Mon, 2 Nov 2026 15:53:23 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= yQgJsfAJIwc1P3YmgjY5JtZQxBkIW43VtHK4ofExmak=; b=k3+yOmvj6Xrqikrx kc5L6IbhXOOlVVPVXq7f5drCBcxeuEE6+1VZ5xPNbADQmYbcMrJ/gtHtswCFf6Qg fxF8ErmZzD77wuRDNTbM6vNqKM92NdxxUU7W1Ekt3AdyHufkIcPjcAebuBqVeS8x r9ex7S3m/qZtbmiAl0qT3dVbab4hhO7lRzsUwgt6DJDt7ysrGEqem77eK4H7RRRP 2fUrfp8XUmv9SUZXf8P9pq4LldJHgec4MoqVcemHNU1r+i8Ze89E+7rmD5WR1NZP 60etYKvupIgrRdtt6cahJaJJSYTpjP8uX3tgV7FJuzvO6wMZ+lAS0yZupO/6AeaV FWi8mw== Received: from mail-vs1-f72.google.com (mail-vs1-f72.google.com [209.85.217.72]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4hpqfrhps8-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 02 Nov 2026 15:53:23 +0000 (GMT) Received: by mail-vs1-f72.google.com with SMTP id ada2fe7eead31-7cc694cb4adso580011137.3 for ; Mon, 02 Nov 2026 07:53:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1793634802; x=1794239602; 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=yQgJsfAJIwc1P3YmgjY5JtZQxBkIW43VtHK4ofExmak=; b=Y193JeDPnq+Ca7d+UKtZCw/h4qt9IASsxSL8vcDm14/nA5OUI7s/f7oN83XjewIqJ/ 7D295qzxIGFBZXA2DXNMkaCCakvV3FHaiSalpvboHcCQrVQEyYavbe2CWo+9qan0s4FJ xaDEsAGq2g4chBgjEbePL4k1d5OQA1yUJg602oM1zeE+N6d5YiBYuBWiCvWoAFV87iAb hrPUV3I+xg/YKx0weC4mjBtYsnVhsxKq0dZ9/4Ypds2cM+iBVki1oYFEatt4bzLYeHKv vjKJlDN/o8qIxVkHq6UIfO81Le2SDSda4mHMp/LAZIV/bJU7XfBgD52GrOBgTRoloDPG /q/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1793634802; x=1794239602; 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=yQgJsfAJIwc1P3YmgjY5JtZQxBkIW43VtHK4ofExmak=; b=RdDVgAymcbs/tfe4/vkXIDhlz1rdP6UrkvdU7iKcD9M+hA/Udr7A9/p/n3CX9cby70 Vz/DWLIBOjyGVNGchWu24ODuG3CglyrPWwKLg5PHs1XqMxFJWjl7/8H+W3jsKoAJucOm DISUN24SzdTb4i/0+QT3EkaI8hSCILmf2iPspBnETXqr4X/qehrn5L+x32RTyZk+fRPH /wTRXSpoF4y+9hp7jNWVMi+9+8I04B3lzbroNGJCOSizn4Ggy7kIIDTY7EEq/PskIhOJ /bZ1Ujhbq/rxfhZjhBxDPf7td6Ye4IN9yt8zRMyMsE1ugNHgGwsYQiyCUzbFMPRGkJU4 +5zQ== X-Forwarded-Encrypted: i=1; AKwUvBw0LpU4sRpjqy+kIEsmi2V9qk0yxgUw5mSfbsSZFjefcyt1waoTAMvnSA9cyZNG4Uh/6usudnAXHvawGiU=@vger.kernel.org X-Gm-Message-State: APuU4Z9LbvvsryEx8zTCRTbR+zklaYlxm7BgRkb+qKJVu6Fmvg4uwsAt kTfvT9TUkaIFM68qpV12B0uFxxYMmwGcylkicLdPx/Sh7TCLt5k48aLiayZls0PSiX4KCW6rGzu EgG59PUY18GSmtKiZC1r+Obq/lN/xARw8CRzgS7I7ETiUbHfiFhTZ/slPruRGbCQcY/Q= X-Gm-Gg: AYBFou1zM10z0v7uthCKPGeI6m0ZIkWw1JCs9YILJv9rh06kpSYuk9fJLFwIQACRcIR VFpjNtKJB4DUEo3fA+XYEFm1xrgf1tvPSkg4HgMPqa9CSwiySBX9mBkdSFgopzsakoK/5C1oMuG Kijp+xdWm1uWDW1GP656A/wNemaveL7CcHsDX2YcwXJIjrxcHxVrqcvIdcAQ6IWNESsDsVoEV+c 5xEzt7QSYOJaeuv5XqLSNhdRtSGXV/jIlnazWYcHY5lWv2gl2Ei07IWvpx4NXPUcP5w45gvN5Vj pcSjbec0uEErldK7YGQvvY8mhIZzeEQ+BsHLNlQUMH8EJVlJlcPNyHcl/R5/5i5SI6nrhyweedU pjgdzsYa/627nKMMdmQB1wUNEI/lJao8YGO/AGS30O4rAjxbDbBmXBRXTMMTi64EzpiG4RR5vEm euL6K1/YuF5cNOgMyTFAHnUEE859cMiUEpxfRPIV5GrHwKtbp+7eZlRjTSsgbOHEMhyk5rKQ6fe RVd9ElfvjhDmWbDnAI7ZvX1Ob8m X-Received: by 2002:a05:6102:14a3:b0:7cc:2daa:90ee with SMTP id ada2fe7eead31-7d0725b54d1mr4239114137.15.1793634802557; Mon, 02 Nov 2026 07:53:22 -0800 (PST) X-Received: by 2002:a05:6102:14a3:b0:7cc:2daa:90ee with SMTP id ada2fe7eead31-7d0725b54d1mr4239105137.15.1793634802075; Mon, 02 Nov 2026 07:53:22 -0800 (PST) Received: from QCOM-eG0v1AUPpu.na.qualcomm.com ([2a01:e0a:830:450:f048:3e89:c517:10cd]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-48e71b8a7d1sm20700323f8f.38.2026.11.02.07.53.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Nov 2026 07:53:21 -0800 (PST) From: Loic Poulain Date: Mon, 02 Nov 2026 16:47:33 +0100 Subject: [PATCH v12 2/9] dt-bindings: media: qcom: Add CAMSS Offline Processing Engine (OPE) 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: <20261102-camss-isp-ope-v12-2-702254689feb@oss.qualcomm.com> References: <20261102-camss-isp-ope-v12-0-702254689feb@oss.qualcomm.com> In-Reply-To: <20261102-camss-isp-ope-v12-0-702254689feb@oss.qualcomm.com> To: Mauro Carvalho Chehab , Bryan O'Donoghue , Vladimir Zapolskiy , Loic Poulain , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kees Cook , "Gustavo A. R. Silva" , Bjorn Andersson , Konrad Dybcio , Bryan O'Donoghue , Abel Vesa Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-hardening@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Authority-Analysis: v=2.4 cv=HMJWhYtv c=1 sm=1 tr=0 ts=6ae8b1f3 cx=c_pps a=DUEm7b3gzWu7BqY5nP7+9g==:117 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=zJRp6_cAMcgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_K5XuSEh1TEqbUxoQ0s3:22 a=gEfo2CItAAAA:8 a=EUspDBNiAAAA:8 a=l64rWm3OqFMOLA4dSg0A:9 a=QEXdDO2ut3YA:10 a=-aSRE8QhW-JAV6biHavz:22 a=sptkURWiP4Gy88Gu7hUp:22 X-Proofpoint-GUID: odhuccIR3sQGITOBff0EO0utHtU05OMh X-Proofpoint-Spam-Info: AW1haW4tMjYxMTAyMDA2MyBTYWx0ZWRfX9vIa7GFqvEuF T1GaZuwfnedKzaygHQEzAXeBIfUFKQOAtx32nJnOWNj2+LWP+nWy/vC6T7cYfPDcgkzFFhHBmfr FBqjUJXniilXEVvfI9p/38W2AdNWfso= X-Proofpoint-ORIG-GUID: odhuccIR3sQGITOBff0EO0utHtU05OMh X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTAyMDA2MyBTYWx0ZWRfX1yMFKjvq1sxB EUZ3sXx2ZbhGUf7YwyAx4Jcuz3UhRyYBs6ocIx1DlhbytcS5syuFnHU93rVutftDnIChHfO8GGV Q8l2KSDFjXthaqTmzCqbPvOQpwq/0FsTOgEUoo30Ba5zbCnRv+anZtWKLaQI1qnsBvES2nDfEiE atY+V31URsa4pwdDRIR4SsSxcCBfheoZ+oO5fBWn5QQ7pUc7CphQ910eOwhy54uW75zSKruMaHP 9rq+dktuXm2hz6laDYo8rRQnb5Lqk6ETxr8hnfzfv6GxX3gH38B+m/uV2RY7TWE3vuXk2CYyze+ xA0qAxCKmhADn35XPUDAhi6FHJiqDbD05N9TXLkLnYcE7ZKSNDvhJ7o97qFePDkhJBo8kft/cIy wQyNn5y18Ivhy4dpAsNRiOQw0bK7JtlTg2XmBsUcgZnUrlI0eObVNUr+9u0L3ve+HFbJw/FaqnX 6gs+2LfbKy/laq/S3sA== 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-02_04,2026-11-02_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 lowpriorityscore=0 impostorscore=0 malwarescore=0 phishscore=0 spamscore=0 adultscore=0 bulkscore=0 clxscore=1015 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2610300000 definitions=main-2611020063 Add Devicetree binding documentation for the Qualcomm Camera Subsystem Offline Processing Engine (OPE) found on platforms such as Agatti. The OPE is a memory-to-memory image processing block which operates on frames read from and written back to system memory. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Loic Poulain --- .../bindings/media/qcom,qcm2290-camss-ope.yaml | 151 +++++++++++++++++++++ 1 file changed, 151 insertions(+) diff --git a/Documentation/devicetree/bindings/media/qcom,qcm2290-camss-ope.yaml b/Documentation/devicetree/bindings/media/qcom,qcm2290-camss-ope.yaml new file mode 100644 index 0000000000000000000000000000000000000000..f9c31bc88e94b028c241060bbd8e56e0bdc49af5 --- /dev/null +++ b/Documentation/devicetree/bindings/media/qcom,qcm2290-camss-ope.yaml @@ -0,0 +1,151 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/qcom,qcm2290-camss-ope.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Camera Subsystem Offline Processing Engine + +maintainers: + - Loic Poulain + +description: + The Qualcomm Camera Subsystem (CAMSS) Offline Processing Engine (OPE) + is a memory-to-memory image processing block. It supports a range of + pixel-processing operations such as scaling, cropping, gain adjustments, + white-balancing, and various format conversions. The OPE does not + interface directly with image sensors, instead, it processes frames + sourced from and written back to system memory. + +properties: + compatible: + const: qcom,qcm2290-camss-ope + + reg: + maxItems: 6 + + reg-names: + items: + - const: cdm + - const: top + - const: qos + - const: pipeline + - const: bus_read + - const: bus_write + + clocks: + maxItems: 5 + + clock-names: + items: + - const: axi + - const: core + - const: iface + - const: nrt + - const: top + + interrupts: + maxItems: 1 + + interconnects: + maxItems: 2 + + interconnect-names: + items: + - const: config + - const: data + + iommus: + items: + - description: OPE CDM (Configuration DMA) port. + - description: OPE read (fetch engine) port. + - description: OPE write (write engine) port. + + operating-points-v2: true + + opp-table: + type: object + + power-domains: + items: + - description: GDSC CAMSS Block, Global Distributed Switch Controller. + - description: CX power domain. + + power-domain-names: + items: + - const: camss + - const: cx + +required: + - compatible + - reg + - reg-names + - clocks + - clock-names + - interrupts + - interconnects + - interconnect-names + - iommus + - power-domains + - power-domain-names + +additionalProperties: false + +examples: + - | + #include + #include + #include + #include + #include + + camss_ope: isp@5c42000 { + compatible = "qcom,qcm2290-camss-ope"; + + reg = <0x5c42000 0x400>, + <0x5c42400 0x200>, + <0x5c42600 0x200>, + <0x5c42800 0x4400>, + <0x5c46c00 0x190>, + <0x5c46d90 0xa00>; + reg-names = "cdm", "top", "qos", "pipeline", + "bus_read", "bus_write"; + + clocks = <&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 = "axi", "core", "iface", "nrt", "top"; + + interrupts = ; + + interconnects = <&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 = "config", "data"; + + iommus = <&apps_smmu 0x800 0x0>, + <&apps_smmu 0x820 0x0>, + <&apps_smmu 0x840 0x0>; + + operating-points-v2 = <&ope_opp_table>; + power-domains = <&gcc GCC_CAMSS_TOP_GDSC>, + <&rpmpd QCM2290_VDDCX>; + power-domain-names = "camss", "cx"; + + ope_opp_table: opp-table { + compatible = "operating-points-v2"; + + opp-200000000 { + opp-hz = /bits/ 64 <200000000>; + required-opps = <&rpmpd_opp_svs>; + }; + + opp-465000000 { + opp-hz = /bits/ 64 <465000000>; + required-opps = <&rpmpd_opp_nom>; + }; + }; + }; -- 2.34.1