mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/3] media: qcom: camss: Add sa8775p camss TPG support
@ 2025-07-17  3:20 Wenmeng Liu
  2025-07-17  3:20 ` [PATCH v2 1/3] media: qcom: camss: Add support for TPG common Wenmeng Liu
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Wenmeng Liu @ 2025-07-17  3:20 UTC (permalink / raw)
  To: Robert Foss, Todor Tomov, Bryan O'Donoghue, Mauro Carvalho Chehab
  Cc: linux-kernel, linux-media, linux-arm-msm, Wenmeng Liu

SA8775P is a Qualcomm SoC. This series adds driver changes to
bring up the TPG interfaces in SA8775P.

We have tested this on qcs9100-ride board with 'Test Pattern Generator'.
Unlike CSID TPG, this TPG can be seen as a combination of CSIPHY and sensor.

Tested with following commands:
- media-ctl --reset
- media-ctl -V '"msm_tpg0":0[fmt:SRGGB10/4608x2592 field:none]'
- media-ctl -V '"msm_csid0":0[fmt:SRGGB10/4608x2592 field:none]'
- media-ctl -V '"msm_vfe0_rdi0":0[fmt:SRGGB10/4608x2592 field:none]'
- media-ctl -l '"msm_tpg0":1->"msm_csid0":0[1]'
- media-ctl -l '"msm_csid0":1->"msm_vfe0_rdi0":0[1]'
- v4l2-ctl -d /dev/v4l-subdev4 -c test_pattern=9
- yavta -B capture-mplane -n 5 -f SRGGB10P -s 4608x2592 /dev/video0
  --capture=7

Dependencies:
https://lore.kernel.org/all/20250711131134.215382-1-quic_vikramsa@quicinc.com/

Changes in v2:
- rebase tpg changes based on new versions of sa8775p and qcs8300 camss patches
- Link to v1: https://lore.kernel.org/all/20250211-sa8775p_tpg-v1-0-3f76c5f8431f@quicinc.com/

Signed-off-by: Wenmeng Liu <quic_wenmliu@quicinc.com>
---
Wenmeng Liu (3):
      media: qcom: camss: Add support for TPG common
      media: qcom: camss: Add link support for TPG common
      media: qcom: camss: tpg: Add TPG support for SA8775P

 drivers/media/platform/qcom/camss/Makefile         |   2 +
 .../media/platform/qcom/camss/camss-csid-gen3.c    |  17 +
 drivers/media/platform/qcom/camss/camss-csid.c     |  44 +-
 drivers/media/platform/qcom/camss/camss-tpg-gen1.c | 245 +++++++
 drivers/media/platform/qcom/camss/camss-tpg.c      | 737 +++++++++++++++++++++
 drivers/media/platform/qcom/camss/camss-tpg.h      | 130 ++++
 drivers/media/platform/qcom/camss/camss.c          | 108 +++
 drivers/media/platform/qcom/camss/camss.h          |   5 +
 8 files changed, 1279 insertions(+), 9 deletions(-)
---
base-commit: a6f70b9b51a4ebaf316f230ca3d0da305850bf64
change-id: 20250717-lemans_tpg-80e7a988b90e

Best regards,
-- 
Wenmeng Liu <quic_wenmliu@quicinc.com>


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

end of thread, other threads:[~2025-08-15 12:12 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-17  3:20 [PATCH v2 0/3] media: qcom: camss: Add sa8775p camss TPG support Wenmeng Liu
2025-07-17  3:20 ` [PATCH v2 1/3] media: qcom: camss: Add support for TPG common Wenmeng Liu
2025-07-17 12:42   ` Bryan O'Donoghue
2025-08-15  8:52     ` Wenmeng Liu
2025-08-15 12:12       ` Bryan O'Donoghue
2025-07-17 12:43   ` Konrad Dybcio
2025-07-17  3:20 ` [PATCH v2 2/3] media: qcom: camss: Add link " Wenmeng Liu
2025-07-17 12:52   ` Konrad Dybcio
2025-07-17 12:56   ` Bryan O'Donoghue
2025-07-17  3:20 ` [PATCH v2 3/3] media: qcom: camss: tpg: Add TPG support for SA8775P Wenmeng Liu
2025-07-17 12:54   ` Konrad Dybcio
2025-07-17 12:59     ` Bryan O'Donoghue
2025-07-17 12:34 ` [PATCH v2 0/3] media: qcom: camss: Add sa8775p camss TPG support Konrad Dybcio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®