21 Mar, 2013

1 commit

  • We currently have videomode_from_timing(), which takes one
    display_timing entry from display_timings.

    To make it easier to use display_timing without display_timings, this
    patch renames videomode_from_timing() to videomode_from_timings(), and
    adds a new videomode_from_timing() which just converts a given
    display_timing to videomode.

    Signed-off-by: Tomi Valkeinen
    Cc: Steffen Trumtrar

    Tomi Valkeinen
     

24 Jan, 2013

1 commit

  • 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
    Signed-off-by: Philipp Zabel
    Acked-by: Stephen Warren
    Reviewed-by: Thierry Reding
    Acked-by: Thierry Reding
    Tested-by: Thierry Reding
    Tested-by: Philipp Zabel
    Reviewed-by: Laurent Pinchart
    Acked-by: Laurent Pinchart
    Tested-by: Afzal Mohammed
    Tested-by: Rob Clark
    Tested-by: Leela Krishna Amudala

    Steffen Trumtrar