Skip to contentSkip to conversation

i2c: support for mma7455l 3-Axis digital low-g accelerometer.

PATCH In review Rodolfo Giometti 2 participants 2 messages Apr 9, 2009 – Feb 16, 2010 I2C subsystem host drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i2c: support for mma7455l 3-Axis digital low-g accelerometer.

From: Rodolfo Giometti <[email protected]>

---
 drivers/i2c/chips/Kconfig    |   10 +
 drivers/i2c/chips/Makefile   |    1 +
 drivers/i2c/chips/mma7455l.c |  372 ++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 383 insertions(+), 0 deletions(-)
 create mode 100644 drivers/i2c/chips/mma7455l.c
drivers/i2c/chips/Kconfig +10 -0
index 7c5a497..815fca4 100644
@@ -112,4 +112,14 @@ config SENSORS_HMC6343
 	  This driver can also be built as a module.  If so, the module
 	  will be called hmc6343.
 
+config SENSORS_MMA7455L
+	tristate "Freescale 2g/4g/8g 3-Axis low-g accelerometer"
+	depends on EXPERIMENTAL
+	help
+	  If you say yes here you get support for the Freescale 2g/4g/8g
+	  3-Axis low-g accelerometer.
+
+	  This driver can also be built as a module.  If so, the module
+	  will be called mma7455l.
+
 endmenu
drivers/i2c/chips/Makefile +1 -0
index a6c7305..631207e 100644
@@ -18,6 +18,7 @@ obj-$(CONFIG_PCF8575)		+= pcf8575.o
 obj-$(CONFIG_SENSORS_PCF8591)	+= pcf8591.o
 obj-$(CONFIG_SENSORS_TSL2550)	+= tsl2550.o
 obj-$(CONFIG_SENSORS_HMC6343)	+= hmc6343.o
+obj-$(CONFIG_SENSORS_MMA7455L)	+= mma7455l.o
 
 ifeq ($(CONFIG_I2C_DEBUG_CHIP),y)
 EXTRA_CFLAGS += -DDEBUG
drivers/i2c/chips/mma7455l.c new file +372 -0

372 lines not on this page · raw message

Signature · 1 line
1.5.6.3
#1 lore raw

Hi Rodolfo,

Where can I get the mma7455l.h header file?

Thanks,
Akshay