drm/vc4: Add DSI driver
authorEric Anholt <eric@anholt.net>
Tue, 31 Jan 2017 19:29:11 +0000 (11:29 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 1 Feb 2017 20:51:23 +0000 (12:51 -0800)
commit4078f57571442345d09edddb2ac79c951b9d6db2
tree7833de1e21eb7a5a80abea1da158d8cc3ea2ccde
parent302cee3648ba1a7322b77511de9112e61a1bfff8
drm/vc4: Add DSI driver

The DSI0 and DSI1 blocks on the 2835 are related hardware blocks.
Some registers move around, and the featureset is slightly different,
as DSI1 (the 4-lane DSI) is a later version of the hardware block.
This driver doesn't yet enable DSI0, since we don't have any hardware
to test against, but it does put a lot of the register definitions and
code in place.

v2: Use the clk_hw interfaces, don't set CLK_IS_BASIC (from review by
    Stephen Boyd)

Signed-off-by: Eric Anholt <eric@anholt.net>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> (v1)
Link: http://patchwork.freedesktop.org/patch/msgid/20170131192912.11316-1-eric@anholt.net
drivers/gpu/drm/vc4/Kconfig
drivers/gpu/drm/vc4/Makefile
drivers/gpu/drm/vc4/vc4_debugfs.c
drivers/gpu/drm/vc4/vc4_drv.c
drivers/gpu/drm/vc4/vc4_drv.h
drivers/gpu/drm/vc4/vc4_dsi.c [new file with mode: 0644]