mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Atanas Filipov <atanas.filipov@oss.qualcomm.com>
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 <dmitry.baryshkov@oss.qualcomm.com>,
	Prashant Shrotriya <pshrotri@qti.qualcomm.com>,
	Vikram Sharma <vikram.sharma@oss.qualcomm.com>,
	Gjorgji Rosikopulos <gjorgji.rosikopulos@oss.qualcomm.com>,
	Atanas Filipov <atanas.filipov@oss.qualcomm.com>
Subject: [PATCH 00/10] Add the Qualcomm Titan camera NoC interconnect provider
Date: Mon, 30 Nov 2026 12:49:45 +0200	[thread overview]
Message-ID: <20261130104955.1288089-1-atanas.filipov@oss.qualcomm.com> (raw)

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 uses fixed levels. 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.

Validation:
- Built this series with W=1 for RB5, RB3 Gen2 and RB8.
- Checked all three bindings and the RB5, RB3 Gen2, Lemans EVK and
  SA8255P Ride DTBs against the camera NoC schemas.
- Ran sparse on arm64 and x86 and checkpatch with codespell on all
  patches. There were no camera NoC diagnostics apart from the
  checkpatch notice about MAINTAINERS.
- Earlier hardware tests used separate CAMSS client patches. CAMSS
  capture ran on RB5, RB3 Gen2 and RB8. On RB5, a forced IOMMU fault
  produced a camera NoC slave error and the next capture worked.
  Hardware testing of this series is pending.

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    | 163 +++++
 .../interconnect/qcom,sc7280-cam-icc.yaml     | 160 +++++
 .../interconnect/qcom,sm8250-cam-icc.yaml     | 149 ++++
 arch/arm64/boot/dts/qcom/kodiak.dtsi          |  62 ++
 arch/arm64/boot/dts/qcom/lemans-gearvm.dtsi   |   6 +
 arch/arm64/boot/dts/qcom/lemans.dtsi          |  58 ++
 arch/arm64/boot/dts/qcom/sm8250.dtsi          |  49 ++
 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 | 638 ++++++++++++++++++
 .../platform/qcom/cam-icc/qcom-cam-icc-core.h | 146 ++++
 .../qcom/cam-icc/qcom-cam-icc-sa8775p.c       | 116 ++++
 .../qcom/cam-icc/qcom-cam-icc-sc7280.c        | 143 ++++
 .../qcom/cam-icc/qcom-cam-icc-sm8250.c        | 136 ++++
 .../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 +
 20 files changed, 1932 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: 3dd8c790a7b7027abdd568e36db5e82ffaea7c77
-- 
2.25.1


             reply	other threads:[~2026-11-30 10:49 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30 10:49 Atanas Filipov [this message]
2026-11-30 10:49 ` [PATCH 01/10] dt-bindings: interconnect: add the Qualcomm SM8250 Titan camera NoC Atanas Filipov
2026-11-30 10:49 ` [PATCH 02/10] dt-bindings: interconnect: add the Qualcomm SC7280 " Atanas Filipov
2026-11-30 10:49 ` [PATCH 03/10] dt-bindings: interconnect: add the Qualcomm SA8775P " Atanas Filipov
2026-11-30 10:49 ` [PATCH 04/10] media: qcom: cam-icc: add the Titan camera NoC driver Atanas Filipov
2026-11-30 12:16   ` Bryan O'Donoghue
2026-11-30 12:59     ` Atanas Filipov
2026-11-30 13:22     ` Gjorgji Rosikopulos (Consultant)
2026-11-30 15:22       ` Bryan O'Donoghue
2026-11-30 10:49 ` [PATCH 05/10] media: qcom: cam-icc: add the SM8250 data Atanas Filipov
2026-11-30 10:49 ` [PATCH 06/10] media: qcom: cam-icc: add the SC7280 data Atanas Filipov
2026-11-30 10:49 ` [PATCH 07/10] media: qcom: cam-icc: add the SA8775P data Atanas Filipov
2026-11-30 10:49 ` [PATCH 08/10] arm64: dts: qcom: sm8250: add the Titan camera NoC node Atanas Filipov
2026-11-30 10:49 ` [PATCH 09/10] arm64: dts: qcom: sc7280: " Atanas Filipov
2026-11-30 10:49 ` [PATCH 10/10] arm64: dts: qcom: sa8775p: " Atanas Filipov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261130104955.1288089-1-atanas.filipov@oss.qualcomm.com \
    --to=atanas.filipov@oss.qualcomm.com \
    --cc=abelvesa@kernel.org \
    --cc=andersson@kernel.org \
    --cc=bod@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=djakov@kernel.org \
    --cc=dmitry.baryshkov@oss.qualcomm.com \
    --cc=gjorgji.rosikopulos@oss.qualcomm.com \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=loic.poulain@oss.qualcomm.com \
    --cc=mchehab@kernel.org \
    --cc=pshrotri@qti.qualcomm.com \
    --cc=robh@kernel.org \
    --cc=vikram.sharma@oss.qualcomm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®