Re: [RFC] Driver for lis331dlh

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

 



On 01/02/13 12:02, Lars-Peter Clausen wrote:
On 02/01/2013 12:45 PM, Manuel Stahl wrote:
The following patch adds support for the ST Microelectronics lis331dlh accelerometer.
It is very similar to the lis3l02dq driver in staging (but updated to the current API)
and there is also a driver in misc supporting a larger range of these devices.
So sure, these should be merged, but I'm not sure how to do it properly.


Hi Manuel,

We recently merged the generic ST Microelectronics accelerometer driver, which
also has, as far as I can see, support for the lis331dlh.

See http://www.spinics.net/lists/linux-iio/msg07608.html
Guess the answer to my question is nothing at all needs adding then.
Sorry, didn't think to check if it was already there.
Denis is looking into supporting the lis3l02dq so we can kill that driver off and just have to handle the driver in misc. For that
we need to have a detailed discussion on their interfaces and how
we maintain them going forward (what fun).

Jonathan


Manuel Stahl (1):
   iio: accel: Add driver for lis331dlh

  drivers/iio/Kconfig                  |    1 +
  drivers/iio/accel/Kconfig            |   16 ++
  drivers/iio/accel/Makefile           |    5 +
  drivers/iio/accel/lis331dlh_buffer.c |  132 +++++++++++
  drivers/iio/accel/lis331dlh_core.c   |  429 ++++++++++++++++++++++++++++++++++
  drivers/iio/accel/lis331dlh_i2c.c    |  150 ++++++++++++
  drivers/iio/accel/lis331dlh_spi.c    |  129 ++++++++++
  include/linux/iio/accel/lis331dlh.h  |  243 +++++++++++++++++++
  8 files changed, 1105 insertions(+), 0 deletions(-)
  create mode 100644 drivers/iio/accel/lis331dlh_buffer.c
  create mode 100644 drivers/iio/accel/lis331dlh_core.c
  create mode 100644 drivers/iio/accel/lis331dlh_i2c.c
  create mode 100644 drivers/iio/accel/lis331dlh_spi.c
  create mode 100644 include/linux/iio/accel/lis331dlh.h


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


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


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux