Skip to content

ms5611 sensor value bug fix; dt-binding fix

Mitja Spes linux-devicetree 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 Latest3 patches 10 repliesIn review
  2. v13 patches 6 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3iio: pressure: ms5611: fixed value compensation bugdrivers/iio/pressure/ms5611.h drivers/iio/pressure/ms5611_core.c+31 -322 replies
2/3iio: pressure: ms5611: changed hardcoded SPI speed to value limiteddrivers/iio/pressure/ms5611_spi.c+1 -15 replies
3/3dt-bindings: iio: pressure: meas,ms5611: add max SPI frequency to the exampleDocumentation/devicetree/bindings/iio/pressure/meas,ms5611.yaml+1 -02 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchKrzysztof Kozlowski
1/3
2/3
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] ms5611 sensor value bug fix; dt-binding fix

Subject: [PATCH 0/3] ms5611 sensor value bug fix; dt-binding fix

The first patch fixes a bug in ms5611 iio driver where PROM value compensation table was overwritten by the last initialized sensor. This in turn produced wrong values when multiple sensors were used.

Second patch removes the hardcoded SPI frequency and uses the setting from dt-bindings.

Third patch outlines the change from the second patch in the bindings example.

v2:

[PATCH 1-2]
* no change

[PATCH 3]
* corrected patch subject

Mitja Spes (3):
iio: pressure: ms5611: fixed value compensation bug
iio: pressure: ms5611: changed hardcoded SPI speed to value limited
dt-bindings: iio: pressure: meas,ms5611: add max SPI frequency to the
example

 .../bindings/iio/pressure/meas,ms5611.yaml    |  1 +
 drivers/iio/pressure/ms5611.h                 | 12 ++---
 drivers/iio/pressure/ms5611_core.c            | 51 ++++++++++---------
 drivers/iio/pressure/ms5611_spi.c             |  2 +-
 4 files changed, 33 insertions(+), 33 deletions(-)
Signature · 1 line
2.34.1