[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1465479159-9622-1-git-send-email-andrea.merello@gmail.com>
Date: Thu, 9 Jun 2016 15:32:39 +0200
From: Andrea Merello <andrea.merello@...il.com>
To: dri-devel@...ts.freedesktop.org, airlied@...ux.ie
Cc: linux-kernel@...r.kernel.org,
Andrea Merello <andrea.merello@...il.com>
Subject: [PATCH 0/2] Add DRM driver for OpenCores VGA/LCD display
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
Powered by blists - more mailing lists