<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/iio/proximity, branch linux-4.1.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.1.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.1.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-06-26T02:02:21Z</updated>
<entry>
<title>iio: proximity: as3935: recalibrate RCO after resume</title>
<updated>2017-06-26T02:02:21Z</updated>
<author>
<name>Matt Ranostay</name>
</author>
<published>2017-04-14T23:38:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e507356624f1ccf8a4bf86b04fa840014316a9de'/>
<id>urn:sha1:e507356624f1ccf8a4bf86b04fa840014316a9de</id>
<content type='text'>
[ Upstream commit 6272c0de13abf1480f701d38288f28a11b4301c4 ]

According to the datasheet the RCO must be recalibrated
on every power-on-reset. Also remove mutex locking in the
calibration function since callers other than the probe
function (which doesn't need it) will have a lock.

Fixes: 24ddb0e4bba4 ("iio: Add AS3935 lightning sensor support")
Cc: George McCollister &lt;george.mccollister@gmail.com&gt;
Signed-off-by: Matt Ranostay &lt;matt.ranostay@konsulko.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;alexander.levin@verizon.com&gt;
</content>
</entry>
<entry>
<title>iio: proximity: as3935: fix AS3935_INT mask</title>
<updated>2017-06-26T02:02:19Z</updated>
<author>
<name>Matt Ranostay</name>
</author>
<published>2017-04-27T07:52:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=51037ec2ee8e57b520c8c3787794cd3568abb587'/>
<id>urn:sha1:51037ec2ee8e57b520c8c3787794cd3568abb587</id>
<content type='text'>
[ Upstream commit 275292d3a3d62670b1b13484707b74e5239b4bb0 ]

AS3935 interrupt mask has been incorrect so valid lightning events
would never trigger an buffer event. Also noise interrupt should be
BIT(0).

Fixes: 24ddb0e4bba4 ("iio: Add AS3935 lightning sensor support")
CC: stable@vger.kernel.org
Signed-off-by: Matt Ranostay &lt;matt.ranostay@konsulko.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;alexander.levin@verizon.com&gt;
</content>
</entry>
<entry>
<title>iio: proximity: as3935: fix as3935_write</title>
<updated>2017-06-13T13:29:21Z</updated>
<author>
<name>Matt Ranostay</name>
</author>
<published>2017-04-14T06:21:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5eef36af59740aa26f9a39ff8124134ec3e0c4ef'/>
<id>urn:sha1:5eef36af59740aa26f9a39ff8124134ec3e0c4ef</id>
<content type='text'>
[ Upstream commit 84ca8e364acb26aba3292bc113ca8ed4335380fd ]

AS3935_WRITE_DATA macro bit is incorrect and the actual write
sequence is two leading zeros.

Cc: George McCollister &lt;george.mccollister@gmail.com&gt;
Signed-off-by: Matt Ranostay &lt;matt.ranostay@konsulko.com&gt;
Cc: &lt;Stable@vger.kernel.org&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;alexander.levin@verizon.com&gt;
</content>
</entry>
<entry>
<title>iio: proximity: as3935: fix buffer stack trashing</title>
<updated>2016-08-20T03:08:42Z</updated>
<author>
<name>Matt Ranostay</name>
</author>
<published>2016-05-22T03:01:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c1a8303fb95f6933709831d5d5c742caee13d592'/>
<id>urn:sha1:c1a8303fb95f6933709831d5d5c742caee13d592</id>
<content type='text'>
[ Upstream commit 37b1ba2c68cfbe37f5f45bb91bcfaf2b016ae6a1 ]

Buffer wasn't of a valid size to allow the timestamp, and correct padding.
This patchset also moves the buffer off the stack, and onto the heap.

Cc: george.mccollister@gmail.com
Signed-off-by: Matt Ranostay &lt;mranostay@gmail.com&gt;
Cc: &lt;Stable@vger.kernel.org&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;alexander.levin@verizon.com&gt;
</content>
</entry>
<entry>
<title>iio: proximity: as3935: remove triggered buffer processing</title>
<updated>2016-08-20T03:08:42Z</updated>
<author>
<name>Matt Ranostay</name>
</author>
<published>2016-05-22T03:01:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9db892c0c7d71779bafcac2e26121357519fc615'/>
<id>urn:sha1:9db892c0c7d71779bafcac2e26121357519fc615</id>
<content type='text'>
[ Upstream commit 7d0643634ea567969bf3f3ed6193a9d6fc75653b ]

Triggered buffers shouldn't return processed data, and the respective
conversion was overflowing the defined .realbits for the channel.

Cc: george.mccollister@gmail.com
Signed-off-by: Matt Ranostay &lt;mranostay@gmail.com&gt;
Cc: &lt;Stable@vger.kernel.org&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;alexander.levin@verizon.com&gt;
</content>
</entry>
<entry>
<title>iio: proximity: as3935: correct IIO_CHAN_INFO_RAW output</title>
<updated>2016-08-20T03:08:41Z</updated>
<author>
<name>Matt Ranostay</name>
</author>
<published>2016-05-22T03:01:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e2a296e94cabe8f39420bec1936d9ef146c3dcee'/>
<id>urn:sha1:e2a296e94cabe8f39420bec1936d9ef146c3dcee</id>
<content type='text'>
[ Upstream commit 5138806f16c74c7cb8ac3e408a859c79eb7c9567 ]

IIO_CHAN_INFO_RAW was returning processed data which was incorrect.
This also adds the IIO_CHAN_INFO_SCALE value to convert to a processed value.

Signed-off-by: Matt Ranostay &lt;mranostay@gmail.com&gt;
Cc: &lt;Stable@vger.kernel.org&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;alexander.levin@verizon.com&gt;
</content>
</entry>
<entry>
<title>iio: proximity: sx9500: Fix proximity value</title>
<updated>2015-08-03T16:29:02Z</updated>
<author>
<name>Daniel Baluta</name>
</author>
<published>2015-06-11T15:49:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2f69632bdd525e69893f029c528b4d6dc8e123a1'/>
<id>urn:sha1:2f69632bdd525e69893f029c528b4d6dc8e123a1</id>
<content type='text'>
commit fd1883f07cb434707e50c4c9a16e3ed4b3a5e74f upstream.

Because of the ABI confusion proximity value exposed by SX9500
was inverted.

Signed-off-by: Daniel Baluta &lt;daniel.baluta@intel.com&gt;
Reviewed-by: Vlad Dogaru &lt;vlad.dogaru@intel.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>Merge 4.0-rc7 into staging-next</title>
<updated>2015-04-07T09:03:02Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2015-04-07T09:03:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c610f7f772aa06ae2bd8e5ace87cde4d90f70198'/>
<id>urn:sha1:c610f7f772aa06ae2bd8e5ace87cde4d90f70198</id>
<content type='text'>
We want those fixes (iio primarily) into the -next branch to help with
merge and testing issues.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>iio: fix drivers that check buffer-&gt;scan_mask</title>
<updated>2015-03-07T19:17:07Z</updated>
<author>
<name>Octavian Purdila</name>
</author>
<published>2015-03-02T19:03:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=70dddeee8945a0e62525a278ae7b91778f82f765'/>
<id>urn:sha1:70dddeee8945a0e62525a278ae7b91778f82f765</id>
<content type='text'>
If the in-kernel push interface is used we may have a different masks
on the device buffer and the kernel buffer and in this case the device
should generate data for the reunion of the buffers, which is
available at indio_dev-&gt;active_scan_mask.

Compiled tested only except for bmc150-accel which was tested at
runtime with the hardware.

Signed-off-by: Octavian Purdila &lt;octavian.purdila@intel.com&gt;
Cc: &lt;stable@vger.kernel.org&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: improve usage of gpiod API</title>
<updated>2015-02-22T09:49:22Z</updated>
<author>
<name>Uwe Kleine-König</name>
</author>
<published>2015-02-18T12:47:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b457f53a2afa7de3cecdec1772fbd522b98afc49'/>
<id>urn:sha1:b457f53a2afa7de3cecdec1772fbd522b98afc49</id>
<content type='text'>
Since 39b2bbe3d715 (gpio: add flags argument to gpiod_get*() functions)
which appeared in v3.17-rc1, the gpiod_get* functions take an additional
parameter that allows to specify direction and initial value for
outputs.

Signed-off-by: Uwe Kleine-König &lt;u.kleine-koenig@pengutronix.de&gt;
Reviewed-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Reviewed-by: Alexandre Courbot &lt;acourbot@nvidia.com&gt;
Reviewed-by: Daniel Baluta &lt;daniel.baluta@intel.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
</feed>
