Re: [RFC] Driver for lis331dlh

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

 



On 01/02/13 12:00, Jonathan Cameron wrote:
On 01/02/13 11:45, 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.
Just to make it more 'exciting' I have a driver from Denis queued up to
handle a whole load of ST sensors. The intent there is to eventually
cover all this sort of part.  So Denis, what is needed to add support
for this chip? I would imagine, not a whole lot.
Forgot to say. The driver in question is in the togreg branch
of iio.git on kernel.org. I'll be sending it to Greg sometime over
the weekend I expect.

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