devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] iio:magnetometer:ak8975: fix and enhancements
@ 2016-03-17 16:43 Gregor Boirie
       [not found] ` <cover.1458231723.git.gregor.boirie-ITF29qwbsa/QT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: Gregor Boirie @ 2016-03-17 16:43 UTC (permalink / raw)
  To: linux-iio-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA
  Cc: Rob Herring, Jonathan Cameron, Hartmut Knaack, Lars-Peter Clausen,
	Peter Meerwald, Geert Uytterhoeven, Irina Tirdea, Cristina Moraru,
	Daniel Baluta, Julia Lawall, Gregor Boirie

Various fixes and enhancements for the ak8975 magnetometers family driver.

Changes since v1:
* get rid of silly le16 to cpu conversion since SMBUS handles this for us when
  reading words (patch 3/6)
* get rid of axes caching and serialize bus access between trigger handler and
  read_raw
* pack triggered buffer sampling bus accesses into a single SMBUS data block
  access
* use channel address within read_raw

Changes since v2:
* use devm_regulator_get to allow dummy regulator usage
* ensure regulator is properly disabled
* drop first 3 patches since applied
* document in_magn_matrix sysfs attribute
* single line comments where appropriate
* remove explicit zero init for shift field of iio_chan_spec structure as that's
  the default
* drop unnecessary ak8975_read_axis signature modification
* remove useless cosmetic changes related to ak8975_channels
* normalize and make error handling code paths clearer
* make ak8975_remove less nitpick'able :)

Gregor.

Gregor Boirie (3):
  iio:magnetometer:ak8975: fix missing regulator_disable
  iio:magnetometer:ak8975: mounting matrix support
  iio:magnetometer:ak8975: triggered buffer support

 Documentation/ABI/testing/sysfs-bus-iio-ak8975     |  46 ++++
 .../bindings/iio/magnetometer/ak8975.txt           |  10 +
 drivers/iio/magnetometer/Kconfig                   |   2 +
 drivers/iio/magnetometer/ak8975.c                  | 255 +++++++++++++++++----
 4 files changed, 271 insertions(+), 42 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-ak8975

-- 
2.1.4

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

end of thread, other threads:[~2016-04-03 10:26 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-17 16:43 [PATCH v3 0/3] iio:magnetometer:ak8975: fix and enhancements Gregor Boirie
     [not found] ` <cover.1458231723.git.gregor.boirie-ITF29qwbsa/QT0dZR+AlfA@public.gmane.org>
2016-03-17 16:43   ` [PATCH v3 1/3] iio:magnetometer:ak8975: fix missing regulator_disable Gregor Boirie
     [not found]     ` <058df1d45949ea5ee606d9b872acb0f2771a5f99.1458231723.git.gregor.boirie-ITF29qwbsa/QT0dZR+AlfA@public.gmane.org>
2016-03-20 11:07       ` Jonathan Cameron
2016-03-17 16:43   ` [PATCH v3 2/3] iio:magnetometer:ak8975: mounting matrix support Gregor Boirie
     [not found]     ` <a1efa2b83719dc3898c39a5886b7678892e7de3b.1458231723.git.gregor.boirie-ITF29qwbsa/QT0dZR+AlfA@public.gmane.org>
2016-03-20 11:12       ` Jonathan Cameron
2016-03-21 14:58       ` Rob Herring
     [not found]         ` <CAL_JsqJwE5fmHUzV-xi-hgMPSbzY_7QbXaHCSAMCpp9SggWtPw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-03-21 19:01           ` Jonathan Cameron
2016-03-21 22:21           ` Gregor Boirie
     [not found]             ` <20160321222150.GA1787-PssPG7//kpQxWALZn0w5Ne1GAupnlqi7@public.gmane.org>
2016-03-22 12:38               ` Rob Herring
     [not found]                 ` <CAL_Jsq+unk=UONZD-0e_VrpkC3R3hXHNoRN-gdj6TCSSHXWZXQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-03-28 15:03                   ` Jonathan Cameron
     [not found]                     ` <56F947B4.3090503-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2016-03-29  9:44                       ` Gregor Boirie
     [not found]                         ` <56FA4E76.1000406-ITF29qwbsa/QT0dZR+AlfA@public.gmane.org>
2016-04-03 10:26                           ` Jonathan Cameron
2016-03-17 16:43   ` [PATCH v3 3/3] iio:magnetometer:ak8975: triggered buffer support Gregor Boirie
     [not found]     ` <890b65dd4aeb57753c9a306c38ca3ef2532ba0c2.1458231723.git.gregor.boirie-ITF29qwbsa/QT0dZR+AlfA@public.gmane.org>
2016-03-20 11:21       ` Jonathan Cameron

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