Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5f199e5e authored by Gustavo Solaira's avatar Gustavo Solaira
Browse files

input: sensor: Add mpu6880 support for mpu6050 driver



MPU6880 chip is compatible with mpu6050 driver,
add the compatible string for correct matching.

Change-Id: I9fef5df6769bf426a45246a97d2ba2fedd9e5909
Signed-off-by: default avatarGustavo Solaira <gustavos@codeaurora.org>
parent ba6ee8cf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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>.
+1 −0
Original line number Diff line number Diff line
@@ -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);