]> git.baikalelectronics.ru Git - kernel.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)
commitf1ab4602a2e5dd38ff8ec383cef5f09a1c2a5c25
tree3fd73c6fc87b0c43290a4d49ee2895c8fdbeeaca
parente651d75ad9812bf80da86364ef42f94e2f8ceb96
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