diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-21 18:20:41 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-21 18:20:41 -0500 |
commit | 3298a3511f1e73255a8dc023efd909e569eea037 (patch) | |
tree | 2d8e9bdb9e398049e3876b99fbb4d51099a45cc3 /drivers | |
parent | 5ce7aba976ebdfbf467e3cbcd3a7536ebdec4b11 (diff) | |
parent | acb7452369e4f8749dd32d48dbda98936035a87c (diff) |
Merge tag 'multiplatform' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC multiplatform support from Arnd Bergmann:
"Converting more ARM platforms to multiplatform support. This time,
OMAP gets converted, which is a major step since this is by far the
largest platform in terms of code size. The same thing happens to the
vt8500 platform."
* tag 'multiplatform' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
net: cwdavinci_cpdma: export symbols for cpsw
remoteproc: omap: depend on OMAP_MBOX_FWK
[media] davinci: do not include mach/hardware.h
ARM: OMAP2+: Make sure files with omap initcalls include soc.h
ARM: OMAP2+: Include soc.h to drm.c to fix compiling
ARM: OMAP2+: Fix warning for hwspinlock omap_postcore_initcall
ARM: multi_v7_defconfig: add ARCH_ZYNQ
ARM: multi_v7_defconfig: remove unnecessary CONFIG_GPIOLIB
arm: vt8500: Remove remaining mach includes
arm: vt8500: Convert debug-macro.S to be multiplatform friendly
arm: vt8500: Remove single platform Kconfig options
ARM: OMAP2+: Remove now obsolete uncompress.h and debug-macro.S
ARM: OMAP2+: Add minimal support for booting vexpress
ARM: OMAP2+: Enable ARCH_MULTIPLATFORM support
ARM: OMAP2+: Disable code that currently does not work with multiplaform
ARM: OMAP2+: Add multiplatform debug_ll support
ARM: OMAP: Fix dmaengine init for multiplatform
ARM: OMAP: Fix i2c cmdline initcall for multiplatform
ARM: OMAP2+: Use omap initcalls
ARM: OMAP2+: Limit omap initcalls to omap only on multiplatform kernels
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/crypto/omap-sham.c | 3 | ||||
-rw-r--r-- | drivers/dma/omap-dma.c | 20 | ||||
-rw-r--r-- | drivers/media/platform/davinci/vpss.c | 1 | ||||
-rw-r--r-- | drivers/media/rc/Kconfig | 2 | ||||
-rw-r--r-- | drivers/net/ethernet/ti/davinci_cpdma.c | 3 | ||||
-rw-r--r-- | drivers/remoteproc/Kconfig | 2 | ||||
-rw-r--r-- | drivers/staging/tidspbridge/Kconfig | 2 |
7 files changed, 10 insertions, 23 deletions
diff --git a/drivers/crypto/omap-sham.c b/drivers/crypto/omap-sham.c index 90d34adc2a66..9e6947bc296f 100644 --- a/drivers/crypto/omap-sham.c +++ b/drivers/crypto/omap-sham.c | |||
@@ -38,7 +38,10 @@ | |||
38 | #include <crypto/internal/hash.h> | 38 | #include <crypto/internal/hash.h> |
39 | 39 | ||
40 | #include <linux/omap-dma.h> | 40 | #include <linux/omap-dma.h> |
41 | |||
42 | #ifdef CONFIG_ARCH_OMAP1 | ||
41 | #include <mach/irqs.h> | 43 | #include <mach/irqs.h> |
44 | #endif | ||
42 | 45 | ||
43 | #define SHA_REG_DIGEST(x) (0x00 + ((x) * 0x04)) | 46 | #define SHA_REG_DIGEST(x) (0x00 + ((x) * 0x04)) |
44 | #define SHA_REG_DIN(x) (0x1C + ((x) * 0x04)) | 47 | #define SHA_REG_DIN(x) (0x1C + ((x) * 0x04)) |
diff --git a/drivers/dma/omap-dma.c b/drivers/dma/omap-dma.c index 5a31264f2bd1..c4b4fd2acc42 100644 --- a/drivers/dma/omap-dma.c +++ b/drivers/dma/omap-dma.c | |||
@@ -661,32 +661,14 @@ bool omap_dma_filter_fn(struct dma_chan *chan, void *param) | |||
661 | } | 661 | } |
662 | EXPORT_SYMBOL_GPL(omap_dma_filter_fn); | 662 | EXPORT_SYMBOL_GPL(omap_dma_filter_fn); |
663 | 663 | ||
664 | static struct platform_device *pdev; | ||
665 | |||
666 | static const struct platform_device_info omap_dma_dev_info = { | ||
667 | .name = "omap-dma-engine", | ||
668 | .id = -1, | ||
669 | .dma_mask = DMA_BIT_MASK(32), | ||
670 | }; | ||
671 | |||
672 | static int omap_dma_init(void) | 664 | static int omap_dma_init(void) |
673 | { | 665 | { |
674 | int rc = platform_driver_register(&omap_dma_driver); | 666 | return platform_driver_register(&omap_dma_driver); |
675 | |||
676 | if (rc == 0) { | ||
677 | pdev = platform_device_register_full(&omap_dma_dev_info); | ||
678 | if (IS_ERR(pdev)) { | ||
679 | platform_driver_unregister(&omap_dma_driver); | ||
680 | rc = PTR_ERR(pdev); | ||
681 | } | ||
682 | } | ||
683 | return rc; | ||
684 | } | 667 | } |
685 | subsys_initcall(omap_dma_init); | 668 | subsys_initcall(omap_dma_init); |
686 | 669 | ||
687 | static void __exit omap_dma_exit(void) | 670 | static void __exit omap_dma_exit(void) |
688 | { | 671 | { |
689 | platform_device_unregister(pdev); | ||
690 | platform_driver_unregister(&omap_dma_driver); | 672 | platform_driver_unregister(&omap_dma_driver); |
691 | } | 673 | } |
692 | module_exit(omap_dma_exit); | 674 | module_exit(omap_dma_exit); |
diff --git a/drivers/media/platform/davinci/vpss.c b/drivers/media/platform/davinci/vpss.c index cdbff88e0f1e..684e815a81b6 100644 --- a/drivers/media/platform/davinci/vpss.c +++ b/drivers/media/platform/davinci/vpss.c | |||
@@ -25,7 +25,6 @@ | |||
25 | #include <linux/spinlock.h> | 25 | #include <linux/spinlock.h> |
26 | #include <linux/compiler.h> | 26 | #include <linux/compiler.h> |
27 | #include <linux/io.h> | 27 | #include <linux/io.h> |
28 | #include <mach/hardware.h> | ||
29 | #include <media/davinci/vpss.h> | 28 | #include <media/davinci/vpss.h> |
30 | 29 | ||
31 | MODULE_LICENSE("GPL"); | 30 | MODULE_LICENSE("GPL"); |
diff --git a/drivers/media/rc/Kconfig b/drivers/media/rc/Kconfig index 79ba242fe263..19f3563c61da 100644 --- a/drivers/media/rc/Kconfig +++ b/drivers/media/rc/Kconfig | |||
@@ -291,7 +291,7 @@ config IR_TTUSBIR | |||
291 | 291 | ||
292 | config IR_RX51 | 292 | config IR_RX51 |
293 | tristate "Nokia N900 IR transmitter diode" | 293 | tristate "Nokia N900 IR transmitter diode" |
294 | depends on OMAP_DM_TIMER && LIRC | 294 | depends on OMAP_DM_TIMER && LIRC && !ARCH_MULTIPLATFORM |
295 | ---help--- | 295 | ---help--- |
296 | Say Y or M here if you want to enable support for the IR | 296 | Say Y or M here if you want to enable support for the IR |
297 | transmitter diode built in the Nokia N900 (RX51) device. | 297 | transmitter diode built in the Nokia N900 (RX51) device. |
diff --git a/drivers/net/ethernet/ti/davinci_cpdma.c b/drivers/net/ethernet/ti/davinci_cpdma.c index 68c3418160ba..ee13dc78430c 100644 --- a/drivers/net/ethernet/ti/davinci_cpdma.c +++ b/drivers/net/ethernet/ti/davinci_cpdma.c | |||
@@ -492,11 +492,13 @@ int cpdma_ctlr_int_ctrl(struct cpdma_ctlr *ctlr, bool enable) | |||
492 | spin_unlock_irqrestore(&ctlr->lock, flags); | 492 | spin_unlock_irqrestore(&ctlr->lock, flags); |
493 | return 0; | 493 | return 0; |
494 | } | 494 | } |
495 | EXPORT_SYMBOL_GPL(cpdma_ctlr_int_ctrl); | ||
495 | 496 | ||
496 | void cpdma_ctlr_eoi(struct cpdma_ctlr *ctlr, u32 value) | 497 | void cpdma_ctlr_eoi(struct cpdma_ctlr *ctlr, u32 value) |
497 | { | 498 | { |
498 | dma_reg_write(ctlr, CPDMA_MACEOIVECTOR, value); | 499 | dma_reg_write(ctlr, CPDMA_MACEOIVECTOR, value); |
499 | } | 500 | } |
501 | EXPORT_SYMBOL_GPL(cpdma_ctlr_eoi); | ||
500 | 502 | ||
501 | struct cpdma_chan *cpdma_chan_create(struct cpdma_ctlr *ctlr, int chan_num, | 503 | struct cpdma_chan *cpdma_chan_create(struct cpdma_ctlr *ctlr, int chan_num, |
502 | cpdma_handler_fn handler) | 504 | cpdma_handler_fn handler) |
@@ -1028,3 +1030,4 @@ unlock_ret: | |||
1028 | spin_unlock_irqrestore(&ctlr->lock, flags); | 1030 | spin_unlock_irqrestore(&ctlr->lock, flags); |
1029 | return ret; | 1031 | return ret; |
1030 | } | 1032 | } |
1033 | EXPORT_SYMBOL_GPL(cpdma_control_set); | ||
diff --git a/drivers/remoteproc/Kconfig b/drivers/remoteproc/Kconfig index 0b24108d1e1b..cc1f7bf53fd0 100644 --- a/drivers/remoteproc/Kconfig +++ b/drivers/remoteproc/Kconfig | |||
@@ -12,8 +12,8 @@ config OMAP_REMOTEPROC | |||
12 | depends on HAS_DMA | 12 | depends on HAS_DMA |
13 | depends on ARCH_OMAP4 | 13 | depends on ARCH_OMAP4 |
14 | depends on OMAP_IOMMU | 14 | depends on OMAP_IOMMU |
15 | depends on OMAP_MBOX_FWK | ||
15 | select REMOTEPROC | 16 | select REMOTEPROC |
16 | select OMAP_MBOX_FWK | ||
17 | select RPMSG | 17 | select RPMSG |
18 | help | 18 | help |
19 | Say y here to support OMAP's remote processors (dual M3 | 19 | Say y here to support OMAP's remote processors (dual M3 |
diff --git a/drivers/staging/tidspbridge/Kconfig b/drivers/staging/tidspbridge/Kconfig index 0dd479f5638d..60848f198b48 100644 --- a/drivers/staging/tidspbridge/Kconfig +++ b/drivers/staging/tidspbridge/Kconfig | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | menuconfig TIDSPBRIDGE | 5 | menuconfig TIDSPBRIDGE |
6 | tristate "DSP Bridge driver" | 6 | tristate "DSP Bridge driver" |
7 | depends on ARCH_OMAP3 | 7 | depends on ARCH_OMAP3 && !ARCH_MULTIPLATFORM |
8 | select OMAP_MBOX_FWK | 8 | select OMAP_MBOX_FWK |
9 | help | 9 | help |
10 | DSP/BIOS Bridge is designed for platforms that contain a GPP and | 10 | DSP/BIOS Bridge is designed for platforms that contain a GPP and |