mbox

drm/atmel-hlcdc: clock fixes, use drm component API to access tda998x driver

Message ID 003c906ee47903e40ade15ce25f457d4@aemics.nl
State New
Headers show

Pull-request

https://github.com/hupster/linux-at91.git linux-4.4-at91-upstream-drm

Message

hupster Nov. 24, 2016, 9:59 a.m. UTC
Patch for the atmel-hlcdc driver:
Change pixel clock divider settings to resolve incorrect clock output 
and reduce rounding to prevent clocking out of range.

Add support for the TDA19988 HDMI transmitter and possibly other 
component based DRM drivers. Added device tree options to enable 
required timing changes. The idea is based on the tilcdc driver. DRM 
panels and bridges should still work with atmel-hlcdc, but this should 
be tested as I only have hardware using the TDA19988.

This patch makes the atmel-hlcdc driver work with the tda998x, without 
rewriting that driver to a DRM bridge.


The following changes since commit 
59cb7cbaa777e0fbbff07bb084052bec2edb672f:

   Merge branch 'at91-4.4-trunk/dt' into linux-4.4-at91 (2016-11-21 
14:09:50 +0100)

are available in the git repository at:

   https://github.com/hupster/linux-at91.git linux-4.4-at91-upstream-drm

for you to fetch changes up to 3370fe041c646d2bc1941529e9cdf543e627085c:

   drm/atmel-hlcdc: use drm component API to access tda998x driver 
(2016-11-23 18:00:37 +0100)

----------------------------------------------------------------
hupster (6):
       drm/i2c/tda998x: drm fixes from upstream
       drm/i2c/tda998x: add connector display_info
       drm/atmel-hlcdc: add device tree options for vesa sync and clock 
polarity
       drm/atmel-hlcdc: reduce rounding in pixel clock divider
       drm/atmel-hlcdc: fix CLKPOL bit causing incorrect pixel clock 
output
       drm/atmel-hlcdc: use drm component API to access tda998x driver

  drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c   |  76 
+++++++++++++++++++++++++++++++++++++-------------
  drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c     | 113 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------
  drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.h     |   5 ++++
  drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c |  35 
+++++++++++++++++++++++
  drivers/gpu/drm/i2c/tda998x_drv.c                |  28 
++++++++++++++++---
  5 files changed, 215 insertions(+), 42 deletions(-)