simple-framebuffer.txt 806 B

12345678910111213141516171819202122232425
  1. Simple Framebuffer
  2. A simple frame-buffer describes a raw memory region that may be rendered to,
  3. with the assumption that the display hardware has already been set up to scan
  4. out from that buffer.
  5. Required properties:
  6. - compatible: "simple-framebuffer"
  7. - reg: Should contain the location and size of the framebuffer memory.
  8. - width: The width of the framebuffer in pixels.
  9. - height: The height of the framebuffer in pixels.
  10. - stride: The number of bytes in each line of the framebuffer.
  11. - format: The format of the framebuffer surface. Valid values are:
  12. - r5g6b5 (16-bit pixels, d[15:11]=r, d[10:5]=g, d[4:0]=b).
  13. Example:
  14. framebuffer {
  15. compatible = "simple-framebuffer";
  16. reg = <0x1d385000 (1600 * 1200 * 2)>;
  17. width = <1600>;
  18. height = <1200>;
  19. stride = <(1600 * 2)>;
  20. format = "r5g6b5";
  21. };