-
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.
Staging: iio: add digital compass hmc5843 driver
Adding support for the Honeywell HMC5843. The interface to the device is i2c TODO: Adding the documentation Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com> Acked-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
- Loading branch information
Shubhrajyoti D
authored and
Greg Kroah-Hartman
committed
Jul 22, 2010
1 parent
5fc9e4d
commit b4e1782
Showing
5 changed files
with
646 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
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 |
---|---|---|
|
@@ -15,3 +15,4 @@ obj-y += gyro/ | |
obj-y += imu/ | ||
obj-y += light/ | ||
obj-y += trigger/ | ||
obj-y += magnetometer/ |
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,15 @@ | ||
# | ||
# Magnetometer sensors | ||
# | ||
comment "Magnetometer sensors" | ||
|
||
config SENSORS_HMC5843 | ||
tristate "Honeywell HMC5843 3-Axis Magnetometer" | ||
depends on I2C | ||
help | ||
Say Y here to add support for the Honeywell HMC 5843 3-Axis | ||
Magnetometer (digital compass). | ||
|
||
To compile this driver as a module, choose M here: the module | ||
will be called hmc5843 | ||
|
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,5 @@ | ||
# | ||
# Makefile for industrial I/O Magnetometer sensors | ||
# | ||
|
||
obj-$(CONFIG_SENSORS_HMC5843) += hmc5843.o |
Oops, something went wrong.