[PATCH 0/2] Add DRM driver for OpenCores VGA/LCD display
Andrea Merello
andrea.merello at gmail.com
Thu Jun 9 13:32:39 UTC 2016
This patch series add a DRM driver for the OpenCores VGA/LCD display
controller. Another driver exists for this devices, but it is a old
framebuffer driver ("ocfb").
If there is any interest in doing so, this driver could possibly
the "ocfb" driver.
With respect to the old framebuffer driver, this driver allows for
using DRM bridge encoders, and to specify a pixelclock source in
the DT.
Tested on a Xilinx Zynq on a Myir Z-Turn board (the IP has been
slightly modified in order to fit in).
While this device was intended for VGA monitors or LCD panels, we
are using it with a sii902x bridge encoder and a HDMI monitor.
(sii902x driver taken from patch floating on LKML)
Andrea Merello (2):
drm: Add drm driver for OpenCores VGA/LCD display controller
drm: Add DT bindings documentation for OpenCores VGA/LCD controller
.../bindings/display/opencores,ocdrm.txt | 27 ++
drivers/gpu/drm/Kconfig | 2 +
drivers/gpu/drm/Makefile | 1 +
drivers/gpu/drm/ocdrm/Kconfig | 7 +
drivers/gpu/drm/ocdrm/Makefile | 7 +
drivers/gpu/drm/ocdrm/ocdrm_crtc.c | 336 +++++++++++++++++++++
drivers/gpu/drm/ocdrm/ocdrm_crtc.h | 48 +++
drivers/gpu/drm/ocdrm/ocdrm_drv.c | 312 +++++++++++++++++++
drivers/gpu/drm/ocdrm/ocdrm_drv.h | 89 ++++++
drivers/gpu/drm/ocdrm/ocdrm_encoder.c | 95 ++++++
drivers/gpu/drm/ocdrm/ocdrm_encoder.h | 48 +++
11 files changed, 972 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/opencores,ocdrm.txt
create mode 100644 drivers/gpu/drm/ocdrm/Kconfig
create mode 100644 drivers/gpu/drm/ocdrm/Makefile
create mode 100644 drivers/gpu/drm/ocdrm/ocdrm_crtc.c
create mode 100644 drivers/gpu/drm/ocdrm/ocdrm_crtc.h
create mode 100644 drivers/gpu/drm/ocdrm/ocdrm_drv.c
create mode 100644 drivers/gpu/drm/ocdrm/ocdrm_drv.h
create mode 100644 drivers/gpu/drm/ocdrm/ocdrm_encoder.c
create mode 100644 drivers/gpu/drm/ocdrm/ocdrm_encoder.h
--
1.9.1
More information about the dri-devel
mailing list