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 05F393E5ECA for ; Tue, 28 Apr 2026 10:16:02 +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=1777371364; cv=none; b=DW0ejab8a8uE4/K+E1efyuCoxGCHj/Lx/PRknB5ATA/JDsDuXZUuZoOvHGFhP8heM3I9xj/afUOTsreowraUMlUqF/lSxgJqwyuPqHfMHPL2Z/rjxQgMncLnXVdX3823lSixCR7c/6ion/HSRVX/3hoGh5DzqWcTyCUjpfpBgpM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777371364; c=relaxed/simple; bh=MvEi1EsRK25OVuV9Cq1QVbl75Tn+alqX625QMrIWFwY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=C5DUhda6sUtGLaPFz/IVlY8J6b1F7cQvj43F4g7rsqyV5YD3/FQ9uPFVgII8EvbYbi4ZGA0TOQtG9mEfgvrinNIjhfslLd+kUS+IilT/oi5e4O7E+uWBJlsPwyjSv5ZXBW9/4KtP+Oo+t/Lg3cfT8uslcerKSduh1wqjfChbe8U= 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=IMPm6cXv; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=EPW1pYTQ; 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="IMPm6cXv"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="EPW1pYTQ" Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 63S7v2De3968212 for ; Tue, 28 Apr 2026 10:16:02 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= DcuhAahfQK1r6Ves89P/ox+ku5EwRsjL3bpApW9Nzm8=; b=IMPm6cXvF7q/2tO1 pdSAfsimIB6B1Xbd+JqIPJTE+OqA0Mo18HNHLzcV30C1WJn0P9/s2Qt4bCsRt8C3 v6T7JRXNELV6z87MILDIGU71QTOFI7zFrTw/YsOJYt9y7aeP17KV3XEukTi9e2AN h6VW4f+azxqg4hJDchM3X4R69KhO0GTE3QJMsAIFt8QlYeQydAifr3IVsDCjwts9 GCIAmuiVxn2Jkc0o3i0Dbt4bAtqRoyc9ULXz+6eZZkj6qRJqRt9RXACX50erP0rt qzZhEboZWcMw5xnPtMJf7JQpUu5CEwPGG2xY7bq24JNa7U5n1/BECB9nTEB8IqKx khAmcA== Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4dtry0gj0r-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 28 Apr 2026 10:16:01 +0000 (GMT) Received: by mail-qt1-f197.google.com with SMTP id d75a77b69052e-50faec938fcso21896501cf.3 for ; Tue, 28 Apr 2026 03:16:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1777371361; x=1777976161; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=DcuhAahfQK1r6Ves89P/ox+ku5EwRsjL3bpApW9Nzm8=; b=EPW1pYTQmfTaOliETu3iqe0s1V7dPgZRSYE+p8Hp/1o+PRQH/EGj16X1+QOTPrIiCb 1Jg6nmc08cQgcwhPybvOlCkRjforu+U/4c1F0a7F45IGyImoOcKMopkcZuU0zi6xcdwK 2JoWUmF2Ty7IFfy7vEuRt3gqeYgxjqbdqIcpHJmnd9eRueYZZQkQmKYUUOwce/8PWQPF XW5wlrbsEwDSBdAkRR0VXKNxVpYI390gxVCgd0UBS84NscPmJJOciCBruQY7IfgOexYI uJcph3HT4Qklhm1sZaRp7/SfVFi9MkjTd/hsyJ3AxfsXEcle2jgNFzncAfonJiqT0WhW Bb7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777371361; x=1777976161; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=DcuhAahfQK1r6Ves89P/ox+ku5EwRsjL3bpApW9Nzm8=; b=hmDTQW4G3AB5e9cIbKscgbVisagnHsBn07T/wUaFsL+1G75mNCJG0ybraScZnih65h pmJDen6OhbdX8tQMLKhy5FO8LlSTlUyxTmpg8iigrPZmw0i/JY8wEaBdpN6FQsCBj1c5 RsIzEkWu01VhUWg1wuR16lSt6UcR0CJoiEyUsyG94tM+qMf4qGqkQm9Py9LbqA3AKYre pET7OO5UaBlRD1/g/1iqC8HOMr0rPeLy061Izn1GUEiEZvhb/Pb/n0RzWnIwRlnvWZYY FOzt4zei33o957I9VeeOnlaFqhSPiR39tYb1XWjo4x1KwdsuqwfqfgdbKaCnyoddni13 e1TQ== X-Forwarded-Encrypted: i=1; AFNElJ+M7A6Qp/nt1PyjPf1xOJF9EnImS8Vtmtk55r4GrQjTXBrdkCPw2N6voPFSnLC9ASzwGCsocKyDLwDnsKsA@vger.kernel.org X-Gm-Message-State: AOJu0Yxxu2MOvOg3e5PrwnTnIsMbh0UgdFkj0tCl3LQZSV8fZU3OGiOD r+I1xtn0VEf2677nHoWqLhifZA4kt7WjbTmktYrMQy+1pDbzxpKZHdw1kNeYjPVy7M+p59nkkz9 aSHxRObhi3Wz+b3FwfqHFbAguug+bh/LmNuFj4uh/N3GpDYUzFsxSArWR7Hx72QdU4Y/H X-Gm-Gg: AeBDiets6e1VOVWakCTR1n9RDWSmOKWPS51KDykAdb5Ef6mRRadi/yjAgO8csVXGLya xCmNo6S49TtTa2NIDpjrbs88Uy2FB1dxX6irV6aAJTX6curRbyMBX09ZQf2hmcfUoW92Dw1i6hc h9LG9ZeBbFcRCuJkXG0GGZRROrTSC+gj2a3h9Gql9K9xPyaugXrAmEAgCq5Va9pDGhzV/Tdpryc 07T9n7UAZ6lg+oDEm9KXfOIwwRUVBUomgbwJN08B6zjgJa2H/HsqWRRWIAIr1Df4gzKDhw91JWS 1JLp6KpfDDpSlDbOVL0O14jEd8FmCtFoSe+6BhTZmYe7iDsF76rYHtKf3GNvG0C/hydlcuBF25D grJEXXo3VlIydScSotPETTaP5vCauGJT28TOxtQOmePy614rQuucpXUibq8PJ/P06/27AU0gqYf Qt1jWVRB4GM0GoRw== X-Received: by 2002:a05:620a:1707:b0:8f2:1ccf:46d3 with SMTP id af79cd13be357-8f7b5ba3b11mr259665685a.7.1777371361202; Tue, 28 Apr 2026 03:16:01 -0700 (PDT) X-Received: by 2002:a05:620a:1707:b0:8f2:1ccf:46d3 with SMTP id af79cd13be357-8f7b5ba3b11mr259661385a.7.1777371360659; Tue, 28 Apr 2026 03:16:00 -0700 (PDT) Received: from [192.168.119.254] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-679b68632fesm536532a12.28.2026.04.28.03.15.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 Apr 2026 03:15:59 -0700 (PDT) Message-ID: <0c6c9366-a190-4143-a0fb-2aff38ed8804@oss.qualcomm.com> Date: Tue, 28 Apr 2026 12:15:55 +0200 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 10/14] dt-bindings: media: qcom: Add CAMSS Offline Processing Engine (OPE) To: Loic Poulain Cc: Bryan O'Donoghue , Vladimir Zapolskiy , Mauro Carvalho Chehab , Kees Cook , "Gustavo A. R. Silva" , Bryan O'Donoghue , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org, devicetree@vger.kernel.org, laurent.pinchart@ideasonboard.com, kieran.bingham@ideasonboard.com References: <20260427-camss-isp-ope-v2-0-f430e7485009@oss.qualcomm.com> <20260427-camss-isp-ope-v2-10-f430e7485009@oss.qualcomm.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Authority-Analysis: v=2.4 cv=KuJ9H2WN c=1 sm=1 tr=0 ts=69f088e1 cx=c_pps a=EVbN6Ke/fEF3bsl7X48z0g==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=A5OVakUREuEA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=gowsoOTTUOVcmtlkKump:22 a=EUspDBNiAAAA:8 a=V0AHvZjihEha2N7cGZoA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=a_PwQJl-kcHnX1M80qC6:22 X-Proofpoint-GUID: ppgU8xsaJ19FTs4ZrdHN2niBwRzP9fJa X-Proofpoint-ORIG-GUID: ppgU8xsaJ19FTs4ZrdHN2niBwRzP9fJa X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNDI4MDA5MSBTYWx0ZWRfX4NpeMpssx0wj pp8BWR+OYEJBzlNEa4FHp8R4QFxwAdeVQCpYzIqL9+5N4o3f6rTGxQ9RCAVagxui5iHf9tDCgxj qivqwSd0OxEKlzdmhhprr3qGdvZa1HlM8k8Boxn0vde8wIH+l9xX4m8Em3504prB11UpKEHo0MV zdxRZiBCBn4rGEs6HQCVBfGmq1FfmFFdmd/ofNd7Do3i6CcKiNx0Vtvqb5Pd2CI3Yai/XpANiyA sjl18U4VmLIwBaWutvt3UhuY6U82JJlxjrR773JX3Ywqml7EtdVYUjhKUrOa/qX9VZEBK6yoTBf cs5FWMxMXS5srUbd4nc+YJe0nFQz9dsgSSEbpvA/K24DjLjpqprUte7qTOBX3Pxm6jlAQC9uAhP z4CAmugpgagRFtVIl+TUIPf0wweA/sBgTunc9vLniLAxqc5YFseYFIdJeTsuphi9h7hr0Jd1uwt b+/DsB83Z2cCvFLHEnA== 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-04-28_02,2026-04-21_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 suspectscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 phishscore=0 bulkscore=0 malwarescore=0 impostorscore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2604200000 definitions=main-2604280091 On 4/27/26 10:33 PM, Loic Poulain wrote: > On Mon, Apr 27, 2026 at 4:22 PM Konrad Dybcio > wrote: >> >> On 4/27/26 2:43 PM, Loic Poulain wrote: >>> 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. >>> >>> Signed-off-by: Loic Poulain >>> --- >> >> [...] >> >>> + clocks = <&gcc GCC_CAMSS_OPE_CLK>, >>> + <&gcc GCC_CAMSS_OPE_AHB_CLK>, >>> + <&gcc GCC_CAMSS_NRT_AXI_CLK>; >> >> Should the two AXI clocks be aggregated by camss-top instead? >> >> Otherwise we run the risk of the OPE driver setting a rate of A >> and another sub-device setting a rate of B > > On qcm2290, OPE appears to be the only consumer of the NRT AXI clock, > while the capture path (VFE/TFE) relies on the RT AXI clock. That > said, this may not always be the case and these clocks (AXI / NRT‑AXI > / RT‑AXI) seem like they could reasonably be managed at the > camss-bus/top level. > > The open question is how the NRT AXI clock should be enabled when > required? enabling them unconditionally (similar to other camss PM > clocks), introducing a dedicated CAMSS top‑level interface for voting, > or leveraging an existing framework to handle this? So, interconnect, or some internal, smaller version of it? Konrad