devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] add support to STM LSM6DS3-LSM6DSM 6-axis Mems sensor
@ 2016-12-10  9:02 Lorenzo Bianconi
       [not found] ` <20161210090218.4609-1-lorenzo.bianconi-qxv4g6HH51o@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Lorenzo Bianconi @ 2016-12-10  9:02 UTC (permalink / raw)
  To: jic23-DgEjT+Ai2ygdnm+yROfE0A
  Cc: linux-iio-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA, lorenzo.bianconi-qxv4g6HH51o

Changes since v2:
- improve code documentation
- improve code readability
- use spi_write() instead of spi_sync_transfer() in st_lsm6dsx_spi_write()
- use SMBus commands instead of I2C protocol
- use fifo_lock mutex to prevent concurrent access to hw FIFO instead of
  disabling/enabling irq line in st_lsm6dsx_flush_fifo()
- rename ring occurrences in buffer ones

Changes since v1:
- add sw fifo support
- drop trigger dependency
- use iio_claim_direct_mode() routine instead of grabbing the mutex directly
- use more unique prefix for all defines
- use info_mask_shared_by_all element for sampling_frequency
- use devm_iio_* routines
- use of_match_ptr instead of access directly to of_match_table
- fix device tree binding
- rename st_lsm6dsx_dev in st_lsm6dsx_hw
- cosmetics

Lorenzo Bianconi (2):
  iio: imu: add support to lsm6dsx driver
  Documentation: dt: iio: add st_lsm6dsx sensor device binding

 .../devicetree/bindings/iio/imu/st_lsm6dsx.txt     |  24 +
 drivers/iio/imu/Kconfig                            |   1 +
 drivers/iio/imu/Makefile                           |   2 +
 drivers/iio/imu/st_lsm6dsx/Kconfig                 |  23 +
 drivers/iio/imu/st_lsm6dsx/Makefile                |   5 +
 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h            | 133 +++++
 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c     | 437 ++++++++++++++
 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c       | 655 +++++++++++++++++++++
 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c        |  88 +++
 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_spi.c        | 126 ++++
 10 files changed, 1494 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/imu/st_lsm6dsx.txt
 create mode 100644 drivers/iio/imu/st_lsm6dsx/Kconfig
 create mode 100644 drivers/iio/imu/st_lsm6dsx/Makefile
 create mode 100644 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h
 create mode 100644 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c
 create mode 100644 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c
 create mode 100644 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c
 create mode 100644 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_spi.c

-- 
2.9.3

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

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

end of thread, other threads:[~2016-12-30 16:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-10  9:02 [PATCH v3 0/2] add support to STM LSM6DS3-LSM6DSM 6-axis Mems sensor Lorenzo Bianconi
     [not found] ` <20161210090218.4609-1-lorenzo.bianconi-qxv4g6HH51o@public.gmane.org>
2016-12-10  9:02   ` [PATCH v3 1/2] iio: imu: add support to lsm6dsx driver Lorenzo Bianconi
     [not found]     ` <20161210090218.4609-2-lorenzo.bianconi-qxv4g6HH51o@public.gmane.org>
2016-12-30 16:01       ` Jonathan Cameron
2016-12-10  9:02   ` [PATCH v3 2/2] Documentation: dt: iio: add st_lsm6dsx sensor device binding Lorenzo Bianconi
     [not found]     ` <20161210090218.4609-3-lorenzo.bianconi-qxv4g6HH51o@public.gmane.org>
2016-12-13 19:03       ` Rob Herring

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).