On 2013-12-12 01:10, Laurent Pinchart wrote: > Hi Tomi, > > On Wednesday 04 December 2013 14:28:32 Tomi Valkeinen wrote: >> omapdss driver uses a omapdss platform device to pass platform specific >> function pointers and DSS hardware version from the arch code to the >> driver. This device is needed also when booting with DT. >> >> This patch adds omapdss_init_of() function, called from board-generic at >> init time, which creates the omapdss device. > > Is this a temporary solution that you plan to later replace with DT-only > device instantiation ? It's a long term task to remove the "virtual" omapdss device. Removing the platform data that we pass has been very difficult. For example, we need to get the OMAP revision to know which OMAP DSS hardware we have. We can't get that information from the DSS hardware (thank you, HW designers! ;). Another is DSI pin muxing. I think we need a new pinmuxing driver for that, or maybe change pinmux-single quite a bit. The DSI pinmuxing is very simple, but the register fields are varying lengths and at varying positions, so pinmux-single doesn't work for it. Tomi
Attachment:
signature.asc
Description: OpenPGP digital signature