Skip to content

mt6397: Add support for the MT6392 PMIC

Val Packett linux-arm-kernel linux-devicetree linux-input linux-mediatek linux-pm linux-rtc lkml 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 18 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/9dt-bindings: mfd: mt6397: Add bindings for MT6392 PMICDocumentation/devicetree/bindings/mfd/mediatek,mt6397.yaml+2 -02 replies
2/9dt-bindings: regulator: add support for MT6392Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml+1 -01 reply
3/9dt-bindings: input: mtk-pmic-keys: add MT6392 binding definitionDocumentation/devicetree/bindings/input/mediatek,pmic-keys.yaml+1 -02 replies
4/9mfd: mt6397: Add support for MT6392 pmicdrivers/mfd/mt6397-core.c drivers/mfd/mt6397-irq.c include/linux/mfd/mt6392/core.h +2 more+581 -06 replies
5/9soc: mediatek: mtk-pmic-wrap: add compatible for MT6392 PMICdrivers/soc/mediatek/mtk-pmic-wrap.c+1 -01 reply
6/9regulator: mt6392: Add support for MT6392 regulatordrivers/regulator/Kconfig drivers/regulator/Makefile drivers/regulator/mt6392-regulator.c +1 more+534 -02 replies
7/9input: keyboard: mtk-pmic-keys: add MT6392 supportdrivers/input/keyboard/mtk-pmic-keys.c+15 -01 reply
8/9rtc: mt6397: add compatible for MT6392 PMICdrivers/rtc/rtc-mt6397.c+1 -01 reply
9/9arm64: dts: mt6392: add mt6392 PMIC dtsiarch/arm64/boot/dts/mediatek/mt6392.dtsi+232 -02 replies

Reviews trailers per patch

All 9 patches have a Reviewed-by or Acked-by.

PatchRob HerringLee JonesAngeloGioacchino Del RegnoMark Brown
1/9R-b Acked-for-MFD-by R-b
2/9R-b R-b
3/9R-b R-b
4/9R-b
5/9R-b
6/9R-b A-b
7/9R-b
8/9R-b
9/9R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH 0/9] mt6397: Add support for the MT6392 PMIC

The MediaTek MT6392 PMIC is usually found on devices powered by the MT8516/MT8167 SoC, and is yet another MT6397 variant.

This series is mostly based around patches submitted a couple years ago by Fabien Parent and not merged, and includes extra cleanups, fixes, and a new dtsi file similar to ones that exist for other PMICs.

This series only enables three functions: regulators, keys, and RTC. All that was tested on a lenovo,tb7304f tablet (basic DTS coming right after this, promise).

Fabien Parent (5):
dt-bindings: mfd: mt6397: Add bindings for MT6392 PMIC
dt-bindings: regulator: add support for MT6392
dt-bindings: input: mtk-pmic-keys: add MT6392 binding definition
mfd: mt6397: Add support for MT6392 pmic
regulator: mt6392: Add support for MT6392 regulator

Val Packett (4):
soc: mediatek: mtk-pmic-wrap: add compatible for MT6392 PMIC
input: keyboard: mtk-pmic-keys: add MT6392 support
rtc: mt6397: add compatible for MT6392 PMIC
arm64: dts: mt6392: add mt6392 PMIC dtsi

 .../bindings/input/mediatek,pmic-keys.yaml    |   1 +
 .../bindings/mfd/mediatek,mt6397.yaml         |   3 +
 arch/arm64/boot/dts/mediatek/mt6392.dtsi      | 232 +++++++++
 drivers/input/keyboard/mtk-pmic-keys.c        |  15 +
 drivers/mfd/mt6397-core.c                     |  43 ++
 drivers/mfd/mt6397-irq.c                      |   8 +
 drivers/regulator/Kconfig                     |   9 +
 drivers/regulator/Makefile                    |   1 +
 drivers/regulator/mt6392-regulator.c          | 484 +++++++++++++++++
 drivers/rtc/rtc-mt6397.c                      |   1 +
 drivers/soc/mediatek/mtk-pmic-wrap.c          |   1 +
 include/linux/mfd/mt6392/core.h               |  42 ++
 include/linux/mfd/mt6392/registers.h          | 487 ++++++++++++++++++
 include/linux/mfd/mt6397/core.h               |   1 +
 include/linux/regulator/mt6392-regulator.h    |  40 ++
 15 files changed, 1368 insertions(+)
 create mode 100644 arch/arm64/boot/dts/mediatek/mt6392.dtsi
 create mode 100644 drivers/regulator/mt6392-regulator.c
 create mode 100644 include/linux/mfd/mt6392/core.h
 create mode 100644 include/linux/mfd/mt6392/registers.h
 create mode 100644 include/linux/regulator/mt6392-regulator.h
Signature · 1 line
2.47.1