[PATCH v2 0/9] soc/mediatek: Cleanup mmsys, mutex, cmdq header
From: AngeloGioacchino Del Regno
Date: Wed Feb 22 2023 - 04:46:21 EST
Changes in v2:
- Rebased onto Matthias' v6.3-tmp/soc branch for VPP mutex conflict
on patch [5/9]
This series adds a proper remove callback for mtk-mmsys, adds light
cleanups on mtk-mutex and, more importantly, adds a cleanup for the
CMDQ helpers.
Special mention goes to the latter: this is just in preparation for
a larger cleanup that I plan to do as soon as possible on other cmdq
helpers users, being mediatek-drm and mtk-mdp3; that's not performed
right now because, in the case of drm/mdp3, the cleanup is not entirely
trivial.
AngeloGioacchino Del Regno (9):
soc: mediatek: mtk-mmsys: Add .remove() callback
soc: mediatek: mtk-mmsys: Use module_platform_driver() macro
soc: mediatek: mtk-mmsys: Compress of_device_id array entries
soc: mediatek: mtk-mmsys: Add MODULE_DEVICE_TABLE() to allow auto-load
soc: mediatek: mtk-mutex: Compress of_device_id array entries
soc: mediatek: mtk-mutex: Replace max handles number with definition
soc: mediatek: mtk-mutex: Use module_platform_driver() macro
soc: mediatek: cmdq: Add inline functions for !CONFIG_MTK_CMDQ
soc: mediatek: Cleanup ifdefs for IS_REACHABLE(CONFIG_MTK_CMDQ)
drivers/soc/mediatek/mtk-mmsys.c | 135 +++++++++-----------------
drivers/soc/mediatek/mtk-mutex.c | 80 +++++----------
include/linux/soc/mediatek/mtk-cmdq.h | 114 ++++++++++++++++++++++
3 files changed, 182 insertions(+), 147 deletions(-)
--
2.39.2