From: Heiko Stübner Date: Tue, 29 Nov 2011 19:04:09 +0000 (-0800) Subject: Input: add generic GPIO-tilt driver X-Git-Tag: v3.3-rc1~122^2^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3bfd5c5baf66e975b0f365a0cda8d75bf2953ebe;p=pandora-kernel.git Input: add generic GPIO-tilt driver There exist tilt switches that simply report their tilt-state via some gpios. The number and orientation of their axes can vary depending on the switch used and the build of the device. Also two or more one-axis switches could be combined to provide multi-dimensional orientation. One example of a device using such a switch is the family of Qisda ebook readers, where the switch provides information about the landscape / portrait orientation of the device. The example in Documentation/input/gpio-tilt.txt documents exactly this one-axis device. Signed-off-by: Heiko Stuebner Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed