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