<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/iio/magnetometer/Makefile, branch linux-4.13.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.13.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.13.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2016-08-15T15:49:39Z</updated>
<entry>
<title>iio: magn: add a driver for AK8974</title>
<updated>2016-08-15T15:49:39Z</updated>
<author>
<name>Linus Walleij</name>
</author>
<published>2016-07-25T13:54:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7c94a8b2ee8cfe915f332575566b4870976ab8f4'/>
<id>urn:sha1:7c94a8b2ee8cfe915f332575566b4870976ab8f4</id>
<content type='text'>
This adds a driver for the Asahi Kasei AK8974 and its sibling
AMI305 magnetometers. It was deployed on scale in 2009 on a
multitude of devices. It is distincly different from AK8973
and AK8975 and needs its own driver.

This patch is based on the long lost work of Samu Onkalo at Nokia,
who made a misc character device driver for the Maemo/MeeGo Nokia
devices, before the time of the IIO subsystem. It was mounted in e.g.
the Nokia N950, N8, N86, N97 etc. It is also mounted on the
ST-Ericsson HREF reference designs.

It works nicely in sysfs:

$ cat in_magn_x_raw &amp;&amp; cat in_magn_y_raw &amp;&amp; cat in_magn_z_raw
-55
-101
161

And with buffered reads using a simple HRTimer trigger:
$ generic_buffer -c10 -a -n ak8974 -t foo
iio device number being used is 3
iio trigger number being used is 2
No channels are enabled, enabling all channels
Enabling: in_magn_x_en
Enabling: in_magn_y_en
Enabling: in_magn_z_en
Enabling: in_timestamp_en
/sys/bus/iio/devices/iio:device3 foo
-58.000000 -102.000000 157.000000 946684970985321044
-60.000000 -98.000000 159.000000 946684971012237548
-60.000000 -106.000000 163.000000 946684971032257080
-62.000000 -94.000000 169.000000 946684971052185058
-58.000000 -98.000000 163.000000 946684971072204589
-54.000000 -100.000000 163.000000 946684971092224121
-53.000000 -103.000000 164.000000 946684971112731933
-50.000000 -102.000000 165.000000 946684971132232666
-61.000000 -101.000000 164.000000 946684971152191162
-57.000000 -99.000000 168.000000 946684971172210693
Disabling: in_magn_x_en
Disabling: in_magn_y_en
Disabling: in_magn_z_en
Disabling: in_timestamp_en

I cannot currently scale these raw values to gauss. This is
because of lack of documentation. I have sent a request for
a datasheet to Asahi Kasei.

The driver can optionally use a DRDY line IRQ to capture data,
else it will sleep and poll.

Cc: Samu Onkalo &lt;samu.onkalo@intel.com&gt;
Cc: Sebastian Reichel &lt;sre@kernel.org&gt;
Cc: Peter Meerwald-Stadler &lt;pmeerw@pmeerw.net&gt;
Tested-By: Sebastian Reichel &lt;sre@kernel.org&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: magn: bmc150: Introduce SPI support</title>
<updated>2016-04-18T19:44:47Z</updated>
<author>
<name>Daniel Baluta</name>
</author>
<published>2016-04-15T14:13:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=534536acdb25bae85a5333b7085837b3f1f72b73'/>
<id>urn:sha1:534536acdb25bae85a5333b7085837b3f1f72b73</id>
<content type='text'>
Signed-off-by: Daniel Baluta &lt;daniel.baluta@intel.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: magn: Split bmc150 driver in common/i2c parts</title>
<updated>2016-04-18T19:44:40Z</updated>
<author>
<name>Daniel Baluta</name>
</author>
<published>2016-04-15T14:13:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=761b7910d4b4f0e7d283873b701ca83beacd70a5'/>
<id>urn:sha1:761b7910d4b4f0e7d283873b701ca83beacd70a5</id>
<content type='text'>
This is useful for easily adding SPI support in later patches.

Now bmc150_magn exports core functions to be used by I2C/SPI drivers
instances. For the moment only I2C driver is supported.

Signed-off-by: Daniel Baluta &lt;daniel.baluta@intel.com&gt;
Acked-by: Irina Tirdea &lt;irina.tirdea@intel.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: hmc5843: Move hmc5843 out of staging</title>
<updated>2016-02-24T20:40:39Z</updated>
<author>
<name>Cristina Moraru</name>
</author>
<published>2016-02-14T22:37:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7247645f686584552ec0f8ade7267bf7a4907624'/>
<id>urn:sha1:7247645f686584552ec0f8ade7267bf7a4907624</id>
<content type='text'>
This patch moves hmc5843 driver from staging/iio/magnetometer
to iio/magnetometer, updates the corresponding Makefiles and
moves the hmc5843* entries to the 'Industrial I/O support -&gt;
Magnetometer sensors' menu.

