projects/linux·commit 6f888fe3

Merge tag 'armsoc-cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc

6f888fe3 · Linus Torvalds <[email protected]> · 2016-08-01 18:21:13 -04:00

Pull ARM SoC cleanups from Olof Johansson:
 "The cleanup branch keeps going down in size as we've completed a lot
  of the major legacy platform removals and conversions.

  A handful of changes this time around, some of the themes or larger
  sets are:

   - A bunch of i.MX cleanups around platform detection, init call cleanups
   - Misc fixes of missing/implicit includes
   - Removal of ARCH_[WANT_OPTIONAL|REQUIRE]_GPIOLIB"

* tag 'armsoc-cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (40 commits)
  ARM: mps2: fix typo
  ARM: s3c64xx: avoid warning about 'struct device_node'
  bus: mvebu-mbus: make mvebu_mbus_syscore_ops static
  bus: mvebu-mbus: fix __iomem on register pointers
  ARM: tegra: Remove board_init_funcs array
  ARM: iop: Fix indentation
  ARM: imx: remove cpu_is_mx*()
  ARM: imx: remove last call to cpu_is_mx5*
  ARM: imx: rework mx27_pm_init() call
  ARM: imx: deconstruct mx3_idle
  ARM: imx: deconstruct mxc_rnga initialization
  ARM: imx: remove cpu_is_mx1 check
  ARM: i.MX: Do not explicitly call l2x0_of_init()
  ARM: i.MX: system.c: Tweak prefetch settings for performance
  ARM: i.MX: system.c: Replace magic numbers
  ARM: i.MX: system.c: Remove redundant errata 752271 code
  ARM: i.MX: system.c: Convert goto to if statement
  ARM: Kirkwood: fix kirkwood_pm_init() declaration/type
  ARM: Kirkwood: make kirkwood_disable_mbus_error_propagation() static
  ARM: orion5x: make orion5x_legacy_handle_irq static
  ...
Commit
6f888fe31dfcda4cb25018b0af3f50049fcf0b7f
Parents
5dd0bf62 · 3cc5612b

Merge commit. Changes below are compared with the first parent: 5dd0bf62.

Changes

96 files changed · +222 −436

