[PATCH v2 00/12][Xenial SRU]UBUNTU:SAUCE: lng2dm 3-axis

Shrirang Bagul shrirang.bagul at canonical.com
Fri Dec 16 10:05:29 UTC 2016


BugLink: http://bugs.launchpad.net/bugs/1650112

Dell Caracalla Edge gateways have lng2dm 3-axis accelerometer on board.
The following patches add kernel driver support for this sensor.

Instead of backporting patches only for lng2dm, this v2 patchset fetches
all the updates leading to the sensor driver. These patches were tested on
the Caracalla gateway system.

Giuseppe Barba (1):
  iio: st-accel: add support for lis2dh12

Gregor Boirie (1):
  iio:st_sensors: fix power regulator usage

Jonathan Cameron (1):
  iio: accel: st_accel: Add lis3l02dq support

Linus Walleij (5):
  iio: st_sensors: support active-low interrupts
  iio: st_sensors: verify interrupt event to status
  iio: st_sensors: support open drain mode
  iio: st_sensors: switch to a threaded interrupt
  iio: accel: st_accel: inline per-sensor data

Lorenzo Bianconi (3):
  iio: st_sensors: fix scale configuration for h3lis331dl
  iio: accel: st_accel: add support to lng2dm
  Documentation: dt: iio: accel: add lng2dm sensor device binding

Tiberiu Breana (1):
  iio: accel: Add support for the h3lis331dl accelerometer

 .../devicetree/bindings/iio/st-sensors.txt         |   7 +
 drivers/iio/accel/Kconfig                          |   3 +-
 drivers/iio/accel/st_accel.h                       |   4 +
 drivers/iio/accel/st_accel_buffer.c                |   2 +-
 drivers/iio/accel/st_accel_core.c                  | 614 ++++++++++++---------
 drivers/iio/accel/st_accel_i2c.c                   |  19 +
 drivers/iio/accel/st_accel_spi.c                   |   3 +
 drivers/iio/common/st_sensors/st_sensors_buffer.c  |   9 +-
 drivers/iio/common/st_sensors/st_sensors_core.c    |  93 +++-
 drivers/iio/common/st_sensors/st_sensors_core.h    |   8 +
 drivers/iio/common/st_sensors/st_sensors_trigger.c | 147 ++++-
 drivers/iio/gyro/st_gyro_buffer.c                  |   2 +-
 drivers/iio/gyro/st_gyro_core.c                    |  31 +-
 drivers/iio/magnetometer/st_magn_buffer.c          |   2 +-
 drivers/iio/magnetometer/st_magn_core.c            |  18 +-
 drivers/iio/pressure/st_pressure_buffer.c          |   2 +-
 drivers/iio/pressure/st_pressure_core.c            |  31 +-
 include/linux/iio/common/st_sensors.h              |  24 +-
 include/linux/platform_data/st_sensors_pdata.h     |   2 +
 19 files changed, 700 insertions(+), 321 deletions(-)
 create mode 100644 drivers/iio/common/st_sensors/st_sensors_core.h

-- 
2.9.3





More information about the kernel-team mailing list