Signed-off-by: Cristina Moraru &lt;cristina.moraru09@gmail.com&gt;
Cc: Daniel Baluta &lt;daniel.baluta@intel.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio:magnetometer:bmc150_magn: sort entry alphabetically</title>
<updated>2015-08-12T21:18:21Z</updated>
<author>
<name>Hartmut Knaack</name>
</author>
<published>2015-07-17T08:52:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2427d22de807b40f72175c8c9b1ff8a07275ad82'/>
<id>urn:sha1:2427d22de807b40f72175c8c9b1ff8a07275ad82</id>
<content type='text'>
Sort the entry for bmc105_magn in Kconfig and Makefile to its correct
position. Also add the minor module information for completeness.

Fixes: c91746a2361d ("iio: magn: Add support for BMC150 magnetometer")

Signed-off-by: Hartmut Knaack &lt;knaack.h@gmx.de&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: magnetometer: Add support for MEMSIC MMC35240 sensor</title>
<updated>2015-05-10T19:31:45Z</updated>
<author>
<name>Daniel Baluta</name>
</author>
<published>2015-04-24T15:58:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=abeb6b1e7bbffb3dbcd918827673feafecc378d1'/>
<id>urn:sha1:abeb6b1e7bbffb3dbcd918827673feafecc378d1</id>
<content type='text'>
Minimal implementation for MMC35240 3-axis magnetometer
sensor. It provides processed readings and possiblity to change
the sampling frequency.

Signed-off-by: Daniel Baluta &lt;daniel.baluta@intel.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: magn: Add support for BMC150 magnetometer</title>
<updated>2015-05-10T19:31:43Z</updated>
<author>
<name>Irina Tirdea</name>
</author>
<published>2015-04-29T18:16:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c91746a2361d75bb8ded6ef4813a4a2dcdcd845e'/>
<id>urn:sha1:c91746a2361d75bb8ded6ef4813a4a2dcdcd845e</id>
<content type='text'>
Add support for the Bosh BMC150 Magnetometer.
The specification can be downloaded from:
http://ae-bst.resource.bosch.com/media/products/dokumente/bmc150/BST-BMC150-DS000-04.pdf.
The chip contains both an accelerometer and a magnetometer.
This patch adds support only for the magnetometer part.

The temperature compensation formulas are based on bmm050_api.c
authored by contact@bosch.sensortec.com.

Signed-off-by: Irina Tirdea &lt;irina.tirdea@intel.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: ak8975: add ak09911 and ak09912 support</title>
<updated>2014-12-12T12:28:20Z</updated>
<author>
<name>Gwendal Grignou</name>
</author>
<published>2014-11-21T18:45:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=57e73a423b1e85f9b1b0f58e10d38ec00d0c8489'/>
<id>urn:sha1:57e73a423b1e85f9b1b0f58e10d38ec00d0c8489</id>
<content type='text'>
Add 2 new definition entries to support ak0991x compass.
Add a more advanced function to check we are dealing with the
expected device.
Remove standalone driver for ak09911.

Signed-off-by: Gwendal Grignou &lt;gwendal@chromium.org&gt;
Tested-by: Srinivas Pandruvada &lt;srinivas.pandruvada@linux.intel.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: AK09911 : 3 axis compass support</title>
<updated>2014-06-16T19:55:24Z</updated>
<author>
<name>Srinivas Pandruvada</name>
</author>
<published>2014-11-06T23:06:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d14c0f10e71c174cc312fb77832450bd02171be5'/>
<id>urn:sha1:d14c0f10e71c174cc312fb77832450bd02171be5</id>
<content type='text'>
Added IIO magnetometer driver for AK09911. In functionality is resembles
AK8975 or AK8963. But there are several differences, so instead of
modifying existing AK8975 driver and keep it clean, implemented as
a separate driver.
The key differences are:
- Register map is different and have different indexes
- AK09911 is a very compact interface with no DRDY pin. So no support
 of interrupt or GPIO poll
- Even for polled mode no mention on ST2 register, which is required in
ak8975 driver
- mode values are different for fuse access

Signed-off-by: Srinivas Pandruvada &lt;srinivas.pandruvada@linux.intel.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: Add Freescale mag3110 magnetometer driver</title>
<updated>2013-10-23T16:43:11Z</updated>
<author>
<name>Peter Meerwald</name>
</author>
<published>2013-10-21T20:53:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=39631b5f9584672d0b7de92619f85a113837600b'/>
<id>urn:sha1:39631b5f9584672d0b7de92619f85a113837600b</id>
<content type='text'>
three-axis digital magnetometer with I2C interface

datasheet is available from
http://cache.freescale.com/files/sensors/doc/data_sheet/MAG3110.pdf

Signed-off-by: Peter Meerwald &lt;pmeerw@pmeerw.net&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
</feed>
