[PATCH RESEND v2 0/5] media: qcom: camss: Add SM8750 support
From: Hangxiang Ma <hidden>
Date: 2026-01-20 06:43:08
Also in:
linux-arm-msm, linux-media, lkml
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 (Video Front End), 5 RDI per VFE - 2 x VFE Lite, 4 RDI per VFE Lite - 3 x CSID (CSI Decoder) - 2 x CSID Lite - 6 x CSIPHY (CSI Physical Layer) - 2 x ICP (Image Control Processor) - 1 x IPE (Image Processing Engine) - 2 x JPEG DMA & Downscaler - 2 x JPEG Encoder - 1 x OFE (Offline Front End) - 5 x RT CDM (Camera Data Mover) - 3 x TPG (Test Pattern Generator) 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 Dependencies: - https://lore.kernel.org/all/20260112-kaanapali-camss-v12-0-15b7af73401e@oss.qualcomm.com/ (local) Signed-off-by: Hangxiang Ma <redacted> --- Changes in v2: - Rebase this series due to conflict - bod - Add module descriptions in binding commit message and cover letter - Update property names to align with previous generations - Krzysztof - Update the vdd supply names with 0p88 to 0p9 in binding to keep such name style consistency - Krzysztof/Vladimir - Add missing Kaanapali dependency - Krzysztof - Add regulator current in csiphy resource due to interface changed - bod - Make csid board level code style consistent and add comments to explain the differences between csid full and lite configurations - bod - Remove reduandant initialization for empty set in csid and vfe - bod - Remove DTS patch due to conflict with camcc dependency. Will post it as an individual series. - Update vfe commit message as renaming work done in Kaanapali series - Revert change-id to v1 to avoid increasing reviewers' workload - Link to v1: https://lore.kernel.org/r/20251126-add-support-for-camss-on-sm8750-v1-0-646fee2eb720@oss.qualcomm.com (local) --- Hangxiang Ma (5): 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 980 .../bindings/media/qcom,sm8750-camss.yaml | 663 +++++++++++++++++++++ drivers/media/platform/qcom/camss/Makefile | 1 + drivers/media/platform/qcom/camss/camss-csid-980.c | 442 ++++++++++++++ drivers/media/platform/qcom/camss/camss-csid.h | 1 + .../platform/qcom/camss/camss-csiphy-3ph-1-0.c | 5 +- drivers/media/platform/qcom/camss/camss-vfe-gen4.c | 10 +- drivers/media/platform/qcom/camss/camss-vfe.c | 2 + drivers/media/platform/qcom/camss/camss.c | 357 +++++++++++ drivers/media/platform/qcom/camss/camss.h | 1 + 9 files changed, 1478 insertions(+), 4 deletions(-) --- base-commit: 6ada99659c6d6a0cde83e6c0f4ed0ef0ba1867e1 change-id: 20251126-add-support-for-camss-on-sm8750-506c4de36d88 prerequisite-change-id: 20260112-kaanapali-camss-73772d44eff7:v12 prerequisite-patch-id: c3758c408ebf6ab407b1977ccd51cd7179316c73 prerequisite-patch-id: 7bb9332e44b93bb9f063bfa0626dd38ff450aaa8 prerequisite-patch-id: eb308d8bf8e0f942d5a0dd1826cf3e1963b05378 prerequisite-patch-id: 8c62245a3b0a2527d4ddf47438926d3b1fe3ff41 prerequisite-patch-id: 36bed25998858225c8e1d6beeb977236cc1b76d6 Best regards, -- Hangxiang Ma [off-list ref]