linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] mfd: cros_ec_keyb: MKBP event support
@ 2016-08-10 17:05 Enric Balletbo i Serra
  2016-08-10 17:05 ` [PATCH v2 1/2] mfd: cros_ec: Add " Enric Balletbo i Serra
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Enric Balletbo i Serra @ 2016-08-10 17:05 UTC (permalink / raw)
  To: linux-kernel, linux-input
  Cc: Dmitry Torokhov, Tomeu Vizoso, Vic Yang, Lee Jones,
	Olof Johansson, Gwendal Grignou, Brian Norris

Hi,

The cros-ec MKBP event support will be used on different EC drivers like EC
keyboard, EC USB PD and EC sensors drivers. The first attempt to merge these two
patches was within the EC USB PD series [1] sent by Tomeu Vizoso, but these
series are blocked possibly until we figure out how this maps into the proposed
type-c infraestructure.

As these patches ([2] and [3]) were a dependency for other possible patch
series and have sense send it alone, makes no sense wait for the upstreaming of
the full EC USB PD series, so I created a new patch series with only these two
patches and rid of the USB PD stuff.

Note that the following patch series apply cleanly on top of mainline plus the
patches to add support for ChromeOS EC PWM by Brian Norris [4] to avoid
conflicts and because I think are close to be accepted.

Also note that the two patches need to be taken together, massively reducing the
chances of a fail.  The chances that a) a bisect will fall exactly between the
2 patches and then b) the drivers try to handle the same interrupt at the same
time are significantly small enough for us to take that risk.

The patches were tested by myself on a Veyron Jerry checking that after some
suspend/resumes cycles the keyboard is working.

Changes since v1:
 * Rebased on top of 4.8-rc1
 * Add collected acks.

Changes:
 * Add the SoB Vic Yang
 * Rebased on top of mainline + cros_ec pwm patches, resolved the conflicts.

[1] https://lwn.net/Articles/679228/
[2] https://patchwork.kernel.org/patch/8809921/
[3] https://patchwork.kernel.org/patch/8809931/
[4] https://lwn.net/Articles/691861/

Vic Yang (2):
  mfd: cros_ec: Add MKBP event support
  Input: cros_ec_keyb - Stop handling interrupts directly

 drivers/input/keyboard/cros_ec_keyb.c   | 135 ++++++++------------------------
 drivers/mfd/cros_ec.c                   |  58 +++++++++++++-
 drivers/platform/chrome/cros_ec_proto.c |  92 ++++++++++++++++++++++
 include/linux/mfd/cros_ec.h             |  18 +++++
 include/linux/mfd/cros_ec_commands.h    |  34 ++++++++
 5 files changed, 230 insertions(+), 107 deletions(-)

-- 
2.1.0

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-08-31 11:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-10 17:05 [PATCH v2 0/2] mfd: cros_ec_keyb: MKBP event support Enric Balletbo i Serra
2016-08-10 17:05 ` [PATCH v2 1/2] mfd: cros_ec: Add " Enric Balletbo i Serra
2016-08-16 13:36   ` Lee Jones
2016-08-10 17:05 ` [PATCH v2 2/2] Input: cros_ec_keyb - Stop handling interrupts directly Enric Balletbo i Serra
2016-08-31 11:05 ` [GIT PULL] Immutable branch between MFD and Input due for the v4.9 merge window Lee Jones

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).