linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/17] KCSD9 driver cleanup and modernization
@ 2016-08-16 13:33 Linus Walleij
  2016-08-16 13:33 ` [PATCH 01/17] iio: accel: kxsd9: Add device tree bindings Linus Walleij
                   ` (16 more replies)
  0 siblings, 17 replies; 38+ messages in thread
From: Linus Walleij @ 2016-08-16 13:33 UTC (permalink / raw)
  To: Jonathan Cameron, linux-iio; +Cc: Linus Walleij

This patch series:

- Fixes a bunch of bugs in the KXSD9 driver.

- Make the KXSD9 driver actually report m/s^2 and removes
  a fat offset.

- Adds I2C support.

- Adds triggered buffer handling.

- Adds system and runtime PM.

- Adds support for the mounting matrix.

- Adds device tree bindings.

- Misc cleanup.

Some of it should arguably go into stable but I am pretty well
convinced that this driver is in use by one person in the world:
me.

Jonathan: if you wanna try it on your SPI-based KXSD9 (if it
doesn't work I am pretty sure all fixing just need to happen in
kxsd9-spi.c) go ahead, but unless there is some horrific problem
with any of the patches and you don't have time to test it on
SPI I would just take them and run ;)

Linus Walleij (17):
  iio: accel: kxsd9: Add device tree bindings
  iio: accel: kxsd9: Fix raw read return
  iio: accel: kxsd9: Split out transport mechanism
  iio: accel: kxsd9: Use devm_iio_device_register()
  iio: accel: kxsd9: Split out SPI transport
  iio: accel: kxsd9: Do away with the write2 helper
  iio: accel: kxsd9: Convert to use regmap for transport
  iio: accel: kxsd9: Add I2C transport
  iio: accel: kxsd9: Drop the buffer lock
  iio: accel: kxsd9: Fix scaling bug
  iio: accel: kxsd9: Fix up offset and scaling
  iio: accel: kxsd9: Add triggered buffer handling
  iio: accel: kxsd9: Deploy proper register bit defines
  iio: accel: kxsd9: Fetch and handle regulators
  iio: accel: kxsd9: Replace "parent" with "dev"
  iio: accel: kxsd9: Deploy system and runtime PM
  iio: accel: kxsd9: Support reading a mounting matrix

 .../devicetree/bindings/iio/accel/kionix,kxsd9.txt |  22 ++
 drivers/iio/accel/Kconfig                          |  25 +-
 drivers/iio/accel/Makefile                         |   2 +
 drivers/iio/accel/kxsd9-i2c.c                      |  64 +++
 drivers/iio/accel/kxsd9-spi.c                      |  56 +++
 drivers/iio/accel/kxsd9.c                          | 438 ++++++++++++++++-----
 drivers/iio/accel/kxsd9.h                          |  12 +
 7 files changed, 522 insertions(+), 97 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/iio/accel/kionix,kxsd9.txt
 create mode 100644 drivers/iio/accel/kxsd9-i2c.c
 create mode 100644 drivers/iio/accel/kxsd9-spi.c
 create mode 100644 drivers/iio/accel/kxsd9.h

-- 
2.7.4

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

end of thread, other threads:[~2016-09-01  8:43 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-16 13:33 [PATCH 00/17] KCSD9 driver cleanup and modernization Linus Walleij
2016-08-16 13:33 ` [PATCH 01/17] iio: accel: kxsd9: Add device tree bindings Linus Walleij
2016-08-18 19:21   ` Rob Herring
2016-08-21 19:41     ` Jonathan Cameron
2016-08-16 13:33 ` [PATCH 02/17] iio: accel: kxsd9: Fix raw read return Linus Walleij
     [not found]   ` <DE81936B-E9FB-40A1-A139-9BCA6841C11F@kernel.org>
2016-08-17  7:15     ` Linus Walleij
2016-08-21 19:40       ` Jonathan Cameron
2016-08-21 19:43   ` Jonathan Cameron
2016-08-16 13:33 ` [PATCH 03/17] iio: accel: kxsd9: Split out transport mechanism Linus Walleij
2016-08-16 13:53   ` Peter Meerwald-Stadler
2016-08-17  7:18     ` Linus Walleij
2016-08-31 19:29       ` Jonathan Cameron
2016-08-16 13:33 ` [PATCH 04/17] iio: accel: kxsd9: Use devm_iio_device_register() Linus Walleij
2016-08-16 13:33 ` [PATCH 05/17] iio: accel: kxsd9: Split out SPI transport Linus Walleij
2016-08-31 19:35   ` Jonathan Cameron
2016-08-16 13:33 ` [PATCH 06/17] iio: accel: kxsd9: Do away with the write2 helper Linus Walleij
2016-08-31 19:43   ` Jonathan Cameron
2016-08-16 13:33 ` [PATCH 07/17] iio: accel: kxsd9: Convert to use regmap for transport Linus Walleij
2016-08-21 19:49   ` Jonathan Cameron
2016-08-31 19:43   ` Jonathan Cameron
2016-08-16 13:33 ` [PATCH 08/17] iio: accel: kxsd9: Add I2C transport Linus Walleij
2016-08-16 13:33 ` [PATCH 09/17] iio: accel: kxsd9: Drop the buffer lock Linus Walleij
2016-08-31 19:45   ` Jonathan Cameron
2016-08-16 13:33 ` [PATCH 10/17] iio: accel: kxsd9: Fix scaling bug Linus Walleij
2016-08-31 19:47   ` Jonathan Cameron
2016-09-01  8:43     ` Linus Walleij
2016-08-16 13:33 ` [PATCH 11/17] iio: accel: kxsd9: Fix up offset and scaling Linus Walleij
2016-08-16 13:58   ` Peter Meerwald-Stadler
2016-08-17  7:21     ` Linus Walleij
2016-08-16 13:33 ` [PATCH 12/17] iio: accel: kxsd9: Add triggered buffer handling Linus Walleij
2016-08-31 19:58   ` Jonathan Cameron
2016-08-31 20:00     ` Jonathan Cameron
2016-08-16 13:33 ` [PATCH 13/17] iio: accel: kxsd9: Deploy proper register bit defines Linus Walleij
2016-08-31 20:05   ` Jonathan Cameron
2016-08-16 13:33 ` [PATCH 14/17] iio: accel: kxsd9: Fetch and handle regulators Linus Walleij
2016-08-16 13:33 ` [PATCH 15/17] iio: accel: kxsd9: Replace "parent" with "dev" Linus Walleij
2016-08-16 13:33 ` [PATCH 16/17] iio: accel: kxsd9: Deploy system and runtime PM Linus Walleij
2016-08-16 13:33 ` [PATCH 17/17] iio: accel: kxsd9: Support reading a mounting matrix Linus Walleij

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