linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Convert cros-ec-i2c-tunnel to MFD Cell
@ 2019-11-25 20:47 Raul E Rangel
  2019-11-25 20:47 ` [PATCH v2 1/2] platform/chrome: cros_ec: Pass firmware node to MFD device Raul E Rangel
  2019-11-25 20:47 ` [PATCH v2 2/2] platform/chrome: i2c: i2c-cros-ec-tunnel: Convert i2c tunnel to MFD Cell Raul E Rangel
  0 siblings, 2 replies; 4+ messages in thread
From: Raul E Rangel @ 2019-11-25 20:47 UTC (permalink / raw)
  To: enric.balletbo, Wolfram Sang
  Cc: Akshu.Agrawal, Raul E Rangel, Akshu Agrawal, Guenter Roeck,
	linux-kernel, Benson Leung, Dmitry Torokhov, linux-i2c,
	Lee Jones, Benjamin Tissoires

Having the cros-ec-i2c-tunnel behave as a MFD Cell fixes a race condition
that could happen if the cros-ec-i2c-tunnel gets probed before the
cros_ec_lpc init has finished.

Changes in v2:
- Extracted platform_device_info into its own variable.
- Moved i2c tunnel into cros_ec_platform_cells
- Requires https://lkml.org/lkml/2019/11/21/208 to correctly enumerate.

Raul E Rangel (2):
  platform/chrome: cros_ec: Pass firmware node to MFD device
  platform/chrome: i2c: i2c-cros-ec-tunnel: Convert i2c tunnel to MFD
    Cell

 drivers/i2c/busses/i2c-cros-ec-tunnel.c | 36 +++++++++----------------
 drivers/mfd/cros_ec_dev.c               |  9 +++++++
 drivers/platform/chrome/cros_ec.c       | 14 +++++++---
 3 files changed, 33 insertions(+), 26 deletions(-)

-- 
2.24.0.432.g9d3f5f5b63-goog


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

end of thread, other threads:[~2019-11-28 17:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-25 20:47 [PATCH v2 0/2] Convert cros-ec-i2c-tunnel to MFD Cell Raul E Rangel
2019-11-25 20:47 ` [PATCH v2 1/2] platform/chrome: cros_ec: Pass firmware node to MFD device Raul E Rangel
2019-11-25 20:47 ` [PATCH v2 2/2] platform/chrome: i2c: i2c-cros-ec-tunnel: Convert i2c tunnel to MFD Cell Raul E Rangel
2019-11-28 17:02   ` Enric Balletbo i Serra

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