]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Input: tegra-kbc - add support for rows/columns configuration from dt
authorLaxman Dewangan <ldewangan@nvidia.com>
Mon, 7 Jan 2013 02:32:22 +0000 (18:32 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 17 Jan 2013 08:28:00 +0000 (00:28 -0800)
commit88390243a9937f9831aeba5113a8b59bb1d4411a
tree3fd73c6fc87b0c43290a4d49ee2895c8fdbeeaca
parent00eb81e56a38ffb7839e0e6262e26c20c617d2ab
Input: tegra-kbc - add support for rows/columns configuration from dt

The NVIDIA's Tegra KBC has maximum 24 pins to make matrix keypad.
Any pin can be configured as row or column. The maximum column pin
can be 8 and maximum row pin can be 16.

Remove the assumption that all first 16 pins will be used as row
and remaining as columns and Add the property for configuring pins
to either row or column from DT. Update the devicetree binding
document accordingly.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/nvidia,tegra20-kbc.txt
drivers/input/keyboard/tegra-kbc.c