Skip to content

Updated Add CAMSS and IMX577 sensor support for Shikra EVK - #1125

Draft
Nihal Kumar Gupta (nihal231998) wants to merge 15 commits into
qualcomm-linux:qcom-6.18.yfrom
nihal231998:shikra_updated_camera
Draft

Nihal Kumar Gupta (nihal231998) wants to merge 15 commits into
qualcomm-linux:qcom-6.18.yfrom
nihal231998:shikra_updated_camera

Conversation

@nihal231998

@nihal231998 Nihal Kumar Gupta (nihal231998) commented Sep 16, 2026

Copy link
Copy Markdown

Updated shikra patches:

Shikra EVK is based on the Qualcomm Shikra SoC.
It lacks a camera sensor in its default configuration.
This series adds CAMSS driver support, CCI definitions and enables
the 22-pin IMX577 sensor via CSIPHY0 through a device tree overlay.

We have tested IMX577 Sensor on CCI1 with following commands using yavta and libcamera:

media-ctl --reset
media-ctl -d /dev/media0 -V '"imx577 1-001a":0[fmt:SRGGB10/4056x3040 field:none]'
media-ctl -d /dev/media0 -V '"msm_csiphy1":0[fmt:SRGGB10/4056x3040]'
media-ctl -d /dev/media0 -V '"msm_csid0":0[fmt:SRGGB10/4056x3040]'
media-ctl -d /dev/media0 -V '"msm_vfe0_rdi0":0[fmt:SRGGB10/4056x3040]'
media-ctl -d /dev/media0 -l '"msm_csiphy1":1->"msm_csid0":0[1]'
media-ctl -d /dev/media0 -l '"msm_csid0":1->"msm_vfe0_rdi0":0[1]'
yavta -B capture-mplane -c -I -n 5 -f SRGGB10P -s 4056x3040 -F /dev/video0

Reverted: Link: https://lore.kernel.org/all/20260526-shikra-camss-review-v1-0-645d2c8c75a7@qti.qualcomm.com/
Updated to v7: https://lore.kernel.org/all/20260806-shikra-camss-review-v7-0-c7360fd6a5ac@oss.qualcomm.com/

  • FROMLIST: arm64: dts: qcom: shikra-iqs-evk-imx577-camera: Add DT overlay
  • FROMLIST: arm64: dts: qcom: shikra-cqm-cqs-evk-imx577-camera: Add DT overlay
  • FROMLIST: arm64: dts: qcom: shikra: Add pin configuration for mclks
  • FROMLIST: arm64: dts: qcom: shikra: Add CCI definitions
  • FROMLIST: arm64: dts: qcom: shikra: Add CAMSS node
  • FROMLIST: dt-bindings: media: qcom: Add Shikra CAMSS compatible
  • FROMLIST: dt-bindings: i2c: qcom-cci: Document Shikra compatible
  • Revert "FROMLIST: dt-bindings: media: qcom: Add Shikra CAMSS compatible"
  • Revert "FROMLIST: dt-bindings: i2c: qcom-cci: Document Shikra compatible"
  • Revert "FROMLIST: media: qcom: camss: add support for QCM2390 camss"
  • Revert "FROMLIST: arm64: dts: qcom: shikra: Add CAMSS node"
  • Revert "FROMLIST: arm64: dts: qcom: shikra: Add CCI definitions"
  • Revert "FROMLIST: arm64: dts: qcom: shikra: Add pin configuration for mclks"
  • Revert "FROMLIST: arm64: dts: qcom: shikra-cqm-evk-imx577-camera: Add DT overlay"
  • Revert "FROMLIST: arm64: dts: qcom: shikra-iqs-evk-imx577-camera: Add DT overlay"

CRs-Fixed: 4679191

@qswat-orbit-external

Copy link
Copy Markdown

Merge Check Failed: No CR Numbers Found

Error: No Change Request numbers were found.

Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests.

Nihal Kumar Gupta added 10 commits September 16, 2026 15:29
Add Shikra compatible consistent with CAMSS CCI interfaces.
It requires only two clocks.

