[PATCH 0/6] media: qcom: camss: Add C-PHY support for sa8775p, sa8300 and sm8250

From: Anusha Arun Nandi

Date: Fri Jul 17 2026 - 19:13:55 EST


This series extends the Qualcomm CAMSS (Camera Subsystem) C-PHY support to
the Gen3 platforms, adding C-PHY mode configuration for sa8775p
(CAMSS_8775P) and sa8300 (CAMSS_8300), along with a dynamic, data-rate
specific C-PHY register programming mechanism.

It builds on David Heidelberg's C-PHY enablement work for Qualcomm
platforms:

- Program the common control registers and prepare the CSID RX path
to select between C-PHY and D-PHY for Gen3.
- Add the sa8775p C-PHY 3ph lane register table and wire it up for
sa8775p and sa8300.
- Introduce a data-rate selection mechanism so the C-PHY PHY register
overrides vary with the negotiated link (symbol) data rate, with
tables for sa8775p/8300 (1.5/1.7/2.5/3.5/4.5 GSpS) and sm8250
(2.5/3.5/4.5 GSpS).
- Validate that the local (CSIPHY) and remote (sensor) endpoint
bus-types agree, catching C-PHY/D-PHY mismatches early at probe.

Rebased on David Heidelberg's C-PHY series (v9):
https://lore.kernel.org/all/20260617-qcom-cphy-v9-0-83da8a8e4e44@xxxxxxx/

Tested on sm8250, sa8775p and sa8300, on top of the v4 revision of that series:
https://lore.kernel.org/all/20260301-qcom-cphy-v4-0-e53316d2cc65@xxxxxxx/

Anusha Arun Nandi (3):
media: qcom: camss: Add sa8300 C-PHY 3ph lane config
media: qcom: camss: Dynamic data-rate specific C-PHY register settings
media: qcom: camss: validate local/remote endpoint bus-type

Jigarkumar Zala (3):
media: qcom: camss: Program CSIPHY common control registers
media: qcom: camss: Prepare CSID for C-PHY support in gen3
media: qcom: camss: Add sa8775p C-PHY 3ph lane config

.../platform/qcom/camss/camss-csid-gen3.c | 2 +
.../qcom/camss/camss-csiphy-3ph-1-0.c | 394 +++++++++++++++++-
.../media/platform/qcom/camss/camss-csiphy.h | 6 +
drivers/media/platform/qcom/camss/camss.c | 28 +-
4 files changed, 420 insertions(+), 10 deletions(-)
---
base-commit: 0e35b9b6ec0ffcc5e23cbdec09f5c622ad532b53
change-id: 20251109-qcom-cphy-bb8cbda1c644

Best regards,
--
Anusha Arun Nandi <anusha.nandi@xxxxxxxxxxxxxxxx>