Linux-mediatek Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] pmdomain: mediatek: Enable module support for mtk-scpsys
@ 2026-06-03  5:11 Justin Yeh
  2026-06-03  5:11 ` [PATCH 1/2] pmdomain: mediatek: Convert MTK_SCPSYS to tristate Justin Yeh
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Justin Yeh @ 2026-06-03  5:11 UTC (permalink / raw)
  To: Ulf Hansson, Matthias Brugger, AngeloGioacchino Del Regno
  Cc: Project_Global_Chrome_Upstream_Group, linux-pm, linux-kernel,
	linux-arm-kernel, linux-mediatek, Justin Yeh

This series enables the MTK_SCPSYS driver to be built as a loadable
module for GKI (Generic Kernel Image) compliance.

This series depends on the following patches currently under review:
  - soc: mediatek: Allow MTK_INFRACFG to be built as module
  - soc: mediatek: mtk-infracfg: Export symbols for DDK modules

The MTK_SCPSYS driver depends on MTK_INFRACFG being available as a
module, which is enabled by these prerequisite patches.

Patch 1 converts the Kconfig option from bool to tristate, allowing
the driver to be built as either built-in or as a module.

Patch 2 adds MODULE_DESCRIPTION() and converts to module_platform_driver()
to complete the modularization and silence modpost warnings.

Together these changes allow the MediaTek SCPSYS power domain driver
to support modern Android GKI/vendor_dlkm module loading requirements
while maintaining backward compatibility with the traditional built-in
configuration.

Justin Yeh (2):
  pmdomain: mediatek: Convert MTK_SCPSYS to tristate
  pmdomain: mediatek: Add MODULE_DESCRIPTION to mtk-scpsys

 drivers/pmdomain/mediatek/Kconfig      | 2 +-
 drivers/pmdomain/mediatek/mtk-scpsys.c | 5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)

-- 
2.45.2



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-06-23  8:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-03  5:11 [PATCH 0/2] pmdomain: mediatek: Enable module support for mtk-scpsys Justin Yeh
2026-06-03  5:11 ` [PATCH 1/2] pmdomain: mediatek: Convert MTK_SCPSYS to tristate Justin Yeh
2026-06-03  5:11 ` [PATCH 2/2] pmdomain: mediatek: Add MODULE_DESCRIPTION to mtk-scpsys Justin Yeh
2026-06-23  8:06 ` [PATCH 0/2] pmdomain: mediatek: Enable module support for mtk-scpsys AngeloGioacchino Del Regno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox