<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/iio/gyro, 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-04-18T15:13:31Z</updated>
<entry>
<title>Merge tag 'iio-for-4.12d' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-next</title>
<updated>2017-04-18T15:13:31Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2017-04-18T15:13:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d47e5382358021303b47a0977c7472fdda1eeb40'/>
<id>urn:sha1:d47e5382358021303b47a0977c7472fdda1eeb40</id>
<content type='text'>
Jonathan writes:

Fourth set of IIO new device support, features and cleanups for the 4.12 cycle

New device support
* max1117, 1118 and 1119
  - new ADC driver
* max9611
  - new ADC driver
* pm8xxx hk/xoadc
  - new driver with some shared features broken out from the SPMI vadc.
* sun4i-gpadc
  - A33 thermal sensor support (with associated rework)
* stm32-dac
  - new driver and bindings
* stm32 trigger
  - enable support of quadrature encoder device and counter modes

Features
* apds9960
  - use the runtime pm for normal suspend
* stm32-adc
  - add opition to sest resolution via devicetree
* xoadc
  - augment DT bindings to deal with some weird mux cases

Cleanups
* ad5933
  - protect direct mode using claim and release helpers
* ade7759
  - S_IRUGO and friends to octal in two goes
* adis16203
  - drop unnecessary brackets
* hid-sensor
  - fix unbalanced pm_runtieme_enable error when probing after remove
* lsm6dsx
  - use actual part numbers for device name when known
  - simplify data read pin parsing
* mpu3050
  - avoid double reporting errors
</content>
</entry>
<entry>
<title>Merge 4.11-rc6 into staging-next</title>
<updated>2017-04-10T13:21:55Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2017-04-10T13:21:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f78a8236c6502760705399dfa42e22ab11aa1e6b'/>
<id>urn:sha1:f78a8236c6502760705399dfa42e22ab11aa1e6b</id>
<content type='text'>
We want the staging and iio fixes in here to handle merging easier.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>iio: gyro: mpu3050: stop double error reporting</title>
<updated>2017-04-03T19:40:51Z</updated>
<author>
<name>Peter Rosin</name>
</author>
<published>2017-04-03T08:38:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6a95d825f6a407fb214e92e8c63c905fceaea81b'/>
<id>urn:sha1:6a95d825f6a407fb214e92e8c63c905fceaea81b</id>
<content type='text'>
i2c_mux_add_adapter already logs a message on failure.

Signed-off-by: Peter Rosin &lt;peda@axentia.se&gt;
Reviewed-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: bmg160: reset chip when probing</title>
<updated>2017-03-25T16:36:25Z</updated>
<author>
<name>Quentin Schulz</name>
</author>
<published>2017-03-21T15:52:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4bdc9029685ac03be50b320b29691766d2326c2b'/>
<id>urn:sha1:4bdc9029685ac03be50b320b29691766d2326c2b</id>
<content type='text'>
The gyroscope chip might need to be reset to be used.

Without the chip being reset, the driver stopped at the first
regmap_read (to get the CHIP_ID) and failed to probe.

The datasheet of the gyroscope says that a minimum wait of 30ms after
the reset has to be done.

This patch has been checked on a BMX055 and the datasheet of the BMG160
and the BMI055 give the same reset register and bits.

Signed-off-by: Quentin Schulz &lt;quentin.schulz@free-electrons.com&gt;
Cc: &lt;Stable@vger.kernel.org&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: gyro: itg3200: Add OF device ID table</title>
<updated>2017-03-19T10:58:31Z</updated>
<author>
<name>Javier Martinez Canillas</name>
</author>
<published>2017-03-15T04:45:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=91b4b166175066349f01ce67e091355f8f27e4a7'/>
<id>urn:sha1:91b4b166175066349f01ce67e091355f8f27e4a7</id>
<content type='text'>
The driver doesn't have a struct of_device_id table but supported devices
are registered via Device Trees. This is working on the assumption that a
I2C device registered via OF will always match a legacy I2C device ID and
that the MODALIAS reported will always be of the form i2c:&lt;device&gt;.

But this could change in the future so the correct approach is to have an
OF device ID table if the devices are registered via OF.

Signed-off-by: Javier Martinez Canillas &lt;javier@osg.samsung.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: common: ssp_sensors: gyro: use devm_iio_device_register()</title>
<updated>2017-01-28T12:16:17Z</updated>
<author>
<name>Wei Yongjun</name>
</author>
<published>2017-01-22T17:15:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=752d01d9907b32ed55e07d36fde49a153ad6fe36'/>
<id>urn:sha1:752d01d9907b32ed55e07d36fde49a153ad6fe36</id>
<content type='text'>
Use devm_iio_device_register() for IIO subsystem device
registration and delete the remove function since there
is no need after this change.

Signed-off-by: Wei Yongjun &lt;weiyongjun1@huawei.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio:kfifo_buf header include push down.</title>
<updated>2017-01-10T19:54:53Z</updated>
<author>
<name>Jonathan Cameron</name>
</author>
<published>2017-01-02T19:28:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8abd5ba53962854c3a1c21d04fa6fdba54cc0ee1'/>
<id>urn:sha1:8abd5ba53962854c3a1c21d04fa6fdba54cc0ee1</id>
<content type='text'>
As a precursor to splitting buffer.h, lets make sure all drivers
include the relevant headers rather than relying on picking them
up from kfifo_buf.h.

Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Reviewed-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
</content>
</entry>
<entry>
<title>iio: gyro: st_gyro: inline per-sensor data</title>
<updated>2016-11-12T15:38:09Z</updated>
<author>
<name>Linus Walleij</name>
</author>
<published>2016-11-09T15:09:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d8594fa22a3f7c294639d9aa2959d63e66d9437c'/>
<id>urn:sha1:d8594fa22a3f7c294639d9aa2959d63e66d9437c</id>
<content type='text'>
We have #defines for all the individual sensor registers and
value/mask pairs #defined at the top of the file and used at
exactly one spot.

This is usually good if the #defines give a meaning to the
opaque magic numbers.

However in this case, the semantic meaning is inherent in the
name of the C99-addressable fields, and that means duplication
of information, and only makes the code hard to maintain since
you every time have to add a new #define AND update the site
where it is to be used.

Get rid of the #defines and just open code the values into the
appropriate struct elements. Make sure to explicitly address
the .hz and .value fields in the st_sensor_odr_avl struct
so that the meaning of all values is clear.

This patch is purely syntactic should have no semantic effect.

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: gyro: mpu3050: add I2C dependency</title>
<updated>2016-11-08T20:29:33Z</updated>
<author>
<name>Arnd Bergmann</name>
</author>
<published>2016-11-08T13:59:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b548674ea78417a470a12416eebe016f93e460c0'/>
<id>urn:sha1:b548674ea78417a470a12416eebe016f93e460c0</id>
<content type='text'>
The new mpu3050 driver fails to build if I2C is disabled:

drivers/iio/built-in.o: In function `mpu3050_i2c_driver_exit':
mpu3050-i2c.c:(.exit.text+0x17f): undefined reference to `i2c_del_driver'
drivers/iio/built-in.o: In function `mpu3050_i2c_driver_init':
mpu3050-i2c.c:(.init.text+0x215): undefined reference to `i2c_register_driver'

This adds a Kconfig dependency to ensure we only build it when I2C
is available.

Fixes: 3904b28efb2c ("iio: gyro: Add driver for the MPU-3050 gyroscope")
Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Acked-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: gyro: mpu3050: remove duplicate initializer</title>
<updated>2016-11-08T20:28:25Z</updated>
<author>
<name>Arnd Bergmann</name>
</author>
<published>2016-11-08T13:59:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=630e7ab470498f671cea00301f21246333fba2fa'/>
<id>urn:sha1:630e7ab470498f671cea00301f21246333fba2fa</id>
<content type='text'>
The newly added mpu3050 driver has two initializations for the
module owner, which causes a warning for 'make W=1':

include/linux/export.h:37:21: error: initialized field overwritten [-Werror=override-init]
drivers/iio/gyro/mpu3050-core.c:749:19: note: in expansion of macro 'THIS_MODULE'

This removes one of the two.

Fixes: 3904b28efb2c ("iio: gyro: Add driver for the MPU-3050 gyroscope")
Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Acked-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
</feed>
