mfd: Add support for the MediaTek MT6358 PMIC
authorHsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com>
Tue, 21 Apr 2020 03:00:10 +0000 (11:00 +0800)
committerLee Jones <lee.jones@linaro.org>
Thu, 21 May 2020 07:55:29 +0000 (08:55 +0100)
commit2b91c28f2abd9471aac4aa6cd8de7896ef469153
tree086e0c50d129698f1d04169edd4cc3e5f0053c1e
parent6c3d5c97d260177bfe24b533e80df8500115be2f
mfd: Add support for the MediaTek MT6358 PMIC

This adds support for the MediaTek MT6358 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.
MT6358 MFD is a child device of the pwrap.

Signed-off-by: Hsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/Makefile
drivers/mfd/mt6358-irq.c [new file with mode: 0644]
drivers/mfd/mt6397-core.c
include/linux/mfd/mt6358/core.h [new file with mode: 0644]
include/linux/mfd/mt6358/registers.h [new file with mode: 0644]
include/linux/mfd/mt6397/core.h