mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Vikram Sharma <quic_vikramsa@quicinc.com>
To: <rfoss@kernel.org>, <todor.too@gmail.com>, <bryan.odonoghue@linaro.org>
Cc: <linux-media@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<quic_svankada@quicinc.com>
Subject: [PATCH v1 0/5] media: qcom: camss: Add qcs8300 camss support
Date: Fri, 14 Feb 2025 15:26:06 +0530	[thread overview]
Message-ID: <20250214095611.2498950-1-quic_vikramsa@quicinc.com> (raw)

QCS8300 is a Qualcomm SoC. This series adds driver changes to bring up
CSIPHY, TPG, CSID, VFE/RDI interfaces in QCS8300.

QCS8300 provides
- 2 x VFE, 3 RDI per VFE
- 5 x VFE Lite, 6 RDI per VFE
- 2 x CSID
- 5 x CSID Lite
- 3 x TPG
- 3 x CSIPHY

Dependencies:
I took below patch series as dependency to test these changes.
- https://lore.kernel.org/all/20250210155605.575367-1-quic_vikramsa@quicinc.com/
- https://lore.kernel.org/all/20250210162843.609337-1-quic_vikramsa@quicinc.com/
- https://lore.kernel.org/all/20250109-qcs8300-mm-patches-new-v4-0-63e8ac268b02@quicinc.com/
- https://lore.kernel.org/all/20250214094747.2483058-1-quic_vikramsa@quicinc.com

We have tested this on qcs8300-ride board with 'Test Pattern Generator'
TPG driver support will be posted in a follow up series.

Tested with following commands:
- media-ctl -d /dev/media0 --reset
- yavta --no-query -w '0x009f0903 0' /dev/v4l-subdev0
- media-ctl -d /dev/media0 -V '"msm_tpg0":0[fmt:SRGGB10/1920x1080
  field:none]'
- media-ctl -d /dev/media0 -V '"msm_csid0":0[fmt:SRGGB10/1920x1080
  field:none]'
- media-ctl -d /dev/media0 -V '"msm_vfe0_rdi0":0[fmt:SRGGB10/1920x1080
  field:none]'
- media-ctl -d /dev/media0 -l '"msm_tpg0":1->"msm_csid0":0[1]'
- media-ctl -d /dev/media0 -l '"msm_csid0":1->"msm_vfe0_rdi0":0[1]'
- yavta --no-query -w '0x009f0903 9' /dev/v4l-subdev0
- yavta -B capture-mplane -n 5 -f SRGGB10P -s 1920x1080 /dev/video0
  --capture=7

Used following tools for the sanity check of these changes.

- make -j32 W=1
- ./scripts/checkpatch.pl

Signed-off-by: Vikram Sharma <quic_vikramsa@quicinc.com>

Vikram Sharma (5):
  media: qcom: camss: Add qcs8300 compatible
  media: qcom: camss: Add support for CSIPHY QCS8300
  media: qcom: camss: Add CSID support for QCS8300
  media: qcom: camss: Add VFE support for QCS8300
  media: qcom: camss: Enumerate resources for QCS8300

 .../qcom/camss/camss-csiphy-3ph-1-0.c         |   2 +
 .../media/platform/qcom/camss/camss-csiphy.c  |   5 +
 .../media/platform/qcom/camss/camss-csiphy.h  |   1 +
 drivers/media/platform/qcom/camss/camss-vfe.c |   2 +
 drivers/media/platform/qcom/camss/camss.c     | 392 ++++++++++++++++++
 drivers/media/platform/qcom/camss/camss.h     |   1 +
 6 files changed, 403 insertions(+)

-- 
2.25.1


             reply	other threads:[~2025-02-14  9:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-14  9:56 Vikram Sharma [this message]
2025-02-14  9:56 ` [PATCH v1 1/5] media: qcom: camss: Add qcs8300 compatible Vikram Sharma
2025-02-14  9:56 ` [PATCH v1 2/5] media: qcom: camss: Add support for CSIPHY QCS8300 Vikram Sharma
2025-02-14  9:56 ` [PATCH v1 3/5] media: qcom: camss: Add CSID support for QCS8300 Vikram Sharma
2025-02-14  9:56 ` [PATCH v1 4/5] media: qcom: camss: Add VFE " Vikram Sharma
2025-02-14  9:56 ` [PATCH v1 5/5] media: qcom: camss: Enumerate resources " Vikram Sharma

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250214095611.2498950-1-quic_vikramsa@quicinc.com \
    --to=quic_vikramsa@quicinc.com \
    --cc=bryan.odonoghue@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=quic_svankada@quicinc.com \
    --cc=rfoss@kernel.org \
    --cc=todor.too@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®