diff options
author | Eric Miao <eric.miao@linaro.org> | 2011-08-31 17:41:43 +0800 |
---|---|---|
committer | Eric Miao <eric.miao@linaro.org> | 2011-10-14 09:56:51 +0800 |
commit | 026054f9eeb4184185e7017da8ec7865e8532405 (patch) | |
tree | 9f28995dbf72367e627401219493688147ae333a /include/linux | |
parent | 6863686857febe7277791f765462cff0e55107c2 (diff) |
iim: add IIM driver support
Signed-off-by: Frank Li <Frank.Li@freescale.com>
Signed-off-by: Eric Miao <eric.miao@linaro.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/fsl_devices.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h index fffdf00f87b..3a45181b35e 100644 --- a/include/linux/fsl_devices.h +++ b/include/linux/fsl_devices.h @@ -120,6 +120,25 @@ struct fsl_spi_platform_data { u32 sysclk; }; +struct mxc_iim_platform_data { + const s8 *name; + u32 virt_base; + u32 reg_base; + u32 reg_end; + u32 reg_size; + u32 bank_start; + u32 bank_end; + u32 irq; + u32 action; + struct mutex mutex; + struct completion completion; + spinlock_t lock; + struct clk *clk; + struct device *dev; + void (*enable_fuse)(void); + void (*disable_fuse)(void); +}; + struct mpc8xx_pcmcia_ops { void(*hw_ctrl)(int slot, int enable); int(*voltage_set)(int slot, int vcc, int vpp); |