mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-24 12:03:39 +00:00
a466db5adb
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>
17 lines
395 B
Text
17 lines
395 B
Text
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>;
|
|
};
|