[PATCH 01/10] dt-bindings: interconnect: add the Qualcomm SM8250 Titan camera NoC

From: Atanas Filipov

Date: Mon Nov 30 2026 - 05:50:07 EST


Add the binding of the SM8250 Titan camera NoC. The camera NoC connects
the camera blocks to the multimedia NoC and DDR.

It is an interconnect and not only a clock: each camera block has its
own ports on the camera NoC, and the votes on these ports set the
camera NoC clock rates and the rail level.

Signed-off-by: Atanas Filipov <atanas.filipov@xxxxxxxxxxxxxxxx>
---
.../interconnect/qcom,sm8250-cam-icc.yaml | 149 ++++++++++++++++++
.../interconnect/qcom,sm8250-cam-icc.h | 21 +++
2 files changed, 170 insertions(+)
create mode 100644 Documentation/devicetree/bindings/interconnect/qcom,sm8250-cam-icc.yaml
create mode 100644 include/dt-bindings/interconnect/qcom,sm8250-cam-icc.h

diff --git a/Documentation/devicetree/bindings/interconnect/qcom,sm8250-cam-icc.yaml b/Documentation/devicetree/bindings/interconnect/qcom,sm8250-cam-icc.yaml
new file mode 100644
index 000000000000..a3d77e7e6886
--- /dev/null
+++ b/Documentation/devicetree/bindings/interconnect/qcom,sm8250-cam-icc.yaml
@@ -0,0 +1,149 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/interconnect/qcom,sm8250-cam-icc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Qualcomm 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,sm8250-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 NoC AXI clock
+
+ clock-names:
+ items:
+ - const: iface
+ - const: gcc_axi_hf
+ - const: gcc_axi_sf
+ - const: slow_ahb_src
+ - const: cpas_ahb
+ - const: core_ahb
+ - const: camnoc_axi
+
+ power-domains:
+ items:
+ - description: Titan top GDSC
+ - description: MMCX power domain, for the camera NoC clock rate
+
+ power-domain-names:
+ items:
+ - const: top
+ - const: mmcx
+
+ 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
+ - description: camera NoC SF port to DDR
+
+ interconnect-names:
+ items:
+ - const: cfg
+ - const: hf
+ - const: sf
+
+ '#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,camcc-sm8250.h>
+ #include <dt-bindings/clock/qcom,gcc-sm8250.h>
+ #include <dt-bindings/interconnect/qcom,sm8250.h>
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+ #include <dt-bindings/power/qcom,rpmhpd.h>
+
+ interconnect@ac42000 {
+ compatible = "qcom,sm8250-cam-icc";
+ reg = <0x0ac42000 0x8000>;
+
+ 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_SLOW_AHB_CLK_SRC>,
+ <&camcc CAM_CC_CPAS_AHB_CLK>,
+ <&camcc CAM_CC_CORE_AHB_CLK>,
+ <&camcc CAM_CC_CAMNOC_AXI_CLK>;
+ clock-names = "iface",
+ "gcc_axi_hf",
+ "gcc_axi_sf",
+ "slow_ahb_src",
+ "cpas_ahb",
+ "core_ahb",
+ "camnoc_axi";
+
+ power-domains = <&camcc TITAN_TOP_GDSC>,
+ <&rpmhpd RPMHPD_MMCX>;
+ power-domain-names = "top", "mmcx";
+
+ operating-points-v2 = <&camnoc_opp_table>;
+
+ interconnects = <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_CAMERA_CFG 0>,
+ <&mmss_noc MASTER_CAMNOC_HF 0 &mc_virt SLAVE_EBI_CH0 0>,
+ <&mmss_noc MASTER_CAMNOC_SF 0 &mc_virt SLAVE_EBI_CH0 0>;
+ interconnect-names = "cfg", "hf", "sf";
+
+ #interconnect-cells = <2>;
+
+ camnoc_opp_table: opp-table {
+ compatible = "operating-points-v2";
+
+ opp-300000000 {
+ opp-hz = /bits/ 64 <300000000>;
+ required-opps = <&rpmhpd_opp_low_svs>;
+ };
+
+ opp-400000000 {
+ opp-hz = /bits/ 64 <400000000>;
+ required-opps = <&rpmhpd_opp_svs>;
+ };
+ };
+ };
diff --git a/include/dt-bindings/interconnect/qcom,sm8250-cam-icc.h b/include/dt-bindings/interconnect/qcom,sm8250-cam-icc.h
new file mode 100644
index 000000000000..5afbe0372de7
--- /dev/null
+++ b/include/dt-bindings/interconnect/qcom,sm8250-cam-icc.h
@@ -0,0 +1,21 @@
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
+/*
+ * Qualcomm SM8250 camera NoC interconnect IDs
+ *
+ * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
+ */
+
+#ifndef __DT_BINDINGS_INTERCONNECT_QCOM_SM8250_CAM_ICC_H
+#define __DT_BINDINGS_INTERCONNECT_QCOM_SM8250_CAM_ICC_H
+
+#define MASTER_CAMNOC_IFE_LINEAR_WR 1
+#define MASTER_CAMNOC_IFE_RDI_WR 2
+#define MASTER_CAMNOC_IFE_RDI_RD 3
+#define MASTER_CAMNOC_JPEG_WR 4
+#define MASTER_CAMNOC_JPEG_RD 5
+#define MASTER_CAMNOC_AHB 6
+#define SLAVE_CAMNOC_HF 7
+#define SLAVE_CAMNOC_SF 8
+#define SLAVE_CAMNOC_AHB 10
+
+#endif
--
2.25.1