Skip to content

video: driver: bring up purwa enablement changes#127

Open
gouravk-qualcomm wants to merge 5 commits into
qualcomm-linux:video.qclinux.mainfrom
gouravk-qualcomm:purva-bu
Open

video: driver: bring up purwa enablement changes#127
gouravk-qualcomm wants to merge 5 commits into
qualcomm-linux:video.qclinux.mainfrom
gouravk-qualcomm:purva-bu

Conversation

@gouravk-qualcomm

Copy link
Copy Markdown
Contributor

This PR brings up the purwa (X1P42100) platform on the video driver branch. It includes OPP clock table support, hardware power sequence fixes, UBWC global config, and a build compatibility fix to allow promotion across all supported kernel trees.

…3 OPP rate path""

This reverts commit fe7e009.

Signed-off-by: Gourav Kumar <gouravk@qti.qualcomm.com>
…rdware power sequences""

This reverts commit 401af87.

Signed-off-by: Gourav Kumar <gouravk@qti.qualcomm.com>
…nch""

This reverts commit 7f921b6.

Signed-off-by: Gourav Kumar <gouravk@qti.qualcomm.com>
This reverts commit 0126f47.

Signed-off-by: Gourav Kumar <gouravk@qti.qualcomm.com>
The dt-bindings header <dt-bindings/clock/qcom,x1p42100-videocc.h>
is present in qcom-specific kernel trees (qcom-6.18, qcom-next) but
is not yet available in linux-yocto based trees (yocto-6.18,
yocto-next).  A file-existence check cannot be replaced by a version
number because both kernel families share the same version.

Add a build-time probe in video/Kbuild that tests for the header
using $(shell test -f ...) and, when found, passes
-DMSM_VIDC_HAS_X1P42100_VIDEOCC=1 to the compiler.

In driver/platform/purwa/src/purwa.c guard the include of that
header and the three clock-table entries whose initialiser values
(VIDEO_CC_MVS0C_CLK, VIDEO_CC_MVS0_CLK, VIDEO_CC_MVS0_BSE_CLK) are
defined exclusively by it with the same macro.

Signed-off-by: Gourav Kumar <gouravk@qti.qualcomm.com>
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