![Srinivas Pandruvada](/assets/img/avatar_default.png)
This chip allows some limited number of sensors connected to it as slaves, which can be directly accessed by register interface of this driver.But the current upstream driver doesn't support such mode. To attach such slaves to main processor i2c bus, chip has to be set up in bypass mode. This change adds i2c mux, which will enable/disable this mode for transaction to/from such slave devices. This was discussed for a while in mailing list, this was the outcome: Reference: http://www.spinics.net/lists/linux-iio/msg12126.html http://comments.gmane.org/gmane.linux.kernel.iio/11470 Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Reviewed-by: Wolfram Sang <wsa@the-dreams.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
18 lines
531 B
Plaintext
18 lines
531 B
Plaintext
#
|
|
# inv-mpu6050 drivers for Invensense MPU devices and combos
|
|
#
|
|
|
|
config INV_MPU6050_IIO
|
|
tristate "Invensense MPU6050 devices"
|
|
depends on I2C && SYSFS
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
select I2C_MUX
|
|
help
|
|
This driver supports the Invensense MPU6050 devices.
|
|
This driver can also support MPU6500 in MPU6050 compatibility mode
|
|
and also in MPU6500 mode with some limitations.
|
|
It is a gyroscope/accelerometer combo device.
|
|
This driver can be built as a module. The module will be called
|
|
inv-mpu6050.
|