mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-29 08:00:26 +09: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>
18 lines
395 B
Plaintext
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>;
|
|
};
|