Simon Glass | b9ddbf4 | 2014-02-27 13:26:19 -0700 | [diff] [blame] | 1 | Sandbox LCD |
| 2 | =========== |
| 3 | |
| 4 | This uses the displaymode.txt binding except that only xres and yres are |
Simon Glass | d2caf7b | 2020-02-03 07:36:14 -0700 | [diff] [blame] | 5 | required properties. Also an additional optional property is defined: |
| 6 | |
| 7 | log2-depth: Log base 2 of the U-Boot display buffer depth (4=16bpp, 5=32bpp). |
| 8 | If not provided, a value of 4 is used. |
Simon Glass | b9ddbf4 | 2014-02-27 13:26:19 -0700 | [diff] [blame] | 9 | |
| 10 | Example: |
| 11 | |
| 12 | lcd { |
| 13 | compatible = "sandbox,lcd-sdl"; |
| 14 | xres = <800>; |
| 15 | yres = <600>; |
Simon Glass | d2caf7b | 2020-02-03 07:36:14 -0700 | [diff] [blame] | 16 | log2-depth = <5>; |
Simon Glass | b9ddbf4 | 2014-02-27 13:26:19 -0700 | [diff] [blame] | 17 | }; |