<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/iio/light, 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>2017-07-24T03:54:31Z</updated>
<entry>
<title>Merge tag 'iio-fixes-for-4.13a' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-linus</title>
<updated>2017-07-24T03:54:31Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2017-07-24T03:54:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=055655a9f0fefef2256310a128a4cdaff8b8c432'/>
<id>urn:sha1:055655a9f0fefef2256310a128a4cdaff8b8c432</id>
<content type='text'>
Jonathan writes:

First set of IIO fixes for the 4.13 cycle.

* ad2s1210
  - Fix negative angular velocity reads (identified by a gcc 7 warning)
* aspeed-adc
  - Wait for initialization sequence to finish before enabling channels.
  Without it no channels work.
* axp288
  - Revert a patch that dropped some bogus register mods.  No one is entirely
  sure why but it breaks charging on some devices.
  - Fix GPADC pin read returning 0. Turns out a small sleep is needed.
* bmc150
  - Make sure device is restored to normal state after suspend / resume
  cycle.  Otherwise, simple sysfs reads are broken.
* tsl2563
  - fix wrong event code.
* st-accel
  - add spi 3-wire support. Needed to fix the lsm303agr accelerometer
  which only had 3 wires in all cases.  Side effect is to enable optional
  3-wire support for other devices.
* st-pressure
  - disable multiread by default for LPS22HB (only effects SPI)
* sun4i-gpadc-iio
  - fix unbalanced irq enable / disable
* vf610
  - Fix VALT slection for REFSEL bits - ensures we are using the
  right reference pins.
</content>
</entry>
<entry>
<title>iio: light: tsl2563: use correct event code</title>
<updated>2017-06-24T19:42:49Z</updated>
<author>
<name>Akinobu Mita</name>
</author>
<published>2017-06-20T16:46:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a3507e48d3f99a93a3056a34a5365f310434570f'/>
<id>urn:sha1:a3507e48d3f99a93a3056a34a5365f310434570f</id>
<content type='text'>
The TSL2563 driver provides three iio channels, two of which are raw ADC
channels (channel 0 and channel 1) in the device and the remaining one
is calculated by the two.  The ADC channel 0 only supports programmable
interrupt with threshold settings and this driver supports the event but
the generated event code does not contain the corresponding iio channel
type.

This is going to change userspace ABI.  Hopefully fixing this to be
what it should always have been won't break any userspace code.

Cc: Jonathan Cameron &lt;jic23@kernel.org&gt;
Signed-off-by: Akinobu Mita &lt;akinobu.mita@gmail.com&gt;
Cc: &lt;Stable@vger.kernel.org&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge 4.12-rc5 into staging-next</title>
<updated>2017-06-12T06:20:47Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2017-06-12T06:20:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7bf1e44f865523aa16e0eb340a82d643da9215b5'/>
<id>urn:sha1:7bf1e44f865523aa16e0eb340a82d643da9215b5</id>
<content type='text'>
We want the IIO fixes and other staging driver fixes in here as well.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>iio: light: rpr0521 channel numbers reordered</title>
<updated>2017-05-21T14:06:15Z</updated>
<author>
<name>Mikko Koivunen</name>
</author>
<published>2017-05-18T12:12:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9ece370b02f912bedff217b53f6f8cfbef0e93eb'/>
<id>urn:sha1:9ece370b02f912bedff217b53f6f8cfbef0e93eb</id>
<content type='text'>
Move proximity channel from last to first in structs to avoid confusion
later with buffered triggers. Proximity data output is first in rpr0521
register map.

Signed-off-by: Mikko Koivunen &lt;mikko.koivunen@fi.rohmeurope.com&gt;
Acked-by: Daniel Baluta &lt;daniel.baluta@nxp.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: light: rpr0521 proximity offset read/write</title>
<updated>2017-05-21T14:06:15Z</updated>
<author>
<name>Mikko Koivunen</name>
</author>
<published>2017-05-18T12:12:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=734c442303ad886fb2471d0fae0845f4a8a958e1'/>
<id>urn:sha1:734c442303ad886fb2471d0fae0845f4a8a958e1</id>
<content type='text'>
Add sysfs read/write proximity offset feature. Offset is read/write from
sensor registers. Values are proximity raw 10-bit values. After applying
offset value, output values will be (measured_raw - offset_value). Output
values are unsigned so offset value doesn't make output negative.

