drm: rcar-du: Add support for external pixel clock
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 8 Dec 2014 22:24:49 +0000 (00:24 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 23 Dec 2014 10:01:50 +0000 (12:01 +0200)
commit1b30dbde8596ca8de2497c2a50d5381dfe62ee8c
tree1949b3d8d642ddc371ad0b45a44869147629d56f
parent0c1c877681e73b87ef63634ed7da55a711de40a6
drm: rcar-du: Add support for external pixel clock

The DU uses the module functional clock as the default pixel clock, but
supports using an externally supplied pixel clock instead. Support this
by adding the external pixel clock to the DT bindings, and selecting the
clock automatically at runtime based on the requested mode pixel
frequency.

The input clock pins to DU channels routing is configurable, but
currently hardcoded to connect input clock i to channel i.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Documentation/devicetree/bindings/video/renesas,du.txt
drivers/gpu/drm/rcar-du/rcar_du_crtc.c
drivers/gpu/drm/rcar-du/rcar_du_crtc.h
drivers/gpu/drm/rcar-du/rcar_du_group.c
drivers/gpu/drm/rcar-du/rcar_du_regs.h