All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/6] MediaTek Helio X10 MT6795 - MT6331/6332 PMIC Wrapper
@ 2023-03-24  9:41 ` AngeloGioacchino Del Regno
  0 siblings, 0 replies; 30+ messages in thread
From: AngeloGioacchino Del Regno @ 2023-03-24  9:41 UTC (permalink / raw)
  To: matthias.bgg
  Cc: robh+dt, krzysztof.kozlowski+dt, amergnat, flora.fu, devicetree,
	linux-kernel, linux-arm-kernel, linux-mediatek, kernel,
	phone-devel, ~postmarketos/upstreaming,
	AngeloGioacchino Del Regno

Changes in v2:
 - Rebased on next-20230323
 - Changed pwrap.txt addition to new yaml file addition

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/Sub PMIC, both accessible *only* through the pwrap;
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 (6):
  dt-bindings: soc: mediatek: pwrap: Add compatible for MT6795 Helio X10
  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
  soc: mediatek: mtk-pmic-wrap: Add support for MT6331 w/ MT6332
    companion
  soc: mediatek: pwrap: Add support for MT6795 Helio X10

 .../bindings/soc/mediatek/mediatek,pwrap.yaml |   1 +
 drivers/soc/mediatek/mtk-pmic-wrap.c          | 287 ++++++++++++++++--
 2 files changed, 262 insertions(+), 26 deletions(-)

-- 
2.40.0


^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2023-04-12 13:02 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-24  9:41 [PATCH v2 0/6] MediaTek Helio X10 MT6795 - MT6331/6332 PMIC Wrapper AngeloGioacchino Del Regno
2023-03-24  9:41 ` AngeloGioacchino Del Regno
2023-03-24  9:42 ` [PATCH v2 1/6] dt-bindings: soc: mediatek: pwrap: Add compatible for MT6795 Helio X10 AngeloGioacchino Del Regno
2023-03-24  9:42   ` AngeloGioacchino Del Regno
2023-03-27  7:23   ` Krzysztof Kozlowski
2023-03-27  7:23     ` Krzysztof Kozlowski
2023-03-24  9:42 ` [PATCH v2 2/6] soc: mediatek: pwrap: Move PMIC read test sequence in function AngeloGioacchino Del Regno
2023-03-24  9:42   ` AngeloGioacchino Del Regno
2023-03-28  9:19   ` Alexandre Mergnat
2023-03-28  9:19     ` Alexandre Mergnat
2023-03-24  9:42 ` [PATCH v2 3/6] soc: mediatek: pwrap: Add kerneldoc for struct pwrap_slv_type AngeloGioacchino Del Regno
2023-03-24  9:42   ` AngeloGioacchino Del Regno
2023-03-28  9:22   ` Alexandre Mergnat
2023-03-28  9:22     ` Alexandre Mergnat
2023-03-24  9:42 ` [PATCH v2 4/6] soc: mediatek: mtk-pmic-wrap: Add support for companion PMICs AngeloGioacchino Del Regno
2023-03-24  9:42   ` AngeloGioacchino Del Regno
2023-03-29 22:40   ` Alexandre Mergnat
2023-03-29 22:40     ` Alexandre Mergnat
2023-03-24  9:42 ` [PATCH v2 5/6] soc: mediatek: mtk-pmic-wrap: Add support for MT6331 w/ MT6332 companion AngeloGioacchino Del Regno
2023-03-24  9:42   ` AngeloGioacchino Del Regno
2023-03-29 23:17   ` Alexandre Mergnat
2023-03-29 23:17     ` Alexandre Mergnat
2023-03-24  9:42 ` [PATCH v2 6/6] soc: mediatek: pwrap: Add support for MT6795 Helio X10 AngeloGioacchino Del Regno
2023-03-24  9:42   ` AngeloGioacchino Del Regno
2023-03-29 23:07   ` Alexandre Mergnat
2023-03-29 23:07     ` Alexandre Mergnat
2023-04-12 12:55     ` Matthias Brugger
2023-04-12 12:55       ` Matthias Brugger
2023-04-12 13:01       ` AngeloGioacchino Del Regno
2023-04-12 13:01         ` AngeloGioacchino Del Regno

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.