All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/9] staging: iio: ad2s1200: Driver clean up
@ 2018-04-22 22:02 ` David Veenstra
  0 siblings, 0 replies; 52+ messages in thread
From: David Veenstra @ 2018-04-22 22:02 UTC (permalink / raw)
  To: jic23, lars, pmeerw
  Cc: devel, devicetree, Michael.Hennerich, linux-iio, robh+dt,
	knaack.h, daniel.baluta

For v1 see [1], for v2 see [2].

A summary of this patch:
1. Clean up of minor code style issues.
2. Replace legacy GPIO ABI with modern ABI and remove usage of.
   platform data.
4. Add scaling factor for angular position and angular velocity to
   match the sysfs IIO ABI.
5. Add documentation for device tree binding, and angle channel
6. Move driver to main line.

Changes in v3:
- Improved documentation about used mutex lock.
- Improved readability of read_raw.
- Remove usage of platform data.
- Add dt binding documentation to
  Documentation/devicetree/bindings/iio/ instead of staging folder.
- Change return type of scale for angle and angular velocity channel.
- Remove axis modifier from documentation of angle channel.
- Add missing references to ad2s1205.

Best regards,
David Veenstra

[1] https://marc.info/?l=linux-iio&m=152137920426820&w=2
[2] https://marc.info/?l=linux-iio&m=152425250915148&w=2

David Veenstra (9):
  staging: iio: ad2s1200: Add kernel docs to driver state
  staging: iio: ad2s1200: Improve readability with be16_to_cpup
  staging: iio: ad2s1200: Replace legacy gpio API with modern API
  staging: iio: ad2s1200: Replace platform data with dt bindings
  staging: iio: ad2s1200: Add documentation for device tree binding
  staging: iio: ad2s1200: Add scaling factor for angular velocity
    channel
  staging: iio: Documentation: Add missing sysfs docs for angle channel
  staging: iio: ad2s1200: Add scaling factor for angle channel
  staging: iio: ad2s1200: Move driver out of staging

 Documentation/ABI/testing/sysfs-bus-iio            |   9 +
 .../devicetree/bindings/iio/resolver/ad2s1200.txt  |  16 ++
 drivers/iio/Kconfig                                |   1 +
 drivers/iio/Makefile                               |   1 +
 drivers/iio/resolver/Kconfig                       |  17 ++
 drivers/iio/resolver/Makefile                      |   5 +
 drivers/iio/resolver/ad2s1200.c                    | 201 +++++++++++++++++++++
 drivers/staging/iio/resolver/Kconfig               |  12 --
 drivers/staging/iio/resolver/Makefile              |   1 -
 drivers/staging/iio/resolver/ad2s1200.c            | 171 ------------------
 10 files changed, 250 insertions(+), 184 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/iio/resolver/ad2s1200.txt
 create mode 100644 drivers/iio/resolver/Kconfig
 create mode 100644 drivers/iio/resolver/Makefile
 create mode 100644 drivers/iio/resolver/ad2s1200.c
 delete mode 100644 drivers/staging/iio/resolver/ad2s1200.c

-- 
2.16.2

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

end of thread, other threads:[~2018-05-18 13:17 UTC | newest]

Thread overview: 52+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-22 22:02 [PATCH v3 0/9] staging: iio: ad2s1200: Driver clean up David Veenstra
2018-04-22 22:02 ` David Veenstra
2018-04-22 22:02 ` [PATCH v3 1/9] staging: iio: ad2s1200: Add kernel docs to driver state David Veenstra
2018-04-22 22:02   ` David Veenstra
2018-04-28 17:11   ` Jonathan Cameron
2018-04-28 17:11     ` Jonathan Cameron
2018-05-18 12:57     ` David Julian Veenstra
2018-05-18 12:57       ` David Julian Veenstra
2018-04-22 22:03 ` [PATCH v3 2/9] staging: iio: ad2s1200: Improve readability with be16_to_cpup David Veenstra
2018-04-22 22:03   ` David Veenstra
2018-04-28 17:12   ` Jonathan Cameron
2018-04-28 17:12     ` Jonathan Cameron
2018-04-22 22:03 ` [PATCH v3 3/9] staging: iio: ad2s1200: Replace legacy gpio API with modern API David Veenstra
2018-04-22 22:03   ` David Veenstra
2018-04-28 17:17   ` Jonathan Cameron
2018-04-28 17:17     ` Jonathan Cameron
2018-04-22 22:03 ` [PATCH v3 4/9] staging: iio: ad2s1200: Replace platform data with dt bindings David Veenstra
2018-04-22 22:03   ` David Veenstra
2018-04-28 17:20   ` Jonathan Cameron
2018-04-28 17:20     ` Jonathan Cameron
2018-04-22 22:03 ` [PATCH v3 5/9] staging: iio: ad2s1200: Add documentation for device tree binding David Veenstra
2018-04-22 22:03   ` David Veenstra
2018-04-27 14:48   ` Rob Herring
2018-04-27 14:48     ` Rob Herring
2018-04-28 15:27     ` Jonathan Cameron
2018-04-28 15:27       ` Jonathan Cameron
2018-05-18 13:00       ` David Julian Veenstra
2018-05-18 13:00         ` David Julian Veenstra
2018-04-27 14:49   ` Rob Herring
2018-04-27 14:49     ` Rob Herring
2018-04-22 22:03 ` [PATCH v3 6/9] staging: iio: ad2s1200: Add scaling factor for angular velocity channel David Veenstra
2018-04-22 22:03   ` David Veenstra
2018-04-28 17:23   ` Jonathan Cameron
2018-04-28 17:23     ` Jonathan Cameron
2018-04-28 17:35     ` Jonathan Cameron
2018-04-28 17:35       ` Jonathan Cameron
2018-05-18 13:10       ` David Julian Veenstra
2018-05-18 13:10         ` David Julian Veenstra
2018-04-22 22:04 ` [PATCH v3 7/9] staging: iio: Documentation: Add missing sysfs docs for angle channel David Veenstra
2018-04-22 22:04   ` David Veenstra
2018-04-28 17:36   ` Jonathan Cameron
2018-04-28 17:36     ` Jonathan Cameron
2018-04-22 22:04 ` [PATCH v3 8/9] staging: iio: ad2s1200: Add scaling factor " David Veenstra
2018-04-22 22:04   ` David Veenstra
2018-04-28 17:37   ` Jonathan Cameron
2018-04-28 17:37     ` Jonathan Cameron
2018-04-22 22:04 ` [PATCH v3 9/9] staging: iio: ad2s1200: Move driver out of staging David Veenstra
2018-04-22 22:04   ` David Veenstra
2018-04-28 17:46   ` Jonathan Cameron
2018-04-28 17:46     ` Jonathan Cameron
2018-05-18 13:17     ` David Julian Veenstra
2018-05-18 13:17       ` David Julian Veenstra

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.