mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-09-21 03:43:03 +00:00
Merge "input: sensor: Add mpu6880 support for mpu6050 driver"
This commit is contained in:
commit
aaea28f23a
|
@ -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>.
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue