Merge tag 'cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 27 Mar 2012 23:03:32 +0000 (16:03 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 27 Mar 2012 23:03:32 +0000 (16:03 -0700)
Pull "ARM: global cleanups" from Arnd Bergmann:
 "Quite a bit of code gets removed, and some stuff moved around, mostly
  the old samsung s3c24xx stuff.  There should be no functional changes
  in this series otherwise.  Some cleanups have dependencies on other
  arm-soc branches and will be sent in the second round.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>"

Fixed up trivial conflicts mainly due to #include's being changes on
both sides.

* tag 'cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (121 commits)
  ep93xx: Remove unnecessary includes of ep93xx-regs.h
  ep93xx: Move EP93XX_SYSCON defines to SoC private header
  ep93xx: Move crunch code to mach-ep93xx directory
  ep93xx: Make syscon access functions private to SoC
  ep93xx: Configure GPIO ports in core code
  ep93xx: Move peripheral defines to local SoC header
  ep93xx: Convert the watchdog driver into a platform device.
  ep93xx: Use ioremap for backlight driver
  ep93xx: Move GPIO defines to gpio-ep93xx.h
  ep93xx: Don't use system controller defines in audio drivers
  ep93xx: Move PHYS_BASE defines to local SoC header file
  ARM: EXYNOS: Add clock register addresses for EXYNOS4X12 bus devfreq driver
  ARM: EXYNOS: add clock registers for exynos4x12-cpufreq
  PM / devfreq: update the name of EXYNOS clock registers that were omitted
  PM / devfreq: update the name of EXYNOS clock register
  ARM: EXYNOS: change the prefix S5P_ to EXYNOS4_ for clock
  ARM: EXYNOS: use static declaration on regarding clock
  ARM: EXYNOS: replace clock.c for other new EXYNOS SoCs
  ARM: OMAP2+: Fix build error after merge
  ARM: S3C24XX: remove call to s3c24xx_setup_clocks
  ...

51 files changed:
1  2 
Documentation/feature-removal-schedule.txt
arch/arm/Kconfig
arch/arm/mach-exynos/Makefile
arch/arm/mach-exynos/common.c
arch/arm/mach-exynos/mach-origen.c
arch/arm/mach-exynos/mach-universal_c210.c
arch/arm/mach-omap1/board-ams-delta.c
arch/arm/mach-omap1/board-fsample.c
arch/arm/mach-omap1/board-h2.c
arch/arm/mach-omap1/board-h3.c
arch/arm/mach-omap1/board-htcherald.c
arch/arm/mach-omap1/board-innovator.c
arch/arm/mach-omap1/board-nokia770.c
arch/arm/mach-omap1/board-osk.c
arch/arm/mach-omap1/board-palmte.c
arch/arm/mach-omap1/board-palmtt.c
arch/arm/mach-omap1/board-palmz71.c
arch/arm/mach-omap1/board-perseus2.c
arch/arm/mach-omap1/board-sx1.c
arch/arm/mach-omap1/devices.c
arch/arm/mach-omap1/io.c
arch/arm/mach-omap1/lcd_dma.c
arch/arm/mach-omap1/mcbsp.c
arch/arm/mach-omap2/board-n8x0.c
arch/arm/mach-omap2/board-zoom-display.c
arch/arm/mach-omap2/common-board-devices.c
arch/arm/mach-omap2/control.h
arch/arm/mach-omap2/devices.c
arch/arm/mach-omap2/io.c
arch/arm/mach-omap2/omap-mpuss-lowpower.c
arch/arm/mach-omap2/pm.c
arch/arm/mach-s3c24xx/simtec-pm.c
arch/arm/mach-tegra/Kconfig
arch/arm/mach-tegra/usb_phy.c
arch/arm/plat-omap/dma.c
arch/arm/plat-omap/dmtimer.c
arch/arm/plat-omap/sram.c
drivers/devfreq/exynos4_bus.c
drivers/input/touchscreen/Kconfig
drivers/leds/Kconfig
drivers/mtd/nand/Kconfig
drivers/rtc/Kconfig
drivers/rtc/rtc-sa1100.c
drivers/spi/Kconfig
drivers/usb/Kconfig
drivers/usb/gadget/Kconfig
drivers/usb/host/ohci-hcd.c
drivers/video/Kconfig
drivers/video/omap2/dss/dispc.c
drivers/video/omap2/dss/dss.c
drivers/watchdog/Kconfig

@@@ -510,36 -510,3 +510,22 @@@ Why:     The pci_scan_bus_parented() interf
        convert to using pci_scan_root_bus() so they can supply a list of
        bus resources when the bus is created.
  Who:  Bjorn Helgaas <bhelgaas@google.com>
 +
 +----------------------------
 +
- What: The CAP9 SoC family will be removed
- When: 3.4
- Files:        arch/arm/mach-at91/at91cap9.c
-       arch/arm/mach-at91/at91cap9_devices.c
-       arch/arm/mach-at91/include/mach/at91cap9.h
-       arch/arm/mach-at91/include/mach/at91cap9_matrix.h
-       arch/arm/mach-at91/include/mach/at91cap9_ddrsdr.h
-       arch/arm/mach-at91/board-cap9adk.c
- Why:  The code is not actively maintained and platforms are now hard to find.
- Who:  Nicolas Ferre <nicolas.ferre@atmel.com>
-       Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
- ----------------------------
 +What: Low Performance USB Block driver ("CONFIG_BLK_DEV_UB")
 +When: 3.6
 +Why:  This driver provides support for USB storage devices like "USB
 +      sticks". As of now, it is deactivated in Debian, Fedora and
 +        Ubuntu. All current users can switch over to usb-storage
 +        (CONFIG_USB_STORAGE) which only drawback is the additional SCSI
 +        stack.
 +Who:  Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
 +
 +----------------------------
 +
 +What: kmap_atomic(page, km_type)
 +When: 3.5
 +Why:  The old kmap_atomic() with two arguments is deprecated, we only
 +      keep it for backward compatibility for few cycles and then drop it.
 +Who:  Cong Wang <amwang@redhat.com>
Simple merge
Simple merge
Simple merge
Simple merge
@@@ -20,7 -20,7 +20,8 @@@
  #include <linux/platform_device.h>
  #include <linux/serial_8250.h>
  #include <linux/export.h>
 +#include <linux/omapfb.h>
+ #include <linux/io.h>
  
  #include <media/soc_camera.h>
  
@@@ -21,9 -21,7 +21,8 @@@
  #include <linux/mtd/physmap.h>
  #include <linux/input.h>
  #include <linux/smc91x.h>
 +#include <linux/omapfb.h>
  
- #include <mach/hardware.h>
  #include <asm/mach-types.h>
  #include <asm/mach/arch.h>
  #include <asm/mach/map.h>
  #include <linux/input.h>
  #include <linux/i2c/tps65010.h>
  #include <linux/smc91x.h>
 +#include <linux/omapfb.h>
  
- #include <mach/hardware.h>
  #include <asm/mach-types.h>
  #include <asm/mach/arch.h>
  #include <asm/mach/map.h>
Simple merge
Simple merge
@@@ -25,9 -25,7 +25,8 @@@
  #include <linux/mtd/physmap.h>
  #include <linux/input.h>
  #include <linux/smc91x.h>
 +#include <linux/omapfb.h>
  
- #include <mach/hardware.h>
  #include <asm/mach-types.h>
  #include <asm/mach/arch.h>
  #include <asm/mach/map.h>
@@@ -30,7 -29,7 +29,6 @@@
  #include <plat/usb.h>
  #include <plat/board.h>
  #include <plat/keypad.h>
- #include "common.h"
 -#include <plat/hwa742.h>
  #include <plat/lcd_mipid.h>
  #include <plat/mmc.h>
  #include <plat/clock.h>
@@@ -34,8 -34,6 +34,7 @@@
  #include <linux/i2c.h>
  #include <linux/leds.h>
  #include <linux/smc91x.h>
 +#include <linux/omapfb.h>
  #include <linux/mtd/mtd.h>
  #include <linux/mtd/partitions.h>
  #include <linux/mtd/physmap.h>
@@@ -27,9 -27,7 +27,8 @@@
  #include <linux/spi/spi.h>
  #include <linux/interrupt.h>
  #include <linux/apm-emulation.h>
 +#include <linux/omapfb.h>
  
- #include <mach/hardware.h>
  #include <asm/mach-types.h>
  #include <asm/mach/arch.h>
  #include <asm/mach/map.h>
  #include <linux/mtd/partitions.h>
  #include <linux/mtd/physmap.h>
  #include <linux/leds.h>
 +#include <linux/omapfb.h>
+ #include <linux/spi/spi.h>
+ #include <linux/spi/ads7846.h>
  
- #include <mach/hardware.h>
  #include <asm/mach-types.h>
  #include <asm/mach/arch.h>
  #include <asm/mach/map.h>
  #include <linux/mtd/mtd.h>
  #include <linux/mtd/partitions.h>
  #include <linux/mtd/physmap.h>
 +#include <linux/omapfb.h>
+ #include <linux/spi/spi.h>
+ #include <linux/spi/ads7846.h>
  
- #include <mach/hardware.h>
  #include <asm/mach-types.h>
  #include <asm/mach/arch.h>
  #include <asm/mach/map.h>
@@@ -21,9 -21,7 +21,8 @@@
  #include <linux/mtd/physmap.h>
  #include <linux/input.h>
  #include <linux/smc91x.h>
 +#include <linux/omapfb.h>
  
- #include <mach/hardware.h>
  #include <asm/mach-types.h>
  #include <asm/mach/arch.h>
  #include <asm/mach/map.h>
@@@ -27,9 -27,7 +27,8 @@@
  #include <linux/i2c.h>
  #include <linux/errno.h>
  #include <linux/export.h>
 +#include <linux/omapfb.h>
  
- #include <mach/hardware.h>
  #include <asm/mach-types.h>
  #include <asm/mach/arch.h>
  #include <asm/mach/map.h>
  #include <plat/mux.h>
  #include <plat/mmc.h>
  #include <plat/omap7xx.h>
 -#include <plat/mcbsp.h>
  
+ #include <mach/camera.h>
+ #include <mach/hardware.h>
+ #include "common.h"
  #include "clock.h"
  
  /*-------------------------------------------------------------------------*/
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
@@@ -25,8 -24,9 +25,8 @@@
  #include <asm/mach/map.h>
  #include <asm/pmu.h>
  
- #include <plat/tc.h>
+ #include "iomap.h"
  #include <plat/board.h>
 -#include <plat/mcbsp.h>
  #include <plat/mmc.h>
  #include <plat/dma.h>
  #include <plat/omap_hwmod.h>
@@@ -21,9 -21,9 +21,8 @@@
  #include <linux/init.h>
  #include <linux/io.h>
  #include <linux/clk.h>
 -#include <linux/omapfb.h>
  
  #include <asm/tlb.h>
  #include <asm/mach/map.h>
  
  #include <plat/sram.h>
