summaryrefslogtreecommitdiffstats
path: root/drivers/staging/olpc_dcon
Commit message (Collapse)AuthorAgeFilesLines
...
| * | backlight: constify backlight_opsLionel Debroux2010-11-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | backlight_device_register has been expecting a const "ops" argument, and using it as such, since 9905a43b2d563e6f89e4c63c4278ada03f2ebb14. Let's make the remaining backlight_ops instances const. Inspired by hunks of the grsecurity patch, updated for newer kernels. Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr> Acked-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
* | | drivers/staging/olpc_dcon: convert to new cs5535 gpio APIAndres Salomon2011-01-135-93/+103
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Drop the old geode_gpio crud, as well as the raw outl() calls; instead, use the Linux GPIO API where possible, and the cs5535_gpio API in other places. Note that we don't actually clean up the driver properly yet (once loaded, it always remains loaded). That'll come later.. This patch is necessary for building the driver. Signed-off-by: Andres Salomon <dilinger@queued.net> Cc: Greg KH <greg@kroah.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* | i2c: Drivers shouldn't include <linux/i2c-id.h>Jean Delvare2010-11-151-1/+0Star
| | | | | | | | | | | | | | | | | | Drivers don't need to include <linux/i2c-id.h>, especially not when they don't use anything that header file provides. Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: Michael Hunold <michael@mihu.de> Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* | i2c: Remove obsolete cleanup for clientdataWolfram Sang2010-11-151-3/+0Star
|/ | | | | | | | | | | A few new i2c-drivers came into the kernel which clear the clientdata-pointer on exit. This is obsolete meanwhile, so fix it and hope the word will spread. Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Acked-by: Alan Cox <alan@linux.intel.com> Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Acked-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Jean Delvare <khali@linux-fr.org>
* Staging: olpc_dcon: mark the driver as CONFIG_BROKEN for nowGreg Kroah-Hartman2010-10-051-1/+1
| | | | | | | | | It doesn't build yet, as it depends on some changes that are not yet in the tree, so mark it as BROKEN for now until that gets resolved. Reported-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: Andres Salomon <dilinger@queued.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: olpc_dcon: drop old VT switch code, watch for CONBLANK eventAndres Salomon2010-09-301-20/+6Star
| | | | | | | | | | | | | | | | Eons ago, in a galaxy far far away, Jordan committed code to work around the fact that X might have put the DCON to sleep and then crashed (in that galaxy, X crashed a lot; crazy, right?) This code was based on a custom API. These days, we have code which watches for FB unblanks, and should perform the same function.. Therefore, the older code can be dropped. We should probably be watching for CONBLANK events to, so allow those to turn the DCON back on. Dropping the old code is necessary for building the driver. Signed-off-by: Andres Salomon <dilinger@queued.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: olpc_dcon: add people to the Cc listAndres Salomon2010-09-301-0/+2
| | | | | | | | Some additional folks requested to be Cc'd for OLPC-DCON changes; add them to the TODO file. Signed-off-by: Andres Salomon <dilinger@queued.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: olpc_dcon: remove outdated backlight commentAndres Salomon2010-09-301-6/+0Star
| | | | | | | | | | | This comment about killing power to the backlight is ancient, and incorrect (the code that follows actually does the opposite of what the comment says). This was due to hardware changes; the comment was for the original OLPC GX2 boards, but when the OLPC LX boards came out, the code was updated for that hardware. Signed-off-by: Andres Salomon <dilinger@queued.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: olpc_dcon: add TODO fileAndres Salomon2010-09-301-0/+15
| | | | | | | Add and populate a TODO file for the olpc_dcon driver. Signed-off-by: Andres Salomon <dilinger@queued.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: olpc_dcon: drop XO-1.5 support for nowAndres Salomon2010-09-301-10/+0Star
| | | | | | | | | | The vx855 stuff isn't upstream yet; for now, drop support for XO-1.5. This will come back once the 1.5 code is in place (and will be in a form that allows both 1.0 and 1.5 support to be compiled in at the same time), but for now just remove it. This is necessary to get the driver building. Signed-off-by: Andres Salomon <dilinger@queued.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: olpc_dcon: switch back to using olpc_board(0xXX)Andres Salomon2010-09-301-2/+2
| | | | | | | | ...Rather than macros that don't exist. Necessary for building the driver. Signed-off-by: Andres Salomon <dilinger@queued.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: olpc_dcon: add OLPC display controller (DCON) supportAndres Salomon2010-09-306-0/+1374
This adds DCON support for the OLPC XO. The DCON is found in XO-1 and XO-1.5 hardware. The XO-1 has a CS5536 southbridge, while the XO-1.5 has a Via chipset; the GPIO magic that's necessary to communicate with the DCON chip is unfortunately different across both platforms. This driver supports both. This driver is in bad state atm, so I'm requesting its inclusion into staging so it can be cleaned up while staying in the kernel tree. Original driver by Dave Woodhouse, and modified extensively by Jordan Crouse, myself, Deepak Saxena, Paul Fox, Daniel Drake, and probably others that I've missed. Signed-off-by: Andres Salomon <dilinger@queued.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>