Skip to content

platform/chrome: cros_ec: improve probing for RWSIG

Dawid Niedzwiecki chrome-platform lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 1 replyIn review
  2. v22 patches 2 repliesSuperseded
  3. v12 patches 2 repliesSuperseded

Changes in v3 from the cover letter

- Move exiting from cros_ec_rwsig_continue if error_count exceeds RWSIG_CONTINUE_MAX_ERRORS_IN_ROW to the if (rev < 0) statement when error_count is incremented.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2platform/chrome: cros_ec: jump to RW before probingdrivers/platform/chrome/cros_ec.c drivers/platform/chrome/cros_ec_i2c.c drivers/platform/chrome/cros_ec_ishtp.c +6 more+74 -60 replies
2/2platform/chrome: cros_ec_proto: remove unnecessary retriesdrivers/platform/chrome/cros_ec_proto.c+0 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/2] platform/chrome: cros_ec: improve probing for RWSIG

V2 -> V3:
- Move exiting from cros_ec_rwsig_continue if error_count exceeds RWSIG_CONTINUE_MAX_ERRORS_IN_ROW to the if (rev < 0) statement when error_count is incremented.

V1 -> V2:
- Use dev_info instead of dev_warn when cros_ec_rwsig_continue returns an error.
- Return immediately from cros_ec_rwsig_continue, if the RWSIG_ACTION command fails itself, not SPI transaction.

Dawid Niedzwiecki (2):
platform/chrome: cros_ec: jump to RW before probing platform/chrome: cros_ec_proto: remove unnecessary retries

 drivers/platform/chrome/cros_ec.c           |  5 ++
 drivers/platform/chrome/cros_ec_i2c.c       |  3 +-
 drivers/platform/chrome/cros_ec_ishtp.c     |  2 +-
 drivers/platform/chrome/cros_ec_lpc.c       |  2 +-
 drivers/platform/chrome/cros_ec_proto.c     | 69 ++++++++++++++++++---
 drivers/platform/chrome/cros_ec_rpmsg.c     |  2 +-
 drivers/platform/chrome/cros_ec_spi.c       |  2 +-
 drivers/platform/chrome/cros_ec_uart.c      |  2 +-
 include/linux/platform_data/cros_ec_proto.h |  2 +
 9 files changed, 74 insertions(+), 15 deletions(-)
Signature · 1 line
2.47.0.338.g60cca15819-goog