]> Git Repo - linux.git/commit
video: add of helper for display timings/videomode
authorSteffen Trumtrar <[email protected]>
Thu, 4 Oct 2012 13:32:52 +0000 (15:32 +0200)
committerSteffen Trumtrar <[email protected]>
Thu, 24 Jan 2013 08:03:48 +0000 (09:03 +0100)
commitcc3f414cf2e404130584b63d373161ba6fd24bc2
tree08d61d026631c79a176f514fb1364b71011599ba
parent8714c0cecfc28f7ce73a520be4831f09743c4fd7
video: add of helper for display timings/videomode

This adds support for reading display timings from DT into a struct
display_timings. The of_display_timing implementation supports multiple
subnodes. All children are read into an array, that can be queried.

If no native mode is specified, the first subnode will be used.

For cases where the graphics driver knows there can be only one
mode description or where the driver only supports one mode, a helper
function of_get_videomode is added, that gets a struct videomode from DT.

Signed-off-by: Steffen Trumtrar <[email protected]>
Signed-off-by: Philipp Zabel <[email protected]>
Acked-by: Stephen Warren <[email protected]>
Reviewed-by: Thierry Reding <[email protected]>
Acked-by: Thierry Reding <[email protected]>
Tested-by: Thierry Reding <[email protected]>
Tested-by: Philipp Zabel <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Acked-by: Laurent Pinchart <[email protected]>
Tested-by: Afzal Mohammed <[email protected]>
Tested-by: Rob Clark <[email protected]>
Tested-by: Leela Krishna Amudala <[email protected]>
Documentation/devicetree/bindings/video/display-timing.txt [new file with mode: 0644]
drivers/video/Kconfig
drivers/video/Makefile
drivers/video/of_display_timing.c [new file with mode: 0644]
drivers/video/of_videomode.c [new file with mode: 0644]
include/video/of_display_timing.h [new file with mode: 0644]
include/video/of_videomode.h [new file with mode: 0644]
This page took 0.059211 seconds and 4 git commands to generate.