linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RESEND] arm: pxa: tosa: fix keys mapping
@ 2013-11-16 12:47 Dmitry Eremin-Solenikov
  2013-11-19  8:33 ` Dmitry Eremin-Solenikov
  0 siblings, 1 reply; 6+ messages in thread
From: Dmitry Eremin-Solenikov @ 2013-11-16 12:47 UTC (permalink / raw)
  To: linux-arm-kernel

When converting from tosa-keyboard driver to matrix keyboard, tosa keys
received extra 1 column shift. Replace that with correct values to make
keyboard work again.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
---
 arch/arm/mach-pxa/tosa.c | 102 +++++++++++++++++++++++------------------------
 1 file changed, 51 insertions(+), 51 deletions(-)

diff --git a/arch/arm/mach-pxa/tosa.c b/arch/arm/mach-pxa/tosa.c
index 0206b91..ef5557b 100644
--- a/arch/arm/mach-pxa/tosa.c
+++ b/arch/arm/mach-pxa/tosa.c
@@ -425,57 +425,57 @@ static struct platform_device tosa_power_device = {
  * Tosa Keyboard
  */
 static const uint32_t tosakbd_keymap[] = {
-	KEY(0, 2, KEY_W),
-	KEY(0, 6, KEY_K),
-	KEY(0, 7, KEY_BACKSPACE),
-	KEY(0, 8, KEY_P),
-	KEY(1, 1, KEY_Q),
-	KEY(1, 2, KEY_E),
-	KEY(1, 3, KEY_T),
-	KEY(1, 4, KEY_Y),
-	KEY(1, 6, KEY_O),
-	KEY(1, 7, KEY_I),
-	KEY(1, 8, KEY_COMMA),
-	KEY(2, 1, KEY_A),
-	KEY(2, 2, KEY_D),
-	KEY(2, 3, KEY_G),
-	KEY(2, 4, KEY_U),
-	KEY(2, 6, KEY_L),
-	KEY(2, 7, KEY_ENTER),
-	KEY(2, 8, KEY_DOT),
-	KEY(3, 1, KEY_Z),
-	KEY(3, 2, KEY_C),
-	KEY(3, 3, KEY_V),
-	KEY(3, 4, KEY_J),
-	KEY(3, 5, TOSA_KEY_ADDRESSBOOK),
-	KEY(3, 6, TOSA_KEY_CANCEL),
-	KEY(3, 7, TOSA_KEY_CENTER),
-	KEY(3, 8, TOSA_KEY_OK),
-	KEY(3, 9, KEY_LEFTSHIFT),
-	KEY(4, 1, KEY_S),
-	KEY(4, 2, KEY_R),
-	KEY(4, 3, KEY_B),
-	KEY(4, 4, KEY_N),
-	KEY(4, 5, TOSA_KEY_CALENDAR),
-	KEY(4, 6, TOSA_KEY_HOMEPAGE),
-	KEY(4, 7, KEY_LEFTCTRL),
-	KEY(4, 8, TOSA_KEY_LIGHT),
-	KEY(4, 10, KEY_RIGHTSHIFT),
-	KEY(5, 1, KEY_TAB),
-	KEY(5, 2, KEY_SLASH),
-	KEY(5, 3, KEY_H),
-	KEY(5, 4, KEY_M),
-	KEY(5, 5, TOSA_KEY_MENU),
-	KEY(5, 7, KEY_UP),
-	KEY(5, 11, TOSA_KEY_FN),
-	KEY(6, 1, KEY_X),
-	KEY(6, 2, KEY_F),
-	KEY(6, 3, KEY_SPACE),
-	KEY(6, 4, KEY_APOSTROPHE),
-	KEY(6, 5, TOSA_KEY_MAIL),
-	KEY(6, 6, KEY_LEFT),
-	KEY(6, 7, KEY_DOWN),
-	KEY(6, 8, KEY_RIGHT),
+	KEY(0, 1, KEY_W),
+	KEY(0, 5, KEY_K),
+	KEY(0, 6, KEY_BACKSPACE),
+	KEY(0, 7, KEY_P),
+	KEY(1, 0, KEY_Q),
+	KEY(1, 1, KEY_E),
+	KEY(1, 2, KEY_T),
+	KEY(1, 3, KEY_Y),
+	KEY(1, 5, KEY_O),
+	KEY(1, 6, KEY_I),
+	KEY(1, 7, KEY_COMMA),
+	KEY(2, 0, KEY_A),
+	KEY(2, 1, KEY_D),
+	KEY(2, 2, KEY_G),
+	KEY(2, 3, KEY_U),
+	KEY(2, 5, KEY_L),
+	KEY(2, 6, KEY_ENTER),
+	KEY(2, 7, KEY_DOT),
+	KEY(3, 0, KEY_Z),
+	KEY(3, 1, KEY_C),
+	KEY(3, 2, KEY_V),
+	KEY(3, 3, KEY_J),
+	KEY(3, 4, TOSA_KEY_ADDRESSBOOK),
+	KEY(3, 5, TOSA_KEY_CANCEL),
+	KEY(3, 6, TOSA_KEY_CENTER),
+	KEY(3, 7, TOSA_KEY_OK),
+	KEY(3, 8, KEY_LEFTSHIFT),
+	KEY(4, 0, KEY_S),
+	KEY(4, 1, KEY_R),
+	KEY(4, 2, KEY_B),
+	KEY(4, 3, KEY_N),
+	KEY(4, 4, TOSA_KEY_CALENDAR),
+	KEY(4, 5, TOSA_KEY_HOMEPAGE),
+	KEY(4, 6, KEY_LEFTCTRL),
+	KEY(4, 7, TOSA_KEY_LIGHT),
+	KEY(4, 9, KEY_RIGHTSHIFT),
+	KEY(5, 0, KEY_TAB),
+	KEY(5, 1, KEY_SLASH),
+	KEY(5, 2, KEY_H),
+	KEY(5, 3, KEY_M),
+	KEY(5, 4, TOSA_KEY_MENU),
+	KEY(5, 6, KEY_UP),
+	KEY(5, 10, TOSA_KEY_FN),
+	KEY(6, 0, KEY_X),
+	KEY(6, 1, KEY_F),
+	KEY(6, 2, KEY_SPACE),
+	KEY(6, 3, KEY_APOSTROPHE),
+	KEY(6, 4, TOSA_KEY_MAIL),
+	KEY(6, 5, KEY_LEFT),
+	KEY(6, 6, KEY_DOWN),
+	KEY(6, 7, KEY_RIGHT),
 };
 
 static struct matrix_keymap_data tosakbd_keymap_data = {
-- 
1.8.4.rc3

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH RESEND] arm: pxa: tosa: fix keys mapping
  2013-11-16 12:47 [PATCH RESEND] arm: pxa: tosa: fix keys mapping Dmitry Eremin-Solenikov
@ 2013-11-19  8:33 ` Dmitry Eremin-Solenikov
  2013-11-20  3:14   ` Haojian Zhuang
  0 siblings, 1 reply; 6+ messages in thread
From: Dmitry Eremin-Solenikov @ 2013-11-19  8:33 UTC (permalink / raw)
  To: linux-arm-kernel

Hello,

On Sat, Nov 16, 2013 at 4:47 PM, Dmitry Eremin-Solenikov
<dbaryshkov@gmail.com> wrote:
> When converting from tosa-keyboard driver to matrix keyboard, tosa keys
> received extra 1 column shift. Replace that with correct values to make
> keyboard work again.
>
> Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
> ---
>  arch/arm/mach-pxa/tosa.c | 102 +++++++++++++++++++++++------------------------
>  1 file changed, 51 insertions(+), 51 deletions(-)

As nobody seems to object, I would like to use my tosa maintainer
powers and push
this patch for inclusion.

Both Eric and Haojian seem to be unresponsive now.
Russell, can I push it to your patch system? Or should I push it to
arm-soc guys?

-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH RESEND] arm: pxa: tosa: fix keys mapping
  2013-11-19  8:33 ` Dmitry Eremin-Solenikov
