linux-pwm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/27] MediaTek Helio X10 - Mailbox, Display, MMC/SD/SDIO
@ 2023-04-12 11:27 AngeloGioacchino Del Regno
  2023-04-12 11:27 ` [PATCH 01/27] dt-bindings: pwm: Add compatible for MediaTek MT6795 AngeloGioacchino Del Regno
                   ` (26 more replies)
  0 siblings, 27 replies; 99+ messages in thread
From: AngeloGioacchino Del Regno @ 2023-04-12 11:27 UTC (permalink / raw)
  To: matthias.bgg
  Cc: p.zabel, airlied, daniel, robh+dt, krzysztof.kozlowski+dt,
	jassisinghbrar, chunfeng.yun, vkoul, kishon, thierry.reding,
	u.kleine-koenig, chunkuang.hu, angelogioacchino.delregno, ck.hu,
	jitao.shi, xinlei.lee, houlong.wei, dri-devel, linux-mediatek,
	devicetree, linux-kernel, linux-arm-kernel, linux-phy, linux-pwm,
	kernel, phone-devel, ~postmarketos/upstreaming

In this series I'm adding support for the DDC (display) block found
in the MediaTek Helio X10, the MT6331 PMIC and its peripherals, and
eMMC, MicroSD slot and SDIO.
Support for the PMIC (...regulators!) is essential to get all of the
mtk-sd hardware to work, especially the eMMC where vol switching is
happening (3.3 -> 1.8V for DDR -> UHS timing switch!).

As for the GCE mailbox, MMSYS and IOMMU... these were included in
the previous series but couldn't make it due to the bindings not
being reviewed in time (btw, thanks Matthias for reducing my backlog
by partially picking the applicable commits in the previous one, that
was highly appreciated!), so they're making yet another appearance in
this series.

Regarding the display blocks, they're tested on the Sony Xperia M5
with its internal panel (on DSI0) but the panel node is not included
in this series because I have to cleanup the timings a bit before
upstreaming it.

...and regarding everything else, it's all, again, tested on that
same Xperia M5 smartphone :-)


* Important note: *

Devicetree commits of this series all depend on the dt-bindings
commits of this same series.
This series also depends on [1] for PMIC functionality, as all of the
(older only?) MediaTek smartphone platforms have two PMICs, a main
one and a companion one - in this specific case, it's MT6331+MT6332.

[1]: https://lore.kernel.org/all/20230324094205.33266-1-angelogioacchino.delregno@collabora.com/

