Skip to content

Bring up purwa on dev branch#97

Open
WangaoW wants to merge 3 commits intoqualcomm-linux:video.qclinux.mainfrom
WangaoW:purwa_bu
Open

Bring up purwa on dev branch#97
WangaoW wants to merge 3 commits intoqualcomm-linux:video.qclinux.mainfrom
WangaoW:purwa_bu

Conversation

@WangaoW
Copy link
Copy Markdown

@WangaoW WangaoW commented Apr 29, 2026

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.

WangaoW added 3 commits May 7, 2026 15:47
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>
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