From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Simon Glass <sjg@chromium.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
Samuel Ortiz <sameo@linux.intel.com>,
Che-Liang Chiou <clchiou@chromium.org>,
Jonathan Kliegman <kliegs@chromium.org>,
Luigi Semenzato <semenzato@chromium.org>,
Olof Johansson <olofj@chromium.org>,
Vincent Palatin <vpalatin@chromium.org>,
Grant Likely <grant.likely@secretlab.ca>,
Rob Herring <rob.herring@calxeda.com>,
Rob Landley <rob@landley.net>,
devicetree-discuss@lists.ozlabs.org, linux-doc@vger.kernel.org
Subject: Re: [PATCH v5 2/6] mfd: Add ChromeOS EC implementation
Date: Wed, 20 Feb 2013 10:17:47 -0800 [thread overview]
Message-ID: <20130220181746.GA15152@core.coreip.homeip.net> (raw)
In-Reply-To: <1361381079-26747-3-git-send-email-sjg@chromium.org>
On Wed, Feb 20, 2013 at 09:24:35AM -0800, Simon Glass wrote:
> This is the base EC implementation, which provides a high level
> interface to the EC for use by the rest of the kernel. The actual
> communcations is dealt with by a separate protocol driver which
> registers itself with this interface.
>
> Interrupts are passed on through a notifier.
>
> A simple message structure is used to pass messages to the
> protocol driver.
> Signed-off-by: Simon Glass <sjg@chromium.org>
> Signed-off-by: Che-Liang Chiou <clchiou@chromium.org>
> Signed-off-by: Jonathan Kliegman <kliegs@chromium.org>
> Signed-off-by: Luigi Semenzato <semenzato@chromium.org>
> Signed-off-by: Olof Johansson <olofj@chromium.org>
> Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
...
>
> +config MFD_CROS_EC
> + bool "Support ChromeOS Embedded Controller"
> + help
> + If you say Y here you get support for the ChromeOS Embedded
> + Controller (EC) providing keyboard, battery and power services.
> + You also ned to enable the driver for the bus you are using. The
> + protocol for talking to the EC is defined by the bus driver.
Why can't it be a module?
> +
> +#ifndef __LINUX_MFD_CROS_EC_H
> +#define __LINUX_MFD_CROS_EC_H
> +
> +struct i2c_msg;
I do not believe this is needed here.
Thanks.
--
Dmitry
next prev parent reply other threads:[~2013-02-20 18:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-20 17:24 [PATCH v5 0/6] Add ChromeOS Embedded Controller support Simon Glass
2013-02-20 17:24 ` [PATCH v5 2/6] mfd: Add ChromeOS EC implementation Simon Glass
2013-02-20 18:17 ` Dmitry Torokhov [this message]
[not found] ` <1361381079-26747-1-git-send-email-sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
2013-02-20 17:24 ` [PATCH v5 6/6] Input: Add ChromeOS EC keyboard driver Simon Glass
2013-02-20 18:21 ` Dmitry Torokhov
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=20130220181746.GA15152@core.coreip.homeip.net \
--to=dmitry.torokhov@gmail.com \
--cc=clchiou@chromium.org \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=grant.likely@secretlab.ca \
--cc=kliegs@chromium.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=olofj@chromium.org \
--cc=rob.herring@calxeda.com \
--cc=rob@landley.net \
--cc=sameo@linux.intel.com \
--cc=semenzato@chromium.org \
--cc=sjg@chromium.org \
--cc=vpalatin@chromium.org \
/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;
as well as URLs for NNTP newsgroup(s).