public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] platform/chrome: cros_ec: improve probing for RWSIG
@ 2024-12-06  9:15 Dawid Niedzwiecki
  2024-12-06  9:15 ` [PATCH v3 1/2] platform/chrome: cros_ec: jump to RW before probing Dawid Niedzwiecki
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Dawid Niedzwiecki @ 2024-12-06  9:15 UTC (permalink / raw)
  To: Tzung-Bi Shih, Benson Leung
  Cc: chrome-platform, linux-kernel, chromeos-krk-upstreaming,
	Dawid Niedzwiecki

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

-- 
2.47.0.338.g60cca15819-goog


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

end of thread, other threads:[~2024-12-09  2:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-06  9:15 [PATCH v3 0/2] platform/chrome: cros_ec: improve probing for RWSIG Dawid Niedzwiecki
2024-12-06  9:15 ` [PATCH v3 1/2] platform/chrome: cros_ec: jump to RW before probing Dawid Niedzwiecki
2024-12-06  9:15 ` [PATCH v3 2/2] platform/chrome: cros_ec_proto: remove unnecessary retries Dawid Niedzwiecki
2024-12-09  2:20 ` [PATCH v3 0/2] platform/chrome: cros_ec: improve probing for RWSIG Tzung-Bi Shih

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox