Skip to contentSkip to conversation

i2c: support for hmc6343 3-Axis digital compass module.

PATCH In review Rodolfo Giometti 2 participants 2 messages Apr 9, 2009 1 message not in the archive I2C subsystem host drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i2c: support for hmc6343 3-Axis digital compass module.

From: Rodolfo Giometti <[email protected]>

---
 drivers/i2c/chips/Kconfig   |   10 +
 drivers/i2c/chips/Makefile  |    1 +
 drivers/i2c/chips/hmc6343.c |  677 +++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 688 insertions(+), 0 deletions(-)
 create mode 100644 drivers/i2c/chips/hmc6343.c
drivers/i2c/chips/Kconfig +10 -0
index c80312c..7c5a497 100644
@@ -102,4 +102,14 @@ config SENSORS_TSL2550
 	  This driver can also be built as a module.  If so, the module
 	  will be called tsl2550.
 
+config SENSORS_HMC6343
+	tristate "Honeywell 3-Axis digital compass module"
+	depends on EXPERIMENTAL
+	help
+	  If you say yes here you get support for the Honeywell 3-Axis
+	  digital compass module.
+
+	  This driver can also be built as a module.  If so, the module
+	  will be called hmc6343.
+
 endmenu
drivers/i2c/chips/Makefile +1 -0
index d142f23..a6c7305 100644
@@ -17,6 +17,7 @@ obj-$(CONFIG_SENSORS_PCF8574)	+= pcf8574.o
 obj-$(CONFIG_PCF8575)		+= pcf8575.o
 obj-$(CONFIG_SENSORS_PCF8591)	+= pcf8591.o
 obj-$(CONFIG_SENSORS_TSL2550)	+= tsl2550.o
+obj-$(CONFIG_SENSORS_HMC6343)	+= hmc6343.o
 
 ifeq ($(CONFIG_I2C_DEBUG_CHIP),y)
 EXTRA_CFLAGS += -DDEBUG
drivers/i2c/chips/hmc6343.c new file +677 -0

677 lines not on this page · raw message

Signature · 1 line
1.5.6.3