]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tilcdc: add TI LCD Controller DRM driver (v4)
authorRob Clark <robdclark@gmail.com>
Tue, 8 Jan 2013 21:04:28 +0000 (15:04 -0600)
committerRob Clark <robdclark@gmail.com>
Tue, 19 Feb 2013 22:57:44 +0000 (17:57 -0500)
commit39a2d2c3169f7fcb7e5ee0e88f969348622ea095
tree4e83f07ea5856e0b33e8fd0918f11aff4b25547b
parent790c12b4b49fc6facd51a44c2ede66c872f7051f
drm/tilcdc: add TI LCD Controller DRM driver (v4)

A simple DRM/KMS driver for the TI LCD Controller found in various
smaller TI parts (AM33xx, OMAPL138, etc).  This driver uses the
CMA helpers.  Currently only the TFP410 DVI encoder is supported
(tested with beaglebone + DVI cape).  There are also various LCD
displays, for which support can be added (as I get hw to test on),
and an external i2c HDMI encoder found on some boards.

The display controller supports a single CRTC.  And the encoder+
connector are split out into sub-devices.  Depending on which LCD
or external encoder is actually present, the appropriate output
module(s) will be loaded.

v1: original
v2: fix fb refcnting and few other cleanups
v3: get +/- vsync/hsync from timings rather than panel-info, add
    option DT max-bandwidth field so driver doesn't attempt to
    pick a display mode with too high memory bandwidth, and other
    small cleanups
v4: remove some unneeded stuff from panel-info struct, properly
    set high bits for hfp/hsw/hbp for rev 2, add DT bindings docs

Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Tested-by: Koen Kooi <koen@dominion.thruhere.net>
12 files changed:
Documentation/devicetree/bindings/drm/tilcdc/tfp410.txt [new file with mode: 0644]
Documentation/devicetree/bindings/drm/tilcdc/tilcdc.txt [new file with mode: 0644]
drivers/gpu/drm/Kconfig
drivers/gpu/drm/Makefile
drivers/gpu/drm/tilcdc/Kconfig [new file with mode: 0644]
drivers/gpu/drm/tilcdc/Makefile [new file with mode: 0644]
drivers/gpu/drm/tilcdc/tilcdc_crtc.c [new file with mode: 0644]
drivers/gpu/drm/tilcdc/tilcdc_drv.c [new file with mode: 0644]
drivers/gpu/drm/tilcdc/tilcdc_drv.h [new file with mode: 0644]
drivers/gpu/drm/tilcdc/tilcdc_regs.h [new file with mode: 0644]
drivers/gpu/drm/tilcdc/tilcdc_tfp410.c [new file with mode: 0644]
drivers/gpu/drm/tilcdc/tilcdc_tfp410.h [new file with mode: 0644]