[PATCH v2 03/10] dt-bindings: interconnect: add the Qualcomm SA8775P Titan camera NoC
From: Atanas Filipov
Date: Fri Dec 04 2026 - 02:54:21 EST
Add the Titan camera NoC of SA8775P. Compared to SM8250, the camera NoC
has a CPAS fast AHB clock and needs both the MMCX and MXC rails.
Signed-off-by: Atanas Filipov <atanas.filipov@xxxxxxxxxxxxxxxx>
---
.../interconnect/qcom,sa8775p-cam-icc.yaml | 148 ++++++++++++++++++
.../interconnect/qcom,sa8775p-cam-icc.h | 17 ++
2 files changed, 165 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..88fe0033074d
--- /dev/null
+++ b/Documentation/devicetree/bindings/interconnect/qcom,sa8775p-cam-icc.yaml
@@ -0,0 +1,148 @@
+# 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 <atanas.filipov@xxxxxxxxxxxxxxxx>
+
+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: CPAS AHB clock
+ - description: camera core AHB clock
+ - description: CPAS fast AHB clock
+ - description: camera NoC AXI clock
+
+ clock-names:
+ items:
+ - const: iface
+ - const: gcc_axi_hf
+ - const: gcc_axi_sf
+ - const: cpas_ahb
+ - const: core_ahb
+ - const: cpas_fast_ahb
+ - const: camnoc_axi
+
+ 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 <dt-bindings/clock/qcom,sa8775p-camcc.h>
+ #include <dt-bindings/clock/qcom,sa8775p-gcc.h>
+ #include <dt-bindings/interconnect/qcom,icc.h>
+ #include <dt-bindings/interconnect/qcom,sa8775p-rpmh.h>
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+ #include <dt-bindings/power/qcom,rpmhpd.h>
+
+ interconnect@ac1a000 {
+ compatible = "qcom,sa8775p-cam-icc";
+ reg = <0x0ac1a000 0x9400>;
+
+ interrupts = <GIC_SPI 459 IRQ_TYPE_EDGE_RISING>;
+
+ clocks = <&gcc GCC_CAMERA_AHB_CLK>,
+ <&gcc GCC_CAMERA_HF_AXI_CLK>,
+ <&gcc GCC_CAMERA_SF_AXI_CLK>,
+ <&camcc CAM_CC_CPAS_AHB_CLK>,
+ <&camcc CAM_CC_CORE_AHB_CLK>,
+ <&camcc CAM_CC_CPAS_FAST_AHB_CLK>,
+ <&camcc CAM_CC_CAMNOC_AXI_CLK>;
+ clock-names = "iface",
+ "gcc_axi_hf",
+ "gcc_axi_sf",
+ "cpas_ahb",
+ "core_ahb",
+ "cpas_fast_ahb",
+ "camnoc_axi";
+
+ 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 QCOM_ICC_TAG_ALWAYS
+ &config_noc SLAVE_CAMERA_CFG QCOM_ICC_TAG_ALWAYS>,
+ <&mmss_noc MASTER_CAMNOC_HF QCOM_ICC_TAG_ALWAYS
+ &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
+ interconnect-names = "cfg", "hf";
+
+ #interconnect-cells = <2>;
+
+ camnoc_opp_table: opp-table {
+ compatible = "operating-points-v2";
+
+ opp-400000000 {
+ opp-hz = /bits/ 64 <400000000>;
+ required-opps = <&rpmhpd_opp_svs_l1>,
+ <&rpmhpd_opp_svs_l1>;
+ };
+ };
+ };
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..4c84a4e14d92
--- /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 4
+
+#endif
--
2.34.1