public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] media: qcom: camss: Add SM8750 support
@ 2025-11-26  9:38 Hangxiang Ma
  2025-11-26  9:38 ` [PATCH 1/7] dt-bindings: i2c: qcom-cci: Document SM8750 compatible Hangxiang Ma
                   ` (6 more replies)
  0 siblings, 7 replies; 29+ messages in thread
From: Hangxiang Ma @ 2025-11-26  9:38 UTC (permalink / raw)
  To: Loic Poulain, Robert Foss, Andi Shyti, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Todor Tomov,
	Vladimir Zapolskiy, Mauro Carvalho Chehab, Bryan O'Donoghue
  Cc: linux-i2c, linux-arm-msm, devicetree, linux-kernel, linux-media,
	jeyaprakash.soundrapandian, Vijay Kumar Tumati, Hangxiang Ma,
	Atiya Kailany

Add support for the RDI only CAMSS camera driver on SM8750. Enabling
RDI path involves adding the support for a set of CSIPHY, CSID and TFE
modules, with each TFE having multiple RDI ports. This hardware
architecture requires 'qdss_debug_xo' clock for CAMNOC to be functional.

SM8750 camera subsystem provides

- 3 x VFE, 5 RDI per VFE
- 2 x VFE Lite, 4 RDI per VFE Lite
- 3 x CSID
- 2 x CSID Lite
- 6 x CSI PHY
- 2 x ICP
- 1 x IPE
- 2 x JPEG DMA & Downscaler
- 2 x JPEG Encoder
- 1 x OFE
- 5 x RT CDM
- 3 x TPG

This series has been tested using the following commands with a
downstream driver for S5KJN5 sensor.

- media-ctl --reset
- media-ctl -V '"msm_csiphy2":0[fmt:SGBRG10/4096x3072]'
- media-ctl -V '"msm_csid0":0[fmt:SGBRG10/4096x3072]'
- media-ctl -V '"msm_vfe0_rdi0":0[fmt:SGBRG10/4096x3072]'
- media-ctl -l '"msm_csiphy2":1->"msm_csid0":0[1]'
- media-ctl -l '"msm_csid0":1->"msm_vfe0_rdi0":0[1]'
- yavta  --capture=20 -I -n 5 -f SGBRG10P -s 4096x3072 -F  /dev/video0

Signed-off-by: Hangxiang Ma <hangxiang.ma@oss.qualcomm.com>
---
Hangxiang Ma (7):
      dt-bindings: i2c: qcom-cci: Document SM8750 compatible
      media: dt-bindings: Add CAMSS device for SM8750
      media: qcom: camss: Add SM8750 compatible camss driver
      media: qcom: camss: csiphy: Add support for v2.3.0 two-phase CSIPHY
      media: qcom: camss: csid: Add support for CSID 980
      media: qcom: camss: vfe: Add support for VFE gen4
      arm64: dts: qcom: sm8750: Add support for camss

 .../devicetree/bindings/i2c/qcom,i2c-cci.yaml      |   2 +
 .../bindings/media/qcom,sm8750-camss.yaml          | 664 +++++++++++++++++++++
 arch/arm64/boot/dts/qcom/sm8750.dtsi               | 599 +++++++++++++++++++
 drivers/media/platform/qcom/camss/Makefile         |   5 +-
 drivers/media/platform/qcom/camss/camss-csid-980.c | 428 +++++++++++++
 drivers/media/platform/qcom/camss/camss-csid.h     |   1 +
 .../platform/qcom/camss/camss-csiphy-3ph-1-0.c     |  11 +-
 .../camss/{camss-vfe-1080.c => camss-vfe-gen4.c}   |  60 +-
 drivers/media/platform/qcom/camss/camss-vfe.c      |   2 +
 drivers/media/platform/qcom/camss/camss-vfe.h      |   2 +-
 drivers/media/platform/qcom/camss/camss.c          | 359 ++++++++++-
 drivers/media/platform/qcom/camss/camss.h          |   1 +
 12 files changed, 2094 insertions(+), 40 deletions(-)
---
base-commit: c4c627ac2ae866d333c3ade7abc871a638364d7f
change-id: 20251126-add-support-for-camss-on-sm8750-506c4de36d88

Best regards,
-- 
Hangxiang Ma <hangxiang.ma@oss.qualcomm.com>


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

end of thread, other threads:[~2026-01-06 19:43 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-26  9:38 [PATCH 0/7] media: qcom: camss: Add SM8750 support Hangxiang Ma
2025-11-26  9:38 ` [PATCH 1/7] dt-bindings: i2c: qcom-cci: Document SM8750 compatible Hangxiang Ma
2025-11-27  7:50   ` Krzysztof Kozlowski
2025-11-27  9:44   ` Bryan O'Donoghue
2025-12-03 20:52   ` Andi Shyti
2025-11-26  9:38 ` [PATCH 2/7] media: dt-bindings: Add CAMSS device for SM8750 Hangxiang Ma
2025-11-27  8:10   ` Krzysztof Kozlowski
2025-12-04  1:31     ` Vladimir Zapolskiy
2026-01-06 18:04       ` Vijay Kumar Tumati
2026-01-06 18:02     ` Vijay Kumar Tumati
2025-11-27  9:46   ` Bryan O'Donoghue
2025-11-26  9:38 ` [PATCH 3/7] media: qcom: camss: Add SM8750 compatible camss driver Hangxiang Ma
2025-11-27  9:46   ` Bryan O'Donoghue
2025-11-26  9:38 ` [PATCH 4/7] media: qcom: camss: csiphy: Add support for v2.3.0 two-phase CSIPHY Hangxiang Ma
2025-11-27  8:14   ` Krzysztof Kozlowski
2026-01-06 18:05     ` Vijay Kumar Tumati
2025-11-26  9:38 ` [PATCH 5/7] media: qcom: camss: csid: Add support for CSID 980 Hangxiang Ma
2025-11-27 10:01   ` Bryan O'Donoghue
2026-01-06 18:07     ` Vijay Kumar Tumati
2025-11-26  9:38 ` [PATCH 6/7] media: qcom: camss: vfe: Add support for VFE gen4 Hangxiang Ma
2025-11-27 10:04   ` Bryan O'Donoghue
2026-01-06 18:17     ` Vijay Kumar Tumati
2025-11-26  9:38 ` [PATCH 7/7] arm64: dts: qcom: sm8750: Add support for camss Hangxiang Ma
2025-11-27  8:12   ` Krzysztof Kozlowski
2026-01-06 18:40     ` Vijay Kumar Tumati
2026-01-06 19:18       ` Krzysztof Kozlowski
2026-01-06 19:20         ` Krzysztof Kozlowski
2026-01-06 19:43           ` Vijay Kumar Tumati
2025-11-27 10:06   ` Bryan O'Donoghue

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