Skip to content

iio: humidity: si7020: Check device property for skipping reset in probe

Eddie James linux-devicetree linux-i2c linux-iio lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 14 repliesIn review
  2. v12 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- Fix dt binding document

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: iio: humidity: Add si7020 bindingsDocumentation/devicetree/bindings/iio/humidity/silabs,si7020.yaml Documentation/devicetree/bindings/trivial-devices.yaml+47 -24 replies
2/2iio: humidity: si7020: Check device property for skipping reset in probedrivers/iio/humidity/si7020.c+8 -60 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/2] iio: humidity: si7020: Check device property for skipping reset in probe

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.

Changes since v1:
- Fix dt binding document

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  | 47 +++++++++++++++++++
 .../devicetree/bindings/trivial-devices.yaml  |  2 -
 drivers/iio/humidity/si7020.c                 | 14 +++---
 3 files changed, 55 insertions(+), 8 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/iio/humidity/silabs,si7020.yaml
Signature · 1 line
2.27.0