From: Paul Bolle <pebolle@tiscali.nl>
To: Bill Richardson <wfrichar@chromium.org>,
Doug Anderson <dianders@chromium.org>,
Simon Glass <sjg@chromium.org>, Lee Jones <lee.jones@linaro.org>
Cc: swarren@nvidia.com, wsa@the-dreams.de, abrestic@chromium.org,
dgreid@chromium.org, olof@lixom.net, sameo@linux.intel.com,
linux-samsung-soc@vger.kernel.org, linux-tegra@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 5/7] mfd: cros_ec: Sync to the latest cros_ec_commands.h from EC sources
Date: Wed, 11 Jun 2014 12:37:48 +0200 [thread overview]
Message-ID: <1402483068.3798.82.camel@x220> (raw)
In-Reply-To: <20140520084602.GF24991@lee--X1>
On Tue, 2014-05-20 at 09:46 +0100, Lee Jones wrote:
> On Wed, 30 Apr 2014, Doug Anderson wrote:
> > From: Bill Richardson <wfrichar@chromium.org>
> >
> > This just updates include/linux/mfd/cros_ec_commands.h to match the
> > latest EC version (which is the One True Source for such things). See
> > <https://chromium.googlesource.com/chromiumos/platform/ec>
> >
> > [dianders: took today's ToT version from the Chromium OS EC; deleted
> > references to cros_ec_dev and cros_ec_lpc since those aren't upstream
> > yet]
> >
> > Signed-off-by: Bill Richardson <wfrichar@chromium.org>
> > Signed-off-by: Doug Anderson <dianders@chromium.org>
> > Acked-by: Lee Jones <lee.jones@linaro.org>
> > Reviewed-by: Simon Glass <sjg@chromium.org>
> > Tested-by: Andrew Bresticker <abrestic@chromium.org>
> > Tested-by: Stephen Warren <swarren@nvidia.com>
> > ---
> > Changes in v3: None
> > Changes in v2: None
> >
> > drivers/mfd/cros_ec.c | 2 +-
> > include/linux/mfd/cros_ec.h | 4 +-
> > include/linux/mfd/cros_ec_commands.h | 1128 +++++++++++++++++++++++++++++++---
> > 3 files changed, 1059 insertions(+), 75 deletions(-)
>
> Applied, thanks.
This patch is included in linux-next since next-20140521. I'm not sure
why I waited three weeks before sending this question...
> > [...]
> > diff --git a/include/linux/mfd/cros_ec_commands.h b/include/linux/mfd/cros_ec_commands.h
> > index 86fd069..7853a64 100644
> > --- a/include/linux/mfd/cros_ec_commands.h
> > +++ b/include/linux/mfd/cros_ec_commands.h
>> [...]
> > @@ -1206,14 +1865,231 @@ struct ec_params_force_idle {
> > [...]
> > +/*
> > + * Known param numbers are defined here. Ranges are reserved for board-specific
> > + * params, which are handled by the particular implementations.
> > + */
> > +enum charge_state_params {
> > + CS_PARAM_CHG_VOLTAGE, /* charger voltage limit */
> > + CS_PARAM_CHG_CURRENT, /* charger current limit */
> > + CS_PARAM_CHG_INPUT_CURRENT, /* charger input current limit */
> > + CS_PARAM_CHG_STATUS, /* charger-specific status */
> > + CS_PARAM_CHG_OPTION, /* charger-specific options */
> > + /* How many so far? */
> > + CS_NUM_BASE_PARAMS,
> > +
> > + /* Range for CONFIG_CHARGER_PROFILE_OVERRIDE params */
CONFIG_CHARGER_PROFILE_OVERRIDE doesn't match anything in linux-next. Is
a Kconfig symbol CHARGER_PROFILE_OVERRIDE perhaps queued somewhere?
> > + CS_PARAM_CUSTOM_PROFILE_MIN = 0x10000,
> > + CS_PARAM_CUSTOM_PROFILE_MAX = 0x1ffff,
> > +
I guess so, because these two constants aren't used anywhere.
> > + /* Other custom param ranges go here... */
> > +};
> > [...]
Thanks,
Paul Bolle
next prev parent reply other threads:[~2014-06-11 10:37 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-30 17:44 [PATCH v3 0/7] Add cros_ec changes for newer boards Doug Anderson
2014-04-30 17:44 ` [PATCH v3 1/7] mfd: cros_ec: spi: calculate delay between transfers correctly Doug Anderson
2014-05-20 8:43 ` Lee Jones
2014-04-30 17:44 ` [PATCH v3 3/7] mfd: cros_ec: spi: Make the cros_ec_spi timeout more reliable Doug Anderson
[not found] ` <1398879850-9111-4-git-send-email-dianders-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
2014-05-20 8:45 ` Lee Jones
2014-04-30 17:44 ` [PATCH v3 4/7] mfd: cros_ec: spi: Increase cros_ec_spi deadline from 5ms to 100ms Doug Anderson
2014-05-20 8:45 ` Lee Jones
2014-04-30 17:44 ` [PATCH v3 5/7] mfd: cros_ec: Sync to the latest cros_ec_commands.h from EC sources Doug Anderson
2014-05-20 8:46 ` Lee Jones
2014-06-11 10:37 ` Paul Bolle [this message]
2014-06-11 15:11 ` Doug Anderson
[not found] ` <CAD=FV=XL9tnEqza8Zx8mt_Z7-bj8TCzdeyHMhnpewKp_1CR-ig-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-06-13 8:08 ` Paul Bolle
2014-06-13 15:22 ` Doug Anderson
2014-06-17 8:53 ` Paul Bolle
2014-06-17 16:20 ` Stephen Warren
[not found] ` <53A06AD4.3000704-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2014-06-17 16:43 ` Paul Bolle
[not found] ` <1398879850-9111-1-git-send-email-dianders-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
2014-04-30 17:44 ` [PATCH v3 2/7] mfd: cros_ec: spi: Add mutex to cros_ec_spi Doug Anderson
2014-05-20 8:44 ` Lee Jones
2014-04-30 17:44 ` [PATCH v3 6/7] i2c: ChromeOS EC tunnel driver Doug Anderson
2014-05-01 19:05 ` Stephen Warren
2014-05-19 10:50 ` Wolfram Sang
2014-05-19 17:22 ` Lee Jones
2014-05-19 22:19 ` Wolfram Sang
2014-05-20 8:43 ` Lee Jones
[not found] ` <1398879850-9111-7-git-send-email-dianders-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
2014-05-20 8:47 ` Lee Jones
2014-05-20 17:35 ` Stephen Warren
2014-04-30 17:44 ` [PATCH v3 7/7] ARM: tegra: Add the EC i2c tunnel to tegra124-venice2 Doug Anderson
2014-05-01 19:06 ` Stephen Warren
[not found] ` <53629B29.3050702-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2014-05-20 8:48 ` Lee Jones
2014-06-16 19:01 ` Stephen Warren
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=1402483068.3798.82.camel@x220 \
--to=pebolle@tiscali.nl \
--cc=abrestic@chromium.org \
--cc=dgreid@chromium.org \
--cc=dianders@chromium.org \
--cc=lee.jones@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=olof@lixom.net \
--cc=sameo@linux.intel.com \
--cc=sjg@chromium.org \
--cc=swarren@nvidia.com \
--cc=wfrichar@chromium.org \
--cc=wsa@the-dreams.de \
/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