From: Vikram Sharma <quic_vikramsa@quicinc.com>
To: <rfoss@kernel.org>, <todor.too@gmail.com>,
<bryan.odonoghue@linaro.org>, <mchehab@kernel.org>,
<robh@kernel.org>, <krzk+dt@kernel.org>, <conor+dt@kernel.org>,
<andersson@kernel.org>, <konradybcio@kernel.org>,
<hverkuil-cisco@xs4all.nl>, <cros-qcom-dts-watchers@chromium.org>,
<catalin.marinas@arm.com>, <will@kernel.org>
Cc: <linux-arm-kernel@lists.infradead.org>,
<quic_svankada@quicinc.com>, <linux-media@vger.kernel.org>,
<linux-arm-msm@vger.kernel.org>, <devicetree@vger.kernel.org>,
<linux-kernel@vger.kernel.org>
Subject: [PATCH v4 0/9] Add sa8775p camss support
Date: Thu, 7 Aug 2025 17:40:56 +0530 [thread overview]
Message-ID: <20250807121105.710072-1-quic_vikramsa@quicinc.com> (raw)
From: Vikram Sharma <vikramsa@qti.qualcomm.com>
SA8775P is a Qualcomm SoC. This series adds bindings and devicetree to bring
up CSIPHY, TPG, CSID, VFE/RDI interfaces in SA8775P.
SA8775P 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
- 4 x CSIPHY
Changes in v4 compared to v3:
- Bindings and Device Tree: Reordered the csid_wrapper to be the first
entry in the register list. (Suggested by Bryan)
- CSIPHY Driver: Added comments indicating the CSIPHY process node number.
- VFE Configuration: Defined bit fields for vfe_top_core_cfg.
- Clock Optimization: Trimmed down the clock list for VFE.
- Cleanup: Removed newly added deadlines from the CSIPHY, CSID, and VFE
files.
- Link to v3:
https://lore.kernel.org/all/20250703171938.3606998-1-quic_vikramsa@quicinc.com/
Changes compared to v2:
- Renaming camss-vfe-780.c to camss-vfe-gen3.c and camss-csid-780 to
camss-csid-gen3 to avoid code duplication for SA8775P.SA877P have csid
690 and vfe 690 which is almost same as csid/vfe 780 with very minor
change in register bitfield.
- Restructure vfe and csid addition to reuse existing files.
- Updated commit text for Bindings patch.
- renamed cpas_ife_lite clock to cpas_vfe_lite.
- added voltage rails for csiphy in documentation.
- removed sf and icp clocks.
- removed sf_0 interconnect.
- Link to v2:
https://lore.kernel.org/linux-arm-msm/20250427070135.884623-1-quic_vikramsa@quicinc.com/
Changes compared to v1:
- Renaming camss-vfe-780.c to camss-vfe-gen2.c and camss-csid-780 to
camss-csid-gen3 to avoid code duplication for SA8775P.SA877P have csid
690 and vfe 690 which is almost same as csid/vfe 780 with very minor
change in register bitfield.
- Restructure vfe and csid addition to reuse existing files.
- Updated cisd-lite and vfe-lite interuppt names.
- add enumeration changes as seprate patch.
- Update required fileds in bindings.
- Link to v1:
DT: https://lore.kernel.org/linux-arm-msm/20250210155605.575367-1-quic_vikramsa@quicinc.com/
Driver: https://lore.kernel.org/linux-media/20250210162843.609337-1-quic_vikramsa@quicinc.com/
Sanity check for these patches:
- make CHECK_DTBS=y W=1 DT_SCHEMA_FILES=media/qcom,sa8775p-camss.yaml
- make DT_CHECKER_FLAGS=-m W=1
DT_SCHEMA_FILES=media/qcom,sa8775p-camss.yaml dt_binding_check
- checkpatch.pl
- Smatch: make CHECK="smatch --full-path" M=drivers/media/platform/qcom/camss/
- make -j32 W=1
We have tested this on qcs9100-ride board with 'Test Pattern Generator'
https://lore.kernel.org/all/20250717-lemans_tpg-v2-0-a2538659349c@quicinc.com/
A rebased version of the TPG driver, built on top of this series, will be
shared as v3 in a follow-up post.
Vikram Sharma (9):
media: qcom: camss: Rename camss-csid-780.c to camss-csid-gen3.c
media: qcom: camss: Rename camss-vfe-780.c to camss-vfe-gen3.c
media: dt-bindings: Add qcom,sa8775p-camss compatible
media: qcom: camss: Add sa8775p compatible
media: qcom: camss: Add support for CSIPHY 690
media: qcom: camss: Add support for CSID for sa8775p
media: qcom: camss: Add support for VFE 690
media: qcom: camss: Enumerate resources for SA8775P
arm64: dts: qcom: sa8775p: Add support for camss
.../bindings/media/qcom,sa8775p-camss.yaml | 361 +++++++++++++++
arch/arm64/boot/dts/qcom/sa8775p.dtsi | 185 ++++++++
drivers/media/platform/qcom/camss/Makefile | 4 +-
.../{camss-csid-780.c => camss-csid-gen3.c} | 33 +-
.../{camss-csid-780.h => camss-csid-gen3.h} | 8 +-
.../media/platform/qcom/camss/camss-csid.h | 2 +-
.../qcom/camss/camss-csiphy-3ph-1-0.c | 84 ++++
.../{camss-vfe-780.c => camss-vfe-gen3.c} | 75 ++-
drivers/media/platform/qcom/camss/camss-vfe.c | 5 +-
drivers/media/platform/qcom/camss/camss-vfe.h | 2 +-
drivers/media/platform/qcom/camss/camss.c | 428 +++++++++++++++++-
drivers/media/platform/qcom/camss/camss.h | 1 +
12 files changed, 1138 insertions(+), 50 deletions(-)
create mode 100644 Documentation/devicetree/bindings/media/qcom,sa8775p-camss.yaml
rename drivers/media/platform/qcom/camss/{camss-csid-780.c => camss-csid-gen3.c} (89%)
rename drivers/media/platform/qcom/camss/{camss-csid-780.h => camss-csid-gen3.h} (84%)
rename drivers/media/platform/qcom/camss/{camss-vfe-780.c => camss-vfe-gen3.c} (70%)
Signed-off-by: Vikram Sharma <quic_vikramsa@quicinc.com>
--
2.25.1
next reply other threads:[~2025-08-07 12:11 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-07 12:10 Vikram Sharma [this message]
2025-08-07 12:10 ` [PATCH v4 1/9] media: qcom: camss: Rename camss-csid-780.c to camss-csid-gen3.c Vikram Sharma
2025-08-07 12:10 ` [PATCH v4 2/9] media: qcom: camss: Rename camss-vfe-780.c to camss-vfe-gen3.c Vikram Sharma
2025-08-07 12:10 ` [PATCH v4 3/9] media: dt-bindings: Add qcom,sa8775p-camss compatible Vikram Sharma
2025-08-07 12:11 ` [PATCH v4 4/9] media: qcom: camss: Add sa8775p compatible Vikram Sharma
2025-08-07 12:11 ` [PATCH v4 5/9] media: qcom: camss: Add support for CSIPHY 690 Vikram Sharma
2025-08-07 12:11 ` [PATCH v4 6/9] media: qcom: camss: Add support for CSID for sa8775p Vikram Sharma
2025-08-13 21:18 ` Bryan O'Donoghue
2025-08-07 12:11 ` [PATCH v4 7/9] media: qcom: camss: Add support for VFE 690 Vikram Sharma
2025-08-13 21:21 ` Bryan O'Donoghue
2025-08-07 12:11 ` [PATCH v4 8/9] media: qcom: camss: Enumerate resources for SA8775P Vikram Sharma
2025-08-07 12:11 ` [PATCH v4 9/9] arm64: dts: qcom: sa8775p: Add support for camss 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=20250807121105.710072-1-quic_vikramsa@quicinc.com \
--to=quic_vikramsa@quicinc.com \
--cc=andersson@kernel.org \
--cc=bryan.odonoghue@linaro.org \
--cc=catalin.marinas@arm.com \
--cc=conor+dt@kernel.org \
--cc=cros-qcom-dts-watchers@chromium.org \
--cc=devicetree@vger.kernel.org \
--cc=hverkuil-cisco@xs4all.nl \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=quic_svankada@quicinc.com \
--cc=rfoss@kernel.org \
--cc=robh@kernel.org \
--cc=todor.too@gmail.com \
--cc=will@kernel.org \
/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®