AngeloGioacchino Del Regno (27):
  dt-bindings: pwm: Add compatible for MediaTek MT6795
  dt-bindings: phy: mediatek,dsi-phy: Add compatible for MT6795 Helio
    X10
  dt-bindings: display: mediatek: dpi: Add compatible for MediaTek
    MT6795
  dt-bindings: display: mediatek: aal: Add compatible for MediaTek
    MT6795
  dt-bindings: display: mediatek: dsi: Add compatible for MediaTek
    MT6795
  dt-bindings: display: mediatek: ovl: Add compatible for MediaTek
    MT6795
  dt-bindings: display: mediatek: rdma: Add compatible for MediaTek
    MT6795
  dt-bindings: display: mediatek: wdma: Add compatible for MediaTek
    MT6795
  dt-bindings: display: mediatek: color: Add compatible for MediaTek
    MT6795
  dt-bindings: display: mediatek: gamma: Add compatible for MediaTek
    MT6795
  dt-bindings: display: mediatek: merge: Add compatible for MediaTek
    MT6795
  dt-bindings: display: mediatek: split: Add compatible for MediaTek
    MT6795
  dt-bindings: display: mediatek: ufoe: Add compatible for MediaTek
    MT6795
  dt-bindings: display: mediatek: od: Add compatible for MediaTek MT6795
  dt-bindings: mailbox: mediatek,gce-mailbox: Add support for MT6795
  arm64: dts: mediatek: mt6795: Add support for the CMDQ/GCE mailbox
  arm64: dts: mediatek: mt6795: Add MMSYS node for multimedia clocks
  arm64: dts: mediatek: mt6795: Add support for IOMMU and LARBs
  arm64: dts: mediatek: mt6795: Add support for display blocks and
    DPI/DSI
  arm64: dts: mediatek: mt6795: Add tertiary PWM node
  arm64: dts: mediatek: mt6795: Add PMIC Wrapper node
  arm64: dts: mediatek: mt6795: Copyright header additions
  arm64: dts: mediatek: Add MT6331 PMIC devicetree
  arm64: dts: mediatek: mt6795-xperia-m5: Add MT6331 Combo PMIC
  arm64: dts: mediatek: mt6795-xperia-m5: Add eMMC, MicroSD slot, SDIO
  arm64: dts: mediatek: mt6795-xperia-m5: Add Bosch BMA255 Accelerometer
  arm64: dts: mediatek: mt6795-xperia-m5: Add Bosch BMM050 Magnetometer

 .../display/mediatek/mediatek,aal.yaml        |   1 +
 .../display/mediatek/mediatek,color.yaml      |   1 +
 .../display/mediatek/mediatek,dpi.yaml        |  23 +-
 .../display/mediatek/mediatek,dsi.yaml        |  19 +-
 .../display/mediatek/mediatek,gamma.yaml      |   4 +
 .../display/mediatek/mediatek,merge.yaml      |   3 +
 .../display/mediatek/mediatek,od.yaml         |   3 +
 .../display/mediatek/mediatek,ovl.yaml        |   4 +
 .../display/mediatek/mediatek,rdma.yaml       |   4 +
 .../display/mediatek/mediatek,split.yaml      |   3 +
 .../display/mediatek/mediatek,ufoe.yaml       |   3 +
 .../display/mediatek/mediatek,wdma.yaml       |   3 +
 .../mailbox/mediatek,gce-mailbox.yaml         |  20 +-
 .../bindings/phy/mediatek,dsi-phy.yaml        |   4 +
 .../bindings/pwm/mediatek,pwm-disp.yaml       |   4 +-
 arch/arm64/boot/dts/mediatek/mt6331.dtsi      | 284 ++++++++++++++
 .../dts/mediatek/mt6795-sony-xperia-m5.dts    | 121 ++++++
 arch/arm64/boot/dts/mediatek/mt6795.dtsi      | 365 ++++++++++++++++++
 include/dt-bindings/gce/mediatek,mt6795-gce.h | 123 ++++++
 19 files changed, 968 insertions(+), 25 deletions(-)
 create mode 100644 arch/arm64/boot/dts/mediatek/mt6331.dtsi
 create mode 100644 include/dt-bindings/gce/mediatek,mt6795-gce.h

-- 
2.40.0


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

end of thread, other threads:[~2023-06-13  0:15 UTC | newest]

