Skip to contentSkip to conversation

drm/fsl-dcu: TCON support and fixes for v4.7

GIT PULL Stefan Agner 2 participants 2 messages Apr 28, 2016 – Apr 29, 2016

lore
Share & tools
lore
#0 lore raw

Hi Dave,

This adds very rudimentary TCON (timing controller for raw LCD displays) support to enable the bypass mode in order to use the DCU controller on Freescale/NXP Vybrid SoC's.

Additionally the register clock and pixel clock has been separated, but are currently still enabled and disabled pairwise.

Other than that, fixes and cleanups accross the driver.

--
Stefan

The following changes since commit 027b3f8ba9277410c3191d72d1ed2c6146d8a668:

drm/modes: stop handling framebuffer special (2016-04-22 10:47:16 +1000)

are available in the git repository at:

http://git.agner.ch/git/linux-drm-fsl-dcu.git for-next

for you to fetch changes up to 0449eefe2db1038a327db45d5428c196f63c0cb9:

drm/fsl-dcu: increment version and date (2016-04-25 23:27:08 -0700)

----------------------------------------------------------------
Arnd Bergmann (1):
drm/layerscape: reduce excessive stack usage

Stefan Agner (11):
drm/fsl-dcu: disable clock on initialization failure and remove drm/fsl-dcu: add extra clock for pixel clock drm/fsl-dcu: use common clock framework for pixel clock divider drm/fsl-dcu: add TCON driver
drm/fsl-dcu: detach panel on destroy
drm/fsl-dcu: handle missing panel gracefully drm/fsl-dcu: use variable name dev for struct drm_device drm/fsl-dcu: deallocate fbdev CMA on unload drm/fsl-dcu: disable output polling on driver unload drm/fsl-dcu: implement lastclose callback drm/fsl-dcu: increment version and date

 .../devicetree/bindings/display/fsl,dcu.txt        |  15 ++-
 .../devicetree/bindings/display/fsl,tcon.txt       |  18 +++
 MAINTAINERS                                        |   1 +
 drivers/gpu/drm/fsl-dcu/Makefile                   |   3 +-
 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c         |   7 +-
 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c          | 127 +++++++++++++++------
 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.h          |   2 +
 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c          |  38 ++++--
 drivers/gpu/drm/fsl-dcu/fsl_tcon.c                 | 111 ++++++++++++++++++
 drivers/gpu/drm/fsl-dcu/fsl_tcon.h                 |  33 ++++++
 10 files changed, 298 insertions(+), 57 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/display/fsl,tcon.txt
 create mode 100644 drivers/gpu/drm/fsl-dcu/fsl_tcon.c
 create mode 100644 drivers/gpu/drm/fsl-dcu/fsl_tcon.h

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw
Quoted 10 lines · Stefan Agner

Hi Dave,

This adds very rudimentary TCON (timing controller for raw LCD displays) support to enable the bypass mode in order to use the DCU controller on Freescale/NXP Vybrid SoC's.

Additionally the register clock and pixel clock has been separated, but are currently still enabled and disabled pairwise.

Other than that, fixes and cleanups accross the driver.

Out of curiosity, does this TCON have anything to do with the one just posted for rcar-du?
-Daniel

Quoted 51 lines

--
Stefan

The following changes since commit 027b3f8ba9277410c3191d72d1ed2c6146d8a668:

drm/modes: stop handling framebuffer special (2016-04-22 10:47:16 +1000)

are available in the git repository at:

http://git.agner.ch/git/linux-drm-fsl-dcu.git for-next

for you to fetch changes up to 0449eefe2db1038a327db45d5428c196f63c0cb9:

drm/fsl-dcu: increment version and date (2016-04-25 23:27:08 -0700)

----------------------------------------------------------------
Arnd Bergmann (1):
drm/layerscape: reduce excessive stack usage

Stefan Agner (11):
drm/fsl-dcu: disable clock on initialization failure and remove drm/fsl-dcu: add extra clock for pixel clock drm/fsl-dcu: use common clock framework for pixel clock divider drm/fsl-dcu: add TCON driver
drm/fsl-dcu: detach panel on destroy
drm/fsl-dcu: handle missing panel gracefully drm/fsl-dcu: use variable name dev for struct drm_device drm/fsl-dcu: deallocate fbdev CMA on unload drm/fsl-dcu: disable output polling on driver unload drm/fsl-dcu: implement lastclose callback drm/fsl-dcu: increment version and date

 .../devicetree/bindings/display/fsl,dcu.txt        |  15 ++-
 .../devicetree/bindings/display/fsl,tcon.txt       |  18 +++
 MAINTAINERS                                        |   1 +
 drivers/gpu/drm/fsl-dcu/Makefile                   |   3 +-
 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c         |   7 +-
 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c          | 127 +++++++++++++++------
 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.h          |   2 +
 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c          |  38 ++++--
 drivers/gpu/drm/fsl-dcu/fsl_tcon.c                 | 111 ++++++++++++++++++
 drivers/gpu/drm/fsl-dcu/fsl_tcon.h                 |  33 ++++++
 10 files changed, 298 insertions(+), 57 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/display/fsl,tcon.txt
 create mode 100644 drivers/gpu/drm/fsl-dcu/fsl_tcon.c
 create mode 100644 drivers/gpu/drm/fsl-dcu/fsl_tcon.h

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel