[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220511190835.51046-1-eajames@linux.ibm.com>
Date: Wed, 11 May 2022 14:08:33 -0500
From: Eddie James <eajames@...ux.ibm.com>
To: linux-iio@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
jic23@...nel.org, lars@...afoo.de, robh+dt@...nel.org,
krzysztof.kozlowski+dt@...aro.org, dbarksdale@...ogix.com,
eajames@...ux.ibm.com
Subject: [PATCH 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.
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
Powered by blists - more mailing lists