Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 354487
b: refs/heads/master
c: 09a642b
h: refs/heads/master
i:
  354485: 36919da
  354483: ba23eb9
  354479: 6a95ab1
v: v3
  • Loading branch information
Ge Gao authored and Jonathan Cameron committed Feb 10, 2013
1 parent 6480a67 commit 4740aae
Show file tree
Hide file tree
Showing 11 changed files with 1,460 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8ce4a56a52bf566659768a9e46e759e7cd5f33d9
refs/heads/master: 09a642b78523e9f4c5970c806ad218aa3de31551
13 changes: 13 additions & 0 deletions trunk/Documentation/ABI/testing/sysfs-bus-iio-mpu6050
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.
2 changes: 2 additions & 0 deletions trunk/drivers/iio/imu/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,5 @@ config IIO_ADIS_LIB_BUFFER
help
A set of buffer helper functions for the Analog Devices ADIS* device
family.

source "drivers/iio/imu/inv_mpu6050/Kconfig"
2 changes: 2 additions & 0 deletions trunk/drivers/iio/imu/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ adis_lib-y += adis.o
adis_lib-$(CONFIG_IIO_ADIS_LIB_BUFFER) += adis_trigger.o
adis_lib-$(CONFIG_IIO_ADIS_LIB_BUFFER) += adis_buffer.o
obj-$(CONFIG_IIO_ADIS_LIB) += adis_lib.o

obj-y += inv_mpu6050/
13 changes: 13 additions & 0 deletions trunk/drivers/iio/imu/inv_mpu6050/Kconfig
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.
6 changes: 6 additions & 0 deletions trunk/drivers/iio/imu/inv_mpu6050/Makefile
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
Loading

0 comments on commit 4740aae

Please sign in to comment.