Volume Down key on the Zoom MDK
PATCH 1/1 Volume Down key on the Zoom MDK
Here is a patch to fix the omap-twl4030keypad.c keypad driver to support the volume down key on the Zoom MDK/Labrador.
George Jahad
Wind River Systems
drivers/input/keyboard/omap-twl4030keypad.c +13 -0
@@ -43,7 +43,12 @@#define OMAP_TWL4030KP_LOG_LEVEL 0#define KEY (col, row, val) (((col) << 28) | ((row) << 24) | (val)) + +#ifdef CONFIG_MACH_OMAP_3430LABRADOR +#define NUM_ROWS 6 +#else #define NUM_ROWS 5 +#endif #define NUM_COLS 6#define ROW_MASK ((1<<NUM_ROWS)-1)
@@ -61,6 +66,14 @@ {"S8", "S9", "S10", "S11", "S12", "S25"}, {"S13", "S14", "S15", "S16", "S17", "S26"}, {"S18", "S19", "S20", "S21", "S22", "S27"}, +#ifdef CONFIG_MACH_OMAP_3430LABRADOR +/* Labrador uses KBR5/KBC5 for the volume down switch, so I had to add +this entire row just for that switch. Not sure if any of the other +keys on this new row are actually used, and I just gave them +dummy names for now. +*/ + {"SA", "SB", "SC", "SD", "SE", "S22-d"}, +#endif };#ifdef CONFIG_MACH_OMAP_3430LABRADOR
Hi Jahad
What is the code base over which you are trying to make the keypad change?
Quoted 15 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of George Jahad
Sent: Wednesday, July 23, 2008 4:31 PM
To: [email protected]
Cc: George J.
Subject: [PATCH] Volume Down key on the Zoom MDKHere is a patch to fix the
omap-twl4030keypad.ckeypad driver to support the volume down key on the
Zoom MDK/Labrador.George Jahad
Wind River Systems
Sorry I didn't make that clear.
This is against the TI bsp found here:
http://omapzoom.org/gf/project/omapkernel/frs/
When I forwarded the patch to my contact at TI, he suggested I also post it here.
Thanks,
George
Quoted 20 lines · Vikram
Hi Jahad
What is the code base over which you are trying to make the keypad change?Quoted 15 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of George Jahad
Sent: Wednesday, July 23, 2008 4:31 PM
To: [email protected]
Cc: George J.
Subject: [PATCH] Volume Down key on the Zoom MDKHere is a patch to fix the
omap-twl4030keypad.ckeypad driver to support the volume down key on the
Zoom MDK/Labrador.George Jahad
Wind River Systems
Quoted 7 lines
From: George Jahad [mailto:[email protected]]
Sent: Thursday, July 31, 2008 11:01 PM
To: Pandita, Vikram
Cc: George Jahad; [email protected]
Subject: RE: [PATCH] Volume Down key on the Zoom MDK
Quoted 5 lines
Sorry I didn't make that clear.
This is against the TI bsp found here:
http://omapzoom.org/gf/project/omapkernel/frs/
Hi
Let me give some brief background on the code organization on omapzoom.org
On omapzoom.org, TI maintains two kernel versions:
(1) A stable, older-kernel (2.6.24), functionality complete v1.4 tarball at: http://omapzoom.org/gf/project/omapkernel/frs/
The intention is to showcase what TI has internally developed on all OMAP3 features,
but the kernel version may not be latest.
(2) A TI-GIT tree:
An up-to-date 2.6.26 kernel in sync with linux-omap git This can be got by git clone -
git clone http://git.omapzoom.org/repo/omapkernel
+ The intention of this ti-git tree is to port stable kernel features of (1) to the latest kernel.
+ For some features there are deviations from linux-omap git Eg: PM and
there are some advanced features that will be submitted to linux-omap git subsequently Eg: DSP bridge
+ The intention is to make available to community what TI has developed internally
+ To get comments/review from community on TI design/implementation
+ To get comments on deviation areas like PM
Refer wiki for more details: http://omapzoom.org/gf/project/omapkernel/wiki/
Hope this clarifies things.
Vikram
Quoted 29 lines
When I forwarded the patch to my contact at TI, he suggested I also post it here.
Thanks,
GeorgeQuoted 5 lines · Vikram
Hi Jahad
What is the code base over which you are trying to make the keypad change?Quoted 2 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf OfGeorge
Quoted 8 lines
Quoted 8 lines
Jahad
Sent: Wednesday, July 23, 2008 4:31 PM
To: [email protected]
Cc: George J.
Subject: [PATCH] Volume Down key on the Zoom MDKHere is a patch to fix the
omap-twl4030keypad.ckeypad driver to support the volume down keyon the
Quoted 7 lines
Quoted 5 lines
Zoom MDK/Labrador.
George Jahad
Wind River Systems
Hi Vikram,
Quoted 5 lines
(2) A TI-GIT tree:
An up-to-date 2.6.26 kernel in sync with linux-omap git This can be got by git clone -
git clone http://git.omapzoom.org/repo/omapkernel
Do you guys have gitweb URL for above zoom kernel?
Signature · 3 lines
---Trilok Soni http://triloksoni.wordpress.com http://www.linkedin.com/in/triloksoni
Quoted 12 lines
-----Original Message-----
From: Trilok Soni [mailto:[email protected]]
Sent: Friday, August 01, 2008 4:12 PM
To: Pandita, Vikram
Cc: George Jahad; [email protected]
Subject: Re: [PATCH] Volume Down key on the Zoom MDKHi Vikram,
Quoted 1 line
Quoted 6 lines
Quoted 4 lines
(2) A TI-GIT tree:
An up-to-date 2.6.26 kernel in sync with linux-omap git This can be got by git clone -
git clone http://git.omapzoom.org/repo/omapkernelDo you guys have gitweb URL for above zoom kernel?
Here you go -
http://git.omapzoom.org/?p=omapkernel;a=summary
Quoted 5 lines
--
---Trilok Soni
http://triloksoni.wordpress.com
http://www.linkedin.com/in/triloksoni