summary refs log tree commit diff
path: root/drivers/mfd
diff options
context:
space:
mode:
authorJohnson Wang <johnson.wang@mediatek.com>2022-01-06 14:54:04 +0800
committerLee Jones <lee.jones@linaro.org>2022-03-07 14:59:44 +0000
commitc47383f849097c2b3547e28365578cd9e5811378 (patch)
tree02e3337e8152ab7bc23591c3fb8d8d468b76a92f /drivers/mfd
parente783362eb54cd99b2cac8b3a9aeac942e6f6ac07 (diff)
downloadlinux-c47383f849097c2b3547e28365578cd9e5811378.tar.gz
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
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/mt6358-irq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/mt6358-irq.c b/drivers/mfd/mt6358-irq.c
index 83f3ffbdbb4c..ea5e452510eb 100644
--- a/drivers/mfd/mt6358-irq.c
+++ b/drivers/mfd/mt6358-irq.c
@@ -212,6 +212,7 @@ int mt6358_irq_init(struct mt6397_chip *chip)
 
 	switch (chip->chip_id) {
 	case MT6358_CHIP_ID:
+	case MT6366_CHIP_ID:
 		chip->irq_data = &mt6358_irqd;
 		break;