[PATCH v2 0/3] soc: mediatek: pwrap: add pwrap driver for MT6779 SoCs

From: Argus Lin
Date: Sun Feb 16 2020 - 01:15:17 EST

changes since v1:
1. Modify pwrap_mt6779 arb_en_all, int_en_all, and wdt_src value
when initialization.
PWRAP_CAP_INT1_EN registered value check, we will initialize them
again at kernel level.

Here's version 1 of the patch series, include 3 patches:
1. Add compatible for MT6779 pwrap
2. Add pwrap driver for MT6779 SoCs. Keep PWRAP_HIPRIO_ARB_EN,
PWRAP_WDT_UNIT, and PWRAP_WDT_SRC_EN value if it has initialized.
When we enable interrupt flag, read current value then do logical
OR opersion with wrp->master->int_en_all.
3. Add MT6359 support for MT6779 SoCs.

Argus Lin (3):
dt-bindings: pwrap: mediatek: add pwrap support for MT6779
soc: mediatek: pwrap: add pwrap driver for MT6779 SoCs
soc: mediatek: pwrap: add support for MT6359 PMIC

.../devicetree/bindings/soc/mediatek/pwrap.txt | 1 +
drivers/soc/mediatek/mtk-pmic-wrap.c | 128 +++++++++++++++++++++
2 files changed, 129 insertions(+)