mbox series

[GIT,PULL] soc: mediatek: updates for v5.8

Message ID 2cf27d33-59c6-023b-9993-57a2639824ea@gmail.com (mailing list archive)
State Mainlined, archived
Commit 154910f886762a2817ddddad7fc6fed8c23b4ad1
Headers show
Series [GIT,PULL] soc: mediatek: updates for v5.8 | expand

Pull-request

https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git/ tags/v5.7-next-soc

Message

Matthias Brugger May 16, 2020, 8:14 p.m. UTC
Hi Arnd,
Hi Olof,

Please have a look on the following SoC driver patches.
Highlight in this pull request is, that we got the mmsys mess cleaned up. In
MediaTek "mmsys" is IP block which holds multi-media devices and their
corresponding clocks muxes. In the past the clocks and multi-media system used
the same compatible (ouch) which broke graphics quite some time ago. After
several different approaches how to fix the mess, we now got a mmsys SoC driver
which is responsible for probing the clock and multi-media parts of the IP block.

This now allows us to have graphics support on the MT8173 based Chromebooks,
which is nice and will allow others developers who don't have a servo board to
debug the device and (hopefully) help to get the missing bits upstream.

The effort is not yet finished, but I hope for v5.9 we will see also graphics
support on the Bananapi-R2.

Regards,
Matthias

---

The following changes since commit 8f3d9f354286745c751374f5f1fcafee6b3f3136:

  Linux 5.7-rc1 (2020-04-12 12:35:55 -0700)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git/
tags/v5.7-next-soc

for you to fetch changes up to 154910f886762a2817ddddad7fc6fed8c23b4ad1:

  ARM: mediatek: Replace <linux/clk-provider.h> by <linux/of_clk.h> (2020-05-15
17:19:41 +0200)

----------------------------------------------------------------
Refactor the mmsys to reflect that it's a clock driver and
the entry point for the DRM subsystem.

Replace clk-provider.h include with of_clk.h for mach-mediatek

----------------------------------------------------------------
Enric Balletbo i Serra (3):
      dt-bindings: mediatek: Update mmsys binding to reflect it is a system
controller
      soc / drm: mediatek: Move routing control to mmsys device
      soc / drm: mediatek: Fix mediatek-drm device probing

Geert Uytterhoeven (2):
      soc: mediatek: mmsys: Drop <linux/clk-provider.h>
      ARM: mediatek: Replace <linux/clk-provider.h> by <linux/of_clk.h>

Matthias Brugger (2):
      drm/mediatek: Omit warning on probe defers
      clk / soc: mediatek: Move mt8173 MMSYS to platform driver

Wei Yongjun (1):
      soc: mediatek: Missing platform_device_unregister() on error in
mtk_mmsys_probe()

 .../bindings/arm/mediatek/mediatek,mmsys.txt       |   7 +-
 arch/arm/mach-mediatek/mediatek.c                  |   2 +-
 drivers/clk/mediatek/Kconfig                       |   7 +
 drivers/clk/mediatek/Makefile                      |   1 +
 drivers/clk/mediatek/clk-mt8173-mm.c               | 146 +++++++++
 drivers/clk/mediatek/clk-mt8173.c                  | 104 -------
 drivers/gpu/drm/mediatek/Kconfig                   |   1 +
 drivers/gpu/drm/mediatek/mtk_disp_color.c          |   5 +-
 drivers/gpu/drm/mediatek/mtk_disp_ovl.c            |   5 +-
 drivers/gpu/drm/mediatek/mtk_disp_rdma.c           |   5 +-
 drivers/gpu/drm/mediatek/mtk_dpi.c                 |  12 +-
 drivers/gpu/drm/mediatek/mtk_drm_crtc.c            |  19 +-
 drivers/gpu/drm/mediatek/mtk_drm_ddp.c             | 259 +---------------
 drivers/gpu/drm/mediatek/mtk_drm_ddp.h             |   7 -
 drivers/gpu/drm/mediatek/mtk_drm_drv.c             |  45 +--
 drivers/gpu/drm/mediatek/mtk_drm_drv.h             |   2 +-
 drivers/gpu/drm/mediatek/mtk_dsi.c                 |   8 +-
 drivers/gpu/drm/mediatek/mtk_hdmi.c                |   4 +-
 drivers/soc/mediatek/Kconfig                       |   8 +
 drivers/soc/mediatek/Makefile                      |   1 +
 drivers/soc/mediatek/mtk-mmsys.c                   | 338 +++++++++++++++++++++
 include/linux/soc/mediatek/mtk-mmsys.h             |  20 ++
 22 files changed, 594 insertions(+), 412 deletions(-)
 create mode 100644 drivers/clk/mediatek/clk-mt8173-mm.c
 create mode 100644 drivers/soc/mediatek/mtk-mmsys.c
 create mode 100644 include/linux/soc/mediatek/mtk-mmsys.h