Devicetree
 help / color / mirror / Atom feed
* [PATCH v2 00/10] Add the Qualcomm Titan camera NoC interconnect provider
@ 2026-12-04  7:53 Atanas Filipov
  2026-12-04  7:53 ` [PATCH v2 01/10] dt-bindings: interconnect: add the Qualcomm SM8250 Titan camera NoC Atanas Filipov
                   ` (9 more replies)
  0 siblings, 10 replies; 20+ messages in thread
From: Atanas Filipov @ 2026-12-04  7:53 UTC (permalink / raw)
  To: djakov, bod, linux-pm, linux-media
  Cc: mchehab, andersson, konradybcio, abelvesa, robh, krzk+dt,
	conor+dt, loic.poulain, linux-arm-msm, devicetree, linux-kernel,
	Dmitry Baryshkov, Prashant Shrotriya, Vikram Sharma,
	Gjorgji Rosikopulos, Atanas Filipov

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


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2026-12-04  8:35 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-04  7:53 [PATCH v2 00/10] Add the Qualcomm Titan camera NoC interconnect provider Atanas Filipov
2026-12-04  7:53 ` [PATCH v2 01/10] dt-bindings: interconnect: add the Qualcomm SM8250 Titan camera NoC Atanas Filipov
2026-12-04  8:01   ` sashiko-bot
2026-12-04  7:53 ` [PATCH v2 02/10] dt-bindings: interconnect: add the Qualcomm SC7280 " Atanas Filipov
2026-12-04  8:04   ` sashiko-bot
2026-12-04  7:53 ` [PATCH v2 03/10] dt-bindings: interconnect: add the Qualcomm SA8775P " Atanas Filipov
2026-12-04  8:04   ` sashiko-bot
2026-12-04  7:53 ` [PATCH v2 04/10] media: qcom: cam-icc: add the Titan camera NoC driver Atanas Filipov
2026-12-04  8:27   ` sashiko-bot
2026-12-04  7:53 ` [PATCH v2 05/10] media: qcom: cam-icc: add the SM8250 data Atanas Filipov
2026-12-04  8:16   ` sashiko-bot
2026-12-04  7:53 ` [PATCH v2 06/10] media: qcom: cam-icc: add the SC7280 data Atanas Filipov
2026-12-04  7:53 ` [PATCH v2 07/10] media: qcom: cam-icc: add the SA8775P data Atanas Filipov
2026-12-04  8:19   ` sashiko-bot
2026-12-04  7:53 ` [PATCH v2 08/10] arm64: dts: qcom: sm8250: add the Titan camera NoC node Atanas Filipov
2026-12-04  8:25   ` sashiko-bot
2026-12-04  7:53 ` [PATCH v2 09/10] arm64: dts: qcom: sc7280: " Atanas Filipov
2026-12-04  8:30   ` sashiko-bot
2026-12-04  7:53 ` [PATCH v2 10/10] arm64: dts: qcom: sa8775p: " Atanas Filipov
2026-12-04  8:35   ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox