In an effort to give some love to the apparently forgotten MT6795 SoC, I am upstreaming more components that are necessary to support platforms powered by this one apart from a simple boot to serial console. This series performs some cleanups in mtk-pmic-keys and adds support for the MT6331 PMIC's keys. Adding support to each driver in each subsystem is done in different patch series as to avoid spamming uninteresting patches to maintainers. This series depends on another two series series [1], [2] named "MediaTek Helio X10 MT6795 - MT6331/6332 PMIC Wrapper" and "MediaTek Helio X10 MT6795 - MT6331/6332 PMIC MFD integration" Tested on a MT6795 Sony Xperia M5 (codename "Holly") smartphone. [1]: https://lore.kernel.org/lkml/20220520124039.228314-1-angelogioacchino.delregno@xxxxxxxxxxxxx/T/#t [2]: https://lore.kernel.org/lkml/20220520124617.228808-1-angelogioacchino.delregno@xxxxxxxxxxxxx/T/#t Changes in v2: - Dropped first two patches, as Dmitry pushed a different solution - Refactored on top of [3] - Dropped Mattijs R-b tags from patches [1/3], [2/3] due to the refactoring [3]: https://patchwork.kernel.org/project/linux-mediatek/list/?series=644484 AngeloGioacchino Del Regno (3): Input: mtk-pmic-keys - Transfer per-key bit in mtk_pmic_keys_regs Input: mtk-pmic-keys - Move long press debounce mask to mtk_pmic_regs Input: mtk-pmic-keys - Add support for MT6331 PMIC keys drivers/input/keyboard/mtk-pmic-keys.c | 66 +++++++++++++++++++------- 1 file changed, 49 insertions(+), 17 deletions(-) -- 2.35.1