[PATCH 0/2 V2] iio: magnetometer: ak8975: Add support for DT and interrupt handling

Jonathan Cameron jic23 at kernel.org
Sat May 11 20:00:11 EST 2013


Applied to togreg branch of iio.git.
I'll send upstream after merge window has closed
(so if anyone else wants to take a look at this, you have
a couple of days)

Thanks,

On 05/07/2013 11:41 AM, Jacek Anaszewski wrote:
> These patches add 'data ready' interrupt handling for AK8975
> magnetometer, so as to provide more efficient alternative of
> waiting for the end of conversion. This short series adds also
> support for parsing 'gpios' property when initializing from oftree.
> 
> This is a follow-up of the previous patchset and it includes
> following improvements:
> 
> - replaced NULL with 'data' in the second argument of the free_irq calls,
>   which fixes problem on the module removal
> - changed the order of checking for the platform_data and added
>   checking for the -EPROBE_DEFER as spotted by Lars-Peter Clausen
> - moved ak8975.txt out of staging as spotted by Jonathan Cameron
> - modified header description in ak8975.txt
> - renamed '0C' to '0c' in the examplary device node in ak8975.txt
> 
> Thanks,
> Jacek Anaszewski
> 
> Jacek Anaszewski (2):
>   iio:ak8975 Add support for gpios DT property
>   iio:ak8975 Implement data ready interrupt handling
> 
>  .../bindings/iio/magnetometer/ak8975.txt           |   18 ++++
>  drivers/iio/magnetometer/ak8975.c                  |  103 +++++++++++++++++++-
>  2 files changed, 116 insertions(+), 5 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/iio/magnetometer/ak8975.txt
> 


More information about the devicetree-discuss mailing list