@ 2013-11-20  3:14   ` Haojian Zhuang
  2013-11-20 16:06     ` Dmitry Eremin-Solenikov
  2013-11-28 13:12     ` Dmitry Eremin-Solenikov
  0 siblings, 2 replies; 6+ messages in thread
From: Haojian Zhuang @ 2013-11-20  3:14 UTC (permalink / raw)
  To: linux-arm-kernel

On 11/19/2013 04:33 PM, Dmitry Eremin-Solenikov wrote:
> Hello,
>
> On Sat, Nov 16, 2013 at 4:47 PM, Dmitry Eremin-Solenikov
> <dbaryshkov@gmail.com> wrote:
>> When converting from tosa-keyboard driver to matrix keyboard, tosa keys
>> received extra 1 column shift. Replace that with correct values to make
>> keyboard work again.
>>
>> Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
>> ---
>>   arch/arm/mach-pxa/tosa.c | 102 +++++++++++++++++++++++------------------------
>>   1 file changed, 51 insertions(+), 51 deletions(-)
>
> As nobody seems to object, I would like to use my tosa maintainer
> powers and push
> this patch for inclusion.
>
> Both Eric and Haojian seem to be unresponsive now.
> Russell, can I push it to your patch system? Or should I push it to
> arm-soc guys?
>

Hi Dmitry,

I can take this patch. I didn't response since I'm waiting the new 
v3.13-rc1. I'm sorry on inconvenience.

Best Regards
Haojian

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH RESEND] arm: pxa: tosa: fix keys mapping
  2013-11-20  3:14   ` Haojian Zhuang
@ 2013-11-20 16:06     ` Dmitry Eremin-Solenikov
  2013-11-28 13:12     ` Dmitry Eremin-Solenikov
  1 sibling, 0 replies; 6+ messages in thread
From: Dmitry Eremin-Solenikov @ 2013-11-20 16:06 UTC (permalink / raw)
  To: linux-arm-kernel

Hello,

On Wed, Nov 20, 2013 at 7:14 AM, Haojian Zhuang
<haojian.zhuang@gmail.com> wrote:
> On 11/19/2013 04:33 PM, Dmitry Eremin-Solenikov wrote:
>>
>> Hello,
>>
>> On Sat, Nov 16, 2013 at 4:47 PM, Dmitry Eremin-Solenikov
>> <dbaryshkov@gmail.com> wrote:
>>>
>>> When converting from tosa-keyboard driver to matrix keyboard, tosa keys
>>> received extra 1 column shift. Replace that with correct values to make
>>> keyboard work again.
>>>
>>> Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
>>> ---
>>>   arch/arm/mach-pxa/tosa.c | 102
>>> +++++++++++++++++++++++------------------------
>>>   1 file changed, 51 insertions(+), 51 deletions(-)
>>
>>
>> As nobody seems to object, I would like to use my tosa maintainer
>> powers and push
>> this patch for inclusion.
>>
>> Both Eric and Haojian seem to be unresponsive now.
>> Russell, can I push it to your patch system? Or should I push it to
>> arm-soc guys?
>>
>
> Hi Dmitry,
>
> I can take this patch. I didn't response since I'm waiting the new
> v3.13-rc1. I'm sorry on inconvenience.

No problem here. I was just hoping that this patch can slip into
3.13-trivial-fixes (as it was initially posted some time ago).
No problem if it goes to next (3.14) kernel though.

-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH RESEND] arm: pxa: tosa: fix keys mapping
  2013-11-20  3:14   ` Haojian Zhuang
  2013-11-20 16:06     ` Dmitry Eremin-Solenikov
@ 2013-11-28 13:12     ` Dmitry Eremin-Solenikov
  2013-12-04 11:22       ` Haojian Zhuang
  1 sibling, 1 reply; 6+ messages in thread
From: Dmitry Eremin-Solenikov @ 2013-11-28 13:12 UTC (permalink / raw)
  To: linux-arm-kernel

