summaryrefslogtreecommitdiff
path: root/arch/arm/plat-mxs/include/mach/device.h
diff options
context:
space:
mode:
authorFrank Li <Frank.Li@freescale.com>2010-04-07 13:33:17 +0800
committerAlejandro Gonzalez <alex.gonzalez@digi.com>2010-05-25 11:20:22 +0200
commit8fb29b6f0ad8e1f855ef2f8c1b5d4869c7125608 (patch)
tree3ad0df4dca0c40bf99650840866c7fe87a3b1a9f /arch/arm/plat-mxs/include/mach/device.h
parent1711eb5cd1f217ba759cdfe211f38244b459110a (diff)
ENGR00122416 Add mma7455 driver and fix I2C DMA channel issue
Add mma7455 driver of I2C interface and fix I2C DMA issue. using common hwmon driver mxc_mma7450 framework. Signed-off-by: Frank Li <Frank.Li@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
Diffstat (limited to 'arch/arm/plat-mxs/include/mach/device.h')
-rw-r--r--arch/arm/plat-mxs/include/mach/device.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/plat-mxs/include/mach/device.h b/arch/arm/plat-mxs/include/mach/device.h
index d0844f5e9de2..3f9280ffd7f6 100644
--- a/arch/arm/plat-mxs/include/mach/device.h
+++ b/arch/arm/plat-mxs/include/mach/device.h
@@ -110,6 +110,15 @@ struct mxs_pwm_leds_plat_data {
struct mxs_pwm_led *leds;
};
+struct mxs_mma7450_platform_data {
+ char *reg_dvdd_io;
+ char *reg_avdd;
+ void (*gpio_pin_get) (void);
+ void (*gpio_pin_put) (void);
+ int int1;
+ int int2;
+};
+
struct flexcan_platform_data {
char *core_reg;
char *io_reg;