dm: video: Introduce initial driver-model video support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 18 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 18 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [U-Boot] [PATCH 00/18] dm: video: Introduce initial driver-model video support
Hi Simon,
Quoted 14 lines
This series starts the process of converting LCD and video devices over to use driver model. Both now use a very similar API thanks to earlier work by Nikita Kiryanov. With the driver-model conversion these will end up unified in a single uclass.
Unfortunately there are different features supported by each. This implementation provides for a common set of features which should serve most purposes. The intent is to support:
- bitmap devices with 8, 16 and 32 bits per pixel
- text console wih white on black or vice versa
- rotated text console
- bitmap display (BMP format)
Quoted 6 lines
More can be added as additional boards are ported over to use driver model for video.
The name 'video' is chosen for the uclass since it is more generic than LCD. Another option would be 'display' but that would introduce a third concept to U-Boot which seems like the wrong approach.
This is very welcome ... i will patch my tree with your changes and try to adapt my LCD-driver (am335xfb.c) to new driver-model and run some tests on the B&R boards.
Quoted 3 lines
The existing LCD and video init functions are not needed now, so this uclass does not implement them. This includes
lcd_ctrl_init(),lcd_enable()andvideo_init().
This is not true for me, i use this functions to setup lcd-timings and backlight switch on.
You can have a look at the B&R tseries board.
Maybe we can consider how to setup an lcd device (different timing, backlights) in future,
Quoted 6 lines
Tests are provided to check that console text and bitmap output is correct. These should be able to be extended as more features are added.
Future work will convert a few boards over to use driver model for video. Likely targets are x86, exynos, tegra. Also, Rockchip LCD support will be added using driver model (patches will likely be sent some time in January).
best regards,
Hannes