[lkml]   [2011]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH v5 0/3] input: Add support for ECI (multimedia) accessories
From: Tapio Vihuri <>

Thank you for comments.

ECI input driver changes:

- Use sparse_keymap_setup() properly, remove unneeded input set_bits

ECI controller driver changes:

- Added "button" debugfs entry for input driver buttons handling testing

Created against linux-2.6.38-rc1 at:
12fcdba Merge branch 'x86-fixes-for-linus' of git://

--- v4 message ---

Thank you for comments.

ECI input driver changes:

- Use driver name in debugfs
- reject accessory stating more than maximum 31 buttons
- clean out couple comments

ECI controller driver changes:

- name change, from ecibus to eci_xxx_ctrl
- location change, from drivers/ecibus to drivers/input/misc
- major rework from platform driver to i2c-driver
- removed mrst platform dependency

Checkpatch warn about Kconfig, but I think it is false positive, and I will
report it to the maintainer.

Platform code changes:

- medfield_ prefix changed to mrst_
- added ECI controller needed power control
- remover ECI controller platform driver stuff
- added i2c stuff for ECI controller driver

Created against linux-2.6.37-rc8 at:
a25cecc Merge branch 'next' of git://

--- v3 message ---

Thank you for comments.

ECI input driver changes:

- Makefile and Kconfig sorted alphabetically
- using sparse keymap library, much cleaner solution
- correct string aligment with 80 column
- debugfs initialization fix
- sysfs cable entry using just 0/1
- using cheaper __set_bit
- insane comments fixed
- remove unneeded misc device

Created against linux-2.6.37-rc8 at:
989d873 Merge

--- v2 message ---

Thank you for comments.

In series two there Kconfig dependency problem fixed, preventing compilation
if X86_MRST (Intel Moorestown) or INPUT_MISC is not selected.

Also created against linux-2.6.37-rc8

--- v1 message ---

Hi all

This patch set introduce Multimedia Headset Accessory support for
Nokia phones. Technically those are known as ECI (Enhancement Control Interface)

If headset has many buttons, like play, vol+, vol- etc. then it is propably ECI

Among several buttons ECI accessories contains memory for storing several

This ECI input driver provides the following features:
- reading ECI configuration memory
- ECI buttons as input events

Drive is constructed as follows:
- ECI accessory input driver deals with headset accessory
- ECI bus control driver deals the HW transfering data to/from headset
- platform data match used HW

In the future accessory detection logic will be added using ALSA jack reporting.

Created against linux-2.6.37-rc6

Please review.

Tapio Vihuri (3):
ECI: input: introduce ECI accessory input driver
ECI: introducing ECI controller driver
ECI: adding platform data for ECI driver

arch/x86/platform/mrst/mrst.c | 49 ++
drivers/input/misc/Kconfig | 60 +++
drivers/input/misc/Makefile | 3 +-
drivers/input/misc/eci.c | 931 ++++++++++++++++++++++++++++++++++++
drivers/input/misc/eci_at20_ctrl.c | 569 ++++++++++++++++++++++
include/linux/input/eci.h | 179 +++++++
6 files changed, 1790 insertions(+), 1 deletions(-)
create mode 100644 drivers/input/misc/eci.c
create mode 100644 drivers/input/misc/eci_at20_ctrl.c
create mode 100644 include/linux/input/eci.h

 \ /
  Last update: 2011-01-20 14:43    [W:0.035 / U:29.152 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site