[PATCH v2 0/6] iio: bmi160: cleanups and hardware fifo support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

This patch series consists of cleanups, of device tables, device-tree
bindings documentation and finally support for hardware FIFO.

Patches have been rebased and tested on 4.9.0-rc8.

Changes v1 -> v2:
 * add of device tables for spi and i2c (suggested by Jonathan)
 * device-tree bindings documentation: remove "gpio" keyword from
   interrupts property description, describe "INT1" and "INT2" cases
   for interrupt-names property (suggested by Rob)
 * introduce mutex protection of data transmission as a separate patch
   (suggested by Peter)
 * fix time needed to sleep after command execution
 * add __ prefix to all functions that should be called with mutex held
   (suggested by Peter)
 * get rid of non-constant array size (suggested by Peter)
 * disable irq on init failure and module removal (suggested by Peter)
 * make bmi160_buffer_predisable() the reverse order of the
   bmi160_buffer_postenable() (suggested by Jonathan)
 * remove realignment for iio_info structs (suggested by Jonathan)

Marcin Niestroj (6):
  iio: bmi160: Add of device table for i2c
  iio: bmi160: Add of device table for spi
  Documentation: DT: Add bmi160 imu binding
  iio: bmi160: Protect data transmission with mutex
  iio: bmi160: Fix time needed to sleep after command execution
  iio: bmi160: Support hardware fifo

 .../devicetree/bindings/iio/imu/bmi160.txt         |  36 ++
 drivers/iio/imu/bmi160/bmi160.h                    |   3 +-
 drivers/iio/imu/bmi160/bmi160_core.c               | 678 +++++++++++++++++++--
 drivers/iio/imu/bmi160/bmi160_i2c.c                |  21 +-
 drivers/iio/imu/bmi160/bmi160_spi.c                |  21 +-
 5 files changed, 711 insertions(+), 48 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/iio/imu/bmi160.txt

-- 
2.10.2

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux