From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Tue, 16 Apr 2019 14:31:14 +0200 Subject: [U-Boot] [RFC] Migrating iMX LCDIF drivers to Driver Model In-Reply-To: References: Message-ID: <20190416143114.645dd5cc@crub> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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