From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
To: lee.jones@linaro.org
Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org,
matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com,
zhiyong.tao@mediatek.com, henryc.chen@mediatek.com,
johnson.wang@mediatek.com, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: [PATCH 0/7] MediaTek Helio X10 MT6795 - MT6331/6332 PMIC Wrapper
Date: Fri, 20 May 2022 14:40:32 +0200 [thread overview]
Message-ID: <20220520124039.228314-1-angelogioacchino.delregno@collabora.com> (raw)
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
next reply other threads:[~2022-05-20 12:41 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-20 12:40 AngeloGioacchino Del Regno [this message]
2022-05-20 12:40 ` [PATCH 1/7] soc: mediatek: pwrap: Move PMIC read test sequence in function AngeloGioacchino Del Regno
2022-05-20 12:40 ` [PATCH 2/7] soc: mediatek: pwrap: Add kerneldoc for struct pwrap_slv_type AngeloGioacchino Del Regno
2022-05-20 12:40 ` [PATCH 3/7] soc: mediatek: mtk-pmic-wrap: Add support for companion PMICs AngeloGioacchino Del Regno
2022-05-20 12:40 ` [PATCH 4/7] dt-bindings: mfd: Add compatible for MT6331 PMIC AngeloGioacchino Del Regno
2022-06-01 21:21 ` Rob Herring
2022-06-15 22:02 ` Lee Jones
2022-05-20 12:40 ` [PATCH 5/7] soc: mediatek: mtk-pmic-wrap: Add support for MT6331 w/ MT6332 companion AngeloGioacchino Del Regno
2022-05-20 12:40 ` [PATCH 6/7] dt-bindings: mediatek: pwrap: Add a compatible for MT6795 Helio X10 AngeloGioacchino Del Regno
2022-06-01 21:21 ` Rob Herring
2022-05-20 12:40 ` [PATCH 7/7] soc: mediatek: pwrap: Add support " AngeloGioacchino Del Regno
2022-06-24 10:21 ` [PATCH 0/7] MediaTek Helio X10 MT6795 - MT6331/6332 PMIC Wrapper AngeloGioacchino Del Regno
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220520124039.228314-1-angelogioacchino.delregno@collabora.com \
--to=angelogioacchino.delregno@collabora.com \
--cc=devicetree@vger.kernel.org \
--cc=henryc.chen@mediatek.com \
--cc=johnson.wang@mediatek.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=lee.jones@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=robh+dt@kernel.org \
--cc=zhiyong.tao@mediatek.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).