Input: spear-keyboard - configure device according to supplied mode
authorRajeev Kumar <rajeev-dlh.kumar@st.com>
Fri, 24 Feb 2012 08:51:40 +0000 (00:51 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 28 Feb 2012 09:18:32 +0000 (01:18 -0800)
commitf8354c60ca2212810c168d8f992559226c8c0e71
treea9d8d77c9e6c7e76fa982c757e0eb82d98024998
parent5e238b548aac6227ce296d41364a3f7b10caff44
Input: spear-keyboard - configure device according to supplied mode

Let platform pass mode information to keyboard driver according to which
it configures itself. The mode can be
 - KEYPAD_9x9     0
 - KEYPAD_6x6     1
 - KEYPAD_2x2     2

Signed-off-by: Rajeev Kumar <rajeev-dlh.kumar@st.com>
Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
arch/arm/plat-spear/include/plat/keyboard.h
drivers/input/keyboard/spear-keyboard.c