Skip to content

iio: sx9500: power usage and gpio changes

Vlad Dogaru linux-iio 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 5 repliesIn review
  2. v23 patches 1 replySuperseded
  3. v16 patches 9 repliesApplied

Changes in v3 from the cover letter

- don't reformat code in a patch that also changes functionality.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3iio: sx9500: optimize power usagedrivers/iio/proximity/sx9500.c+311 -573 replies
2/3iio: sx9500: refactor GPIO interrupt codedrivers/iio/proximity/sx9500.c+10 -171 reply
3/3iio: sx9500: add GPIO reset pindrivers/iio/proximity/sx9500.c+20 -21 reply

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/3] iio: sx9500: power usage and gpio changes

The meaty patch is the first one, making the chip use exactly as much power as needed. The other two are a code cleanup and the addition of an optional GPIO reset pin.

Changes since v2:
- don't reformat code in a patch that also changes functionality.

Changes since v1:
- having an interrupt is now optional. If none is available, raw reads just sleep for the amount of time defined in the datasheet before reading registers.

Vlad Dogaru (3):
iio: sx9500: optimize power usage
iio: sx9500: refactor GPIO interrupt code
iio: sx9500: add GPIO reset pin

 drivers/iio/proximity/sx9500.c | 415 +++++++++++++++++++++++++++++++++--------
 1 file changed, 340 insertions(+), 75 deletions(-)
Signature · 1 line
1.9.1