All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v8 00/23] Add CAMSS support for SM8750 and Eliza
@ 2026-12-02  9:59 ` Wenmeng Liu
  0 siblings, 0 replies; 55+ messages in thread
From: Wenmeng Liu @ 2026-12-02  9:59 UTC (permalink / raw)
  To: Bryan O'Donoghue, Vinod Koul, Neil Armstrong,
	Manivannan Sadhasivam, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Vladimir Zapolskiy, Loic Poulain,
	Mauro Carvalho Chehab, Hangxiang Ma, Bryan O'Donoghue,
	Robert Foss, Andi Shyti, Bjorn Andersson, Konrad Dybcio,
	Abel Vesa, Frank Li
  Cc: linux-phy, linux-media, linux-arm-msm, devicetree, linux-kernel,
	linux-i2c, Wenmeng Liu, Krzysztof Kozlowski, Atiya Kailany,
	Konrad Dybcio

This series adds CAMSS support for the Qualcomm SM8750 and Eliza SoCs.

SM8750 has CSID 980 and VFE 980. Eliza has CSID 970 and VFE 970, which
are register compatible with 980 apart from the VFE RDI write master
client IDs, so Eliza reuses the SM8750 CSID and VFE support. Both SoCs
have TPG v2.3.0. The CSIPHYs are described as standalone
phy-qcom-mipi-csi2 devices, linked to CAMSS through the OF graph.

SM8750 has 6 CSIPHYs, 3 CSID + 2 CSID Lite, 3 VFE + 2 VFE Lite and 3 TPGs.
Eliza has 4 CSIPHYs, 3 CSID + 1 CSID Lite, 3 VFE + 1 VFE Lite and 2 TPGs.

Changes in v8:
- Rebase on next-20261201.
- dt-bindings: phy: Make qcom,sm8750-csi2-phy fall back to
  qcom,kaanapali-csi2-phy (same CSI2 PHY IP) and drop the
  "phy: qcom-mipi-csi2: Add SM8750 support" patch.
- dt-bindings: media: Use data-lanes = <1 2 3 4> in the examples and
  align the descriptions with qcom,kaanapali-camss.
- csid: 980: Issue a single reg update after the AUP address updates. -Bryan
- csid: 980: Drop the unused lane_cnt in RDI configuration.
- tpg: Drop the TPG gen1 version gate change, v2.3.0 is already covered
  by the existing 2.2.0 check; retitle to "Add TPG support for SM8750".
- Eliza: Add Eliza specific CSID/VFE clock rates following the Eliza
  camcc frequency plan.
- Eliza: Select the RDI write master base by VFE version (970/980).
- dts: sm8750: Use the kaanapali CSIPHY fallback compatible.
- dts: Drop clock-lanes from the CSIPHY endpoints.
- dts: eliza: Add MCLK4 pinctrl.
- dts: New patch: sm8750-mtp: Enable S5KJN1 camera sensor.
- Reword several commit messages.
- Link to v7: https://lore.kernel.org/r/20261114-add-support-for-camss-on-sm8750-v7-0-8ff2a11835f6@oss.qualcomm.com

Changes in v7:
- Rework the bindings: describe the SM8750 CSI2 PHY with its own
  "qcom,sm8750-csi2-phy" compatible (plus the matching phy-qcom-mipi-csi2
  entry) and move the CSIPHYs out of CAMSS as sibling PHY devices linked
  through the OF graph. Drop the Reviewed-by tags of the CAMSS binding
  - Krzysztof
- Add the "top" register region to the CAMSS binding, a PM clock list for
  SM8750, and include the CSID clock scaling patch - Loic
- Clean up the CAMSS binding (reg-names, clock names, unused clocks and
  interconnects, iommus description) and reuse the SA8775P TPG resources
  - Vladimir, bod
- Rework CSID 980 and move VFE 980 into its own camss-vfe-980.c with
  dedicated SM8750 resources, dropping its Reviewed-by - bod
- Drop the two-phase CSIPHY patch, the CSIPHYs are now handled by the
  standalone PHY driver
- Add the SM8750 DTS and Eliza support (bindings, driver and DTS)
- Link to v6: https://lore.kernel.org/r/20260721-add-support-for-camss-on-sm8750-v6-0-a5f841061d18@oss.qualcomm.com

Signed-off-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
---
Hangxiang Ma (10):
      dt-bindings: phy: qcom,x1e80100-csi2-phy: Add SM8750 CSI2 PHY
      dt-bindings: media: qcom,sm8750-camss: Add SM8750 CAMSS
      media: qcom: camss: Add SM8750 compatible
      media: qcom: camss: Add PM clock definitions for SM8750
      media: qcom: camss: csid: Add support for CSID 980
      media: qcom: camss: vfe: Add support for VFE 980
      media: qcom: camss: Add TPG support for SM8750
      arm64: dts: qcom: sm8750: Add CAMSS and CSIPHY block definitions
      arm64: dts: qcom: sm8750: Add CCI definitions
      arm64: dts: qcom: sm8750: Add camera MCLK pinctrl

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

Wenmeng Liu (12):
      dt-bindings: phy: qcom,x1e80100-csi2-phy: Add Eliza CSI2 PHY
      dt-bindings: media: qcom,eliza-camss: Add Eliza CAMSS
      dt-bindings: i2c: qcom-cci: Document Eliza compatible
      media: qcom: camss: Add Eliza compatible
      arm64: dts: qcom: sm8750-qrd: Enable S5KJN1 camera sensor
      arm64: dts: qcom: sm8750-mtp: Enable S5KJN1 camera sensor
      arm64: dts: qcom: eliza: Add CAMSS and CSIPHY block definitions
      arm64: dts: qcom: eliza: Add CCI definitions
      arm64: dts: qcom: eliza: Add camera MCLK pinctrl
      arm64: dts: qcom: eliza-mtp: Add PM8010 PMICs
      arm64: dts: qcom: eliza-mtp: Enable rear camera
      arm64: dts: qcom: eliza-evk-imx577-camera: Add DT overlay

 .../devicetree/bindings/i2c/qcom,i2c-cci.yaml      |   2 +
 .../bindings/media/qcom,eliza-camss.yaml           | 283 ++++++++
 .../bindings/media/qcom,sm8750-camss.yaml          | 298 ++++++++
 .../bindings/phy/qcom,x1e80100-csi2-phy.yaml       |   9 +-
 arch/arm64/boot/dts/qcom/Makefile                  |   4 +
 .../boot/dts/qcom/eliza-evk-imx577-camera.dtso     |  84 +++
 arch/arm64/boot/dts/qcom/eliza-mtp.dts             | 187 +++++
 arch/arm64/boot/dts/qcom/eliza.dtsi                | 533 +++++++++++++++
 arch/arm64/boot/dts/qcom/pm8010-eliza.dtsi         |  81 +++
 arch/arm64/boot/dts/qcom/sm8750-mtp.dts            |  71 ++
 arch/arm64/boot/dts/qcom/sm8750-qrd.dts            |  71 ++
 arch/arm64/boot/dts/qcom/sm8750.dtsi               | 755 +++++++++++++++++++++
 drivers/media/platform/qcom/camss/Makefile         |   2 +
 drivers/media/platform/qcom/camss/camss-csid-980.c | 473 +++++++++++++
 drivers/media/platform/qcom/camss/camss-csid.c     | 212 ++++--
 drivers/media/platform/qcom/camss/camss-csid.h     |   1 +
 drivers/media/platform/qcom/camss/camss-vfe-980.c  | 219 ++++++
 drivers/media/platform/qcom/camss/camss-vfe.c      |   2 +
 drivers/media/platform/qcom/camss/camss-vfe.h      |   1 +
 drivers/media/platform/qcom/camss/camss.c          | 385 +++++++++++
 drivers/media/platform/qcom/camss/camss.h          |   2 +
 21 files changed, 3631 insertions(+), 44 deletions(-)
---
base-commit: d138596e9f822033490b2e577ec2ea64f2aa246c
change-id: 20251126-add-support-for-camss-on-sm8750-506c4de36d88

Best regards,
-- 
Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>


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

end of thread, other threads:[~2026-12-02 10:46 UTC | newest]

Thread overview: 55+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-02  9:59 [PATCH v8 00/23] Add CAMSS support for SM8750 and Eliza Wenmeng Liu
2026-12-02  9:59 ` Wenmeng Liu
2026-12-02  9:59 ` [PATCH v8 01/23] dt-bindings: phy: qcom,x1e80100-csi2-phy: Add SM8750 CSI2 PHY Wenmeng Liu
2026-12-02  9:59   ` Wenmeng Liu
2026-12-02  9:59 ` [PATCH v8 02/23] dt-bindings: phy: qcom,x1e80100-csi2-phy: Add Eliza " Wenmeng Liu
2026-12-02  9:59   ` Wenmeng Liu
2026-12-02  9:59 ` [PATCH v8 03/23] dt-bindings: media: qcom,sm8750-camss: Add SM8750 CAMSS Wenmeng Liu
2026-12-02  9:59   ` Wenmeng Liu
2026-12-02  9:59 ` [PATCH v8 04/23] dt-bindings: media: qcom,eliza-camss: Add Eliza CAMSS Wenmeng Liu
2026-12-02  9:59   ` Wenmeng Liu
2026-12-02  9:59 ` [PATCH v8 05/23] dt-bindings: i2c: qcom-cci: Document Eliza compatible Wenmeng Liu
2026-12-02  9:59   ` Wenmeng Liu
2026-12-02  9:59 ` [PATCH v8 06/23] media: qcom: camss: Add SM8750 compatible Wenmeng Liu
2026-12-02  9:59   ` Wenmeng Liu
2026-12-02 10:46   ` Loic Poulain
2026-12-02 10:46     ` Loic Poulain
2026-12-02  9:59 ` [PATCH v8 07/23] media: qcom: camss: Add PM clock definitions for SM8750 Wenmeng Liu
2026-12-02  9:59   ` Wenmeng Liu
2026-12-02  9:59 ` [PATCH v8 08/23] media: qcom: camss: csid: Scale the clocks with the CSI-2 link rate Wenmeng Liu
2026-12-02  9:59   ` Wenmeng Liu
2026-12-02 10:29   ` sashiko-bot
2026-12-02 10:29     ` sashiko-bot
2026-12-02  9:59 ` [PATCH v8 09/23] media: qcom: camss: csid: Add support for CSID 980 Wenmeng Liu
2026-12-02  9:59   ` Wenmeng Liu
2026-12-02 10:22   ` sashiko-bot
2026-12-02 10:22     ` sashiko-bot
2026-12-02  9:59 ` [PATCH v8 10/23] media: qcom: camss: vfe: Add support for VFE 980 Wenmeng Liu
2026-12-02 10:14   ` sashiko-bot
2026-12-02 10:14     ` sashiko-bot
2026-12-02  9:59 ` [PATCH v8 11/23] media: qcom: camss: Add TPG support for SM8750 Wenmeng Liu
2026-12-02  9:59   ` Wenmeng Liu
2026-12-02  9:59 ` [PATCH v8 12/23] media: qcom: camss: Add Eliza compatible Wenmeng Liu
2026-12-02  9:59   ` Wenmeng Liu
2026-12-02  9:59 ` [PATCH v8 13/23] arm64: dts: qcom: sm8750: Add CAMSS and CSIPHY block definitions Wenmeng Liu
2026-12-02  9:59   ` Wenmeng Liu
2026-12-02  9:59 ` [PATCH v8 14/23] arm64: dts: qcom: sm8750: Add CCI definitions Wenmeng Liu
2026-12-02  9:59   ` Wenmeng Liu
2026-12-02  9:59 ` [PATCH v8 15/23] arm64: dts: qcom: sm8750: Add camera MCLK pinctrl Wenmeng Liu
2026-12-02  9:59   ` Wenmeng Liu
2026-12-02  9:59 ` [PATCH v8 16/23] arm64: dts: qcom: sm8750-qrd: Enable S5KJN1 camera sensor Wenmeng Liu
2026-12-02  9:59   ` Wenmeng Liu
2026-12-02  9:59 ` [PATCH v8 17/23] arm64: dts: qcom: sm8750-mtp: " Wenmeng Liu
2026-12-02  9:59   ` Wenmeng Liu
2026-12-02  9:59 ` [PATCH v8 18/23] arm64: dts: qcom: eliza: Add CAMSS and CSIPHY block definitions Wenmeng Liu
2026-12-02  9:59   ` Wenmeng Liu
2026-12-02  9:59 ` [PATCH v8 19/23] arm64: dts: qcom: eliza: Add CCI definitions Wenmeng Liu
2026-12-02  9:59   ` Wenmeng Liu
2026-12-02  9:59 ` [PATCH v8 20/23] arm64: dts: qcom: eliza: Add camera MCLK pinctrl Wenmeng Liu
2026-12-02  9:59   ` Wenmeng Liu
2026-12-02  9:59 ` [PATCH v8 21/23] arm64: dts: qcom: eliza-mtp: Add PM8010 PMICs Wenmeng Liu
2026-12-02  9:59   ` Wenmeng Liu
2026-12-02  9:59 ` [PATCH v8 22/23] arm64: dts: qcom: eliza-mtp: Enable rear camera Wenmeng Liu
2026-12-02  9:59   ` Wenmeng Liu
2026-12-02  9:59 ` [PATCH v8 23/23] arm64: dts: qcom: eliza-evk-imx577-camera: Add DT overlay Wenmeng Liu
2026-12-02  9:59   ` Wenmeng Liu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.