linux/drivers/iio
Srinivas Pandruvada 6f174fd312 iio: imu: inv_mpu6050: Add compatibity with MPU6500
Adding MPU6500 in target list for this driver.

Description:
Source
Document: MPU-6500 Register Map and Descriptions Revision 2.1
Section 3: Register Map

This section describes difference in terms device programmability
between MPU6050 and MPU6500.
These are different registers, which differs between MPU6050 and
MPU6500.

Addr	Name
---------------------
1E 	LP_ACCEL_ODR
6C	PWR_MGMT_2
77	XA_OFFSET_H
78	XA_OFFSET_L
7A	YA_OFFSET_H
7B	YA_OFFSET_L
7D	ZA_OFFSET_H
7E	ZA_OFFSET_L

But the current MPU6050 driver doesn't use registers which are different
except PWR_MGMT_2. The difference is support of "LP_WAKE_CTRL" at bit6-7
in MPU6050 mode. In MPU6500 they are not defined.
In current mpu6050 driver, only values used for this register are for
standby mode for gyro and accelerometer.
In both case frequency of wakeups is set to default and not using
bit 6-7.

So this driver van as well support MPU6500. In addition MPU6500 can
run MPU6050 mode by changing device trim settings.

So changing config comments to allow MPU6500 to use this driver.
When the driver is enhanced to support more functions, i2c driver
data INV_MPU6500 or "WHO_AM_I" register can be used to add additional
functionality.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2014-03-29 10:45:09 +00:00
..
accel iio:accel:bma180: Make LOW_PASS_FILTER_3DB_FREQUENCY shared_by_type 2014-02-15 11:05:02 +00:00
adc Add support for Microchip Technology's MCP3426/7/8 ADC 2014-03-16 18:00:34 +00:00
amplifiers iio: amplifiers: ad8366: Remove regulator_put 2013-09-28 11:49:45 +01:00
common iio: hid-sensors: Fix power and report state 2013-12-02 21:05:32 +00:00
dac iio: dac: ad7303: remove an unneeded check 2014-02-03 21:44:42 +00:00
frequency Merge 3.12-rc6 into staging-next. 2013-10-19 13:14:34 -07:00
gyro iio:gyro:itg3200 - drop unreachable return ret. Highlighted by smatch 2014-03-16 18:00:35 +00:00
humidity iio: Add si7005 relative humidity and temperature sensor driver 2014-01-11 11:12:44 +00:00
imu iio: imu: inv_mpu6050: Add compatibity with MPU6500 2014-03-29 10:45:09 +00:00
light Merge 3.14-rc5 into staging-next 2014-03-02 20:12:54 -08:00
magnetometer iio: ak8975: Added ACPI enumeration 2014-03-29 10:40:39 +00:00
orientation iio: hid-sensors: Added Inclinometer 3D 2013-12-03 20:31:59 +00:00
pressure iio:pressure: Add support for LPS25H pressure sensor 2014-02-22 13:09:53 +00:00
proximity iio: Add AS3935 lightning sensor support 2014-03-16 18:00:32 +00:00
temperature Merge 3.12-rc2 into staging-next. 2013-09-25 08:59:04 -07:00
trigger iio:trigger: fix sysfs name on list mutex 2013-09-28 11:51:16 +01:00
buffer_cb.c iio get rid of unneccessary error_ret 2014-02-18 08:46:36 +00:00
iio_core_trigger.h iio: fix semicolon in io_core_trigger.h 2013-08-03 18:40:32 +01:00
iio_core.h iio: Factor IIO value formating into its own function 2013-10-12 12:23:33 +01:00
industrialio-buffer.c iio get rid of unneccessary error_ret 2014-02-18 08:46:36 +00:00
industrialio-core.c iio:core: Fix bug in length of event info_mask and catch unhandled bits set in masks. 2014-03-16 18:00:35 +00:00
industrialio-event.c iio:core: Fix bug in length of event info_mask and catch unhandled bits set in masks. 2014-03-16 18:00:35 +00:00
industrialio-trigger.c iio get rid of unneccessary error_ret 2014-02-18 08:46:36 +00:00
industrialio-triggered-buffer.c iio:triggered-buffer: Remove redundant call to iio_sw_buffer_preenable(). 2013-10-16 19:12:47 +01:00
inkern.c iio: inkern: add iio_read_channel_average_raw 2014-03-16 18:00:33 +00:00
Kconfig iio: Add AS3935 lightning sensor support 2014-03-16 18:00:32 +00:00
kfifo_buf.c iio: kfifo_buf: Implement data_available() callback 2013-12-03 20:22:28 +00:00
Makefile iio: Add AS3935 lightning sensor support 2014-03-16 18:00:32 +00:00