Signed-off-by: Mikko Koivunen &lt;mikko.koivunen@fi.rohmeurope.com&gt;
Acked-by: Daniel Baluta &lt;daniel.baluta@nxp.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: light: rpr0521 sample_frequency read/write</title>
<updated>2017-05-21T14:06:14Z</updated>
<author>
<name>Mikko Koivunen</name>
</author>
<published>2017-05-18T12:12:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c91a88ef846f65764ebe645324672fe54ec76204'/>
<id>urn:sha1:c91a88ef846f65764ebe645324672fe54ec76204</id>
<content type='text'>
Add sysfs read/write sample frequency.

Signed-off-by: Mikko Koivunen &lt;mikko.koivunen@fi.rohmeurope.com&gt;
Acked-by: Daniel Baluta &lt;daniel.baluta@nxp.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: light: rpr0521 whitespace fixes</title>
<updated>2017-05-21T14:06:13Z</updated>
<author>
<name>Mikko Koivunen</name>
</author>
<published>2017-05-18T12:12:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=624c389e10a912769f2587f1ce3374f28159f1eb'/>
<id>urn:sha1:624c389e10a912769f2587f1ce3374f28159f1eb</id>
<content type='text'>
Just whitespace change, no functional changes.

Signed-off-by: Mikko Koivunen &lt;mikko.koivunen@fi.rohmeurope.com&gt;
Acked-by: Daniel Baluta &lt;daniel.baluta@nxp.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: light: rpr0521 magic number to sizeof() on value read</title>
<updated>2017-05-21T14:06:12Z</updated>
<author>
<name>Mikko Koivunen</name>
</author>
<published>2017-05-18T12:12:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ae5916501b8d45b0585171f4e4ada7c64493813b'/>
<id>urn:sha1:ae5916501b8d45b0585171f4e4ada7c64493813b</id>
<content type='text'>
Changed magic number to sizeof() on value read.

Signed-off-by: Mikko Koivunen &lt;mikko.koivunen@fi.rohmeurope.com&gt;
Acked-by: Daniel Baluta &lt;daniel.baluta@nxp.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: light: rpr0521 on-off sequence change for CONFIG_PM</title>
<updated>2017-05-21T14:06:12Z</updated>
<author>
<name>Mikko Koivunen</name>
</author>
<published>2017-05-18T12:12:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=484c314b90ae240fb8e6e2924722deb92c756d93'/>
<id>urn:sha1:484c314b90ae240fb8e6e2924722deb92c756d93</id>
<content type='text'>
Refactor _set_power_state(), _resume() and _suspend().
Enable measurement only when needed, not in _init(). System can suspend
during measurement and measurement is continued on resume.
Pm turns off measurement when both ps and als measurements are disabled for
2 seconds. During off-time the power save is 20-500mA, typically 180mA.

Signed-off-by: Mikko Koivunen &lt;mikko.koivunen@fi.rohmeurope.com&gt;
Acked-by: Daniel Baluta &lt;daniel.baluta@nxp.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: light: rpr0521 poweroff for probe fails</title>
<updated>2017-05-21T14:06:11Z</updated>
<author>
<name>Mikko Koivunen</name>
</author>
<published>2017-05-18T12:12:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=12d74949133e2450533894ea01ce0c56646ce006'/>
<id>urn:sha1:12d74949133e2450533894ea01ce0c56646ce006</id>
<content type='text'>
Set sensor measurement off after probe fail in pm_runtime_set_active() or
iio_device_register(). Without this change sensor measurement stays on
even though probe fails on these calls.

This is maybe rare case, but causes constant power drain without any
benefits when it happens. Power drain is 20-500uA, typically 180uA.

Signed-off-by: Mikko Koivunen &lt;mikko.koivunen@fi.rohmeurope.com&gt;
Acked-by: Daniel Baluta &lt;daniel.baluta@nxp.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
</feed>
