[PATCH v2 0/2] Convert cros-ec-i2c-tunnel to MFD Cell

From: Raul E Rangel
Date: Mon Nov 25 2019 - 15:47:39 EST


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