<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-linux/drivers/iio/imu, branch jd/unified-crypt-queue</title>
<subtitle>WireGuard for the Linux kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-linux/atom/drivers/iio/imu?h=jd%2Funified-crypt-queue</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-linux/atom/drivers/iio/imu?h=jd%2Funified-crypt-queue'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/'/>
<updated>2020-03-08T17:28:45Z</updated>
<entry>
<title>iio: imu: adis_buffer: Use new structure for SPI transfer delays</title>
<updated>2020-03-08T17:28:45Z</updated>
<author>
<name>Sergiu Cuciurean</name>
<email>sergiu.cuciurean@analog.com</email>
</author>
<published>2020-02-27T12:38:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=61e618be6a0efa8728e2172dc47c47c72217d49b'/>
<id>urn:sha1:61e618be6a0efa8728e2172dc47c47c72217d49b</id>
<content type='text'>
In a recent change to the SPI subsystem [1], a new `delay` struct was added
to replace the `delay_usecs`. This change replaces the current
`delay_usecs` with `delay` for this driver.

The `spi_transfer_delay_exec()` function [in the SPI framework] makes sure
that both `delay_usecs` &amp; `delay` are used (in this order to preserve
backwards compatibility).

[1] commit bebcfd272df6 ("spi: introduce `delay` field for
`spi_transfer` + spi_transfer_delay_exec()")

Signed-off-by: Sergiu Cuciurean &lt;sergiu.cuciurean@analog.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: imu: inv_mpu6050: temperature only work with accel/gyro</title>
<updated>2020-03-08T17:28:40Z</updated>
<author>
<name>Jean-Baptiste Maneyrol</name>
<email>jmaneyrol@invensense.com</email>
</author>
<published>2020-02-19T14:39:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=74a40e19f9db6606b5263aa08af2c684dd67b3d3'/>
<id>urn:sha1:74a40e19f9db6606b5263aa08af2c684dd67b3d3</id>
<content type='text'>
Temperature sensor works correctly only when accel and/or gyro
is turned on. Prevent polling value if they are not running.
Anyway it doesn't make sense to use it without sensor engines
on.

Signed-off-by: Jean-Baptiste Maneyrol &lt;jmaneyrol@invensense.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: imu: inv_mpu6050: use runtime pm with autosuspend</title>
<updated>2020-03-08T17:28:39Z</updated>
<author>
<name>Jean-Baptiste Maneyrol</name>
<email>jmaneyrol@invensense.com</email>
</author>
<published>2020-02-19T14:39:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=4599cac8461468a10dc375f4d4e12442e2d16d3f'/>
<id>urn:sha1:4599cac8461468a10dc375f4d4e12442e2d16d3f</id>
<content type='text'>
Use runtime power management for handling chip power and
sensor engines on/off. Simplifies things a lot since pm
runtime already has reference counter.
Usage of autosuspend reduces the number of power on/off. This
makes polling interface now usable to get data at low
frequency.

Signed-off-by: Jean-Baptiste Maneyrol &lt;jmaneyrol@invensense.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: imu: inv_mpu6050: dynamic sampling rate change</title>
<updated>2020-03-08T17:28:39Z</updated>
<author>
<name>Jean-Baptiste Maneyrol</name>
<email>jmaneyrol@invensense.com</email>
</author>
<published>2020-02-19T14:39:56Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=5e95ca3637d6f706d157a5f12e51f3e1c175285a'/>
<id>urn:sha1:5e95ca3637d6f706d157a5f12e51f3e1c175285a</id>
<content type='text'>
Sampling rate can be changed while the chip is running. It can
be useful thus do not prevent it.

Signed-off-by: Jean-Baptiste Maneyrol &lt;jmaneyrol@invensense.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: imu: inv_mpu6050: factorize fifo enable/disable</title>
<updated>2020-03-08T17:28:39Z</updated>
<author>
<name>Jean-Baptiste Maneyrol</name>
<email>jmaneyrol@invensense.com</email>
</author>
<published>2020-02-19T14:39:55Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=4c1e0147015c19566b5c6a4b4f656a57ce897ea8'/>
<id>urn:sha1:4c1e0147015c19566b5c6a4b4f656a57ce897ea8</id>
<content type='text'>
Rework fifo enable/disable in a separate function.

Signed-off-by: Jean-Baptiste Maneyrol &lt;jmaneyrol@invensense.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: imu: inv_mpu6050: fix data polling interface</title>
<updated>2020-03-08T17:28:38Z</updated>
<author>
<name>Jean-Baptiste Maneyrol</name>
<email>jmaneyrol@invensense.com</email>
</author>
<published>2020-02-19T14:39:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=ffc9648a52c4cfae3eaadf629d79a0356f3f5900'/>
<id>urn:sha1:ffc9648a52c4cfae3eaadf629d79a0356f3f5900</id>
<content type='text'>
When reading data with the polling interface, we need to wait
at 1 sampling period to have a sample.
For gyroscope and magnetometer, we need to wait for 2 periods
before having a correct sample.

Not suitable for stable or backporting.

Signed-off-by: Jean-Baptiste Maneyrol &lt;jmaneyrol@invensense.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: imu: inv_mpu6050: rewrite power and engine management</title>
<updated>2020-03-08T17:28:38Z</updated>
<author>
<name>Jean-Baptiste Maneyrol</name>
<email>jmaneyrol@invensense.com</email>
</author>
<published>2020-02-19T14:39:53Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=92e7407ab1bc5024eb467d5788aace0ceff78a9d'/>
<id>urn:sha1:92e7407ab1bc5024eb467d5788aace0ceff78a9d</id>
<content type='text'>
Rewrite clock management to use automatic clock switching
present since MPU6500.
Sensors engine management can now turn on or off a batch of
sensors which simplifies usage a lot.
Temperature sensor is now turned on/off depending on usage.

Signed-off-by: Jean-Baptiste Maneyrol &lt;jmaneyrol@invensense.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: imu: inv_mpu6050: reduce sleep time when turning regulators on</title>
<updated>2020-03-08T17:28:38Z</updated>
<author>
<name>Jean-Baptiste Maneyrol</name>
<email>jmaneyrol@invensense.com</email>
</author>
<published>2020-02-19T14:39:52Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=398da9942359efad600b9efb33e6573fedc9276d'/>
<id>urn:sha1:398da9942359efad600b9efb33e6573fedc9276d</id>
<content type='text'>
Turning vdd regulator on requires a consequent sleep for the
chip to power on correctly.
Turning vddio regulator is much faster.

Signed-off-by: Jean-Baptiste Maneyrol &lt;jmaneyrol@invensense.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: imu: inv_mpu6050: add all signal path resets at init</title>
<updated>2020-03-08T17:28:37Z</updated>
<author>
<name>Jean-Baptiste Maneyrol</name>
<email>jmaneyrol@invensense.com</email>
</author>
<published>2020-02-19T14:39:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=c1bfe9c81812c94b9816537995e12e0406ec7420'/>
<id>urn:sha1:c1bfe9c81812c94b9816537995e12e0406ec7420</id>
<content type='text'>
Old chips using spi require for a full reset to manually reset
all signal path. This does not harm when using i2c so do it
inconditionally. Exclude i2c only chips.

Signed-off-by: Jean-Baptiste Maneyrol &lt;jmaneyrol@invensense.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: imu: inv_mpu6050: early init of chip_config for use at setup</title>
<updated>2020-03-08T17:28:37Z</updated>
<author>
<name>Jean-Baptiste Maneyrol</name>
<email>jmaneyrol@invensense.com</email>
</author>
<published>2020-02-19T14:39:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=5621a63a017f665225b14ecd728c36e63ada710b'/>
<id>urn:sha1:5621a63a017f665225b14ecd728c36e63ada710b</id>
<content type='text'>
Init chip_config early and use its values for initial setup.
More coherent, prevent possible mistakes.

Signed-off-by: Jean-Baptiste Maneyrol &lt;jmaneyrol@invensense.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
</feed>
