Skip to content

Commit fe78c54

Browse files
committed
Merge tag 'omap-gpmc-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC/OMAP GPMC driver cleanup and move from Arnd Bergmann: "The GPMC driver has traditionally been considered a part of the OMAP platform code and tightly interweaved with some of the boards. With this cleanup, it has finally come to the point where it makes sense to move it out of arch/arm into drivers/memory, where we already have other drivers for similar hardware. The cleanups are still ongoing, with the goal of eventually having a standalone driver that does not require an interface to architecture code. This is a separate branch because of dependencies on multiple other branches, and to keep the drivers changes separate from the normal cleanups" * tag 'omap-gpmc-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: memory: gpmc: Move omap gpmc code to live under drivers ARM: OMAP2+: Move GPMC initcall to devices.c ARM: OMAP2+: Prepare to move GPMC to drivers by platform data header ARM: OMAP2+: Remove unnecesary include in GPMC driver ARM: OMAP2+: Drop board file for 3430sdp ARM: OMAP2+: Drop board file for ti8168evm ARM: OMAP2+: Drop legacy code for gpmc-smc91x.c ARM: OMAP2+: Require proper GPMC timings for devices ARM: OMAP2+: Show bootloader GPMC timings to allow configuring the .dts file ARM: OMAP2+: Fix support for multiple devices on a GPMC chip select ARM: OMAP2+: gpmc: Sanity check GPMC fck on probe ARM: OMAP2+: gpmc: Keep Chip Select disabled while configuring it ARM: OMAP2+: gpmc: Always enable A26-A11 for non NAND devices ARM: OMAP2+: gpmc: Error out if timings fail in gpmc_probe_generic_child() ARM: OMAP2+: gpmc: Print error message in set_gpmc_timing_reg()
2 parents 6da3141 + 1306b20 commit fe78c54

26 files changed

Lines changed: 553 additions & 1355 deletions

‎MAINTAINERS‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6702,6 +6702,14 @@ L: linux-omap@vger.kernel.org
67026702
S: Maintained
67036703
F: sound/soc/omap/
67046704

6705+
OMAP GENERAL PURPOSE MEMORY CONTROLLER SUPPORT
6706+
M: Roger Quadros <rogerq@ti.com>
6707+
M: Tony Lindgren <tony@atomide.com>
6708+
L: linux-omap@vger.kernel.org
6709+
S: Maintained
6710+
F: drivers/memory/omap-gpmc.c
6711+
F: arch/arm/mach-omap2/*gpmc*
6712+
67056713
OMAP FRAMEBUFFER SUPPORT
67066714
M: Tomi Valkeinen <tomi.valkeinen@ti.com>
67076715
L: linux-fbdev@vger.kernel.org

‎arch/arm/mach-omap2/Kconfig‎

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@ config ARCH_OMAP2PLUS
7979
select CLKSRC_MMIO
8080
select GENERIC_IRQ_CHIP
8181
select MACH_OMAP_GENERIC
82+
select MEMORY
8283
select OMAP_DM_TIMER
84+
select OMAP_GPMC
8385
select PINCTRL
8486
select SOC_BUS
8587
select TI_PRIV_EDMA
@@ -235,12 +237,6 @@ config MACH_TOUCHBOOK
235237
default y
236238
select OMAP_PACKAGE_CBB
237239

238-
config MACH_OMAP_3430SDP
239-
bool "OMAP 3430 SDP board"
240-
depends on ARCH_OMAP3
241-
default y
242-
select OMAP_PACKAGE_CBB
243-
244240
config MACH_NOKIA_N810
245241
bool
246242

@@ -282,16 +278,6 @@ config MACH_SBC3530
282278
default y
283279
select OMAP_PACKAGE_CUS
284280

285-
config MACH_TI8168EVM
286-
bool "TI8168 Evaluation Module"
287-
depends on SOC_TI81XX
288-
default y
289-
290-
config MACH_TI8148EVM
291-
bool "TI8148 Evaluation Module"
292-
depends on SOC_TI81XX
293-
default y
294-
295281
config OMAP3_EMU
296282
bool "OMAP3 debugging peripherals"
297283
depends on ARCH_OMAP3

‎arch/arm/mach-omap2/Makefile‎

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include \
66
-I$(srctree)/arch/arm/plat-omap/include
77

88
# Common support
9-
obj-y := id.o io.o control.o mux.o devices.o fb.o serial.o gpmc.o timer.o pm.o \
9+
obj-y := id.o io.o control.o mux.o devices.o fb.o serial.o timer.o pm.o \
1010
common.o gpio.o dma.o wd_timer.o display.o i2c.o hdq1w.o omap_hwmod.o \
1111
omap_device.o sram.o drm.o
1212

@@ -246,7 +246,6 @@ obj-$(CONFIG_MACH_OMAP3530_LV_SOM) += board-omap3logic.o
246246
obj-$(CONFIG_MACH_OMAP3_TORPEDO) += board-omap3logic.o
247247
obj-$(CONFIG_MACH_OVERO) += board-overo.o
248248
obj-$(CONFIG_MACH_OMAP3_PANDORA) += board-omap3pandora.o
249-
obj-$(CONFIG_MACH_OMAP_3430SDP) += board-3430sdp.o
250249
obj-$(CONFIG_MACH_NOKIA_N8X0) += board-n8x0.o
251250
obj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51.o sdram-nokia.o
252251
obj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51-peripherals.o
@@ -260,8 +259,6 @@ obj-$(CONFIG_MACH_OMAP3517EVM) += board-am3517evm.o
260259
obj-$(CONFIG_MACH_CRANEBOARD) += board-am3517crane.o
261260

262261
obj-$(CONFIG_MACH_SBC3530) += board-omap3stalker.o
263-
obj-$(CONFIG_MACH_TI8168EVM) += board-ti8168evm.o
264-
obj-$(CONFIG_MACH_TI8148EVM) += board-ti8168evm.o
265262

266263
# Platform specific device init code
267264

@@ -284,9 +281,6 @@ obj-y += $(onenand-m) $(onenand-y)
284281
nand-$(CONFIG_MTD_NAND_OMAP2) := gpmc-nand.o
285282
obj-y += $(nand-m) $(nand-y)
286283

287-
smc91x-$(CONFIG_SMC91X) := gpmc-smc91x.o
288-
obj-y += $(smc91x-m) $(smc91x-y)
289-
290284
smsc911x-$(CONFIG_SMSC911X) := gpmc-smsc911x.o
291285
obj-y += $(smsc911x-m) $(smsc911x-y)
292286
ifneq ($(CONFIG_HWSPINLOCK_OMAP),)

0 commit comments

Comments
 (0)