video: driver: bring up purwa enablement changes#127
Open
gouravk-qualcomm wants to merge 5 commits into
Open
Conversation
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.