[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1581833679-4319-1-git-send-email-argus.lin@mediatek.com>
Date: Sun, 16 Feb 2020 14:14:36 +0800
From: Argus Lin <argus.lin@...iatek.com>
To: Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Matthias Brugger <matthias.bgg@...il.com>,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will.deacon@....com>
CC: Chenglin Xu <chenglin.xu@...iatek.com>, <argus.lin@...iatek.com>,
Sean Wang <sean.wang@...iatek.com>,
<wsd_upstream@...iatek.com>, <henryc.chen@...iatek.com>,
<flora.fu@...iatek.com>, Chen Zhong <chen.zhong@...iatek.com>,
Christophe Jaillet <christophe.jaillet@...adoo.fr>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-mediatek@...ts.infradead.org>
Subject: [PATCH v2 0/3] soc: mediatek: pwrap: add pwrap driver for MT6779 SoCs
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
.../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
Powered by blists - more mailing lists