lcd: add functions to set up simplefb device tree
authorStephen Warren <swarren@wwwdotorg.org>
Mon, 27 May 2013 18:31:17 +0000 (18:31 +0000)
committerAnatolij Gustschin <agust@denx.de>
Wed, 5 Jun 2013 20:40:03 +0000 (22:40 +0200)
commit6a195d2d8a9c321817e1f034afcdc8c8642664bc
tree637cc6ddf38c66fc5d678c771fabb46f27750e3e
parentdb0d47dd433bc7ba60b927fb0ff6835758a8893d
lcd: add functions to set up simplefb device tree

simple-framebuffer is a new device tree binding that describes a pre-
configured frame-buffer memory region and its format. The Linux kernel
contains a driver that supports this binding. Implement functions to
create a DT node (or fill in an existing node) with parameters that
describe the framebuffer format that U-Boot is using.

This will be immediately used by the Raspberry Pi board in U-Boot, and
likely will be used by the Samsung ARM ChromeBook support soon too. It
could well be used by many other boards (e.g. Tegra boards with built-in
LCD panels, which aren't yet supported by the Linux kernel).

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Acked-by: Simon Glass <sjg@chromium.org>
common/lcd.c
doc/device-tree-bindings/video/simple-framebuffer.txt [new file with mode: 0644]
include/lcd.h