[PATCH v6 0/3] media: camss: add support for purwa platform

From: Wenmeng Liu

Date: Thu Nov 26 2026 - 06:18:48 EST


This series adds camss support for purwa platform.

Validated on the Purwa EVK with the OG0VA1B sensor and Hamoa EVK with
IMX577 sensor.

---
Changes in v6:
- Rebase on bryan/camss-next; drop the dt-bindings patch, already applied.
- Include Jesse's "x1e80100: Use the lite clocks for the lite CSIDs" as a
dependency, already reviewed:
https://lore.kernel.org/all/bf48f3c809f33c060e2944e5896f8a5a93fd78ea.1795196107.git.jesse.casco@xxxxxxxxx/
- New patch: use the HW CSID index for the CSID 680 wrapper IO path
config, the lite CSIDs program the wrong register since CSID2 was
dropped from the X1E80100 resources.
- X1P42100: set the CSID hw_id, and use the vfe_lite_csid and
vfe_lite_cphy_rx clocks for the lite CSIDs.
- X1P42100: align the clock rates with the X1P42100 camcc frequency tables.
- Link to v5: https://lore.kernel.org/r/20261009-purwa_camss-v5-0-58c13dc7c4d2@xxxxxxxxxxxxxxxx

Changes in v5:
- Set line_num of IFE0 to 3. -- Bryan
- Introduce CAMSS_CSIPHY_RES_PHY_API() to describe PHY API based csiphy
resources and use it for X1P42100. -- Bryan
- Link to v4: https://lore.kernel.org/r/20261008-purwa_camss-v4-0-bcf11bf2c650@xxxxxxxxxxxxxxxx

Changes in v4:
- Collect R-b tags from Bryan and Krzysztof on dt-bindings patch.
- Rebase on linux-next and add Bryan`s vfe patch.
- Link to v3: https://lore.kernel.org/all/20260930-purwa_camss-v3-0-0fe2a5b11208@xxxxxxxxxxxxxxxx

Changes in v3:
- Rebased on the latest CSIPHY code.
- Link to v2: https://lore.kernel.org/r/20260511-purwa_camss-v2-0-22608ab9126c@xxxxxxxxxxxxxxxx

Changes in v2:
- Based on the old version of csiphy.
- Remove Src clk. -- Bryan
- Extend the register block of the VFE. -- Bryan
- Add comments for IOMMU. -- Bryan
- Link to v1: https://lore.kernel.org/r/20260410-purwa_camss-v1-0-eedcf6d9d8ee@xxxxxxxxxxxxxxxx

---
Jesse Casco (1):
media: qcom: camss: x1e80100: Use the lite clocks for the lite CSIDs

Wenmeng Liu (2):
media: qcom: camss: csid-680: Use HW CSID index for wrapper IO path config
media: qcom: camss: Add support for X1P42100 CAMSS

drivers/media/platform/qcom/camss/camss-csid-680.c | 2 +-
drivers/media/platform/qcom/camss/camss-csid.h | 1 +
drivers/media/platform/qcom/camss/camss-vfe.c | 1 +
drivers/media/platform/qcom/camss/camss.c | 188 ++++++++++++++++++++-
drivers/media/platform/qcom/camss/camss.h | 1 +
5 files changed, 188 insertions(+), 5 deletions(-)
---
base-commit: cfa8366bc71063b6078472d60dd47742d883923d
change-id: 20260409-purwa_camss-475787b87e14

Best regards,
--
Wenmeng Liu <wenmeng.liu@xxxxxxxxxxxxxxxx>