Simple merge
index 0000000,68296b1..699f931
mode 000000,100644..100644
--- /dev/null
@@@ -1,0 -1,66 +1,66 @@@
+ /* linux/arch/arm/plat-s3c24xx/pm-simtec.c
+  *
+  * Copyright 2004 Simtec Electronics
+  *    Ben Dooks <ben@simtec.co.uk>
+  *
+  * http://armlinux.simtec.co.uk/
+  *
+  * Power Management helpers for Simtec S3C24XX implementations
+  *
+  * This program is free software; you can redistribute it and/or modify
+  * it under the terms of the GNU General Public License version 2 as
+  * published by the Free Software Foundation.
+ */
+ #include <linux/kernel.h>
+ #include <linux/types.h>
+ #include <linux/interrupt.h>
+ #include <linux/list.h>
+ #include <linux/timer.h>
+ #include <linux/init.h>
+ #include <linux/device.h>
+ #include <linux/io.h>
+ #include <asm/mach/arch.h>
+ #include <asm/mach/map.h>
+ #include <mach/hardware.h>
+ #include <mach/map.h>
+ #include <mach/regs-gpio.h>
+ #include <mach/regs-mem.h>
+ #include <asm/mach-types.h>
+ #include <plat/pm.h>
+ #define COPYRIGHT ", Copyright 2005 Simtec Electronics"
+ /* pm_simtec_init
+  *
+  * enable the power management functions
+ */
+ static __init int pm_simtec_init(void)
+ {
+       unsigned long gstatus4;
+       /* check which machine we are running on */
+       if (!machine_is_bast() && !machine_is_vr1000() &&
+           !machine_is_anubis() && !machine_is_osiris() &&
+           !machine_is_aml_m5900())
+               return 0;
 -      printk(KERN_INFO "Simtec Board Power Manangement" COPYRIGHT "\n");
++      printk(KERN_INFO "Simtec Board Power Management" COPYRIGHT "\n");
+       gstatus4  = (__raw_readl(S3C2410_BANKCON7) & 0x3) << 30;
+       gstatus4 |= (__raw_readl(S3C2410_BANKCON6) & 0x3) << 28;
+       gstatus4 |= (__raw_readl(S3C2410_BANKSIZE) & S3C2410_BANKSIZE_MASK);
+       __raw_writel(gstatus4, S3C2410_GSTATUS4);
+       return s3c_pm_init();
+ }
+ arch_initcall(pm_simtec_init);
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
@@@ -243,24 -213,9 +243,24 @@@ config TOUCHSCREEN_FUJITS
          To compile this driver as a module, choose M here: the
          module will be called fujitsu-ts.
  
 +config TOUCHSCREEN_ILI210X
 +      tristate "Ilitek ILI210X based touchscreen"
 +      depends on I2C
 +      help
 +        Say Y here if you have a ILI210X based touchscreen
 +        controller. This driver supports models ILI2102,
 +        ILI2102s, ILI2103, ILI2103s and ILI2105.
 +        Such kind of chipsets can be found in Amazon Kindle Fire
 +        touchscreens.
 +
 +        If unsure, say N.
 +
 +        To compile this driver as a module, choose M here: the
 +        module will be called ili210x.
 +
  config TOUCHSCREEN_S3C2410
        tristate "Samsung S3C2410/generic touchscreen input driver"
-       depends on ARCH_S3C2410 || SAMSUNG_DEV_TS
+       depends on ARCH_S3C24XX || SAMSUNG_DEV_TS
        select S3C_ADC
        help
          Say Y here if you have the s3c2410 touchscreen.
Simple merge
Simple merge
Simple merge
Simple merge
@@@ -285,15 -279,9 +285,15 @@@ config SPI_PXA2X
  config SPI_PXA2XX_PCI
        def_bool SPI_PXA2XX && X86_32 && PCI
  
 +config SPI_RSPI
 +      tristate "Renesas RSPI controller"
 +      depends on SUPERH
 +      help
 +        SPI driver for Renesas RSPI blocks.
 +
  config SPI_S3C24XX
        tristate "Samsung S3C24XX series SPI"
-       depends on ARCH_S3C2410 && EXPERIMENTAL
+       depends on ARCH_S3C24XX && EXPERIMENTAL
        select SPI_BITBANG
        help
          SPI driver for Samsung S3C24XX series ARM SoCs
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge