Skip to content

Enable Glymur camx DTB compilation for linux-qcom kernel#2579

Open
cjha01 wants to merge 2 commits into
qualcomm-linux:masterfrom
cjha01:camx-dlkm
Open

Enable Glymur camx DTB compilation for linux-qcom kernel#2579
cjha01 wants to merge 2 commits into
qualcomm-linux:masterfrom
cjha01:camx-dlkm

Conversation

@cjha01

@cjha01 cjha01 commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Downstream camera DTB is not included in the final image
when building linux-qcom, linux-qcom-next, linux-qcom-rt,
or linux-qcom-next-rt kernels for the glymur crd board.
This prevents the downstream camera stack from being
enabled at boot, even though the kernel supports it.

Include the downstream camera DTB so it is packaged into
the final image and downstream camera functionality is
available for the Glymur crd.

Add multi-DTB support for camx overlay to enable downstream
camera for Glymur crd (glymur-crd-camx).

cjha01 added 2 commits June 22, 2026 21:22
Downstream camera DTB is not included in the final image
when building linux-qcom, linux-qcom-next, linux-qcom-rt,
or linux-qcom-next-rt kernels for the glymur crd board.
This prevents the downstream camera stack from being
enabled at boot, even though the kernel supports it.

Include the downstream camera DTB so it is packaged into
the final image and downstream camera functionality is
available for the glymur crd.

Signed-off-by: Chandan Kumar Jha <cjha@qti.qualcomm.com>
Add multi-DTB support for camx overlay to enable downstream
camera for glymur crd (glymur-crd-camx).

Signed-off-by: Chandan Kumar Jha <cjha@qti.qualcomm.com>
@cjha01

cjha01 commented Jun 23, 2026

Copy link
Copy Markdown
Contributor Author

The build is failing on the 6.18 kernel. As per our understanding, camera enablement is required on Glymur-CRD for qcom-next; So, we did not add the glymur-crd-camx.dtso file to the 6.18.y kernel.

Camera enablement depends on clock, regulator, and PMIC changes, and these dependencies are not yet present in 6.18.y kernel. Due to this, we cannot introduce glymur-crd-camx.dtso in 6.18 kernel.

Additionally, we received input from PDM that camera needs to be enabled only on QLI mainline as of now, not for QLI 2.0.

However, the issue is that LINUX_QCOM_KERNEL_DEVICETREE expects DTSO change from both qcom-next and 6.18 kernels, which is causing the build failure on 6.18.

@lumag

lumag commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

@cjha01 you have written a lengthy message, explaining why it fails. What is not obvious from your message, how do you plan to fix it. Hint: stop using LINUX_QCOM_KERNEL_DEVICETREE.

@lumag

lumag commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

camera needs to be enabled only on QLI mainline as of now, not for QLI 2.0.

How does it affect the build failure? Both kernels are a part of the QLI mainline.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants