[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241018081050.23592-1-y.oudjana@protonmail.com>
Date: Fri, 18 Oct 2024 11:10:42 +0300
From: Yassine Oudjana <yassine.oudjana@...il.com>
To: 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>,
jason-ch chen <Jason-ch.Chen@...iatek.com>,
Chen Zhong <chen.zhong@...iatek.com>,
Flora Fu <flora.fu@...iatek.com>,
Alexandre Mergnat <amergnat@...libre.com>
Cc: Yassine Oudjana <y.oudjana@...tonmail.com>,
Yassine Oudjana <yassine.oudjana@...il.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
Subject: [PATCH 0/6] MediaTek MT6735+MT6328 SoC/PMIC pair base support
From: Yassine Oudjana <y.oudjana@...tonmail.com>
These patches are part of a larger effort to support the MT6735 SoC family in
mainline Linux. More patches (unsent or sent and pending review or revision)
can be found here[1].
This series adds base support for the MediaTek MT6735 SoC and MT6328 PMIC pair.
This includes PMIC wrapper support on the SoC side and regulators and keys on
the PMIC side. The PMIC has other blocks such as an audio codec and battery
charger which can be supported in the future.
[1] https://gitlab.com/mt6735-mainline/linux/-/commits/mt6735-staging
Yassine Oudjana (6):
dt-bindings: mediatek: pwrap: Add MT6735 compatible
dt-bindings: mfd: mediatek: mt6397: Add bindings for MT6328
soc: mediatek: pwrap: Add support for MT6735 and MT6328 SoC/PMIC pair
mfd: mt6397: Add initial support for MT6328
regulator: Add driver for MediaTek MT6328 PMIC regulators
Input: mtk-pmic-keys - Add support for MT6328
.../bindings/input/mediatek,pmic-keys.yaml | 1 +
.../bindings/mfd/mediatek,mt6397.yaml | 2 +
.../bindings/soc/mediatek/mediatek,pwrap.yaml | 1 +
drivers/input/keyboard/mtk-pmic-keys.c | 15 +
drivers/mfd/mt6397-core.c | 32 +
drivers/mfd/mt6397-irq.c | 23 +
drivers/regulator/Kconfig | 9 +
drivers/regulator/Makefile | 1 +
drivers/regulator/mt6328-regulator.c | 479 ++++++++++
drivers/soc/mediatek/mtk-pmic-wrap.c | 251 +++++-
include/linux/mfd/mt6328/core.h | 53 ++
include/linux/mfd/mt6328/registers.h | 822 ++++++++++++++++++
include/linux/mfd/mt6397/core.h | 11 +-
include/linux/regulator/mt6328-regulator.h | 49 ++
14 files changed, 1741 insertions(+), 8 deletions(-)
create mode 100644 drivers/regulator/mt6328-regulator.c
create mode 100644 include/linux/mfd/mt6328/core.h
create mode 100644 include/linux/mfd/mt6328/registers.h
create mode 100644 include/linux/regulator/mt6328-regulator.h
--
2.47.0
Powered by blists - more mailing lists