[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220520124039.228314-1-angelogioacchino.delregno@collabora.com>
Date: Fri, 20 May 2022 14:40:32 +0200
From: AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>
To: lee.jones@...aro.org
Cc: robh+dt@...nel.org, krzysztof.kozlowski+dt@...aro.org,
matthias.bgg@...il.com, angelogioacchino.delregno@...labora.com,
zhiyong.tao@...iatek.com, henryc.chen@...iatek.com,
johnson.wang@...iatek.com, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: [PATCH 0/7] MediaTek Helio X10 MT6795 - MT6331/6332 PMIC Wrapper
In an effort to give some love to the apparently forgotten MT6795 SoC,
I am upstreaming more components that are necessary to support platforms
powered by this one apart from a simple boot to serial console.
This series introduces support in the PMIC Wrapper for a different PMIC
topology, which is commonly found on smartphone boards, using one main
PMIC and one Companion PMIC;
be aware that this kind of topology is not *specific to* the Helio X10
SoC, but common across many kinds of MediaTek smartphone oriented SoCs
and board designs.
That said, support for the PMIC combo MT6331+MT6332 is provided in this
series in a form that will be able to initialize the PMICs with crypto
and DualIO but nothing else: these PMICs are very featureful, so I have
decided to add this support in more than just one step, as there will
be multiple patches for multiple different subsystems (..it's a mfd!..).
Tested on a MT6795 Sony Xperia M5 (codename "Holly") smartphone.
AngeloGioacchino Del Regno (7):
soc: mediatek: pwrap: Move PMIC read test sequence in function
soc: mediatek: pwrap: Add kerneldoc for struct pwrap_slv_type
soc: mediatek: mtk-pmic-wrap: Add support for companion PMICs
dt-bindings: mfd: Add compatible for MT6331 PMIC
soc: mediatek: mtk-pmic-wrap: Add support for MT6331 w/ MT6332
companion
dt-bindings: mediatek: pwrap: Add a compatible for MT6795 Helio X10
soc: mediatek: pwrap: Add support for MT6795 Helio X10
.../devicetree/bindings/mfd/mt6397.txt | 1 +
.../bindings/soc/mediatek/pwrap.txt | 1 +
drivers/soc/mediatek/mtk-pmic-wrap.c | 287 ++++++++++++++++--
3 files changed, 263 insertions(+), 26 deletions(-)
--
2.35.1
Powered by blists - more mailing lists