mfd: Add support for the MediaTek MT6366 PMIC
authorJohnson Wang <johnson.wang@mediatek.com>
Thu, 6 Jan 2022 06:54:04 +0000 (14:54 +0800)
committerLee Jones <lee.jones@linaro.org>
Mon, 7 Mar 2022 14:59:44 +0000 (14:59 +0000)
commitc47383f849097c2b3547e28365578cd9e5811378
tree02e3337e8152ab7bc23591c3fb8d8d468b76a92f
parente783362eb54cd99b2cac8b3a9aeac942e6f6ac07
mfd: Add support for the MediaTek MT6366 PMIC

This adds support for the MediaTek MT6366 PMIC. This is a
multifunction device with the following sub modules:

- Regulator
- RTC
- Codec
- Interrupt

It is interfaced to the host controller using SPI interface
by a proprietary hardware called PMIC wrapper or pwrap.
MT6366 MFD is a child device of the pwrap.

Signed-off-by: Johnson Wang <johnson.wang@mediatek.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20220106065407.16036-2-johnson.wang@mediatek.com
drivers/mfd/mt6358-irq.c
include/linux/mfd/mt6358/registers.h
include/linux/mfd/mt6397/core.h