]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: venus: scale MMCX power domain on SM8250
authorDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Mon, 9 Feb 2026 01:32:18 +0000 (03:32 +0200)
committerBryan O'Donoghue <bod@kernel.org>
Sun, 10 May 2026 10:16:55 +0000 (11:16 +0100)
commitf45fd3dbb5f6d60a8b31d5cc4affaf1ef40163b3
treea0d4dbfa42cdb90daf94096fc057a25057191309
parent4170e2f25ce40b69f3827fcdabf395380095e136
media: venus: scale MMCX power domain on SM8250

On SM8250 most of the video clocks are powered by the MMCX domain, while
the PLL is powered on by the MX domain. Extend the driver to support
scaling both power domains, while keeping compatibility with the
existing DTs, which define only the MX domain.

Fixes: 0aeabfa29a9c ("media: venus: core: add sm8250 DT compatible and resource data")
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Dikshita Agarwal <dikshita.agarwal@oss.qualcomm.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Bryan O'Donoghue <bod@kernel.org>
drivers/media/platform/qcom/venus/core.c
drivers/media/platform/qcom/venus/core.h
drivers/media/platform/qcom/venus/pm_helpers.c