u-boot-brain/doc/device-tree-bindings/video/sandbox-fb.txt
Simon Glass a466db5adb sandbox: Support changing the LCD colour depth
Add a new device-tree property to control the colour depth. At present we
support 16bpp and 32bpp.

While we are here, update the code to use livetree.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
2020-02-05 19:33:46 -07:00

18 lines
395 B
Plaintext

Sandbox LCD
===========
This uses the displaymode.txt binding except that only xres and yres are
required properties. Also an additional optional property is defined:
log2-depth: Log base 2 of the U-Boot display buffer depth (4=16bpp, 5=32bpp).
If not provided, a value of 4 is used.
Example:
lcd {
compatible = "sandbox,lcd-sdl";
xres = <800>;
yres = <600>;
log2-depth = <5>;
};