mfd: mt6397: Extract IRQ related code from core driver
authorHsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com>
Mon, 5 Aug 2019 05:21:50 +0000 (13:21 +0800)
committerLee Jones <lee.jones@linaro.org>
Mon, 12 Aug 2019 11:29:30 +0000 (12:29 +0100)
commita4872e80ce7d2a1844328176dbf279d0a2b89bdb
tree0d7d55d7f46c4f473aba2739ef9c1ea5f002bd2b
parent708cb5cc3fde63a33afa0aaf7a26fd7ea9015dd3
mfd: mt6397: Extract IRQ related code from core driver

In order to support different types of irq design, we decide to add
separate irq drivers for different design and keep mt6397 mfd core
simple and reusable to all generations of PMICs so far.

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/mt6397-core.c
drivers/mfd/mt6397-irq.c [new file with mode: 0644]
include/linux/mfd/mt6397/core.h