mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle.com>
To: tapio.vihuri@nokia.com
Cc: dmitry.torokhov@gmail.com, linux-kernel@vger.kernel.org,
	alsa-devel@alsa-project.org, ilkka.koskinen@nokia.com,
	samu.p.onkalo@nokia.com
Subject: Re: [PATCH 2/3] ECI: introducing ECI bus driver
Date: Wed, 22 Dec 2010 09:11:29 -0800	[thread overview]
Message-ID: <20101222091129.da1ecb22.randy.dunlap@oracle.com> (raw)
In-Reply-To: <1293020435-5680-3-git-send-email-tapio.vihuri@nokia.com>

On Wed, 22 Dec 2010 14:20:34 +0200 tapio.vihuri@nokia.com wrote:

> From: Tapio Vihuri <tapio.vihuri@nokia.com>
> 
> ECI bus controller is kind of bridge between host CPU I2C and ECI accessory
> ECI communication.
> 
> Signed-off-by: Tapio Vihuri <tapio.vihuri@nokia.com>
> ---
>  drivers/Kconfig           |    2 +
>  drivers/Makefile          |    1 +
>  drivers/ecibus/Kconfig    |   46 ++++
>  drivers/ecibus/Makefile   |   10 +
>  drivers/ecibus/ecibus.c   |  583 +++++++++++++++++++++++++++++++++++++++++++++
>  include/linux/input/eci.h |    8 +
>  6 files changed, 650 insertions(+), 0 deletions(-)
>  create mode 100644 drivers/ecibus/Kconfig
>  create mode 100644 drivers/ecibus/Makefile
>  create mode 100644 drivers/ecibus/ecibus.c


> diff --git a/drivers/ecibus/Kconfig b/drivers/ecibus/Kconfig
> new file mode 100644
> index 0000000..27e5e36
> --- /dev/null
> +++ b/drivers/ecibus/Kconfig
> @@ -0,0 +1,46 @@
> +#
> +# ECI driver configuration
> +#
> +menuconfig ECI
> +	bool "ECI support"
> +	help
> +	  ECI (Enhancement Control Interface) accessory support
> +
> +	  The Enhancement Control Interface functionality
> +	  ECI is better known as Multimedia Headset for Nokia phones.
> +	  If headset has many buttons, like play, vol+, vol- etc. then
> +	  it is propably ECI accessory.
> +	  Among several buttons ECI accessory contains memory for storing
> +	  several parameters.
> +
> +	  Enable ECI support in terminal so that ECI input driver is able
> +	  to communicate with ECI accessory
> +
> +if ECI
> +
> +config ECI_DEBUG
> +	boolean "Debug support for ECI drivers"
> +	depends on DEBUG_KERNEL
> +	help
> +	  Selects ECI driver debug messaging.
> +
> +	  Say "yes" to enable debug messaging (like dev_dbg and pr_debug),
> +	  sysfs, and debugfs support in ECI controller.
> +
> +comment "ECI Master Controller Drivers"
> +
> +config ECI_BUS
> +	tristate "ECI bus controller driver"
> +	select INPUT_ECI


'select' INPUT_ECI when INPUT and/or INPUT_MISC are not enabled causes this
kconfig warning:

warning: (ECI_BUS && ECI) selects INPUT_ECI which has unmet direct dependencies (!S390 && INPUT && INPUT_MISC)


> +	help
> +	  This selects a driver for the ECI bus controller
> +
> +	  ECI bus controller is kind of bridge between host CPU I2C and
> +	  ECI accessory ECI communication.
> +
> +	  Say 'y' here to statically link this module into the kernel or 'm'
> +	  to build it as a dynamically loadable module. The module will be
> +	  called ecibus.ko
> +
> +
> +endif # ECI


---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
desserts:  http://www.xenotime.net/linux/recipes/

  parent reply	other threads:[~2010-12-22 17:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-22 12:20 [PATCH 0/3] input: Add support for ECI (multimedia) accessories tapio.vihuri
2010-12-22 12:20 ` [PATCH 1/3] ECI: input: introduce ECI accessory input driver tapio.vihuri
2010-12-22 12:20   ` [PATCH 2/3] ECI: introducing ECI bus driver tapio.vihuri
2010-12-22 12:20     ` [PATCH 3/3] ECI: adding platform data for ECI driver tapio.vihuri
2010-12-22 17:11     ` Randy Dunlap [this message]
2010-12-22 17:17     ` [PATCH 2/3] ECI: introducing ECI bus driver Randy Dunlap

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101222091129.da1ecb22.randy.dunlap@oracle.com \
    --to=randy.dunlap@oracle.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=ilkka.koskinen@nokia.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=samu.p.onkalo@nokia.com \
    --cc=tapio.vihuri@nokia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®