Merge "input: sensor: Add mpu6880 support for mpu6050 driver"

This commit is contained in:
Linux Build Service Account 2014-11-29 04:53:03 -08:00 committed by Gerrit - the friendly Code Review server
commit aaea28f23a
2 changed files with 2 additions and 1 deletions

View file

@ -2,7 +2,7 @@ InvenSense MPU6050 6 Axis gyroscope+accelerometer combo driver
Required properties:
- compatible : Should be "invn,mpu6050".
- compatible : Should be "invn,mpu6050" or "invn,mpu6880".
- reg : i2c slave address of the device.
- pinctrl-names : The pinctrl configration names of this sensor driver. Should be "mpu_default","mpu_sleep".
- pinctrl-0 : The pinctrl node corresponding to "mpu_default", should be <&mpu6050_default>.

View file

@ -2512,6 +2512,7 @@ MODULE_DEVICE_TABLE(i2c, mpu6050_ids);
static const struct of_device_id mpu6050_of_match[] = {
{ .compatible = "invn,mpu6050", },
{ .compatible = "invn,mpu6880", },
{ },
};
MODULE_DEVICE_TABLE(of, mpu6050_of_match);