[U-Boot] [PATCH v2 00/14] dm: video: Introduce initial driver-model video support

Simon Glass sjg at chromium.org
Tue Jan 19 03:57:53 CET 2016


Hi Anatolij,

On 18 January 2016 at 19:56, Simon Glass <sjg at chromium.org> wrote:
> Hi,
>
> On 18 January 2016 at 19:52, Simon Glass <sjg at chromium.org> wrote:
>> 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)
>>
>> 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.
>>
>> 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() and
>> video_init().
>>
>> 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).
>>
>> Changes in v2:
>> - Fix Ebabling typo in comment
>> - Remove duplicated @fb_size line in common
>> - Fix comment for video_get_ysize()
>> - Fix reference to \n which should be \b
>> - Fix 'withthe' typo in comment
>> - Fix 'resolutino' typo in comment

If this looks OK, please let me know if you plan to pick this up,
otherwise I'll bring it via DM. There are some dependent patches in
dm/master, but I can send a pull request for those.

Regards,
Simon


More information about the U-Boot mailing list