From: Gregor Boirie <gregor.boirie@parrot.com>
To: <linux-iio@vger.kernel.org>, <devicetree@vger.kernel.org>
Cc: Rob Herring <robh+dt@kernel.org>,
Jonathan Cameron <jic23@kernel.org>,
Hartmut Knaack <knaack.h@gmx.de>,
Lars-Peter Clausen <lars@metafoo.de>,
Peter Meerwald <pmeerw@pmeerw.net>,
Geert Uytterhoeven <geert@linux-m68k.org>,
Irina Tirdea <irina.tirdea@intel.com>,
Cristina Moraru <cristina.moraru09@gmail.com>,
Daniel Baluta <daniel.baluta@intel.com>,
Julia Lawall <Julia.Lawall@lip6.fr>,
Gregor Boirie <gregor.boirie@parrot.com>
Subject: [PATCH v3 0/3] iio:magnetometer:ak8975: fix and enhancements
Date: Thu, 17 Mar 2016 17:43:25 +0100 [thread overview]
Message-ID: <cover.1458231723.git.gregor.boirie@parrot.com> (raw)
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
WARNING: multiple messages have this Message-ID (diff)
From: Gregor Boirie <gregor.boirie-ITF29qwbsa/QT0dZR+AlfA@public.gmane.org>
To: linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
Jonathan Cameron <jic23-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
Hartmut Knaack <knaack.h-Mmb7MZpHnFY@public.gmane.org>,
Lars-Peter Clausen <lars-Qo5EllUWu/uELgA04lAiVw@public.gmane.org>,
Peter Meerwald <pmeerw-jW+XmwGofnusTnJN9+BGXg@public.gmane.org>,
Geert Uytterhoeven
<geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org>,
Irina Tirdea
<irina.tirdea-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
Cristina Moraru
<cristina.moraru09-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Daniel Baluta
<daniel.baluta-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
Julia Lawall <Julia.Lawall-L2FTfq7BK8M@public.gmane.org>,
Gregor Boirie
<gregor.boirie-ITF29qwbsa/QT0dZR+AlfA@public.gmane.org>
Subject: [PATCH v3 0/3] iio:magnetometer:ak8975: fix and enhancements
Date: Thu, 17 Mar 2016 17:43:25 +0100 [thread overview]
Message-ID: <cover.1458231723.git.gregor.boirie@parrot.com> (raw)
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
next reply other threads:[~2016-03-17 16:42 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-17 16:43 Gregor Boirie [this message]
2016-03-17 16:43 ` [PATCH v3 0/3] iio:magnetometer:ak8975: fix and enhancements Gregor Boirie
2016-03-17 16:43 ` [PATCH v3 1/3] iio:magnetometer:ak8975: fix missing regulator_disable Gregor Boirie
2016-03-17 16:43 ` Gregor Boirie
2016-03-20 11:07 ` Jonathan Cameron
2016-03-20 11:07 ` Jonathan Cameron
2016-03-17 16:43 ` [PATCH v3 2/3] iio:magnetometer:ak8975: mounting matrix support Gregor Boirie
2016-03-17 16:43 ` Gregor Boirie
2016-03-20 11:12 ` Jonathan Cameron
2016-03-20 11:12 ` Jonathan Cameron
2016-03-21 14:58 ` Rob Herring
2016-03-21 14:58 ` Rob Herring
2016-03-21 19:01 ` Jonathan Cameron
2016-03-21 19:01 ` Jonathan Cameron
2016-03-21 22:21 ` Gregor Boirie
2016-03-21 22:21 ` Gregor Boirie
2016-03-22 12:38 ` Rob Herring
2016-03-22 12:38 ` Rob Herring
2016-03-28 15:03 ` Jonathan Cameron
2016-03-28 15:03 ` Jonathan Cameron
2016-03-29 9:44 ` Gregor Boirie
2016-03-29 9:44 ` Gregor Boirie
2016-04-03 10:26 ` Jonathan Cameron
2016-04-03 10:26 ` Jonathan Cameron
2016-03-17 16:43 ` [PATCH v3 3/3] iio:magnetometer:ak8975: triggered buffer support Gregor Boirie
2016-03-17 16:43 ` Gregor Boirie
2016-03-20 11:21 ` Jonathan Cameron
2016-03-20 11:21 ` Jonathan Cameron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1458231723.git.gregor.boirie@parrot.com \
--to=gregor.boirie@parrot.com \
--cc=Julia.Lawall@lip6.fr \
--cc=cristina.moraru09@gmail.com \
--cc=daniel.baluta@intel.com \
--cc=devicetree@vger.kernel.org \
--cc=geert@linux-m68k.org \
--cc=irina.tirdea@intel.com \
--cc=jic23@kernel.org \
--cc=knaack.h@gmx.de \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=pmeerw@pmeerw.net \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.