Thread overview: 99+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-12 11:27 [PATCH 00/27] MediaTek Helio X10 - Mailbox, Display, MMC/SD/SDIO AngeloGioacchino Del Regno
2023-04-12 11:27 ` [PATCH 01/27] dt-bindings: pwm: Add compatible for MediaTek MT6795 AngeloGioacchino Del Regno
2023-04-12 12:30   ` Matthias Brugger
2023-04-12 21:03   ` Rob Herring
2023-04-13  8:52     ` Matthias Brugger
2023-04-13  9:28       ` AngeloGioacchino Del Regno
2023-04-18  0:58       ` Rob Herring
2023-04-14  5:43   ` Uwe Kleine-König
2023-04-18 11:56     ` Matthias Brugger
2023-04-14  8:21   ` Krzysztof Kozlowski
2023-04-14  8:30     ` Uwe Kleine-König
2023-04-14  8:34       ` Krzysztof Kozlowski
2023-04-14 10:25         ` AngeloGioacchino Del Regno
2023-04-14 10:31           ` Krzysztof Kozlowski
2023-04-14 10:31   ` Krzysztof Kozlowski
2023-05-29 13:51   ` Matthias Brugger
2023-04-12 11:27 ` [PATCH 02/27] dt-bindings: phy: mediatek,dsi-phy: Add compatible for MT6795 Helio X10 AngeloGioacchino Del Regno
2023-04-12 12:34   ` Matthias Brugger
2023-04-12 12:59   ` Alexandre Mergnat
2023-04-12 13:03     ` AngeloGioacchino Del Regno
2023-04-12 13:12       ` Alexandre Mergnat
2023-04-12 13:17         ` AngeloGioacchino Del Regno
2023-04-13  8:58           ` Matthias Brugger
2023-04-14  8:22   ` Krzysztof Kozlowski
2023-05-29 14:05     ` Matthias Brugger
2023-04-12 11:27 ` [PATCH 03/27] dt-bindings: display: mediatek: dpi: Add compatible for MediaTek MT6795 AngeloGioacchino Del Regno
2023-04-12 12:35   ` Matthias Brugger
2023-04-14  8:23     ` Krzysztof Kozlowski
2023-04-12 13:13   ` Alexandre Mergnat
2023-04-12 21:03   ` Rob Herring
2023-04-14  8:23   ` Krzysztof Kozlowski
2023-05-29 14:07   ` Matthias Brugger
2023-06-13  0:12     ` Chun-Kuang Hu
2023-04-12 11:27 ` [PATCH 04/27] dt-bindings: display: mediatek: aal: " AngeloGioacchino Del Regno
2023-04-12 12:35   ` Matthias Brugger
2023-04-12 13:03   ` Alexandre Mergnat
2023-04-14  8:24   ` Krzysztof Kozlowski
2023-04-12 11:27 ` [PATCH 05/27] dt-bindings: display: mediatek: dsi: " AngeloGioacchino Del Regno
2023-04-12 12:36   ` Matthias Brugger
2023-04-12 13:21     ` AngeloGioacchino Del Regno
2023-04-12 21:03   ` Rob Herring
2023-04-14  8:24   ` Krzysztof Kozlowski
2023-04-12 11:27 ` [PATCH 06/27] dt-bindings: display: mediatek: ovl: " AngeloGioacchino Del Regno
2023-04-12 21:03   ` Rob Herring
2023-04-14  8:24   ` Krzysztof Kozlowski
2023-04-12 11:27 ` [PATCH 07/27] dt-bindings: display: mediatek: rdma: " AngeloGioacchino Del Regno
2023-04-12 21:03   ` Rob Herring
2023-04-14  8:26   ` Krzysztof Kozlowski
2023-04-12 11:27 ` [PATCH 08/27] dt-bindings: display: mediatek: wdma: " AngeloGioacchino Del Regno
2023-04-12 12:36   ` Matthias Brugger
2023-04-14  8:26   ` Krzysztof Kozlowski
2023-04-12 11:27 ` [PATCH 09/27] dt-bindings: display: mediatek: color: " AngeloGioacchino Del Regno
2023-04-12 12:37   ` Matthias Brugger
2023-04-12 21:03   ` Rob Herring
2023-04-14  8:26   ` Krzysztof Kozlowski
2023-04-12 11:27 ` [PATCH 10/27] dt-bindings: display: mediatek: gamma: " AngeloGioacchino Del Regno
2023-04-14  8:27   ` Krzysztof Kozlowski
2023-04-12 11:27 ` [PATCH 11/27] dt-bindings: display: mediatek: merge: " AngeloGioacchino Del Regno
2023-04-12 12:37   ` Matthias Brugger
2023-04-14  8:33   ` Krzysztof Kozlowski
2023-04-12 11:27 ` [PATCH 12/27] dt-bindings: display: mediatek: split: " AngeloGioacchino Del Regno
2023-04-12 12:37   ` Matthias Brugger
2023-04-14  8:34   ` Krzysztof Kozlowski
2023-04-12 11:27 ` [PATCH 13/27] dt-bindings: display: mediatek: ufoe: " AngeloGioacchino Del Regno
2023-04-12 12:38   ` Matthias Brugger
2023-04-12 21:03   ` Rob Herring
2023-04-14  8:44   ` Krzysztof Kozlowski
2023-04-12 11:27 ` [PATCH 14/27] dt-bindings: display: mediatek: od: " AngeloGioacchino Del Regno
2023-04-12 12:38   ` Matthias Brugger
2023-04-12 21:03   ` Rob Herring
2023-04-14  8:45   ` Krzysztof Kozlowski
2023-04-12 11:27 ` [PATCH 15/27] dt-bindings: mailbox: mediatek,gce-mailbox: Add support for MT6795 AngeloGioacchino Del Regno
2023-04-12 12:38   ` Matthias Brugger
2023-04-12 11:27 ` [PATCH 16/27] arm64: dts: mediatek: mt6795: Add support for the CMDQ/GCE mailbox AngeloGioacchino Del Regno
2023-05-29 13:54   ` Matthias Brugger
2023-04-12 11:27 ` [PATCH 17/27] arm64: dts: mediatek: mt6795: Add MMSYS node for multimedia clocks AngeloGioacchino Del Regno
2023-05-29 13:55   ` Matthias Brugger
2023-04-12 11:27 ` [PATCH 18/27] arm64: dts: mediatek: mt6795: Add support for IOMMU and LARBs AngeloGioacchino Del Regno
2023-05-29 13:56   ` Matthias Brugger
2023-04-12 11:27 ` [PATCH 19/27] arm64: dts: mediatek: mt6795: Add support for display blocks and DPI/DSI AngeloGioacchino Del Regno
2023-04-12 11:27 ` [PATCH 20/27] arm64: dts: mediatek: mt6795: Add tertiary PWM node AngeloGioacchino Del Regno
2023-04-12 12:43   ` Matthias Brugger
2023-04-12 11:27 ` [PATCH 21/27] arm64: dts: mediatek: mt6795: Add PMIC Wrapper node AngeloGioacchino Del Regno
2023-05-29 13:57   ` Matthias Brugger
2023-04-12 11:27 ` [PATCH 22/27] arm64: dts: mediatek: mt6795: Copyright header additions AngeloGioacchino Del Regno
2023-04-12 12:41   ` Matthias Brugger
2023-04-12 13:23     ` AngeloGioacchino Del Regno
2023-04-14  8:46   ` Krzysztof Kozlowski
2023-04-14 10:28     ` AngeloGioacchino Del Regno
2023-04-12 11:27 ` [PATCH 23/27] arm64: dts: mediatek: Add MT6331 PMIC devicetree AngeloGioacchino Del Regno
2023-05-29 13:59   ` Matthias Brugger
2023-04-12 11:27 ` [PATCH 24/27] arm64: dts: mediatek: mt6795-xperia-m5: Add MT6331 Combo PMIC AngeloGioacchino Del Regno
2023-05-29 14:00   ` Matthias Brugger
2023-04-12 11:27 ` [PATCH 25/27] arm64: dts: mediatek: mt6795-xperia-m5: Add eMMC, MicroSD slot, SDIO AngeloGioacchino Del Regno
2023-05-29 14:01   ` Matthias Brugger
2023-04-12 11:27 ` [PATCH 26/27] arm64: dts: mediatek: mt6795-xperia-m5: Add Bosch BMA255 Accelerometer AngeloGioacchino Del Regno
2023-04-12 12:44   ` Matthias Brugger
2023-04-12 11:27 ` [PATCH 27/27] arm64: dts: mediatek: mt6795-xperia-m5: Add Bosch BMM050 Magnetometer AngeloGioacchino Del Regno
2023-04-12 12:44   ` Matthias Brugger

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).