[PATCH v2 00/10] Add the Qualcomm Titan camera NoC interconnect provider
From: Atanas Filipov
Date: Fri Dec 04 2026 - 02:53:49 EST
Camera drivers can set a minimum rate on the shared camera NoC
clocks. The interconnect provider lets clients request bandwidth on
their camera NoC ports and on the camera AHB path. It uses those votes
to set the AXI and AHB clock rates and select a power rail level.
The series supports SM8250, SC7280 and SA8775P. The AXI rate follows
the largest bandwidth request across the rate nodes, with a margin and
a minimum rate. The AHB rate is one fixed rate. The provider uses OPPs
to vote for MMCX on SM8250, CX on SC7280, and MMCX and MXC on SA8775P.
The provider programs static QoS settings on runtime resume. It logs
and clears camera NoC errors. A client can use qcom_cam_icc_link() to
resume the provider before it resumes.
This series adds the provider. CAMSS and JPEG client conversion will
follow in separate series.
Please do not review v1. The Lemans device tree changed in linux-next
(the new lemans-embedded.dtsi file), so the SA8775P DTS patch in v1
does not apply any more. Please review this version only.
Validation:
- Ran hardware tests on RB5 and RB3 Gen2 with v7.4-rc4, this series
and the separate CAMSS and JPEG client patches. The tests were
concurrent capture on all RDI paths, JPEG encode, and both
together, with repeated runs. The AXI rate followed the largest
request of the active clients and went down to the lowest rate when
no client was active. The kernel log had no warnings and no IOMMU
faults. Unload and reload of the provider worked.
- RB8 was not tested with this version.
Changes since v1:
- Rebased on next-20261202.
- sa8775p: add the camera NoC node to lemans-embedded.dtsi, because
the clocks and interconnect properties of the camera blocks moved
there.
Atanas Filipov (10):
dt-bindings: interconnect: add the Qualcomm SM8250 Titan camera NoC
dt-bindings: interconnect: add the Qualcomm SC7280 Titan camera NoC
dt-bindings: interconnect: add the Qualcomm SA8775P Titan camera NoC
media: qcom: cam-icc: add the Titan camera NoC driver
media: qcom: cam-icc: add the SM8250 data
media: qcom: cam-icc: add the SC7280 data
media: qcom: cam-icc: add the SA8775P data
arm64: dts: qcom: sm8250: add the Titan camera NoC node
arm64: dts: qcom: sc7280: add the Titan camera NoC node
arm64: dts: qcom: sa8775p: add the Titan camera NoC node
.../interconnect/qcom,sa8775p-cam-icc.yaml | 148 ++++
.../interconnect/qcom,sc7280-cam-icc.yaml | 156 ++++
.../interconnect/qcom,sm8250-cam-icc.yaml | 149 ++++
arch/arm64/boot/dts/qcom/kodiak.dtsi | 61 ++
arch/arm64/boot/dts/qcom/lemans-embedded.dtsi | 47 ++
arch/arm64/boot/dts/qcom/sm8250.dtsi | 50 ++
drivers/media/platform/qcom/Kconfig | 1 +
drivers/media/platform/qcom/Makefile | 1 +
drivers/media/platform/qcom/cam-icc/Kconfig | 14 +
drivers/media/platform/qcom/cam-icc/Makefile | 5 +
.../platform/qcom/cam-icc/qcom-cam-icc-core.c | 673 ++++++++++++++++++
.../platform/qcom/cam-icc/qcom-cam-icc-core.h | 131 ++++
.../qcom/cam-icc/qcom-cam-icc-sa8775p.c | 107 +++
.../qcom/cam-icc/qcom-cam-icc-sc7280.c | 134 ++++
.../qcom/cam-icc/qcom-cam-icc-sm8250.c | 127 ++++
.../interconnect/qcom,sa8775p-cam-icc.h | 17 +
.../interconnect/qcom,sc7280-cam-icc.h | 21 +
.../interconnect/qcom,sm8250-cam-icc.h | 21 +
include/media/qcom-cam-icc.h | 26 +
19 files changed, 1889 insertions(+)
create mode 100644 Documentation/devicetree/bindings/interconnect/qcom,sa8775p-cam-icc.yaml
create mode 100644 Documentation/devicetree/bindings/interconnect/qcom,sc7280-cam-icc.yaml
create mode 100644 Documentation/devicetree/bindings/interconnect/qcom,sm8250-cam-icc.yaml
create mode 100644 drivers/media/platform/qcom/cam-icc/Kconfig
create mode 100644 drivers/media/platform/qcom/cam-icc/Makefile
create mode 100644 drivers/media/platform/qcom/cam-icc/qcom-cam-icc-core.c
create mode 100644 drivers/media/platform/qcom/cam-icc/qcom-cam-icc-core.h
create mode 100644 drivers/media/platform/qcom/cam-icc/qcom-cam-icc-sa8775p.c
create mode 100644 drivers/media/platform/qcom/cam-icc/qcom-cam-icc-sc7280.c
create mode 100644 drivers/media/platform/qcom/cam-icc/qcom-cam-icc-sm8250.c
create mode 100644 include/dt-bindings/interconnect/qcom,sa8775p-cam-icc.h
create mode 100644 include/dt-bindings/interconnect/qcom,sc7280-cam-icc.h
create mode 100644 include/dt-bindings/interconnect/qcom,sm8250-cam-icc.h
create mode 100644 include/media/qcom-cam-icc.h
base-commit: 799dd936553182df5770dde7f38d94c8337df75a
--
2.34.1