[U-Boot] [RFC] Migrating iMX LCDIF drivers to Driver Model

Anatolij Gustschin agust at denx.de
Tue Apr 16 12:31:14 UTC 2019


Hi Igor,

On Tue, 16 Apr 2019 12:04:41 +0000
Igor Opaniuk igor.opaniuk at toradex.com wrote:
...
> So there are 2 questions spinning in my mind:
> 1) In case if you are maybe aware, if there were any intentions to do
> this migration before?  (maybe someone asked similar questions or even
> send some patches, but didn't manage to upstream that; or did similar
> stuff in some downstream U-boot forks, whatever). Unfortunately I
> can't any information regarding this in U-boot ML archives .

I'm not aware of any activity migrating this driver to DM_VIDEO.
Patches welcome.
 
> 2) Will it be OK if I introduce a brand new mxsfb driver (ported from
> Linux), which will be used only when U-boot is built with
> CONFIG_DM_VIDEO enabled? Existing mxsfb will be left as it is, so I
> can be removed easily when full migration to DM is done for all boards
> that are using this driver.

I have no objections. However I don't know how big is the Linux mxsfb
driver, maybe we could reduce not needed code to keep the code size
smaller.

--
Anatolij


More information about the U-Boot mailing list