lcd and backlight module class
A while back I posted a note to arm-linux-kernel about developing some low-level API's to separate out platform-specific code from drivers such as sa1100fb.c.
http://lists.arm.linux.org.uk/pipermail/linux-arm-kernel/2003-July/016235.html
As a particular example, the sa1100fb driver is cluttered with the platform initialization and control code for the many SA11x0-based platforms supported by the ARM linux kernel. My thought is that the new device model gives a good framework to decouple the fbdev drivers and the platforms. I've been busy with other things, so progress on this has been slower than I hoped. But I have prototyped it. For usespace access to these controls, I envision sysfs attributes. I also think that the fb drivers might register an interface with the lcd/backlight classes so that they can be notified if an LCD is hotplugged. It would also help loosen the dependence on link/initialization order.
Anyway, please review and comment on this patch:
http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=1696/1
There are uses of lcd module in subsequent ipaq patches, such as this one:
http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=1699/1
Thanks,
Jamey Hicks
-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/