linux-mediatek.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Matthias Brugger <matthias.bgg@gmail.com>
To: arm-soc <arm@kernel.org>, SoC Team <soc@kernel.org>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>,
	Wei Yongjun <weiyongjun1@huawei.com>,
	"matthias.bgg@kernel.org" <matthias.bgg@kernel.org>,
	Enric Balletbo i Serra <enric.balletbo@collabora.com>,
	"moderated list:ARM/Mediatek SoC support"
	<linux-mediatek@lists.infradead.org>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>
Subject: [GIT PULL] soc: mediatek: updates for v5.8
Date: Sat, 16 May 2020 22:14:38 +0200	[thread overview]
Message-ID: <2cf27d33-59c6-023b-9993-57a2639824ea@gmail.com> (raw)

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

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

                 reply	other threads:[~2020-05-16 20:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=2cf27d33-59c6-023b-9993-57a2639824ea@gmail.com \
    --to=matthias.bgg@gmail.com \
    --cc=arm@kernel.org \
    --cc=enric.balletbo@collabora.com \
    --cc=geert+renesas@glider.be \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=matthias.bgg@kernel.org \
    --cc=soc@kernel.org \
    --cc=weiyongjun1@huawei.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).