OpenCloudOS-Kernel/drivers/iio/gyro
Quentin Schulz 4bdc902968 iio: bmg160: reset chip when probing
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 <quentin.schulz@free-electrons.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2017-03-25 16:36:25 +00:00
..
Kconfig iio: gyro: mpu3050: add I2C dependency 2016-11-08 20:29:33 +00:00
Makefile iio: gyro: Add driver for the MPU-3050 gyroscope 2016-10-25 17:24:05 +01:00
adis16080.c spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
adis16130.c spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
adis16136.c First set of new device support, features and cleanups for IIO in the 4.5 cycle 2015-12-01 09:13:29 -08:00
adis16260.c spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
adxrs450.c spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
bmg160.h iio: bmg160: Separate i2c and core driver 2015-08-31 17:04:23 +01:00
bmg160_core.c iio: bmg160: reset chip when probing 2017-03-25 16:36:25 +00:00
bmg160_i2c.c iio: bmg160: Separate i2c and core driver 2015-08-31 17:04:23 +01:00
bmg160_spi.c iio: bmg160: Add SPI driver 2015-08-31 17:06:11 +01:00
hid-sensor-gyro-3d.c iio: gyro: hid-sensor-gyro-3d: Fix memory leak in probe() 2015-05-17 09:09:49 +01:00
itg3200_buffer.c iio: gyro: itg3200: Fix indio_dev->trig assignment 2014-08-25 21:49:00 +01:00
itg3200_core.c iio: Drop owner assignment from i2c_driver 2015-07-11 18:50:07 +01:00
mpu3050-core.c iio: gyro: mpu3050: remove duplicate initializer 2016-11-08 20:28:25 +00:00
mpu3050-i2c.c iio: gyro: Add driver for the MPU-3050 gyroscope 2016-10-25 17:24:05 +01:00
mpu3050.h iio: gyro: Add driver for the MPU-3050 gyroscope 2016-10-25 17:24:05 +01:00
ssp_gyro_sensor.c iio: common: ssp_sensors: gyro: use devm_iio_device_register() 2017-01-28 12:16:17 +00:00
st_gyro.h iio: st_gyro: Add lsm9ds0-gyro support 2016-04-23 22:47:18 +01:00
st_gyro_buffer.c iio: st_sensors: switch to a threaded interrupt 2016-05-29 20:21:41 +01:00
st_gyro_core.c iio: gyro: st_gyro: inline per-sensor data 2016-11-12 15:38:09 +00:00
st_gyro_i2c.c iio: st_gyro: Add lsm9ds0-gyro support 2016-04-23 22:47:18 +01:00
st_gyro_spi.c iio: st_gyro: Add lsm9ds0-gyro support 2016-04-23 22:47:18 +01:00