Add camss support for Nord - #1846
Conversation
Add bindings for the camera subsystem (CAMSS) on the Qualcomm Nord platform. The Nord platform provides: - 3 x TPG (Test Pattern Generator) - 3 x CSID (CSI Decoder) - 10 x CSID Lite - 3 x VFE (Video Front End) - 10 x VFE Lite Signed-off-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com> Link: https://lore.kernel.org/all/20260915-nord-v1-1-20db41a7f1ff@oss.qualcomm.com/
Add a CSID driver for the "900" revision on the Nord SoC. It shares the CSI-2 RX helpers and the split RUP/AUP model of the gen3/980 lineage, but the register offsets differ across the map and the RUP/AUP command uses separate accumulator/trigger registers with a per-buffer AUP enqueue, so add a separate file rather than overload the gen3 offset macros with another SoC conditional. The write master buffers are enqueued to the CSID: for every enabled RDI an AUP_UPDATE is issued once per initial buffer, followed by a single RUP_UPDATE, matching the number of buffers handed to the write master when it is enabled. Nord has 3 CSID and 10 CSID Lite instances, all driven by csid_ops_900. Signed-off-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com> Link: https://lore.kernel.org/all/20260915-nord-v1-2-20db41a7f1ff@oss.qualcomm.com/
The VFE on the Nord platform reuses the gen4 VFE driver but places its bus registers at a different base and does not implement the write master CGC override register. Add a VFE 900 variant to the gen4 driver to handle the different bus register base, the separate location of the test bus control register, and to skip the missing CGC override register. In addition, the v900 ADDR_IMAGE register takes a full byte address rather than the 256-byte-unit encoding used by the gen4 baseline, and the full IFE write master client map places the RDI clients at index 28 (the lite instances keep RDI0 at client 0). Convert the gen4 register layout from preprocessor macros to a table-driven vfe_gen4_hw_info, retaining the existing VFE 980 (SM8750) layout as a distinct table entry. Signed-off-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com> FROMLIST: https://lore.kernel.org/all/20260915-nord-v1-4-20db41a7f1ff@oss.qualcomm.com/
Add support for TPG v2.5.0, which moves the stream enable bit out of TPG_CTRL into a dedicated command register (TPG_CTRL_CMD). Branch tpg_stream_on() on the runtime hw_version so the generator is enabled through the command register on v2.5.0 and through TPG_CTRL on earlier revisions; the reset bit is unchanged. Signed-off-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com> Link: https://lore.kernel.org/all/20260915-nord-v1-5-20db41a7f1ff@oss.qualcomm.com/
Add support for the camera subsystem on the Qualcomm Nord platform. Enumerate the module-level resources (clocks, register regions, interrupts) and the bus bandwidth votes, and wire up the compatible. Nord exposes 3 TPG, 3 CSID plus 10 CSID Lite (driven by csid_ops_900) and 3 VFE plus 10 VFE Lite (driven by vfe_ops_gen4 with the VFE 900 variant). Signed-off-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com> Link: https://lore.kernel.org/all/20260915-nord-v1-6-20db41a7f1ff@oss.qualcomm.com/
|
Dev Completion validation failed CR: 4656447 The change task for this CR could not be moved to Dev Complete because of the error above. Please resolve the issue in Orbit and re-run the failed Orbit check. |
|
Dev Completion validation failed CR: 4679675 The change task for this CR could not be moved to Dev Complete because of the error above. Please resolve the issue in Orbit and re-run the failed Orbit check. |
cee6189
into
qualcomm-linux:tech/mm/camss
🔨 Build Failure Analysis — PR #1846PR: #1846
VerdictThis is NOT a build failure caused by the PR. The failure occurred during the automerge integration step when merging the PR branch (tech/mm/camss) with the qcom-next baseline. The merge conflict is in a file that the PR does not touch. 📎 Detailed analysis: Full report |
🔨 Build Failure Analysis — PR #1846PR: #1846
VerdictThis is a pre-existing merge conflict not introduced by this PR. The PR only modifies camera subsystem (CAMSS) files and does not touch the conflicting file. 📎 Detailed analysis: Full report |
PR #1846 — validate-patchPR: #1846
Final Summary
|
PR #1846 — checker-log-analyzerPR: #1846
Detailed report: Full report
|
Add support for Nord camss.
CRs-Fixed: 4679675