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