Hello Haojian,

On Wed, Nov 20, 2013 at 7:14 AM, Haojian Zhuang
<haojian.zhuang@gmail.com> wrote:
> On 11/19/2013 04:33 PM, Dmitry Eremin-Solenikov wrote:
>>
>> Hello,
>>
>> On Sat, Nov 16, 2013 at 4:47 PM, Dmitry Eremin-Solenikov
>> <dbaryshkov@gmail.com> wrote:
>>>
>>> When converting from tosa-keyboard driver to matrix keyboard, tosa keys
>>> received extra 1 column shift. Replace that with correct values to make
>>> keyboard work again.
>>>
>>> Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
>>> ---
>>>   arch/arm/mach-pxa/tosa.c | 102
>>> +++++++++++++++++++++++------------------------
>>>   1 file changed, 51 insertions(+), 51 deletions(-)
>>
>>
>> As nobody seems to object, I would like to use my tosa maintainer
>> powers and push
>> this patch for inclusion.
>>
>> Both Eric and Haojian seem to be unresponsive now.
>> Russell, can I push it to your patch system? Or should I push it to
>> arm-soc guys?
>>
>
> Hi Dmitry,
>
> I can take this patch. I didn't response since I'm waiting the new
> v3.13-rc1. I'm sorry on inconvenience.

Nearly a week passed and I still don't see the patch either in arm-soc
or in linux-next.

-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH RESEND] arm: pxa: tosa: fix keys mapping
  2013-11-28 13:12     ` Dmitry Eremin-Solenikov
@ 2013-12-04 11:22       ` Haojian Zhuang
  0 siblings, 0 replies; 6+ messages in thread
From: Haojian Zhuang @ 2013-12-04 11:22 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Nov 28, 2013 at 9:12 PM, Dmitry Eremin-Solenikov
<dbaryshkov@gmail.com> wrote:
> Hello Haojian,
>
> On Wed, Nov 20, 2013 at 7:14 AM, Haojian Zhuang
> <haojian.zhuang@gmail.com> wrote:
>> On 11/19/2013 04:33 PM, Dmitry Eremin-Solenikov wrote:
>>>
>>> Hello,
>>>
>>> On Sat, Nov 16, 2013 at 4:47 PM, Dmitry Eremin-Solenikov
>>> <dbaryshkov@gmail.com> wrote:
>>>>
>>>> When converting from tosa-keyboard driver to matrix keyboard, tosa keys
>>>> received extra 1 column shift. Replace that with correct values to make
>>>> keyboard work again.
>>>>
>>>> Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
>>>> ---
>>>>   arch/arm/mach-pxa/tosa.c | 102
>>>> +++++++++++++++++++++++------------------------
>>>>   1 file changed, 51 insertions(+), 51 deletions(-)
>>>
>>>
>>> As nobody seems to object, I would like to use my tosa maintainer
>>> powers and push
>>> this patch for inclusion.
>>>
>>> Both Eric and Haojian seem to be unresponsive now.
>>> Russell, can I push it to your patch system? Or should I push it to
>>> arm-soc guys?
>>>
>>
>> Hi Dmitry,
>>
>> I can take this patch. I didn't response since I'm waiting the new
>> v3.13-rc1. I'm sorry on inconvenience.
>
> Nearly a week passed and I still don't see the patch either in arm-soc
> or in linux-next.
>
> --
> With best wishes
> Dmitry

Applied. I'll send the pull request in this week.

Best Regards
Haojian

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-12-04 11:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-16 12:47 [PATCH RESEND] arm: pxa: tosa: fix keys mapping Dmitry Eremin-Solenikov
2013-11-19  8:33 ` Dmitry Eremin-Solenikov
2013-11-20  3:14   ` Haojian Zhuang
2013-11-20 16:06     ` Dmitry Eremin-Solenikov
2013-11-28 13:12     ` Dmitry Eremin-Solenikov
2013-12-04 11:22       ` Haojian Zhuang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).