linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4]iio: STMicroelectronics DT and event support
@ 2013-07-02 12:15 Lukasz Czerwinski
  2013-07-02 12:15 ` [PATCH 1/4] iio: st_sensors: Add DT bindings for st_accel and st_gyro Lukasz Czerwinski
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Lukasz Czerwinski @ 2013-07-02 12:15 UTC (permalink / raw)
  To: jic23, denis.ciocca; +Cc: linux-iio, devicetree-discuss, Lukasz Czerwinski

Hi,

This is the patchset that adds device tree and event subsytem support
for generic st_common library.

I tested our patches with Exynos4x12 board. We tested sensors:
- LSM330DLC accelerometer and gyroscope (I2C)
- LPS331AP pressure sensor (I2C)

Generally it works fine.
I couldn't implement event patch for lsm330dlc gyroscope because I
don't have connected INT1 pin to SoC.

My implementation allows to use event system or triggered buffer by
proper declaration of irqs in device tree/platform data.

Jacek Anaszewski (1):
  iio: lps331ap: Add support for DT

Lukasz Czerwinski (3):
  iio: st_sensors:  Add DT bindings for st_accel and st_gyro
  iio: st_sensors: Add threshold events support
  iio: accel: Add event subsystem to st_accel driver

 .../bindings/iio/accelerometer/st_accel.txt        |   54 +++++
 .../devicetree/bindings/iio/gyroscope/st_gyro.txt  |   51 +++++
 .../bindings/iio/pressure/st_pressure.txt          |   41 ++++
 drivers/iio/accel/st_accel.h                       |   19 +-
 drivers/iio/accel/st_accel_core.c                  |  159 +++++++++++++-
 drivers/iio/accel/st_accel_i2c.c                   |   19 +-
 drivers/iio/accel/st_accel_spi.c                   |   19 +-
 drivers/iio/common/st_sensors/st_sensors_core.c    |  225 +++++++++++++++++++-
 drivers/iio/common/st_sensors/st_sensors_i2c.c     |   59 ++++-
 drivers/iio/common/st_sensors/st_sensors_spi.c     |   59 ++++-
 drivers/iio/gyro/st_gyro.h                         |   15 +-
 drivers/iio/gyro/st_gyro_core.c                    |    8 +-
 drivers/iio/gyro/st_gyro_i2c.c                     |   18 +-
 drivers/iio/gyro/st_gyro_spi.c                     |   18 +-
 drivers/iio/magnetometer/st_magn.h                 |    3 +-
 drivers/iio/magnetometer/st_magn_core.c            |    5 +-
 drivers/iio/magnetometer/st_magn_i2c.c             |    2 +-
 drivers/iio/magnetometer/st_magn_spi.c             |    2 +-
 drivers/iio/pressure/st_pressure.h                 |    3 +-
 drivers/iio/pressure/st_pressure_core.c            |   12 +-
 drivers/iio/pressure/st_pressure_i2c.c             |   11 +-
 drivers/iio/pressure/st_pressure_spi.c             |   11 +-
 include/linux/iio/common/st_sensors.h              |   88 +++++++-
 include/linux/platform_data/st_sensors_pdata.h     |    2 +
 24 files changed, 837 insertions(+), 66 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/iio/accelerometer/st_accel.txt
 create mode 100644 Documentation/devicetree/bindings/iio/gyroscope/st_gyro.txt
 create mode 100644 Documentation/devicetree/bindings/iio/pressure/st_pressure.txt

-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2013-09-17 18:36 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-02 12:15 [PATCH 0/4]iio: STMicroelectronics DT and event support Lukasz Czerwinski
2013-07-02 12:15 ` [PATCH 1/4] iio: st_sensors: Add DT bindings for st_accel and st_gyro Lukasz Czerwinski
2013-07-02 12:15 ` [PATCH 2/4] iio: st_sensors: Add threshold events support Lukasz Czerwinski
2013-08-04 14:55   ` Jonathan Cameron
2013-09-17  9:51     ` Łukasz Czerwiński
2013-09-17 19:36       ` Jonathan Cameron
2013-07-02 12:15 ` [PATCH 3/4] iio: accel: Add event subsystem to st_accel driver Lukasz Czerwinski
2013-08-04 16:02   ` Jonathan Cameron
2013-07-02 12:15 ` [PATCH 4/4] iio: lps331ap: Add support for DT Lukasz Czerwinski
2013-07-02 12:56   ` Lars-Peter Clausen
2013-07-16 13:22   ` Maxime Ripard
2013-08-29 15:25 ` [PATCH 0/4]iio: STMicroelectronics DT and event support Denis CIOCCA
2013-08-30  7:06   ` Lee Jones
2013-08-30  8:07     ` Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).