mfd: Add support for the MediaTek MT6359 PMIC
authorHsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com>
Wed, 26 May 2021 06:52:04 +0000 (14:52 +0800)
committerLee Jones <lee.jones@linaro.org>
Tue, 1 Jun 2021 15:44:23 +0000 (16:44 +0100)
commite545b8f380a96174df40db4203d09156e096ee89
tree441aec15092e7f471ae4b97ee1a26bc3dd0e7fc1
parent8771456635d595707307210d5aa9f8ce41598f94
mfd: Add support for the MediaTek MT6359 PMIC

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

- Codec
- Interrupt
- Regulator
- RTC

It is interfaced to the host controller using SPI interface
by a proprietary hardware called PMIC wrapper or pwrap.
MT6359 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/mt6358-irq.c
drivers/mfd/mt6397-core.c
include/linux/mfd/mt6359/core.h [new file with mode: 0644]
include/linux/mfd/mt6359/registers.h [new file with mode: 0644]
include/linux/mfd/mt6397/core.h