From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.180.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793736370; b=sXoajwUSBYScRES4JDhU0Ksz7sBU5VTfsckkaDc+FBlMP0C0wkTCJqkXW6jCZ9c/HlyV Im+B0jK7uhaurXF0UxR1C4zWJFj1ftpIJUAG5Q/Aow38cboXFys9sx6/fgw+EBb0vFork pFdPpUV/iQax0hrD+Sd0MqNJBq+mNwxCQ30YipAEGU2PLjMNIGo/TUhjWOkucZnCcsUO2 nc0SZcZ74PqBqZTSLwpGhTKz7lsXILz2jcb5pbR1nDpm3ZyxRI5gDM7t8l+A0h1sVOwLZ hWBJlygOAOrWIbEfoRUZHdNxPw8cxA2y8NJc9ZopbbyE98KX6EQpPzofkByrMB2QC+g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793736370; 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-Proofpoint-Spam-Info:X-Authority-Analysis:X-Proofpoint-GUID: X-Proofpoint-Spam-Details-Enc:X-Proofpoint-ORIG-GUID: X-Proofpoint-Virus-Version:X-Proofpoint-Spam-Details; bh=yQgJsfAJIwc1P3YmgjY5JtZQxBkIW43VtHK4ofExmak=; b=wv7GqFQrwQ2VXzFGbfVawrC2FEVADSF4yxfuYhIfmTZQ1fj3q8ovhIAXs5KUvbYdWnRO o/h7Lk1j38wUdGtqkDqDngVZfftsMVxIxClXd7pEhQRRKpRyUqtcvok9OrwQp1mWvIa6f yG6NuwTJ5ntSZ5ylpVCYshrVoiXaIMIxJxIC6iG05kc9HwRXHZBm7xM46fgap17xJOOqq vO1hQKzTn1qctOJifBpztTwKi8G9ZxNtVeag6gzV41krUraGxyUPVclYp9kZsYDvNwhjt 5+fTW5LfzEIzrp4QH+REgtfiLQzsaO3pQPVtPGTJudDhBleugM2lBhnrL/PcUsjg9Og== 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=JGdEkNDH; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=NGUUTUKR; arc=none smtp.remote-ip=205.220.180.131 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 D5980606A31B for ; Tue, 3 Nov 2026 20:05:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org D5980606A31B 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=JGdEkNDH; 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=NGUUTUKR Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6A3IZ8dZ3666374 for ; Tue, 3 Nov 2026 20:05:56 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=JGdEkNDHLQfE3n05 rV1gXVqqthXZL0g63tjtvD8mQDaOjhtSC4DqhHtws2l1rzoH5Lf2GwZuSEgyNIJd EGBofOiK4F5+U+zyVidg/hlyJqFVjN5MJ4xdGZJWQK6zIPg52N+iLaeJ++dXRRw/ H8JO2yJ6Do/QI9i//nNhb18WjdrPB0F/7wV+1dX9wD6RDFWjAsqf5J3PO1xnlYKr KzlC8AjMViZf898NaXkZVl9RD1jMa2Qvig4VHnqRHN7rJBmu+FX52iJeR8dEJhXq SqcCbqkE8UtQ5KlBgKXccx+q76B6+chIGutG3uppRiB/iKWoZKi4rbtyyqOuCiQF B7j//Q== Received: from mail-ua1-f70.google.com (mail-ua1-f70.google.com [209.85.222.70]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4hqjubh26w-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 03 Nov 2026 20:05:55 +0000 (GMT) Received: by mail-ua1-f70.google.com with SMTP id a1e0cc1a2514c-99859876e19so141135241.2 for ; Tue, 03 Nov 2026 12:05:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1793736355; x=1794341155; 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=NGUUTUKRZNBf3dSdVwi7rT2zYA8bL8+42INiMbI/SZG/dn/CBmajUP9zOcHkP46oiH RiqjW8gc33t0mBQ0lhmVAtDDjtVz5Pq6c3AlqI/AmGfLTvch4TnQZzdzaa1Flc5RzvZc BVCQjPHtXApz/IrXf/EuD5ojwIsWhaFGr8kmCxvSDmPdCHm4E3V0xB0SAKYK32YdMWsx /IF8qM5O/kBOB2lpUCI1iOUJJSyJo4OTZlEV1b2RWAzewNMPh16uUOWEwBAsz1doICSE KIbubIehKU2qmZWeKik1iyYf7hhRpppgn7lNCS8Aja4Oe+w0j1FaCq45T9ReycQHKAlw s3HA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1793736355; x=1794341155; 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=UWmt+kPTXPwpS+/FeUdwiu0z0RMo3d2X2pPeHhu2yL5+0OW78Z0XN7VFhunwzyq7Rq Ml6vWSj1l81In0b8IRYEpZ6RvlmyGtPrNLfPtz9mOWR700Hlap08ikBQ6HzctHHi9WyO 8pRm278m//mD6lZ3VGmK7eQlSQTQ1GJpilwu+A8Vm93WQFUnARt/POXu3oo7lQ6Pnzp1 nuqNIax46PAx3q7MnlFqeuXp8qDPjI0ZN8WAInzFgJY735vcZkwWHa6f7k/+KgAnA1qi qNmM0b2jBcbojD8Ml9Y33DSn8cZNqkKl99zEC/GmyD4gNSUFG8VJ9qPPBsyWwtoAov5b R0Dw== X-Forwarded-Encrypted: i=1; AKwUvByEuV2ODrXHy+BdEyXQ+FOALB1/N37DO6+bwYVV/DcXOaBwzeZMd5u93LSql1vXjruihRJ31eV5V6Y58BI=@vger.kernel.org X-Gm-Message-State: APuU4Z8Tuf9bispT24WbVQwpgkHS/C2mEW66h3JdYsFwDRHEObCvq81B UuAx6aaaF0KjfOaK4ad4teZ63870IQUEqtbOuu+kq6QiBBJajEtBngZLp/IsrwN9s9bNyr9INua qXpHZHh2ncUzsPuH4NlDkCZoJ6RYZJ8ZnqUk3fAYIKAwncVtzkA2ryWXkkZyhZFzpNf0= X-Gm-Gg: AYBFou1cGlM2Z8dvdcVmddBqAqVNrHiew86YyRbOVxoT2onPdPtL+q8Qub0PU9lvkjS S2lubxm8EG8KLdTMYNuPv2T/qBd2Q12arAlGxW9jhLe/dlzikSU16R5EW62iKp1cRHGPPQr+6nd JmJNpbe9FLbwOxlgDSLo9gshOttCqMV5K8s/4fX3CjIo9JJmk4I1xZG61PPK5AtUphAxGGKwaCg msKLoqoPcZAi89D8fKTXMyfs8kjUw8XzF4BE/UGYNAIcbInhroMdNX569DYkB2UIr0itOBuC1Ib RMz2M8bzdARtMD6ERULrMjtKfAzQ1jd5TPI7qKz/DXputcVYRHHXS6BWyiUBNXs1Dv3hFY9iDHI MUJuPZ0plkRLpN/tbejc64bPlLzLlX6p3FeGDMQ0spJnoOmi2+SWYudtAPd5FUeqBIQ9yypImB3 5jo4S6W4j3TQyhE4JFbE3wWdLpjiXEPAINUrPcgz2A5n/Pmbz05ZeCY9y48WLoCwOIn0kiM7iXi 5/EJbYQ5Vp8iZFens6M7JVPRyLB X-Received: by 2002:a05:6102:290c:b0:7cc:2152:4f72 with SMTP id ada2fe7eead31-7d072238fc7mr5124528137.1.1793736355018; Tue, 03 Nov 2026 12:05:55 -0800 (PST) X-Received: by 2002:a05:6102:290c:b0:7cc:2152:4f72 with SMTP id ada2fe7eead31-7d072238fc7mr5124518137.1.1793736354436; Tue, 03 Nov 2026 12:05:54 -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-48fcd03d01dsm358875f8f.44.2026.11.03.12.05.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Nov 2026 12:05:53 -0800 (PST) From: Loic Poulain Date: Tue, 03 Nov 2026 21:05:46 +0100 Subject: [PATCH v13 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: <20261103-camss-isp-ope-v13-2-c2cbf15a39b1@oss.qualcomm.com> References: <20261103-camss-isp-ope-v13-0-c2cbf15a39b1@oss.qualcomm.com> In-Reply-To: <20261103-camss-isp-ope-v13-0-c2cbf15a39b1@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-Proofpoint-Spam-Info: AW1haW4tMjYxMTAzMDA4MCBTYWx0ZWRfXyGJfICcPuTIu 9CZVNCEyBoxxCvK+XyX7kmW9Gj+Rojor9Tw0GQFx/+9D/PgAuPn1HcQ7PgNAtoXEKRNAO49UYAg x9Lq56NnPU3Qd4HAc0kPuDYaSK9988E= X-Authority-Analysis: v=2.4 cv=JeUpPkKV c=1 sm=1 tr=0 ts=6aea3ea3 cx=c_pps a=R6oCqFB+Yf/t2GF8e0/dFg==:117 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=zJRp6_cAMcgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=rJkE3RaqiGZ5pbrm-msn:22 a=gEfo2CItAAAA:8 a=EUspDBNiAAAA:8 a=l64rWm3OqFMOLA4dSg0A:9 a=QEXdDO2ut3YA:10 a=TD8TdBvy0hsOASGTdmB-:22 a=sptkURWiP4Gy88Gu7hUp:22 X-Proofpoint-GUID: 3Mxo8xizYIO0ALIYhCc3IcUO4GskjY_d X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTAzMDA4MCBTYWx0ZWRfX1Y1Z6w6aqgRc vIPraH4n2j0CuFx8SAUTT3oTicX0zsRL6HLRTcObCxIoUTQevilXJyVPvQdbSI07wRD05yUiSZd RM350DJWbkrRV1AWl/pTpRD9K+hcfmgvNswQ9DmfUDPK90dXAlPjGdai2meiMc3Jc+F+r9trdZu PEp2J2vY8t5Rw32sfcwfyUXpxi7+2I6q/CurewxgTi11QVhIbL/elylHldnVK5cLzfc87g3kI2d HATwJxvXpTAUwNlyFXMVSvJZkKsr6ikQtDklVDzSZdTL50Yp5y6dNTqPX/85fh6bGlnIF1ug5fk c5tcBnphqVtv7LUnZ92yfEeKzFtEqi23A36Kn/LYAHtWWaMvdCXW92AsbaPXn8EQ/18j9EN7Phs FdtG/ENMQ8RacQd7NuwTkaIwYq6AIBsW6Pr9+uEo9fkfK1cUb3joEh6ijLA1/mByILmHVMS5DrP NS9cG/7kDk64qoBN9gA== X-Proofpoint-ORIG-GUID: 3Mxo8xizYIO0ALIYhCc3IcUO4GskjY_d 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-03_04,2026-11-03_04,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 clxscore=1015 suspectscore=0 priorityscore=1501 bulkscore=0 spamscore=0 adultscore=0 lowpriorityscore=0 phishscore=0 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2610300000 definitions=main-2611030080 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