Bring up purwa on dev branch#97
Open
WangaoW wants to merge 3 commits intoqualcomm-linux:video.qclinux.mainfrom
Open
Bring up purwa on dev branch#97WangaoW wants to merge 3 commits intoqualcomm-linux:video.qclinux.mainfrom
WangaoW wants to merge 3 commits intoqualcomm-linux:video.qclinux.mainfrom
Conversation
Add opp_clk_tbl/opp_clk_tbl_size fields to msm_vidc_platform_data to allow platforms to specify OPP-managed clocks. Wire up dev_pm_opp_config_clks_simple in __init_power_domains when the table is provided. Also add a kernel 6.13+ code path in __opp_set_rate using devfreq_recommended_opp() and dev_pm_opp_set_opp() to replace the deprecated OPP lookup pattern. Signed-off-by: Wangao Wang <wangaow@qti.qualcomm.com>
…uences Add vcodec0_bse clock enable in __power_on_iris3_hardware() after vcodec0_core, with proper error unwind via fail_clk_bse label. Correspondingly disable vcodec0_bse in __power_off_iris3_hardware() before vcodec0_core is disabled. Signed-off-by: Wangao Wang <wangaow@qti.qualcomm.com>
Register the x1p42100-iris compatible string with purwa platform callbacks (get_platform_data, init_platform) and iris3 variant. Add the device to the probe compatibility table and include the purwa platform sources and headers in the Kbuild. Signed-off-by: Wangao Wang <wangaow@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.
1.add opp_clk_tbl support and kernel 6.13 OPP rate path
Add opp_clk_tbl/opp_clk_tbl_size fields to msm_vidc_platform_data to
allow platforms to specify OPP-managed clocks. Wire up
dev_pm_opp_config_clks_simple in __init_power_domains when the table
is provided.
Also add a kernel 6.13+ code path in __opp_set_rate using
devfreq_recommended_opp() and dev_pm_opp_set_opp() to replace the
deprecated OPP lookup pattern.
2.enable/disable vcodec0_bse clock in hardware power sequences
Add vcodec0_bse clock enable in __power_on_iris3_hardware() after
vcodec0_core, with proper error unwind via fail_clk_bse label.
Correspondingly disable vcodec0_bse in __power_off_iris3_hardware()
before vcodec0_core is disabled.
3.Bring up purwa device on video dev branch
Register the x1p42100-iris compatible string with purwa platform
callbacks (get_platform_data, init_platform) and iris3 variant.
Add the device to the probe compatibility table and include
the purwa platform sources and headers in the Kbuild.