Skip to content

iio:st_pressure: improvements

Gregor Boirie linux-iio 2 versions – Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 14 repliesApplied
  2. v17 patches 6 repliesSuperseded

Changes in v2 from the cover letter

* drop first patch since already applied
* comment skipping of timestamping channel at setup time
* remove useless channel initializers

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/7iio:st_sensors: align on storagebits boundariesdrivers/iio/common/st_sensors/st_sensors_buffer.c drivers/iio/common/st_sensors/st_sensors_core.c+19 -201 reply
2/7iio:st_pressure: align storagebits on power of 2drivers/iio/pressure/st_pressure_core.c+2 -21 reply
3/7iio:st_pressure: document sampling gainsdrivers/iio/pressure/st_pressure_core.c+88 -46 replies
4/7iio:st_pressure: temperature triggered bufferingdrivers/iio/pressure/st_pressure_core.c+13 -91 reply
5/7iio:st_pressure:lps22hb: open drain supportdrivers/iio/pressure/st_pressure_core.c+5 -01 reply
6/7iio:st_pressure:lps22hb: temperature supportdrivers/iio/pressure/st_pressure_core.c+23 -31 reply
7/7iio:st_pressure: clean useless static channel initializersdrivers/iio/pressure/st_pressure_core.c+0 -102 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by.

PatchLinus Walleij
SeriesT-b
1/7
2/7
3/7
4/7
5/7
6/7
7/7

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/7] iio:st_pressure: improvements

This follows up on various comments related to the preliminary patch series found at http://www.spinics.net/lists/linux-iio/msg24239.html

Note ! Note ! First patch reworks the way triggered buffering is done and will affect other st_sensors. If anyone owning one of these could run some tests, I'd be glad to get some feedback.

What you'll find here :
* make st_pressure sensors compliant with IIO ABI ;
* fix the way st_sensors samples are stored in memory to comply with IIO expected alignment constraints ;
* add support for temperature triggered buffering ;
* enhance LPS22HB support.

Changes since v1 :
* drop first patch since already applied
* comment skipping of timestamping channel at setup time
* remove useless channel initializers

Changes since preliminary series :
* drop patches already applied onto testing branch
* 1st patch is a rebase of Jonathan's fixes-togreg branch d43a411 commit onto testing branch
* reorder patches to move fix patches ahead of series
* document sampling gains and datasheets in a separate patch
* rebase of other patches on top of testing branch
* complete LPS22HB support with Linus' open drain mode

Tested with the following Linus' fixes-togreg branch patches applied :
9914760 iio: st_sensors: Disable DRDY at init time
ff05916 iio: st_sensors: Init trigger before irq request 65925b6 iio: st_sensors: switch to a threaded interrupt

Regards,
gregor.

Gregor Boirie (7):
iio:st_sensors: align on storagebits boundaries iio:st_pressure: align storagebits on power of 2 iio:st_pressure: document sampling gains iio:st_pressure: temperature triggered buffering iio:st_pressure:lps22hb: open drain support iio:st_pressure:lps22hb: temperature support iio:st_pressure: clean useless static channel initializers

 drivers/iio/common/st_sensors/st_sensors_buffer.c |  37 +++---
 drivers/iio/common/st_sensors/st_sensors_core.c   |   2 +-
 drivers/iio/pressure/st_pressure_core.c           | 155 ++++++++++++++++++----
 3 files changed, 148 insertions(+), 46 deletions(-)
Signature · 1 line
2.1.4