devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] iio: humidity: si7020: Check device property for skipping reset in probe
@ 2022-05-11 19:08 Eddie James
  2022-05-11 19:08 ` [PATCH 1/2] dt-bindings: iio: humidity: Add si7020 bindings Eddie James
  2022-05-11 19:08 ` [PATCH 2/2] iio: humidity: si7020: Check device property for skipping reset in probe Eddie James
  0 siblings, 2 replies; 8+ messages in thread
From: Eddie James @ 2022-05-11 19:08 UTC (permalink / raw)
  To: linux-iio
  Cc: linux-kernel, devicetree, jic23, lars, robh+dt,
	krzysztof.kozlowski+dt, dbarksdale, eajames

I2C commands issued after the SI7020 is starting up or after reset
can potentially upset the startup sequence. Therefore, the host
needs to wait for the startup sequence to finish before issuing
further i2c commands. This is impractical in cases where the SI7020
is on a shared bus or behind a mux, which may switch channels at
any time (generating I2C traffic). Therefore, check for a device
property that indicates that the driver should skip resetting the
device when probing.

Eddie James (2):
  dt-bindings: iio: humidity: Add si7020 bindings
  iio: humidity: si7020: Check device property for skipping reset in probe

 .../bindings/iio/humidity/silabs,si7020.yaml  | 42 +++++++++++++++++++
 drivers/iio/humidity/si7020.c                 | 14 ++++---
 2 files changed, 50 insertions(+), 6 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/iio/humidity/silabs,si7020.yaml

-- 
2.27.0


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

end of thread, other threads:[~2022-05-13  8:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-11 19:08 [PATCH 0/2] iio: humidity: si7020: Check device property for skipping reset in probe Eddie James
2022-05-11 19:08 ` [PATCH 1/2] dt-bindings: iio: humidity: Add si7020 bindings Eddie James
2022-05-11 22:08   ` Eddie James
2022-05-13  8:49     ` Krzysztof Kozlowski
2022-05-12 13:49   ` Rob Herring
2022-05-13  8:48   ` Krzysztof Kozlowski
2022-05-13  8:50   ` Krzysztof Kozlowski
2022-05-11 19:08 ` [PATCH 2/2] iio: humidity: si7020: Check device property for skipping reset in probe Eddie James

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