Skip to content

soc: mediatek: pwrap: add pwrap driver for MT6779 SoCs

Argus Lin linux-arm-kernel linux-devicetree linux-mediatek lkml 3 versions – Applied

Status from this message: Applied all three to v5.6-next/soc

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/23 patches 1 replyApplied
  2. v2 posting 1/23 patches 0 repliesSuperseded
  3. v13 patches 8 repliesSuperseded

Changes in v2 from the cover letter

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.

Patches in v2 posting 2/2 Applied

#Subject and filesSizeRepliesApplied
1/3dt-bindings: pwrap: mediatek: add pwrap support for MT6779Documentation/devicetree/bindings/soc/mediatek/pwrap.txt+1 -00 replies
2/3soc: mediatek: pwrap: add pwrap driver for MT6779 SoCsdrivers/soc/mediatek/mtk-pmic-wrap.c+57 -00 replies
3/3soc: mediatek: pwrap: add support for MT6359 PMICdrivers/soc/mediatek/mtk-pmic-wrap.c+71 -00 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchRob Herring
1/3A-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [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