-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This the basic functional Invensense MPU6050 Device driver. Signed-off-by: Ge Gao <ggao@invensense.com> Reviewed-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
- Loading branch information
Ge Gao
authored and
Jonathan Cameron
committed
Feb 10, 2013
1 parent
8ce4a56
commit 09a642b
Showing
10 changed files
with
1,459 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
What: /sys/bus/iio/devices/iio:deviceX/in_gyro_matrix | ||
What: /sys/bus/iio/devices/iio:deviceX/in_accel_matrix | ||
What: /sys/bus/iio/devices/iio:deviceX/in_magn_matrix | ||
KernelVersion: 3.4.0 | ||
Contact: linux-iio@vger.kernel.org | ||
Description: | ||
This is mounting matrix for motion sensors. Mounting matrix | ||
is a 3x3 unitary matrix. A typical mounting matrix would look like | ||
[0, 1, 0; 1, 0, 0; 0, 0, -1]. Using this information, it would be | ||
easy to tell the relative positions among sensors as well as their | ||
positions relative to the board that holds these sensors. Identity matrix | ||
[1, 0, 0; 0, 1, 0; 0, 0, 1] means sensor chip and device are perfectly | ||
aligned with each other. All axes are exactly the same. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# | ||
# inv-mpu6050 drivers for Invensense MPU devices and combos | ||
# | ||
|
||
config INV_MPU6050_IIO | ||
tristate "Invensense MPU6050 devices" | ||
depends on I2C && SYSFS | ||
select IIO_TRIGGERED_BUFFER | ||
help | ||
This driver supports the Invensense MPU6050 devices. | ||
It is a gyroscope/accelerometer combo device. | ||
This driver can be built as a module. The module will be called | ||
inv-mpu6050. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# | ||
# Makefile for Invensense MPU6050 device. | ||
# | ||
|
||
obj-$(CONFIG_INV_MPU6050_IIO) += inv-mpu6050.o | ||
inv-mpu6050-objs := inv_mpu_core.o inv_mpu_ring.o inv_mpu_trigger.o |
Oops, something went wrong.