FileStatusAddDelContent
arch/arm/Kconfigmodified+17−19View file
arch/arm/mach-at91/Kconfigmodified+1−1View file
arch/arm/mach-bcm/Kconfigmodified+3−4View file
arch/arm/mach-berlin/Kconfigmodified+1−1View file
arch/arm/mach-digicolor/Kconfigmodified+1−1View file
arch/arm/mach-exynos/Kconfigmodified+1−1View file
arch/arm/mach-imx/Kconfigmodified+1−5View file
arch/arm/mach-imx/Makefilemodified+2−2View file
arch/arm/mach-imx/common.hmodified+2−1View file
arch/arm/mach-imx/cpu-imx5.cmodified+0−8View file
arch/arm/mach-imx/cpu.cmodified+0−2View file
arch/arm/mach-imx/devices/Kconfigmodified+0−4View file
arch/arm/mach-imx/devices/platform-mxc_rnga.cdeleted+0−53View before deletion
arch/arm/mach-imx/eukrea-baseboards.hdeleted+0−42View before deletion
arch/arm/mach-imx/imx27-dt.cmodified+1−0View file
arch/arm/mach-imx/imx31-dt.cmodified+12−0View file
arch/arm/mach-imx/imx35-dt.cmodified+3−7View file
arch/arm/mach-imx/mach-imx50.cmodified+0−1View file
arch/arm/mach-imx/mach-imx51.cmodified+0−1View file
arch/arm/mach-imx/mach-imx53.cmodified+0−1View file
arch/arm/mach-imx/mach-imx6q.cmodified+2−0View file
arch/arm/mach-imx/mach-imx6sl.cmodified+2−0View file
arch/arm/mach-imx/mach-imx6sx.cmodified+2−0View file
arch/arm/mach-imx/mm-imx1.cmodified+1−1View file
arch/arm/mach-imx/mm-imx27.cmodified+2−0View file
arch/arm/mach-imx/mm-imx3.cmodified+28−4View file
arch/arm/mach-imx/mxc.hmodified+0−101View file
arch/arm/mach-imx/pm-imx27.cmodified+1−7View file
arch/arm/mach-imx/pm-imx3.cdeleted+0−38View before deletion
arch/arm/mach-imx/system.cmodified+25−33View file
arch/arm/mach-imx/tzic.cmodified+5−5View file
arch/arm/mach-integrator/Kconfigmodified+2−2View file
arch/arm/mach-meson/Kconfigmodified+1−1View file
arch/arm/mach-mmp/Kconfigmodified+1−1View file
arch/arm/mach-moxart/Kconfigmodified+1−1View file
arch/arm/mach-mv78xx0/Kconfigmodified+1−1View file
arch/arm/mach-mvebu/Kconfigmodified+2−2View file
arch/arm/mach-mvebu/coherency.hmodified+1−0View file
arch/arm/mach-mvebu/cpu-reset.cmodified+2−0View file
arch/arm/mach-mvebu/kirkwood-pm.cmodified+2−2View file
arch/arm/mach-mvebu/kirkwood.cmodified+1−1View file
arch/arm/mach-mvebu/pm.cmodified+1−0View file
arch/arm/mach-mvebu/pmsu.cmodified+2−1View file
arch/arm/mach-mvebu/system-controller.cmodified+1−1View file
arch/arm/mach-mxs/Kconfigmodified+1−1View file
arch/arm/mach-nomadik/Kconfigmodified+1−1View file
arch/arm/mach-omap2/Kconfigmodified+1−1View file
arch/arm/mach-orion5x/Kconfigmodified+1−1View file
arch/arm/mach-orion5x/irq.cmodified+1−1View file
arch/arm/mach-oxnas/Kconfigmodified+1−1View file
arch/arm/mach-picoxcell/Kconfigmodified+1−1View file
arch/arm/mach-prima2/Kconfigmodified+1−1View file
arch/arm/mach-rockchip/Kconfigmodified+1−1View file
arch/arm/mach-s3c24xx/Kconfigmodified+1−1View file
arch/arm/mach-s3c24xx/include/mach/regs-gpio.hmodified+1−1View file
arch/arm/mach-s3c24xx/iotiming-s3c2410.cmodified+1−1View file
arch/arm/mach-s3c24xx/mach-n30.cmodified+1−1View file
arch/arm/mach-s3c24xx/mach-osiris-dvs.cmodified+1−1View file
arch/arm/mach-s3c24xx/pll-s3c2410.cmodified+2−1View file
arch/arm/mach-s3c24xx/pll-s3c2440-12000000.cmodified+1−0View file
arch/arm/mach-s3c24xx/pll-s3c2440-16934400.cmodified+1−0View file
arch/arm/mach-s3c64xx/Kconfigmodified+1−1View file
arch/arm/mach-s3c64xx/common.hmodified+1−0View file
arch/arm/mach-s3c64xx/include/mach/map.hmodified+1−1View file
arch/arm/mach-s5pv210/Kconfigmodified+1−1View file
arch/arm/mach-shmobile/Kconfigmodified+1−1View file
arch/arm/mach-spear/Kconfigmodified+1−1View file
arch/arm/mach-sti/Kconfigmodified+1−1View file
arch/arm/mach-sunxi/Kconfigmodified+1−1View file
arch/arm/mach-tegra/Kconfigmodified+1−1View file
arch/arm/mach-tegra/common.hmodified+22−0View file
arch/arm/mach-tegra/cpuidle-tegra114.cmodified+1−0View file
arch/arm/mach-tegra/cpuidle-tegra20.cmodified+1−0View file
arch/arm/mach-tegra/cpuidle-tegra30.cmodified+1−0View file
arch/arm/mach-tegra/cpuidle.hmodified+2−0View file
arch/arm/mach-tegra/hotplug.cmodified+1−0View file
arch/arm/mach-tegra/irq.cmodified+1−0View file
arch/arm/mach-tegra/pm.hmodified+1−1View file
arch/arm/mach-tegra/tegra.cmodified+3−21View file
arch/arm/mach-u300/Kconfigmodified+1−1View file
arch/arm/mach-uniphier/platsmp.cmodified+5−13View file
arch/arm/mach-ux500/Kconfigmodified+1−1View file
arch/arm/mach-vexpress/Kconfigmodified+1−1View file
arch/arm/mach-vexpress/hotplug.cmodified+2−0View file
arch/arm/mach-vexpress/spc.cmodified+3−3View file
arch/arm/mach-vt8500/Kconfigmodified+1−1View file
arch/arm/plat-iop/setup.cmodified+2−2View file
arch/arm/plat-samsung/include/plat/cpu-freq-core.hmodified+1−1View file
arch/arm/plat-samsung/include/plat/fb-s3c2410.hmodified+1−1View file
arch/arm/plat-samsung/include/plat/gpio-cfg.hmodified+1−1View file
arch/arm/plat-samsung/pm-check.cmodified+1−1View file
arch/arm/plat-samsung/watchdog-reset.cmodified+1−1View file
arch/arm/plat-versatile/platsmp.cmodified+2−0View file
drivers/bus/mvebu-mbus.cmodified+5−5View file
drivers/power/reset/vexpress-poweroff.cmodified+2−2View file
include/linux/mbus.hmodified+1−1View file

Only the first 600 diff lines are shown. Download the complete patch.

arch/arm/Kconfig

View file
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 4c445fb..9ec5f55 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -327,7 +327,6 @@ choice
config ARCH_MULTIPLATFORM
bool "Allow multiple platforms to be selected"
depends on MMU
- select ARCH_WANT_OPTIONAL_GPIOLIB
select ARM_HAS_SG_CHAIN
select ARM_PATCH_PHYS_VIRT
select AUTO_ZRELADDR
@@ -342,7 +341,6 @@ config ARCH_MULTIPLATFORM
config ARM_SINGLE_ARMV7M
bool "ARMv7-M based platforms (Cortex-M0/M3/M4)"
depends on !MMU
- select ARCH_WANT_OPTIONAL_GPIOLIB
select ARM_NVIC
select AUTO_ZRELADDR
select CLKSRC_OF
@@ -356,12 +354,12 @@ config ARM_SINGLE_ARMV7M
config ARCH_CLPS711X
bool "Cirrus Logic CLPS711x/EP721x/EP731x-based"
- select ARCH_REQUIRE_GPIOLIB
select AUTO_ZRELADDR
select COMMON_CLK
select CPU_ARM720T
select GENERIC_CLOCKEVENTS
select CLPS711X_TIMER
+ select GPIOLIB
select MFD_SYSCON
select SOC_BUS
help
@@ -369,10 +367,10 @@ config ARCH_CLPS711X
config ARCH_GEMINI
bool "Cortina Systems Gemini"
- select ARCH_REQUIRE_GPIOLIB
select CLKSRC_MMIO
select CPU_FA526
select GENERIC_CLOCKEVENTS
+ select GPIOLIB
help
Support for the Cortina Systems Gemini family SoCs
@@ -393,7 +391,6 @@ config ARCH_EBSA110
config ARCH_EP93XX
bool "EP93xx-based"
select ARCH_HAS_HOLES_MEMORYMODEL
- select ARCH_REQUIRE_GPIOLIB
select ARM_AMBA
select ARM_PATCH_PHYS_VIRT
select ARM_VIC
@@ -402,6 +399,7 @@ config ARCH_EP93XX
select CLKSRC_MMIO
select CPU_ARM920T
select GENERIC_CLOCKEVENTS
+ select GPIOLIB
help
This enables support for the Cirrus EP93xx series of CPUs.
@@ -442,9 +440,9 @@ config ARCH_IOP13XX
config ARCH_IOP32X
bool "IOP32x-based"
depends on MMU
- select ARCH_REQUIRE_GPIOLIB
select CPU_XSCALE
select GPIO_IOP
+ select GPIOLIB
select NEED_RET_TO_USER
select PCI
select PLAT_IOP
@@ -455,9 +453,9 @@ config ARCH_IOP32X
config ARCH_IOP33X
bool "IOP33x-based"
depends on MMU
- select ARCH_REQUIRE_GPIOLIB
select CPU_XSCALE
select GPIO_IOP
+ select GPIOLIB
select NEED_RET_TO_USER
select PCI
select PLAT_IOP
@@ -468,12 +466,12 @@ config ARCH_IXP4XX
bool "IXP4xx-based"
depends on MMU
select ARCH_HAS_DMA_SET_COHERENT_MASK
- select ARCH_REQUIRE_GPIOLIB
select ARCH_SUPPORTS_BIG_ENDIAN
select CLKSRC_MMIO
select CPU_XSCALE
select DMABOUNCE if PCI
select GENERIC_CLOCKEVENTS
+ select GPIOLIB
select MIGHT_HAVE_PCI
select NEED_MACH_IO_H
select USB_EHCI_BIG_ENDIAN_DESC
@@ -483,9 +481,9 @@ config ARCH_IXP4XX
config ARCH_DOVE
bool "Marvell Dove"
- select ARCH_REQUIRE_GPIOLIB
select CPU_PJ4
select GENERIC_CLOCKEVENTS
+ select GPIOLIB
select MIGHT_HAVE_PCI
select MULTI_IRQ_HANDLER
select MVEBU_MBUS
@@ -499,10 +497,10 @@ config ARCH_DOVE
config ARCH_KS8695
bool "Micrel/Kendin KS8695"
- select ARCH_REQUIRE_GPIOLIB
select CLKSRC_MMIO
select CPU_ARM922T
select GENERIC_CLOCKEVENTS
+ select GPIOLIB
select NEED_MACH_MEMORY_H
help
Support for Micrel/Kendin KS8695 "Centaur" (ARM922T) based
@@ -510,11 +508,11 @@ config ARCH_KS8695
config ARCH_W90X900
bool "Nuvoton W90X900 CPU"
- select ARCH_REQUIRE_GPIOLIB
select CLKDEV_LOOKUP
select CLKSRC_MMIO
select CPU_ARM926T
select GENERIC_CLOCKEVENTS
+ select GPIOLIB
help
Support for Nuvoton (Winbond logic dept.) ARM9 processor,
At present, the w90x900 has been renamed nuc900, regarding
@@ -526,13 +524,13 @@ config ARCH_W90X900
config ARCH_LPC32XX
bool "NXP LPC32XX"
- select ARCH_REQUIRE_GPIOLIB
select ARM_AMBA
select CLKDEV_LOOKUP
select CLKSRC_LPC32XX
select COMMON_CLK
select CPU_ARM926T
select GENERIC_CLOCKEVENTS
+ select GPIOLIB
select MULTI_IRQ_HANDLER
select SPARSE_IRQ
select USE_OF
@@ -543,7 +541,6 @@ config ARCH_PXA
bool "PXA2xx/PXA3xx-based"
depends on MMU
select ARCH_MTD_XIP
- select ARCH_REQUIRE_GPIOLIB
select ARM_CPU_SUSPEND if PM
select AUTO_ZRELADDR
select COMMON_CLK
@@ -554,6 +551,7 @@ config ARCH_PXA
select CPU_XSCALE if !CPU_XSC3
select GENERIC_CLOCKEVENTS
select GPIO_PXA
+ select GPIOLIB
select HAVE_IDE
select IRQ_DOMAIN
select MULTI_IRQ_HANDLER
@@ -584,7 +582,6 @@ config ARCH_RPC
config ARCH_SA1100
bool "SA1100-based"
select ARCH_MTD_XIP
- select ARCH_REQUIRE_GPIOLIB
select ARCH_SPARSEMEM_ENABLE
select CLKDEV_LOOKUP
select CLKSRC_MMIO
@@ -593,6 +590,7 @@ config ARCH_SA1100
select CPU_FREQ
select CPU_SA1100
select GENERIC_CLOCKEVENTS
+ select GPIOLIB
select HAVE_IDE
select IRQ_DOMAIN
select ISA
@@ -604,12 +602,12 @@ config ARCH_SA1100
config ARCH_S3C24XX
bool "Samsung S3C24XX SoCs"
- select ARCH_REQUIRE_GPIOLIB
select ATAGS
select CLKDEV_LOOKUP
select CLKSRC_SAMSUNG_PWM
select GENERIC_CLOCKEVENTS
select GPIO_SAMSUNG
+ select GPIOLIB
select HAVE_S3C2410_I2C if I2C
select HAVE_S3C2410_WATCHDOG if WATCHDOG
select HAVE_S3C_RTC if RTC_CLASS
@@ -625,12 +623,12 @@ config ARCH_S3C24XX
config ARCH_DAVINCI
bool "TI DaVinci"
select ARCH_HAS_HOLES_MEMORYMODEL
- select ARCH_REQUIRE_GPIOLIB
select CLKDEV_LOOKUP
select CPU_ARM926T
select GENERIC_ALLOCATOR
select GENERIC_CLOCKEVENTS
select GENERIC_IRQ_CHIP
+ select GPIOLIB
select HAVE_IDE
select USE_OF
select ZONE_DMA
@@ -642,11 +640,11 @@ config ARCH_OMAP1
depends on MMU
select ARCH_HAS_HOLES_MEMORYMODEL
select ARCH_OMAP
- select ARCH_REQUIRE_GPIOLIB
select CLKDEV_LOOKUP
select CLKSRC_MMIO
select GENERIC_CLOCKEVENTS
select GENERIC_IRQ_CHIP
+ select GPIOLIB
select HAVE_IDE
select IRQ_DOMAIN
select MULTI_IRQ_HANDLER
@@ -868,7 +866,7 @@ source "arch/arm/mach-zynq/Kconfig"
config ARCH_EFM32
bool "Energy Micro efm32"
depends on ARM_SINGLE_ARMV7M
- select ARCH_REQUIRE_GPIOLIB
+ select GPIOLIB
help
Support for Energy Micro's (now Silicon Labs) efm32 Giant Gecko
processors.
@@ -901,7 +899,7 @@ config MACH_STM32F429
default y
config ARCH_MPS2
- bool "ARM MPS2 paltform"
+ bool "ARM MPS2 platform"
depends on ARM_SINGLE_ARMV7M
select ARM_AMBA
select CLKSRC_MPS2

arch/arm/mach-at91/Kconfig

View file
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index 08047af..5204395 100644
--- a/arch/arm/mach-at91/Kconfig
+++ b/arch/arm/mach-at91/Kconfig
@@ -1,8 +1,8 @@
menuconfig ARCH_AT91
bool "Atmel SoCs"
depends on ARCH_MULTI_V4T || ARCH_MULTI_V5 || ARCH_MULTI_V7
- select ARCH_REQUIRE_GPIOLIB
select COMMON_CLK_AT91
+ select GPIOLIB
select PINCTRL
select SOC_BUS

arch/arm/mach-bcm/Kconfig

View file
diff --git a/arch/arm/mach-bcm/Kconfig b/arch/arm/mach-bcm/Kconfig
index 4f1709b..5f63f51 100644
--- a/arch/arm/mach-bcm/Kconfig
+++ b/arch/arm/mach-bcm/Kconfig
@@ -17,7 +17,7 @@ config ARCH_BCM_IPROC
select ARM_GLOBAL_TIMER
select COMMON_CLK_IPROC
select CLKSRC_MMIO
- select ARCH_REQUIRE_GPIOLIB
+ select GPIOLIB
select ARM_AMBA
select PINCTRL
help
@@ -80,7 +80,7 @@ comment "KONA architected SoCs"
config ARCH_BCM_MOBILE
bool
- select ARCH_REQUIRE_GPIOLIB
+ select GPIOLIB
select ARM_ERRATA_754322
select ARM_ERRATA_775420
select ARM_GIC
@@ -138,7 +138,7 @@ comment "Other Architectures"
config ARCH_BCM2835
bool "Broadcom BCM2835 family"
depends on ARCH_MULTI_V6 || ARCH_MULTI_V7
- select ARCH_REQUIRE_GPIOLIB
+ select GPIOLIB
select ARM_AMBA
select ARM_ERRATA_411920 if ARCH_MULTI_V6
select ARM_TIMER_SP804
@@ -178,7 +178,6 @@ config ARCH_BRCMSTB
select BRCMSTB_L2_IRQ
select BCM7120_L2_IRQ
select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
- select ARCH_WANT_OPTIONAL_GPIOLIB
select SOC_BRCMSTB
select SOC_BUS
help

arch/arm/mach-berlin/Kconfig

View file
diff --git a/arch/arm/mach-berlin/Kconfig b/arch/arm/mach-berlin/Kconfig
index ffbfa0b..63ab1d3 100644
--- a/arch/arm/mach-berlin/Kconfig
+++ b/arch/arm/mach-berlin/Kconfig
@@ -2,11 +2,11 @@ menuconfig ARCH_BERLIN
bool "Marvell Berlin SoCs"
depends on ARCH_MULTI_V7
select ARCH_HAS_RESET_CONTROLLER
- select ARCH_REQUIRE_GPIOLIB
select ARM_GIC
select DW_APB_ICTL
select DW_APB_TIMER_OF
select GENERIC_IRQ_CHIP
+ select GPIOLIB
select MFD_SYSCON
select PINCTRL

arch/arm/mach-digicolor/Kconfig

View file
diff --git a/arch/arm/mach-digicolor/Kconfig b/arch/arm/mach-digicolor/Kconfig
index fc65b0f..9d05c6c 100644
--- a/arch/arm/mach-digicolor/Kconfig
+++ b/arch/arm/mach-digicolor/Kconfig
@@ -1,10 +1,10 @@
config ARCH_DIGICOLOR
bool "Conexant Digicolor SoC Support"
depends on ARCH_MULTI_V7
- select ARCH_REQUIRE_GPIOLIB
select CLKSRC_MMIO
select DIGICOLOR_TIMER
select GENERIC_IRQ_CHIP
+ select GPIOLIB
select MFD_SYSCON
select PINCTRL
select PINCTRL_DIGICOLOR

arch/arm/mach-exynos/Kconfig

View file
diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig
index 20dcf6e..ecf139f 100644
--- a/arch/arm/mach-exynos/Kconfig
+++ b/arch/arm/mach-exynos/Kconfig
@@ -12,13 +12,13 @@ menuconfig ARCH_EXYNOS
depends on ARCH_MULTI_V7
select ARCH_HAS_BANDGAP
select ARCH_HAS_HOLES_MEMORYMODEL
- select ARCH_REQUIRE_GPIOLIB
select ARM_AMBA
select ARM_GIC
select COMMON_CLK_SAMSUNG
select EXYNOS_THERMAL
select EXYNOS_PMU
select EXYNOS_SROM
+ select GPIOLIB
select HAVE_ARM_SCU if SMP
select HAVE_S3C2410_I2C if I2C
select HAVE_S3C2410_WATCHDOG if WATCHDOG

arch/arm/mach-imx/Kconfig

View file
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index dd905b9..ee9a318 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -1,10 +1,10 @@
menuconfig ARCH_MXC
bool "Freescale i.MX family"
depends on ARCH_MULTI_V4_V5 || ARCH_MULTI_V6_V7 || ARM_SINGLE_ARMV7M
- select ARCH_REQUIRE_GPIOLIB
select ARCH_SUPPORTS_BIG_ENDIAN
select CLKSRC_IMX_GPT
select GENERIC_IRQ_CHIP
+ select GPIOLIB
select PINCTRL
select PM_OPP if PM
select SOC_BUS
@@ -44,9 +44,6 @@ config MXC_USE_EPIT
uses the same clocks as the GPT. Anyway, on some systems the GPT
may be in use for other purposes.
-config ARCH_HAS_RNGA
- bool
-
config HAVE_IMX_ANATOP
bool
@@ -90,7 +87,6 @@ config SOC_IMX27
config SOC_IMX31
bool
select CPU_V6
- select IMX_HAVE_PLATFORM_MXC_RNGA
select MXC_AVIC
select SMP_ON_UP if SMP

arch/arm/mach-imx/Makefile

View file
diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile
index 9fbe624..9f5fffd 100644
--- a/arch/arm/mach-imx/Makefile
+++ b/arch/arm/mach-imx/Makefile
@@ -8,8 +8,8 @@ obj-$(CONFIG_SOC_IMX25) += cpu-imx25.o mach-imx25.o pm-imx25.o
obj-$(CONFIG_SOC_IMX27) += cpu-imx27.o pm-imx27.o
obj-$(CONFIG_SOC_IMX27) += mm-imx27.o ehci-imx27.o
-obj-$(CONFIG_SOC_IMX31) += mm-imx3.o cpu-imx31.o iomux-imx31.o ehci-imx31.o pm-imx3.o
-obj-$(CONFIG_SOC_IMX35) += mm-imx3.o cpu-imx35.o ehci-imx35.o pm-imx3.o
+obj-$(CONFIG_SOC_IMX31) += mm-imx3.o cpu-imx31.o iomux-imx31.o ehci-imx31.o
+obj-$(CONFIG_SOC_IMX35) += mm-imx3.o cpu-imx35.o ehci-imx35.o
imx5-pm-$(CONFIG_PM) += pm-imx5.o
obj-$(CONFIG_SOC_IMX5) += cpu-imx5.o $(imx5-pm-y)

arch/arm/mach-imx/common.h

