diff options
author | Tom Rini <trini@ti.com> | 2013-06-07 08:35:36 -0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-06-07 08:35:36 -0400 |
commit | 47b8e527448c94d09fc8dbdb6601ea7a605ff955 (patch) | |
tree | adcd698c960e2001de700b09d7b0ec0a42616aec /doc | |
parent | 38d240dcf87923d49607ce2f243a0ac1c62612ca (diff) | |
parent | ea697ae7eb059d7467c6854ce562c31df510eb59 (diff) | |
download | u-boot-imx-47b8e527448c94d09fc8dbdb6601ea7a605ff955.zip u-boot-imx-47b8e527448c94d09fc8dbdb6601ea7a605ff955.tar.gz u-boot-imx-47b8e527448c94d09fc8dbdb6601ea7a605ff955.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-video
Diffstat (limited to 'doc')
-rw-r--r-- | doc/device-tree-bindings/video/simple-framebuffer.txt | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/device-tree-bindings/video/simple-framebuffer.txt b/doc/device-tree-bindings/video/simple-framebuffer.txt new file mode 100644 index 0000000..3ea4605 --- /dev/null +++ b/doc/device-tree-bindings/video/simple-framebuffer.txt @@ -0,0 +1,25 @@ +Simple Framebuffer + +A simple frame-buffer describes a raw memory region that may be rendered to, +with the assumption that the display hardware has already been set up to scan +out from that buffer. + +Required properties: +- compatible: "simple-framebuffer" +- reg: Should contain the location and size of the framebuffer memory. +- width: The width of the framebuffer in pixels. +- height: The height of the framebuffer in pixels. +- stride: The number of bytes in each line of the framebuffer. +- format: The format of the framebuffer surface. Valid values are: + - r5g6b5 (16-bit pixels, d[15:11]=r, d[10:5]=g, d[4:0]=b). + +Example: + + framebuffer { + compatible = "simple-framebuffer"; + reg = <0x1d385000 (1600 * 1200 * 2)>; + width = <1600>; + height = <1200>; + stride = <(1600 * 2)>; + format = "r5g6b5"; + }; |