[PATCH v10 03/13] drm/mediatek: Add DSI sub driver

Daniel Kurtz djkurtz at chromium.org
Mon Feb 15 06:38:10 PST 2016


Hi Philipp,

I tried using this driver with the Jitao Shi's latest Parade PS8640
driver from [0], which is based on Archit's recent DRM/DSI patch set
[1], and the parade bridge driver fails to find its DSI host using
of_find_mipi_dsi_host_by_node().

[0 ]https://patchwork.kernel.org/patch/8199281/
[1] https://patchwork.kernel.org/patch/8289181/

This is because mtk_dsi_probe() does not call mipi_dsi_host_register()
to add itself to the host list.

One more small comment below...

On Thu, Feb 4, 2016 at 3:25 AM, Philipp Zabel <p.zabel at pengutronix.de> wrote:
> From: CK Hu <ck.hu at mediatek.com>
>
> This patch add a drm encoder/connector driver for the MIPI DSI function
> block of the Mediatek display subsystem and a phy driver for the MIPI TX
> D-PHY control module.
>
> Signed-off-by: Jitao Shi <jitao.shi at mediatek.com>
> Signed-off-by: Philipp Zabel <p.zabel at pengutronix.de>
> --
> Changes since v9:
>  - don't crash on cleanup if the connector setup was delegated to the bridge
>  - various fixes
> ---
>  drivers/gpu/drm/mediatek/Kconfig       |   3 +
>  drivers/gpu/drm/mediatek/Makefile      |   4 +-
>  drivers/gpu/drm/mediatek/mtk_drm_drv.c |   2 +
>  drivers/gpu/drm/mediatek/mtk_drm_drv.h |   2 +
>  drivers/gpu/drm/mediatek/mtk_dsi.c     | 866 +++++++++++++++++++++++++++++++++
>  drivers/gpu/drm/mediatek/mtk_dsi.h     |  58 +++

Everything defined in mtk_dsi.h can be moved to mtk_dsi.c, and the .h
file can be deleted.

-Dan



More information about the Linux-mediatek mailing list