View file
diff --git a/arch/arm/mach-imx/common.h b/arch/arm/mach-imx/common.h
index 58a3846..a8f4693 100644
--- a/arch/arm/mach-imx/common.h
+++ b/arch/arm/mach-imx/common.h
@@ -32,7 +32,6 @@ void imx27_init_early(void);
void imx31_init_early(void);
void imx35_init_early(void);
void mxc_init_irq(void __iomem *);
-void tzic_init_irq(void);
void mx1_init_irq(void);
void mx21_init_irq(void);
void mx27_init_irq(void);
@@ -55,6 +54,7 @@ struct platform_device *mxc_register_gpio(char *name, int id,
void mxc_set_cpu_type(unsigned int type);
void mxc_restart(enum reboot_mode, const char *);
void mxc_arch_reset_init(void __iomem *);
+void imx1_reset_init(void __iomem *);
void imx_set_aips(void __iomem *);
void imx_aips_allow_unprivileged_access(const char *compat);
int mxc_device_init(void);
@@ -67,6 +67,7 @@ void imx_gpc_set_arm_power_in_lpm(bool power_off);
void imx_gpc_set_arm_power_up_timing(u32 sw2iso, u32 sw);
void imx_gpc_set_arm_power_down_timing(u32 sw2iso, u32 sw);
void imx25_pm_init(void);
+void imx27_pm_init(void);
enum mxc_cpu_pwr_mode {
WAIT_CLOCKED, /* wfi only */

arch/arm/mach-imx/cpu-imx5.c

View file
diff --git a/arch/arm/mach-imx/cpu-imx5.c b/arch/arm/mach-imx/cpu-imx5.c
index 3403bac..4f2d1c7 100644
--- a/arch/arm/mach-imx/cpu-imx5.c
+++ b/arch/arm/mach-imx/cpu-imx5.c
@@ -60,13 +60,9 @@ static int get_mx51_srev(void)
/*
* Returns:
* the silicon revision of the cpu
- * -EINVAL - not a mx51
*/
int mx51_revision(void)
{
- if (!cpu_is_mx51())
- return -EINVAL;
-
if (mx5_cpu_rev == -1)
mx5_cpu_rev = get_mx51_srev();
@@ -112,13 +108,9 @@ static int get_mx53_srev(void)
/*
* Returns:
* the silicon revision of the cpu
- * -EINVAL - not a mx53
*/
int mx53_revision(void)
{
- if (!cpu_is_mx53())
- return -EINVAL;
-
if (mx5_cpu_rev == -1)
mx5_cpu_rev = get_mx53_srev();

arch/arm/mach-imx/cpu.c

View file
diff --git a/arch/arm/mach-imx/cpu.c b/arch/arm/mach-imx/cpu.c
index 6a96b7c..b3347d3 100644
--- a/arch/arm/mach-imx/cpu.c
+++ b/arch/arm/mach-imx/cpu.c
@@ -10,8 +10,6 @@
#include "common.h"
unsigned int __mxc_cpu_type;
-EXPORT_SYMBOL(__mxc_cpu_type);
-
static unsigned int imx_soc_revision;
void mxc_set_cpu_type(unsigned int type)

arch/arm/mach-imx/devices/Kconfig

View file
diff --git a/arch/arm/mach-imx/devices/Kconfig b/arch/arm/mach-imx/devices/Kconfig
index 3a55298..6ffe572 100644
--- a/arch/arm/mach-imx/devices/Kconfig
+++ b/arch/arm/mach-imx/devices/Kconfig
@@ -57,10 +57,6 @@ config IMX_HAVE_PLATFORM_MXC_MMC
config IMX_HAVE_PLATFORM_MXC_NAND
bool
-config IMX_HAVE_PLATFORM_MXC_RNGA
- bool
- select ARCH_HAS_RNGA
-
config IMX_HAVE_PLATFORM_MXC_RTC
bool

arch/arm/mach-imx/devices/platform-mxc_rnga.c

View before deletion
diff --git a/arch/arm/mach-imx/devices/platform-mxc_rnga.c b/arch/arm/mach-imx/devices/platform-mxc_rnga.c
deleted file mode 100644
index 851fbc8..0000000
--- a/arch/arm/mach-imx/devices/platform-mxc_rnga.c
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * Copyright (C) 2010 Pengutronix
- * Uwe Kleine-Koenig <[email protected]>
- *
- * 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 "../hardware.h"
-#include "devices-common.h"
-
-struct imx_mxc_rnga_data {
- resource_size_t iobase;
-};
-
-#define imx_mxc_rnga_data_entry_single(soc) \
- { \
- .iobase = soc ## _RNGA_BASE_ADDR, \
- }
-
-#ifdef CONFIG_SOC_IMX31
-static const struct imx_mxc_rnga_data imx31_mxc_rnga_data __initconst =
- imx_mxc_rnga_data_entry_single(MX31);
-#endif /* ifdef CONFIG_SOC_IMX31 */
-
-static struct platform_device *__init imx_add_mxc_rnga(
- const struct imx_mxc_rnga_data *data)
-{
- struct resource res[] = {
- {
- .start = data->iobase,
- .end = data->iobase + SZ_16K - 1,
- .flags = IORESOURCE_MEM,
- },
- };
- return imx_add_platform_device("mxc_rnga", -1,
- res, ARRAY_SIZE(res), NULL, 0);
-}
-
-static int __init imxXX_add_mxc_rnga(void)
-{
- struct platform_device *ret;
-
-#if defined(CONFIG_SOC_IMX31)
- if (cpu_is_mx31())
- ret = imx_add_mxc_rnga(&imx31_mxc_rnga_data);
- else
-#endif /* if defined(CONFIG_SOC_IMX31) */
- ret = ERR_PTR(-ENODEV);
-
- return PTR_ERR_OR_ZERO(ret);
-}
-arch_initcall(imxXX_add_mxc_rnga);

arch/arm/mach-imx/eukrea-baseboards.h

View before deletion
diff --git a/arch/arm/mach-imx/eukrea-baseboards.h b/arch/arm/mach-imx/eukrea-baseboards.h
deleted file mode 100644
index bb2c90d..0000000
--- a/arch/arm/mach-imx/eukrea-baseboards.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (C) 2010 Eric Benard - [email protected]
- *
- * Based on board-pcm038.h which is :
- * Copyright (C) 2008 Juergen Beisert ([email protected])
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA 02110-1301, USA.
- */
-
-#ifndef __MACH_EUKREA_BASEBOARDS_H__
-#define __MACH_EUKREA_BASEBOARDS_H__
-
-#ifndef __ASSEMBLY__
-/*
- * This CPU module needs a baseboard to work. After basic initializing
- * its own devices, it calls baseboard's init function.
- * TODO: Add your own baseboard init function and call it from
- * inside eukrea_cpuimx25_init() or eukrea_cpuimx35_init()
- *
- * This example here is for the development board. Refer
- * mach-mx25/eukrea_mbimxsd-baseboard.c for cpuimx25
- * mach-mx3/eukrea_mbimxsd-baseboard.c for cpuimx35
- */
-
-extern void eukrea_mbimxsd25_baseboard_init(void);
-extern void eukrea_mbimxsd35_baseboard_init(void);
-
-#endif
-
-#endif /* __MACH_EUKREA_BASEBOARDS_H__ */

arch/arm/mach-imx/imx27-dt.c

View file
diff --git a/arch/arm/mach-imx/imx27-dt.c b/arch/arm/mach-imx/imx27-dt.c
index 530a728..a754b8a 100644
--- a/arch/arm/mach-imx/imx27-dt.c
+++ b/arch/arm/mach-imx/imx27-dt.c
@@ -27,5 +27,6 @@ DT_MACHINE_START(IMX27_DT, "Freescale i.MX27 (Device Tree Support)")
.map_io = mx27_map_io,
.init_early = imx27_init_early,
.init_irq = mx27_init_irq,
+ .init_late = imx27_pm_init,
.dt_compat = imx27_dt_board_compat,
MACHINE_END

arch/arm/mach-imx/imx31-dt.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-imx/imx35-dt.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-imx/mach-imx50.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-imx/mach-imx51.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-imx/mach-imx53.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-imx/mach-imx6q.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-imx/mach-imx6sl.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-imx/mach-imx6sx.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-imx/mm-imx1.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-imx/mm-imx27.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-imx/mm-imx3.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-imx/mxc.h

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-imx/pm-imx27.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-imx/pm-imx3.c

View before deletion

This diff is incomplete. Download the complete patch.

arch/arm/mach-imx/system.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-imx/tzic.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-integrator/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-meson/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-mmp/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-moxart/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-mv78xx0/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-mvebu/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-mvebu/coherency.h

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-mvebu/cpu-reset.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-mvebu/kirkwood-pm.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-mvebu/kirkwood.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-mvebu/pm.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-mvebu/pmsu.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-mvebu/system-controller.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-mxs/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-nomadik/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-omap2/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-orion5x/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-orion5x/irq.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-oxnas/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-picoxcell/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-prima2/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-rockchip/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-s3c24xx/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-s3c24xx/include/mach/regs-gpio.h

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-s3c24xx/iotiming-s3c2410.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-s3c24xx/mach-n30.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-s3c24xx/mach-osiris-dvs.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-s3c24xx/pll-s3c2410.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-s3c24xx/pll-s3c2440-12000000.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-s3c24xx/pll-s3c2440-16934400.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-s3c64xx/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-s3c64xx/common.h

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-s3c64xx/include/mach/map.h

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-s5pv210/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-shmobile/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-spear/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-sti/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-sunxi/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-tegra/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-tegra/common.h

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-tegra/cpuidle-tegra114.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-tegra/cpuidle-tegra20.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-tegra/cpuidle-tegra30.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-tegra/cpuidle.h

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-tegra/hotplug.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-tegra/irq.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-tegra/pm.h

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-tegra/tegra.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-u300/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-uniphier/platsmp.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-ux500/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-vexpress/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-vexpress/hotplug.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-vexpress/spc.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-vt8500/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/arm/plat-iop/setup.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/plat-samsung/include/plat/cpu-freq-core.h

View file

This diff is incomplete. Download the complete patch.

arch/arm/plat-samsung/include/plat/fb-s3c2410.h

View file

This diff is incomplete. Download the complete patch.

arch/arm/plat-samsung/include/plat/gpio-cfg.h

View file

This diff is incomplete. Download the complete patch.

arch/arm/plat-samsung/pm-check.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/plat-samsung/watchdog-reset.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/plat-versatile/platsmp.c

View file

This diff is incomplete. Download the complete patch.

drivers/bus/mvebu-mbus.c

View file

This diff is incomplete. Download the complete patch.

drivers/power/reset/vexpress-poweroff.c

View file

This diff is incomplete. Download the complete patch.

include/linux/mbus.h

View file

This diff is incomplete. Download the complete patch.