From: Ben Gardiner Date: Thu, 9 Dec 2010 21:51:06 +0000 (-0500) Subject: da850-evm: add baseboard GPIO expander buttons, switches and LEDs X-Git-Tag: v2.6.38-rc1~471^2^2~3^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70b3093963feefbf122672f9fe5f916db5338ca0;p=pandora-kernel.git da850-evm: add baseboard GPIO expander buttons, switches and LEDs This patch adds a pca953x platform device for the tca6416 found on the evm baseboard. The tca6416 is a GPIO expander, also found on the UI board at a separate I2C address. The pins of the baseboard IO expander are connected to software reset, deep sleep enable, test points, a push button, DIP switches and LEDs. Add support for the push button, DIP switches and LEDs and test points (as free GPIOs). The reset and deep sleep enable connections are reserved by the setup routine so that userspace can't toggle those lines. The existing tca6416-keypad driver was not employed because there was no apararent way to register the LEDs connected to gpio's on the tca6416 while simultaneously registering the tca6416-keypad instance. Signed-off-by: Ben Gardiner Reviewed-by: Chris Cordahi CC: Govindarajan, Sriramakrishnan Reviewed-by: Sekhar Nori Reviewed-by: Dmitry Torokhov CC: Gabor Juhos Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed