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=1796035807; b=hz3Y1Il4l/s/jXd8IcB5zSEqY+w0qpHA61psOttCYmv1kfxZZUE9LKbLExmvOW0wq2ZR Krj3siqxHKSZhGwDFGF/Hc+LojKWa6rNW7/FABB8FHhabOHM3lk9ewL3A983l1KDAtNhD MTXBEjfzsmg0a6vNUKUoJzBI2jrT7rJOmpOxZZPJnq8eeF9mcuSRt9DOt5lo8dblaFMNq Zco8JYwF7GCc2lOhZU1fWmLbtYs4xwUjKnynz9LzVVt9Etlnlx4zoipsH9dDrbUutHs4r uSBD7x+g2Yl3X/chuhiP1R9lmJbJWYioopACLcZRbyYK3l4cBk9ZZkWzxq01TzssjYg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796035807; 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:To:Cc: Subject:Date:Message-Id:X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding:X-Proofpoint-ORIG-GUID:X-Authority-Analysis: X-Proofpoint-Spam-Details-Enc:X-Proofpoint-GUID: X-Proofpoint-Spam-Info:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=ABjMHfSguU0VcxHqLYF93z88HQFqRbGQfMHRLCfSqck=; b=FQ1TfaooFvBL9oPxOvMry680xWiKE0yBihdgQFpKAkGEhI/qJ1KICh+CLCvlGohhB42a uhXRLuCsdM9/O8BAtninN0bEp76lTtFqPC1Hqg3z7s0hwp3Hwi/vB4PmNFkIUwa0JgN4T QGAt7x9Cd+3infZXmL4CYLAlLL7TFFrW/DmFS1rmRP8mlheQIvlBJdyunqJnm5dgODWcH h3Brd/Zp9xZTXGenHitSYhnZDlM2pnHwJwCpO6ezFLHHaRnAZAYqfsnQVESZpEbXeltle bkb4nnXNWIHFNphXJwOccR1qsGqv4kfVmUePhXgXMS/w23V0hpDWNbpofpsZ1H2xWsg== 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=Yg+zbYtS; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=UE+zv6yQ; 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 C629A606A33B for ; Mon, 30 Nov 2026 10:50:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C629A606A33B 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=Yg+zbYtS; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=UE+zv6yQ Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6AU9V2TA3220048 for ; Mon, 30 Nov 2026 10:50:06 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=ABjMHfSguU0 VcxHqLYF93z88HQFqRbGQfMHRLCfSqck=; b=Yg+zbYtS5b/eLjxCgsJrDOWbSxK iQaGmA7ijjU+CXDinywpO7ndH8wKVXwNqipOh/G4eFYjE7mfA2BKQBe3aI3mUE+x JpS15m4rkiqjFtPc50BGNLfA99D0UMSPSfoiVerN/J1qSfK52Kcl2iQUE8x4cu49 YEtSP7AgqAMaycPKBCxR+PFwWnTNVTd9qicjghaf4nsb5Ar45fPR2d2tWl5NYcFL 7vt92mlLVAhgytYTKCZgAB7IL2ETIqBBgsT41SM1ta35s8sA5wjlSuqgSdjUR8xg c49Xo7/v+FtcvCUFVNyzpE8AU3y/y000MRYAwuo0wuCtNYxeyIzcRxcNnIw== Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4j7mnep8vn-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 30 Nov 2026 10:50:06 +0000 (GMT) Received: by mail-qk1-f199.google.com with SMTP id af79cd13be357-949b0d322fcso76709485a.2 for ; Mon, 30 Nov 2026 02:50:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1796035805; x=1796640605; 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:content-type; bh=ABjMHfSguU0VcxHqLYF93z88HQFqRbGQfMHRLCfSqck=; b=UE+zv6yQRF2MdJLM7RUquVRyVgTdHTwXNZvfEZ+x17YD1SpkDuyC6ATD7XOmGnpAxr Xz+3h5ckk6PsJurx9LVqH2ocRIlJnbXaUowRyfJ5g81DiCI+z7NBodKm+K+IIPun6zKe 2wyvkkbSouFTQpY2w2DOexGsLV3u4HJ3EmXdOO/JzJZClQCt7QSGhlay3YGPlE6M00FB QtkQoCIoKjD3u7bfX+zpV+lg7IHMRHgjPwxzXCxQTSv0pSULgwJFVfILHIYVYRPBE/Sr DTWhhCkTFzB9fJFGPjUGlYG/SLx/t1Ic4Z8byGfwQMoa/5+RjGoDOPFqhnJMGgAj5Otf GPWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796035805; x=1796640605; 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:content-type; bh=ABjMHfSguU0VcxHqLYF93z88HQFqRbGQfMHRLCfSqck=; b=t39o9sLukM9cp5r8YrQp5nqnRcNmz6yP5sgsQPtfIJFTTfvtsZD41aWynfYfSLGgGT SdV+teB9EOqzpp2L47Cai1zWl4adBDjb7XiBbpQrHWpw6kFwtT+MqUCM7TNrh2eCdnok lRIsk2zrtx+/moAVwFRigzAMTmqhMkTLBj81hF6kZ9Tqk1oX9brP3Lz4saUKUaTpy3oL OZnvrvdNyPntrG+gA9GkQD2urbQFuzXoid9JACGl3Ab58xJ34yIIS+7jn3MQsej0c0Gn jkbhVevJs+tUjZQ5GMId0AAII/WdUeIYXc0suiVf+1ASIQPmM/fwW9j4dBlprC6zVeQd my/A== X-Forwarded-Encrypted: i=1; AL+hErENmR0xiLnTORAObDwucpV5ygTX3jy5kdxQfyLxnu29Y3hk8pdDIKdW4E4dlVQlCbtpnsy01r3zMZKLiZE=@vger.kernel.org X-Gm-Message-State: APuU4Z9NTg+J24KXh6EUMhIrivvlXzBKqnoDgAO4URHfLjwhJbOLkOKK yZdF9C3+sb8+G5Fu+hwiJ315Z1lQ6WJFGr3CCQhbdkfjoAySkdA7xzqtVPUlspUwftSQEncdRk1 QjMsmLcHM8Eygeh2m0lzCH8Z/5bw5N7IbHn+feRnHFJeVjHQWq8WCFrjIIgDXobxk8jU= X-Gm-Gg: AZFdTZeU/GGq8g9E5q/7itNcC0sgNaICFs0QdogJSrypbX9W119MHnv0IEmwnBgxBus Po9jdRT6CJz1hxsOdrMxoIYnjrAqUYzFZaOl0uvLosRKYat72kG2l+qMiEWZhlOuEF05nVF9Sem 5KX8RHC3eH3LM2Yy5zy0V99MqFEVw9ZNH1VIoxLiSVrLLxgpiKd9qaTEjAyZCveGStNKb5UPATv jjkMw4/awJ50/Nqg2hpi/3tr4SM2uc4OW8xJcxOaBJ5jVmMTyF8zQTkLQSfu0/zTlG7lgRv9KRa snrsgOzHnXJrwkf7F0TnG0Bpu0zkKilJisfWdyS7LM3qPefao7/TcyOTW0Qo590pth45ZICGAEd hYf9HYRtO3SOzyN7FpQV4ipz2Mfk0znpAgG4fO66WBjRj9/MstUVvJL51+aRhhGRNJjlqqNGRAA == X-Received: by 2002:a05:620a:1d0b:b0:93e:6c4f:bdf1 with SMTP id af79cd13be357-949ba96e85bmr5658009285a.17.1796035804903; Mon, 30 Nov 2026 02:50:04 -0800 (PST) X-Received: by 2002:a05:620a:1d0b:b0:93e:6c4f:bdf1 with SMTP id af79cd13be357-949ba96e85bmr5658004985a.17.1796035804387; Mon, 30 Nov 2026 02:50:04 -0800 (PST) Received: from lin-0772.qualcomm.com ([212.136.9.4]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4bb88442693sm845401435e9.1.2026.11.30.02.50.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2026 02:50:03 -0800 (PST) From: Atanas Filipov To: djakov@kernel.org, bod@kernel.org, linux-pm@vger.kernel.org, linux-media@vger.kernel.org Cc: mchehab@kernel.org, andersson@kernel.org, konradybcio@kernel.org, abelvesa@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, loic.poulain@oss.qualcomm.com, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Dmitry Baryshkov , Prashant Shrotriya , Vikram Sharma , Gjorgji Rosikopulos , Atanas Filipov Subject: [PATCH 03/10] dt-bindings: interconnect: add the Qualcomm SA8775P Titan camera NoC Date: Mon, 30 Nov 2026 12:49:48 +0200 Message-Id: <20261130104955.1288089-4-atanas.filipov@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20261130104955.1288089-1-atanas.filipov@oss.qualcomm.com> References: <20261130104955.1288089-1-atanas.filipov@oss.qualcomm.com> 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-Transfer-Encoding: 8bit X-Proofpoint-ORIG-GUID: OSGkv34MEohJTkkzMglqp-mKe7bZJMhq X-Authority-Analysis: v=2.4 cv=Rf8FmFtv c=1 sm=1 tr=0 ts=6b0d54de cx=c_pps a=HLyN3IcIa5EE8TELMZ618Q==:117 a=dNlqnMcrdpbb+gQrTujlOQ==:17 a=zJRp6_cAMcgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=eoimf2acIAo5FJnRuUoq:22 a=gEfo2CItAAAA:8 a=EUspDBNiAAAA:8 a=wxX7yoH8r4fqE3wKPSIA:9 a=bTQJ7kPSJx9SKPbeHEYW:22 a=sptkURWiP4Gy88Gu7hUp:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTMwMDA0MiBTYWx0ZWRfX8gh8K6mcxRAi TCibpJQ+/Cl/o7YIeD6T2yCmo+Se+DTBnRnDoIhu0qjxw6CZtOnyEHwGzevokxTjFUmxtwF96oP MT9E3sje0r44hesfJTzlNHDPfGeWKIJ0fKvgA/0qm2VFiqlRy5PMApJzZ1VAKjrKz42xqIPeNIS Rbc00TRZaevdMWjFqZGqduqfltTpk6CgYbnrgUoeOBnVfsNYcyEiya2InC/YVQFcPZd5DEMuu0H ddpFgY2+mlIte4Gl9K1sLltQsXr9SSOE+wPNowIFj/Ls3plB3mLV1Ytgu/7wgiAsbdZUzf1udvb 9vdyMGv/wV/lfur2lKFqjvZKeUINd90ENwIXPT6+tuDZGO0VeDD+GOI3YR5onXRHs3JhpTZRvrh b4Q95qIsx6CuHi2E0hwSQ19hLRCs4P3Hl3ee58xtlbWYgyMF9WrVXT1dlB9oM+bMSf3ZGfKtY64 DsVeMd0blnmDMTE/H1Q== X-Proofpoint-GUID: OSGkv34MEohJTkkzMglqp-mKe7bZJMhq X-Proofpoint-Spam-Info: AW1haW4tMjYxMTMwMDA0MiBTYWx0ZWRfXyE2VMJttFsq6 DmbcgKCJCADb6acWvpZaHSkL3qjHt50eR78HcmLepe9CvqTmu2c7HpgGIpmrXdPAiT9ZFD+lybC MBj0623MYHreh5yKUOBHt6leLeBfa78= 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_03,2026-11-27_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 clxscore=1015 spamscore=0 lowpriorityscore=0 impostorscore=0 priorityscore=1501 suspectscore=0 adultscore=0 malwarescore=0 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2611300042 Add the Titan camera NoC of SA8775P. Compared to SM8250, the camera NoC rate is set on the fast AHB clock and needs both the MMCX and MXC rails. Signed-off-by: Atanas Filipov --- .../interconnect/qcom,sa8775p-cam-icc.yaml | 163 ++++++++++++++++++ .../interconnect/qcom,sa8775p-cam-icc.h | 17 ++ 2 files changed, 180 insertions(+) create mode 100644 Documentation/devicetree/bindings/interconnect/qcom,sa8775p-cam-icc.yaml create mode 100644 include/dt-bindings/interconnect/qcom,sa8775p-cam-icc.h diff --git a/Documentation/devicetree/bindings/interconnect/qcom,sa8775p-cam-icc.yaml b/Documentation/devicetree/bindings/interconnect/qcom,sa8775p-cam-icc.yaml new file mode 100644 index 000000000000..6e771d8d0e7b --- /dev/null +++ b/Documentation/devicetree/bindings/interconnect/qcom,sa8775p-cam-icc.yaml @@ -0,0 +1,163 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interconnect/qcom,sa8775p-cam-icc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm SA8775P Titan camera NoC + +maintainers: + - Atanas Filipov + +description: + The camera NoC connects the camera blocks to the multimedia NoC and + DDR. It has one node for each camera NoC port and one node for the + camera AHB (config) path. Clients request bandwidth on paths that + start at these nodes. + +properties: + compatible: + enum: + - qcom,sa8775p-cam-icc + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + items: + - description: GCC camera AHB clock + - description: GCC camera HF AXI clock + - description: GCC camera SF AXI clock + - description: camera slow AHB clock source + - description: CPAS AHB clock + - description: camera core AHB clock + - description: camera fast AHB clock source + - description: CPAS fast AHB clock + - description: camera NoC AXI clock + - description: camera NoC AXI clock source + + clock-names: + items: + - const: iface + - const: gcc_axi_hf + - const: gcc_axi_sf + - const: slow_ahb_src + - const: cpas_ahb + - const: core_ahb + - const: fast_ahb_src + - const: cpas_fast_ahb + - const: camnoc_axi + - const: camnoc_axi_src + + power-domains: + items: + - description: Titan top GDSC + - description: MMCX power domain, for the camera NoC clock rate + - description: MXC power domain, for the camera NoC clock rate + + power-domain-names: + items: + - const: top + - const: mmcx + - const: mxc + + operating-points-v2: true + + opp-table: + type: object + + interconnects: + items: + - description: config path from the CPU to the camera config space + - description: camera NoC HF port to DDR + + interconnect-names: + items: + - const: cfg + - const: hf + + '#interconnect-cells': + const: 2 + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + - power-domains + - power-domain-names + - operating-points-v2 + - interconnects + - interconnect-names + - '#interconnect-cells' + +additionalProperties: false + +examples: + - | + #include + #include + #include + #include + #include + + interconnect@ac1a000 { + compatible = "qcom,sa8775p-cam-icc"; + reg = <0x0ac1a000 0x9400>; + + interrupts = ; + + clocks = <&gcc GCC_CAMERA_AHB_CLK>, + <&gcc GCC_CAMERA_HF_AXI_CLK>, + <&gcc GCC_CAMERA_SF_AXI_CLK>, + <&camcc CAM_CC_SLOW_AHB_CLK_SRC>, + <&camcc CAM_CC_CPAS_AHB_CLK>, + <&camcc CAM_CC_CORE_AHB_CLK>, + <&camcc CAM_CC_FAST_AHB_CLK_SRC>, + <&camcc CAM_CC_CPAS_FAST_AHB_CLK>, + <&camcc CAM_CC_CAMNOC_AXI_CLK>, + <&camcc CAM_CC_CAMNOC_AXI_CLK_SRC>; + clock-names = "iface", + "gcc_axi_hf", + "gcc_axi_sf", + "slow_ahb_src", + "cpas_ahb", + "core_ahb", + "fast_ahb_src", + "cpas_fast_ahb", + "camnoc_axi", + "camnoc_axi_src"; + + power-domains = <&camcc CAM_CC_TITAN_TOP_GDSC>, + <&rpmhpd SA8775P_MMCX>, + <&rpmhpd SA8775P_MXC>; + power-domain-names = "top", "mmcx", "mxc"; + + operating-points-v2 = <&camnoc_opp_table>; + + interconnects = <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_CAMERA_CFG 0>, + <&mmss_noc MASTER_CAMNOC_HF 0 &mc_virt SLAVE_EBI1 0>; + interconnect-names = "cfg", "hf"; + + #interconnect-cells = <2>; + + camnoc_opp_table: opp-table { + compatible = "operating-points-v2"; + + opp-300000000 { + opp-hz = /bits/ 64 <300000000>; + required-opps = <&rpmhpd_opp_svs_l1>, + <&rpmhpd_opp_svs_l1>; + }; + + opp-400000000 { + opp-hz = /bits/ 64 <400000000>; + required-opps = <&rpmhpd_opp_nom>, + <&rpmhpd_opp_nom>; + }; + }; + }; diff --git a/include/dt-bindings/interconnect/qcom,sa8775p-cam-icc.h b/include/dt-bindings/interconnect/qcom,sa8775p-cam-icc.h new file mode 100644 index 000000000000..06c5769c9541 --- /dev/null +++ b/include/dt-bindings/interconnect/qcom,sa8775p-cam-icc.h @@ -0,0 +1,17 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ +/* + * Qualcomm SA8775P camera NoC interconnect IDs + * + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + */ + +#ifndef __DT_BINDINGS_INTERCONNECT_QCOM_SA8775P_CAM_ICC_H +#define __DT_BINDINGS_INTERCONNECT_QCOM_SA8775P_CAM_ICC_H + +#define MASTER_CAMNOC_IFE_RT_WR0 0 +#define MASTER_CAMNOC_IFE_RT_WR1 1 +#define MASTER_CAMNOC_AHB 2 +#define SLAVE_CAMNOC_HF 3 +#define SLAVE_CAMNOC_AHB 6 + +#endif -- 2.25.1