<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/iio/magnetometer, branch linux-5.5.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.5.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.5.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2020-03-25T07:27:03Z</updated>
<entry>
<title>iio: magnetometer: ak8974: Fix negative raw values in sysfs</title>
<updated>2020-03-25T07:27:03Z</updated>
<author>
<name>Stephan Gerhold</name>
</author>
<published>2020-02-14T11:03:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9c5572d7c8c204fdbc8642852de5d1ab9cc6c5c5'/>
<id>urn:sha1:9c5572d7c8c204fdbc8642852de5d1ab9cc6c5c5</id>
<content type='text'>
commit b500c086e4110829a308c23e83a7cdc65b26228a upstream.

At the moment, reading from in_magn_*_raw in sysfs tends to return
large values around 65000, even though the output of ak8974 is actually
limited to ±32768. This happens because the value is never converted
to the signed 16-bit integer variant.

Add an explicit cast to s16 to fix this.

Fixes: 7c94a8b2ee8c ("iio: magn: add a driver for AK8974")
Signed-off-by: Stephan Gerhold &lt;stephan@gerhold.net&gt;
Reviewed-by: Linus Waleij &lt;linus.walleij@linaro.org&gt;
Cc: &lt;Stable@vger.kernel.org&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>iio: st: Drop GPIO include</title>
<updated>2019-10-27T15:55:45Z</updated>
<author>
<name>Linus Walleij</name>
</author>
<published>2019-10-23T08:47:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=12737476e0992bde3e14e2df2fedf43a117abf71'/>
<id>urn:sha1:12737476e0992bde3e14e2df2fedf43a117abf71</id>
<content type='text'>
None of the ST sensor drivers use any symbols from
&lt;linux/gpio.h&gt;, just drop the include from all of them.

Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio:st_sensors: remove buffer allocation at each buffer enable</title>
<updated>2019-08-11T08:26:04Z</updated>
<author>
<name>Denis Ciocca</name>
</author>
<published>2019-08-05T18:57:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e031d5f558f1535968df1ecae8d734b84c17f78d'/>
<id>urn:sha1:e031d5f558f1535968df1ecae8d734b84c17f78d</id>
<content type='text'>
This patch is removing the buffer allocation at each buffer enable.
We just allocate enough memory in the main structure during probe
to cover maximum size needed (that anyway is pretty small) [16bytes].

Signed-off-by: Denis Ciocca &lt;denis.ciocca@st.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: remove get_irq_data_ready() function pointer and use IRQ number directly</title>
<updated>2019-08-05T15:50:08Z</updated>
<author>
<name>Denis Ciocca</name>
</author>
<published>2019-08-02T17:59:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9cd15d521a3adcb687a0f9a312e32caaa94f44c2'/>
<id>urn:sha1:9cd15d521a3adcb687a0f9a312e32caaa94f44c2</id>
<content type='text'>
Not even sure why it was there since the beginning. Just use IRQ
number in the sensor_data struct.

Signed-off-by: Denis Ciocca &lt;denis.ciocca@st.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio:magn: preenable/postenable/predisable fixup for ST magn buffer</title>
<updated>2019-08-05T14:49:18Z</updated>
<author>
<name>Denis Ciocca</name>
</author>
<published>2019-07-31T21:48:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6ee19af415c55f8fee565613a2fa7892030ca9ac'/>
<id>urn:sha1:6ee19af415c55f8fee565613a2fa7892030ca9ac</id>
<content type='text'>
This patch is trying to cleanup for good the buffers operation functions.
Let's rename the goto label using operation to perform and not
where it fails.

Not stable material as not fixing a 'bug' but rather bringing the
driver in line with general 'patterns' to allow a subsystem wide
cleanup.

Signed-off-by: Denis Ciocca &lt;denis.ciocca@st.com&gt;
Reviewed-by: Alexandru Ardelean &lt;alexandru.ardelean@analog.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: magnetometer: mmc35240: Fix a typo in the name of a constant</title>
<updated>2019-07-27T21:52:07Z</updated>
<author>
<name>Christophe JAILLET</name>
</author>
<published>2019-07-21T21:35:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3f2cde742632226a86b54b2f8ed9cf5c4f50638c'/>
<id>urn:sha1:3f2cde742632226a86b54b2f8ed9cf5c4f50638c</id>
<content type='text'>
Everything is about mmc35240_ except MMC53240_WAIT_SET_RESET (3 and 5
switched).

This is likely a typo. Define and use MMC35240_WAIT_SET_RESET instead.

Signed-off-by: Christophe JAILLET &lt;christophe.jaillet@wanadoo.fr&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: make st_sensors drivers use regmap</title>
<updated>2019-07-27T21:52:06Z</updated>
<author>
<name>Denis Ciocca</name>
</author>
<published>2019-07-18T22:53:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=062809ef7733209312562e87cefc84a470430929'/>
<id>urn:sha1:062809ef7733209312562e87cefc84a470430929</id>
<content type='text'>
This patch is meant to replace the i2c/spi transfer functions with
regmap. SPI framework requires DMA safe buffers so let's add GFP_DMA
flag for memory allocation used by bulk_read functions.

Signed-off-by: Denis Ciocca &lt;denis.ciocca@st.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: move 3-wire spi initialization to st_sensors_spi</title>
<updated>2019-07-27T21:52:06Z</updated>
<author>
<name>Denis Ciocca</name>
</author>
<published>2019-07-18T22:53:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1ecd245e0eb23d1c3803474eba75589743d0d1fe'/>
<id>urn:sha1:1ecd245e0eb23d1c3803474eba75589743d0d1fe</id>
<content type='text'>
Some devices need to be configured with special bit in order to
use spi 3-wire. This was done during device identification phase.
Instead, let's move this part as spi specific.
Doing this the check_device_support function becomes a simple
device id check, so let's rename it.

Signed-off-by: Denis Ciocca &lt;denis.ciocca@st.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio:magn: device settings are set immediately during probe</title>
<updated>2019-07-27T21:52:05Z</updated>
<author>
<name>Denis Ciocca</name>
</author>
<published>2019-07-18T22:53:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=291d83f2f4ef40e1d2d9504d29ecdf7000a655fb'/>
<id>urn:sha1:291d83f2f4ef40e1d2d9504d29ecdf7000a655fb</id>
<content type='text'>
This patch set magn settings right after probe start. This is
done in preparation of regmap that needs different configuration
based on multiread bit value.

Signed-off-by: Denis Ciocca &lt;denis.ciocca@st.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio:magn: introduce st_magn_get_settings() function</title>
<updated>2019-07-27T21:52:05Z</updated>
<author>
<name>Denis Ciocca</name>
</author>
<published>2019-07-18T22:53:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=aa4e75c85076c056d944b92ed94b76277430d263'/>
<id>urn:sha1:aa4e75c85076c056d944b92ed94b76277430d263</id>
<content type='text'>
The function is introduced to retrieve magn device settings. It will be
used by probe in order to configure regmap.

Signed-off-by: Denis Ciocca &lt;denis.ciocca@st.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
</feed>
