[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241226050205.30241-1-val@packett.cool>
Date: Thu, 26 Dec 2024 01:58:00 -0300
From: Val Packett <val@...kett.cool>
To:
Cc: Val Packett <val@...kett.cool>,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Sen Chu <sen.chu@...iatek.com>,
Sean Wang <sean.wang@...iatek.com>,
Macpaul Lin <macpaul.lin@...iatek.com>,
Lee Jones <lee@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>,
AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
Eddie Huang <eddie.huang@...iatek.com>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Javier Carrasco <javier.carrasco.cruz@...il.com>,
Fabien Parent <parent.f@...il.com>,
Yassine Oudjana <y.oudjana@...tonmail.com>,
Chen Zhong <chen.zhong@...iatek.com>,
linux-input@...r.kernel.org,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-pm@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org,
linux-rtc@...r.kernel.org
Subject: [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
--
2.47.1
Powered by blists - more mailing lists