diff options
| author | Olof Johansson <olof@lixom.net> | 2012-05-13 01:33:24 -0400 |
|---|---|---|
| committer | Olof Johansson <olof@lixom.net> | 2012-05-13 01:33:24 -0400 |
| commit | e29402edf848359d619ce06af86d61e62c292c87 (patch) | |
| tree | 94451c1d400d478654e0d0e78564e882081b806c /include/linux | |
| parent | bf98a6eaa9964fef49f186834713bfc57d16ede1 (diff) | |
| parent | 530f1d416091212243b341e0022b2967886b30e4 (diff) | |
Merge branch 'mxs/dt/for-3.5' of git://git.linaro.org/people/shawnguo/linux-2.6 into next/dt2
* 'mxs/dt/for-3.5' of git://git.linaro.org/people/shawnguo/linux-2.6: (51 commits)
ARM: dts: enable audio support for imx28-evk
ARM: dts: enable i2c device for imx28-evk
i2c: mxs: add device tree probe support
ARM: dts: enable mmc for imx28-evk
ARM: dts: enable mmc for imx23-evk
mmc: mxs-mmc: add device tree support
mmc: mxs-mmc: copy wp_gpio in struct mxs_mmc_host
mmc: mxs-mmc: have dma_channel than dma_res in mxs_mmc_host
mmc: mxs-mmc: use devm_* helper to make cleanup simpler
mmc: mxs-mmc: move header from mach into linux folder
mmc: mxs-mmc: get rid of the use of cpu_is_xxx
mmc: mxs-mmc: let ssp_is_old take host as parameter
mmc: mxs-mmc: use global stmp_device functionality
ARM: mxs: add gpio support for device tree boot
gpio/mxs: add device tree probe
gpio/mxs: get rid of the use of cpu_is_xxx
gpio/mxs: use devm_* helpers to make error handling simple
ARM: mxs: add mxs-dma dt support
ARM: mxs: do not add dma device by default
dma: mxs-dma: add device tree probe support
...
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/fsl/mxs-dma.h | 12 | ||||
| -rw-r--r-- | include/linux/mmc/mxs-mmc.h | 19 |
2 files changed, 21 insertions, 10 deletions
diff --git a/include/linux/fsl/mxs-dma.h b/include/linux/fsl/mxs-dma.h index 203d7c4a3e11..55d870238399 100644 --- a/include/linux/fsl/mxs-dma.h +++ b/include/linux/fsl/mxs-dma.h | |||
| @@ -15,14 +15,6 @@ struct mxs_dma_data { | |||
| 15 | int chan_irq; | 15 | int chan_irq; |
| 16 | }; | 16 | }; |
| 17 | 17 | ||
| 18 | static inline int mxs_dma_is_apbh(struct dma_chan *chan) | 18 | extern int mxs_dma_is_apbh(struct dma_chan *chan); |
| 19 | { | 19 | extern int mxs_dma_is_apbx(struct dma_chan *chan); |
| 20 | return !strcmp(dev_name(chan->device->dev), "mxs-dma-apbh"); | ||
| 21 | } | ||
| 22 | |||
| 23 | static inline int mxs_dma_is_apbx(struct dma_chan *chan) | ||
| 24 | { | ||
| 25 | return !strcmp(dev_name(chan->device->dev), "mxs-dma-apbx"); | ||
| 26 | } | ||
| 27 | |||
| 28 | #endif /* __MACH_MXS_DMA_H__ */ | 20 | #endif /* __MACH_MXS_DMA_H__ */ |
diff --git a/include/linux/mmc/mxs-mmc.h b/include/linux/mmc/mxs-mmc.h new file mode 100644 index 000000000000..7c2ad3a7f2f3 --- /dev/null +++ b/include/linux/mmc/mxs-mmc.h | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2011 Freescale Semiconductor, Inc. All Rights Reserved. | ||
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | ||
| 8 | |||
| 9 | #ifndef __LINUX_MMC_MXS_MMC_H__ | ||
| 10 | #define __LINUX_MMC_MXS_MMC_H__ | ||
| 11 | |||
| 12 | struct mxs_mmc_platform_data { | ||
| 13 | int wp_gpio; /* write protect pin */ | ||
| 14 | unsigned int flags; | ||
| 15 | #define SLOTF_4_BIT_CAPABLE (1 << 0) | ||
| 16 | #define SLOTF_8_BIT_CAPABLE (1 << 1) | ||
| 17 | }; | ||
| 18 | |||
| 19 | #endif /* __LINUX_MMC_MXS_MMC_H__ */ | ||
