author | Linus Torvalds <torvalds@linux-foundation.org> | |
Wed, 12 Dec 2012 19:45:16 +0000 (11:45 -0800) | ||
committer | Linus Torvalds <torvalds@linux-foundation.org> | |
Wed, 12 Dec 2012 19:45:16 +0000 (11:45 -0800) |
Pull ARM SoC Header cleanups from Olof Johansson:
"This is a collection of header file cleanups, mostly for OMAP and
AT91, that keeps moving the platforms in the direction of
multiplatform by removing the need for mach-dependent header files
used in drivers and other places."
Fix up mostly trivial conflicts as per Olof.
* tag 'headers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (106 commits)
ARM: OMAP2+: Move iommu/iovmm headers to platform_data
ARM: OMAP2+: Make some definitions local
ARM: OMAP2+: Move iommu2 to drivers/iommu/omap-iommu2.c
ARM: OMAP2+: Move plat/iovmm.h to include/linux/omap-iommu.h
ARM: OMAP2+: Move iopgtable header to drivers/iommu/
ARM: OMAP: Merge iommu2.h into iommu.h
atmel: move ATMEL_MAX_UART to platform_data/atmel.h
ARM: OMAP: Remove omap_init_consistent_dma_size()
arm: at91: move at91rm9200 rtc header in drivers/rtc
arm: at91: move reset controller header to arm/arm/mach-at91
arm: at91: move pit define to the driver
arm: at91: move at91_shdwc.h to arch/arm/mach-at91
arm: at91: move board header to arch/arm/mach-at91
arn: at91: move at91_tc.h to arch/arm/mach-at91
arm: at91 move at91_aic.h to arch/arm/mach-at91
arm: at91 move board.h to arch/arm/mach-at91
arm: at91: move platfarm_data to include/linux/platform_data/atmel.h
arm: at91: drop machine defconfig
ARM: OMAP: Remove NEED_MACH_GPIO_H
ARM: OMAP: Remove unnecessary mach and plat includes
...
"This is a collection of header file cleanups, mostly for OMAP and
AT91, that keeps moving the platforms in the direction of
multiplatform by removing the need for mach-dependent header files
used in drivers and other places."
Fix up mostly trivial conflicts as per Olof.
* tag 'headers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (106 commits)
ARM: OMAP2+: Move iommu/iovmm headers to platform_data
ARM: OMAP2+: Make some definitions local
ARM: OMAP2+: Move iommu2 to drivers/iommu/omap-iommu2.c
ARM: OMAP2+: Move plat/iovmm.h to include/linux/omap-iommu.h
ARM: OMAP2+: Move iopgtable header to drivers/iommu/
ARM: OMAP: Merge iommu2.h into iommu.h
atmel: move ATMEL_MAX_UART to platform_data/atmel.h
ARM: OMAP: Remove omap_init_consistent_dma_size()
arm: at91: move at91rm9200 rtc header in drivers/rtc
arm: at91: move reset controller header to arm/arm/mach-at91
arm: at91: move pit define to the driver
arm: at91: move at91_shdwc.h to arch/arm/mach-at91
arm: at91: move board header to arch/arm/mach-at91
arn: at91: move at91_tc.h to arch/arm/mach-at91
arm: at91 move at91_aic.h to arch/arm/mach-at91
arm: at91 move board.h to arch/arm/mach-at91
arm: at91: move platfarm_data to include/linux/platform_data/atmel.h
arm: at91: drop machine defconfig
ARM: OMAP: Remove NEED_MACH_GPIO_H
ARM: OMAP: Remove unnecessary mach and plat includes
...
54 files changed:
diff --cc arch/arm/Kconfig
Simple merge
diff --cc arch/arm/mach-at91/at91rm9200.c
Simple merge
diff --cc arch/arm/mach-at91/at91rm9200_devices.c
Simple merge
diff --cc arch/arm/mach-at91/at91sam9260.c
Simple merge
diff --cc arch/arm/mach-at91/at91sam9260_devices.c
Simple merge
diff --cc arch/arm/mach-at91/at91sam9261.c
Simple merge
diff --cc arch/arm/mach-at91/at91sam9261_devices.c
Simple merge
diff --cc arch/arm/mach-at91/at91sam9263.c
Simple merge
diff --cc arch/arm/mach-at91/at91sam9263_devices.c
Simple merge
diff --cc arch/arm/mach-at91/at91sam9g45.c
Simple merge
diff --cc arch/arm/mach-at91/at91sam9g45_devices.c
Simple merge
diff --cc arch/arm/mach-at91/at91sam9n12.c
Simple merge
diff --cc arch/arm/mach-at91/at91sam9rl.c
Simple merge
diff --cc arch/arm/mach-at91/at91sam9x5.c
Simple merge
diff --cc arch/arm/mach-at91/board-dt.c
Simple merge
diff --cc arch/arm/mach-at91/board.h
Simple merge
diff --cc arch/arm/mach-at91/setup.c
Simple merge
diff --cc arch/arm/mach-omap2/board-igep0020.c
Simple merge
diff --cc arch/arm/mach-omap2/board-overo.c
Simple merge
Simple merge
diff --cc arch/arm/mach-omap2/common.h
Simple merge
diff --cc arch/arm/mach-omap2/devices.c
Simple merge
diff --cc arch/arm/mach-omap2/drm.c
index 49a7ffb716a520f1c7bb12938c3559e45dc088c7,6282cc82661355afe27abdeb114f92ba6895b747..fce5aa3fff49b8cfea304426da3d316e71055273
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/dma-mapping.h>
+#include <linux/platform_data/omap_drm.h>
- #include <plat/omap_device.h>
- #include <plat/omap_hwmod.h>
+ #include "omap_device.h"
+ #include "omap_hwmod.h"
+#include <plat/cpu.h>
#if defined(CONFIG_DRM_OMAP) || (CONFIG_DRM_OMAP_MODULE)
Simple merge
diff --cc arch/arm/mach-omap2/omap4-common.c
index 6f94b4e7b18ded89cf6e50f2504690a061b46f2b,3cfcd41bf8fa144d0f30e23a3ee9c57c735ec0c7..eda316abbff57a71d4e9757879e6f8080f34ccad
#include <asm/hardware/cache-l2x0.h>
#include <asm/mach/map.h>
#include <asm/memblock.h>
+#include <asm/smp_twd.h>
- #include <plat/sram.h>
- #include <plat/omap-secure.h>
- #include <plat/mmc.h>
-
#include "omap-wakeupgen.h"
-
#include "soc.h"
#include "common.h"
+ #include "mmc.h"
#include "hsmmc.h"
#include "omap4-sar-layout.h"
+ #include "omap-secure.h"
+ #include "sram.h"
#ifdef CONFIG_CACHE_L2X0
static void __iomem *l2cache_base;
diff --cc arch/arm/mach-omap2/omap_hwmod.c
Simple merge
diff --cc arch/arm/mach-omap2/omap_hwmod.h
Simple merge
index 0b1249e003987da276c2072aed5d39bcc334e8f5,224bbaf73f320154192bdf3b156a184ffd9d1564..caf946dfd4a443456652d4d19543f5072b1e006a
#include <linux/io.h>
#include <linux/platform_data/gpio-omap.h>
#include <linux/power/smartreflex.h>
+#include <linux/platform_data/omap_ocp2scp.h>
+ #include <linux/i2c-omap.h>
+
+ #include <plat-omap/dma-omap.h>
- #include <plat/omap_hwmod.h>
- #include <plat/i2c.h>
- #include <plat/dma.h>
#include <linux/platform_data/spi-omap2-mcspi.h>
#include <linux/platform_data/asoc-ti-mcbsp.h>
- #include <plat/mmc.h>
+ #include <linux/platform_data/iommu-omap.h>
#include <plat/dmtimer.h>
- #include <plat/common.h>
- #include <plat/iommu.h>
+ #include "omap_hwmod.h"
#include "omap_hwmod_common_data.h"
#include "cm1_44xx.h"
#include "cm2_44xx.h"
diff --cc arch/arm/mach-omap2/pmu.c
Simple merge
diff --cc arch/arm/mach-omap2/twl-common.c
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc drivers/mfd/omap-usb-host.c
Simple merge
diff --cc drivers/mfd/omap-usb-tll.c
Simple merge
diff --cc drivers/mmc/host/atmel-mci.c
Simple merge
diff --cc drivers/mmc/host/omap.c
Simple merge
diff --cc drivers/mmc/host/omap_hsmmc.c
index e1f3c1135f9377b67e66f814c4d23afada637297,9b24bd46aad3ea5fd26d887e91eef1f46bdb76b5..bc5807873b2cc61031e943f855c63f09086e5c31
#include <linux/io.h>
#include <linux/gpio.h>
#include <linux/regulator/consumer.h>
+#include <linux/pinctrl/consumer.h>
#include <linux/pm_runtime.h>
- #include <mach/hardware.h>
- #include <plat/mmc.h>
- #include <plat/cpu.h>
+ #include <linux/platform_data/mmc-omap.h>
/* OMAP HSMMC Host Controller Registers */
#define OMAP_HSMMC_SYSSTATUS 0x0014
diff --cc drivers/tty/serial/atmel_serial.c
index 1a8a2713dd95ac3a1643d5287ea9802186006cc8,5660ec2618a3fd922301b3697d7fff2370f2e8c3..922e85aeb63ab7c0b7a555a2543539fa811ed67a
#include <linux/atmel_pdc.h>
#include <linux/atmel_serial.h>
#include <linux/uaccess.h>
+#include <linux/pinctrl/consumer.h>
+ #include <linux/platform_data/atmel.h>
#include <asm/io.h>
#include <asm/ioctls.h>
- #include <mach/board.h>
-#include <asm/mach/serial_at91.h>
--
#ifdef CONFIG_ARM
#include <mach/cpu.h>
#include <asm/gpio.h>
diff --cc drivers/usb/gadget/at91_udc.c
Simple merge
diff --cc drivers/usb/gadget/omap_udc.c
Simple merge
diff --cc drivers/usb/host/ehci-omap.c
Simple merge
diff --cc drivers/usb/host/ohci-at91.c
Simple merge
diff --cc drivers/usb/host/ohci-omap.c
Simple merge
diff --cc drivers/usb/host/ohci-omap3.c
Simple merge
diff --cc drivers/usb/musb/am35x.c
Simple merge
diff --cc drivers/usb/musb/musb_dsps.c
Simple merge
diff --cc drivers/usb/musb/tusb6010_omap.c
Simple merge
diff --cc drivers/video/omap2/dss/dss.c
Simple merge
diff --cc drivers/video/omap2/dss/hdmi.c
Simple merge
Simple merge
diff --cc include/linux/platform_data/mmc-omap.h
index 346af5b490be0f02e187b3c080b3140f6192941a,2bf6ea82ff9475dec177262589355b26b33836f5..2bf1b30cb5dcf9fe13d667a9c5da5dff2760260c
/* we can put the features above into this variable */
#define HSMMC_HAS_PBIAS (1 << 0)
#define HSMMC_HAS_UPDATED_RESET (1 << 1)
-#define MMC_OMAP7XX (1 << 2)
-#define MMC_OMAP15XX (1 << 3)
-#define MMC_OMAP16XX (1 << 4)
+#define HSMMC_HAS_HSPE_SUPPORT (1 << 2)
++#define MMC_OMAP7XX (1 << 3)
++#define MMC_OMAP15XX (1 << 4)
++#define MMC_OMAP16XX (1 << 5)
unsigned features;
int switch_pin; /* gpio (card detect) */