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

From: Matthias Brugger
Date: Mon Feb 17 2020 - 05:08:07 EST




On 16/02/2020 07:17, Argus Lin wrote:
> changes since v1:
> 1. Modify pwrap_mt6779 arb_en_all, int_en_all, and wdt_src value
> when initialization.
> 2. Remove PWRAP_WDT_UNIT, PWRAP_WDT_UNIT, PWRAP_INT_EN, and
> 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
>

Applied all three to v5.6-next/soc

Thanks a lot!
Matthias

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