Link: https://lore.kernel.org/all/20260608-shikra-camss-review-v2-2-ca1936bf1219@oss.qualcomm.com/
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Reviewed-by: Loic Poulain <loic.poulain@oss.qualcomm.com>
Signed-off-by: Nihal Kumar Gupta <nihal.gupta@oss.qualcomm.com>
Shikra contains the same Camera Subsystem IP as QCM2290. Document the
platform-specific compatible string, using qcom,qcm2290-camss as
fallback.

Unlike QCM2290, Shikra omits the CDM and OPE blocks, requiring only a
single IOMMU context bank instead of four.

Link: https://lore.kernel.org/all/20260723-shikra-camss-review-v6-1-7c46f9bbb4db@oss.qualcomm.com/
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Reviewed-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Signed-off-by: Nihal Kumar Gupta <nihal.gupta@oss.qualcomm.com>
Add the Camera Subsystem node. Shikra shares the same IP as QCM2290
with two CSIPHYs, two CSIDs and two VFEs, but does not include CDM
and OPE blocks, so only a single IOMMU context bank is needed.

Link: https://lore.kernel.org/all/20260806-shikra-camss-review-v7-1-c7360fd6a5ac@oss.qualcomm.com/
Co-developed-by: Vikram Sharma <vikram.sharma@oss.qualcomm.com>
Signed-off-by: Vikram Sharma <vikram.sharma@oss.qualcomm.com>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Signed-off-by: Nihal Kumar Gupta <nihal.gupta@oss.qualcomm.com>
Qualcomm Shikra SoC has one Camera Control Interface (CCI)
containing two I2C hosts.

Link: https://lore.kernel.org/all/20260806-shikra-camss-review-v7-2-c7360fd6a5ac@oss.qualcomm.com/
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Reviewed-by: Loic Poulain <loic.poulain@oss.qualcomm.com>
Signed-off-by: Nihal Kumar Gupta <nihal.gupta@oss.qualcomm.com>
Add pinctrl configuration for the four available camera master clocks.

Link: https://lore.kernel.org/all/20260806-shikra-camss-review-v7-3-c7360fd6a5ac@oss.qualcomm.com/
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Nihal Kumar Gupta <nihal.gupta@oss.qualcomm.com>
…overlay

Shikra CQM and CQS are retail variants sharing the same PM4125 PMIC
and identical camera supply rails. The only difference between them
is the integrated modem on CQM, which does not affect camera hardware.

Add a shared overlay for optional IMX577 integration via CSIPHY1,
used by both CQM and CQS EVK boards.

Link: https://lore.kernel.org/all/20260806-shikra-camss-review-v7-4-c7360fd6a5ac@oss.qualcomm.com/
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Signed-off-by: Nihal Kumar Gupta <nihal.gupta@oss.qualcomm.com>
Shikra IQS is an industrial-grade variant using PM8150 PMIC, requiring
different CSIPHY and sensor supply rails compared to the retail boards
(CQM and CQS) which use PM4125.

Add a dedicated overlay for optional IMX577 integration via CSIPHY1.

Link: https://lore.kernel.org/all/20260806-shikra-camss-review-v7-5-c7360fd6a5ac@oss.qualcomm.com/
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Signed-off-by: Nihal Kumar Gupta <nihal.gupta@oss.qualcomm.com>
@qswat-orbit-external

Copy link
Copy Markdown

Merge Check Failed: No CR Numbers Found

Error: No Change Request numbers were found.

Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests.

@qswat-orbit-external

Copy link
Copy Markdown

Merge Check Failed: CR Not Eligible for Merge

CR 4679191 is not eligible for merge.

The parent software image for kernel.qli.2.0 is not development complete.

Entity: kernel.qli.2.0
CR: 4679191
Reason: CR_CANNOT_MERGE

Please ensure the CR passes both CCT (ComponentChangeTasks) and ICT (Integration Change Tasks) validations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant