[PATCH v6 0/3] Add CAMSS support for Qualcomm Hawi and Maili

From: Nihal Kumar Gupta

Date: Thu Dec 03 2026 - 03:17:55 EST


Hawi and Maili are recently announced Qualcomm Snapdragon SoCs [1].
This series adds Camera Subsystem (CAMSS) support for the Qualcomm
Hawi and Maili SoC's.

[1] https://www.qualcomm.com/smartphones/products/8-series/snapdragon-8-elite-gen-6-mobile-platform

This is the CAMSS/media part split from the previous combined v4 series.
The I2C CCI and CSI-2 PHY patches were posted separately as v5 because
they do not depend on the Kaanapali/KNP CAMSS media patches.

This series carries the CAMSS/media patches from the previous combined v4
series: patch 3/6 (CAMSS binding), patch 5/6 (CSID clock scaling) and
patch 6/6 (Hawi CAMSS support).

Link to combined v4:
https://lore.kernel.org/r/20261106-hawi-maili-camss-v4-0-d528c7a797b4@xxxxxxxxxxxxxxxx

Link to split I2C/PHY v5:
https://lore.kernel.org/all/20261125-hawi-maili-camss-v5-0-1483b7f68dce@xxxxxxxxxxxxxxxx/

Hawi's camera hardware topology:
- 6x CSIPHY (CSI Physical Layer)
- 3x TPG (Test Pattern Generator)
- 3x CSID (CSI Decoder)
- 2x CSID Lite
- 3x VFE (Video Front End), 5 RDI per VFE
- 2x VFE Lite, 4 RDI per VFE Lite

Maili shares the same IP as Hawi. The only difference is Hawi has 6 CSIPHY
while Maili has 5.

Used following tools for the sanity check of these changes.
- make -j32 W=1
- checkpatch.pl
- make DT_CHECKER_FLAGS=-m DT_SCHEMA_FILES=media/qcom,hawi-camss.yaml dt_binding_check W=1
- make CHECK_DTBS=y W=1 dtbs

---
Changes in v6:
- Rebased on next-20261202
- Patch 1: Picked up Krzysztof's Reviewed-by tag.
- Patch 2: Reworked the CSID clock-rate cleanup path to release clock rates from
the common regulator-disable error path.
- Patch 3:
- Added CSID instance IDs for Hawi.
- Used the stream PHY configuration lane count in the CSID 1190 stream
setup path.
- Used csid_index() for RDI buffer completion.
- Link to v5: https://lore.kernel.org/r/20261125-hawi-camss-v5-0-d48c4feb1c2e@xxxxxxxxxxxxxxxx

Changes in v5:
- Split out CAMSS/media patches 3/6, 5/6 and 6/6 from the previous combined v4 series.
- Drop the I2C/PHY patches; they were posted separately for I2C/PHY pickup.
- Base on Bryan's media tree where the required KNP CAMSS patches are picked.
- Link to v4: https://lore.kernel.org/r/20261106-hawi-maili-camss-v4-0-d528c7a797b4@xxxxxxxxxxxxxxxx

Signed-off-by: Nihal Kumar Gupta <nihal.gupta@xxxxxxxxxxxxxxxx>

---
Hangxiang Ma (2):
dt-bindings: media: Add CAMSS device for Hawi and Maili
media: qcom: camss: Add support for Hawi

Loic Poulain (1):
media: qcom: camss: csid: Scale the clocks with the CSI-2 link rate

.../devicetree/bindings/media/qcom,hawi-camss.yaml | 317 ++++++++++++++++
drivers/media/platform/qcom/camss/Makefile | 2 +
.../media/platform/qcom/camss/camss-csid-1190.c | 417 +++++++++++++++++++++
drivers/media/platform/qcom/camss/camss-csid.c | 206 ++++++++--
drivers/media/platform/qcom/camss/camss-csid.h | 1 +
drivers/media/platform/qcom/camss/camss-vfe-1190.c | 217 +++++++++++
drivers/media/platform/qcom/camss/camss-vfe.c | 1 +
drivers/media/platform/qcom/camss/camss-vfe.h | 1 +
drivers/media/platform/qcom/camss/camss.c | 233 ++++++++++++
drivers/media/platform/qcom/camss/camss.h | 1 +
10 files changed, 1357 insertions(+), 39 deletions(-)
---
base-commit: 1c776b6c21f78619c639d724813c54613d8476b1
change-id: 20261125-hawi-camss-d801843c96b1

Best regards,
--
Nihal Kumar Gupta <nihal.gupta@xxxxxxxxxxxxxxxx>