Hi,
These patches of I2C and Keypad are for meego kernel 1.2.
Here are the patches list,
[PATCH 1/4] i2c-mrst: enhance the error msg
The error messages printed from mrst_i2c_abort() didn't give
slave address info.
But I2C device driver developers always need this to check
which slave device has problem.
This patch enhances the error message format by adding slave
address info to each error message.
[PATCH 2/4] i2c-mrst: xfer timeout fixing
The old solution for i2c xfer timeout was to set timeout value
to one second for all i2c xfer.
That's not reasonable for various speed modes and data length.
This patch sets the xfer_read timeout value based on both bus
speed and data length.
[PATCH 3/4] i2c-mrst: add delay suspend support
I2C driver does not allow auto runtime pm by default.
And it go to suspend after every accessing. It is not efficient
for continual I2C accessing.
This patch allows auto suspend by default. And it add a delay
suspend which keeps I2C active
for at least 500ms after every accessing. If device driver
accesses I2C frequently, it will
not go to suspend and keep high performance. After long time
idle, it will go to suspend auto.
[PATCH 4/4] tc35894xbg: add key events
The old driver does not support scan key. Some applications
need it to build its keymap.
This patch adds scan key support. Driver sends MSC_SCAN events
to userspace to ease task of
adjusting keymap.
Here is the pachcheck log,
./scripts/checkpatch.pl 0001-i2c-mrst-enhance-the-error-msg.patch
0002-i2c-mrst-xfer-timeout-fixing.patch
0003-i2c-mrst-add-delay-suspend-support.patch
0004-tc35894xbg-add-key-events.patch
total: 0 errors, 0 warnings, 101 lines checked
0001-i2c-mrst-enhance-the-error-msg.patch has no obvious style problems
and is ready for submission.
total: 0 errors, 0 warnings, 41 lines checked
0002-i2c-mrst-xfer-timeout-fixing.patch has no obvious style problems
and is ready for submission.
total: 0 errors, 0 warnings, 118 lines checked
0003-i2c-mrst-add-delay-suspend-support.patch has no obvious style
problems and is ready for submission.
total: 0 errors, 0 warnings, 109 lines checked
0004-tc35894xbg-add-key-events.patch has no obvious style problems and
is ready for submission.
And the here is the kernel build log,
touch drivers/input/keyboard/tc35894xbg.c
touch drivers/i2c/busses/i2c-mrst.c
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
VDSOSYM arch/x86/vdso/vdso32-int80-syms.lds
VDSOSYM arch/x86/vdso/vdso32-sysenter-syms.lds
VDSOSYM arch/x86/vdso/vdso32-syms.lds
LD arch/x86/vdso/built-in.o
LD arch/x86/built-in.o
CC drivers/i2c/busses/i2c-mrst.o
CC drivers/input/keyboard/tc35894xbg.o
LD drivers/input/keyboard/built-in.o
LD drivers/input/built-in.o
LD drivers/i2c/busses/built-in.o
LD drivers/i2c/built-in.o
LD drivers/built-in.o
LD vmlinux.o
MODPOST vmlinux.o
GEN .version
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
KSYM .tmp_kallsyms1.S
AS .tmp_kallsyms1.o
LD .tmp_vmlinux2
KSYM .tmp_kallsyms2.S
AS .tmp_kallsyms2.o
LD vmlinux
SYSMAP System.map
SYSMAP .tmp_System.map
VOFFSET arch/x86/boot/voffset.h
CC arch/x86/boot/version.o
OBJCOPY arch/x86/boot/compressed/vmlinux.bin
RELOCS arch/x86/boot/compressed/vmlinux.relocs
GZIP arch/x86/boot/compressed/vmlinux.bin.gz
MKPIGGY arch/x86/boot/compressed/piggy.S
AS arch/x86/boot/compressed/piggy.o
LD arch/x86/boot/compressed/vmlinux
ZOFFSET arch/x86/boot/zoffset.h
OBJCOPY arch/x86/boot/vmlinux.bin
AS arch/x86/boot/header.o
LD arch/x86/boot/setup.elf
OBJCOPY arch/x86/boot/setup.bin
BUILD arch/x86/boot/bzImage
Kernel: arch/x86/boot/bzImage is ready (#5)
Bin Yang (2):
i2c-mrst: xfer timeout fixing
i2c-mrst: add delay suspend support
Catalin Popescu (1):
i2c-mrst: enhance the error msg
Ken Lierman (1):
tc35894xbg: add key events
drivers/i2c/busses/i2c-mrst.c | 99 ++++++++++++++++++++++-------------
drivers/i2c/busses/i2c-mrst.h | 2 +-
drivers/input/keyboard/tc35894xbg.c | 60 +++++++++++++++++----
include/linux/i2c/tc35894xbg.h | 1 +
4 files changed, 113 insertions(+), 49 deletions(-)
_______________________________________________
MeeGo-kernel mailing list
[email protected]
http://lists.meego.com/listinfo/meego-kernel