Skip to content

iio: accel: bma400: add PM_SLEEP support

Dan Robertson linux-iio 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1iio: accel: bma400: add PM_SLEEP supportdrivers/iio/accel/bma400.h drivers/iio/accel/bma400_core.c drivers/iio/accel/bma400_i2c.c +1 more+107 -304 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/1] iio: accel: bma400: add PM_SLEEP support

The following patch adds support for PM_SLEEP. I also added an attribute for manually setting the power mode similar to what the BMA180 driver provides. Feedback on this would be appreciated.

Cheers,

- Dan

Dan Robertson (1):
iio: accel: bma400: add PM_SLEEP support

 drivers/iio/accel/bma400.h      |   3 +
 drivers/iio/accel/bma400_core.c | 132 ++++++++++++++++++++++++--------
 drivers/iio/accel/bma400_i2c.c  |   1 +
 drivers/iio/accel/bma400_spi.c  |   1 +
 4 files changed, 107 insertions(+), 30 deletions(-)