WSL2-Linux-Kernel/arch/arm/mach-omap2
Tony Lindgren fb677ef70b ARM: OMAP2+: Fix GPMC remap for devices using an offset
At least the smc91x driver expects the device to be at 0x300
offset from bus base address. This does not work currently
for GPMC when booted in device tree mode as it attempts to
remap the the allocated GPMC partition to the address
configured by the device tree plus the device offset.

Note that this works just fine when booted with legacy mode.

Let's fix the issue by just ignoring any device specific
offset while remapping. And let's make sure the remap
address confirms to the GPMC 16MB minimum granularity
as listed in the TRM for GPMC_CONFIG7 BASEADDRESS bits.

Otherwise we can get something like this:

omap-gpmc 6e000000.gpmc: cannot remap GPMC CS 1 to 0x01000300

Cc: Pekon Gupta <pekon@ti.com>
Reviewed-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2014-04-23 11:09:22 -07:00
..
include/mach ARM: drop <mach/timex.h> for !ARCH_MULTIPLATFORM, too 2013-12-20 17:17:16 +01:00
Kconfig ARM: SoC: driver changes 2014-04-05 15:37:40 -07:00
Makefile ARM: OMAP2+: AM43xx: implement support for machine restart 2014-02-28 12:43:45 -07:00
Makefile.boot
am33xx-restart.c ARM: OMAP2+: am33xx-restart: trigger warm reset on omap2+ boards 2013-08-21 01:01:30 -07:00
am33xx.h
am35xx-emac.c ARM: 7989/1: Delete asm/system.h 2014-02-25 11:33:37 +00:00
am35xx-emac.h
am35xx.h
board-3430sdp.c ARM: OMAP: 3430SDP: use new display drivers 2013-08-28 10:23:21 +03:00
board-am3517crane.c ARM: OMAP2: remove useless variable 'ret' 2013-08-22 00:15:17 -07:00
board-am3517evm.c ARM: SoC cleanups for 3.12 2013-09-06 13:21:16 -07:00
board-cm-t35.c [media] ARM: omap2: cm-t35: Add regulators and clock for camera sensor 2014-02-24 13:10:14 -03:00
board-cm-t3517.c
board-devkit8000.c ARM: OMAP: devkit8000: use new display drivers 2013-08-28 10:23:20 +03:00
board-flash.c mtd: nand: omap: combine different flavours of 1-bit hamming ecc schemes 2013-11-06 23:33:07 -08:00
board-flash.h
board-generic.c fbdev changes for 3.15 (OMAP) 2014-04-07 10:47:51 -07:00
board-ldp.c ARM: OMAP2+: Fix LCD panel backlight regression for LDP legacy booting 2013-12-27 09:33:27 -08:00
board-n8x0.c ARM: OMAP2+: dts: add n8x0 onenand 2013-11-25 15:38:09 -08:00
board-omap3beagle.c ARM: SoC fixes for 3.13 merge window 2013-11-16 12:45:55 -08:00
board-omap3logic.c
board-omap3pandora.c wl1251: move power GPIO handling into the driver 2014-02-28 14:08:26 -05:00
board-omap3stalker.c misc: (at24) move header to linux/platform_data/ 2013-09-30 06:02:34 +02:00
board-omap3touchbook.c
board-overo.c ARM: OMAP: overo: use new display drivers 2013-08-28 10:23:19 +03:00
board-rx51-peripherals.c wl1251: move power GPIO handling into the driver 2014-02-28 14:08:26 -05:00
board-rx51-video.c ARM: OMAP2+: N900: remove omapdss init for DT boot 2014-04-18 16:37:43 -07:00
board-rx51.c ARM: OMAP3: RX-51: ARM errata 430973 workaround 2013-10-08 11:57:04 -07:00
board-rx51.h
board-ti8168evm.c
cclock3xxx_data.c == Changes to existing drivers == 2014-04-07 10:24:18 -07:00
cclock2420_data.c
cclock2430_data.c
clkt2xxx_apll.c ARM: OMAP2: CM/PM: remove direct register accesses outside CM code 2013-10-19 10:11:51 -06:00
clkt2xxx_dpll.c
clkt2xxx_dpllcore.c ARM: OMAP2: CM/PM: remove direct register accesses outside CM code 2013-10-19 10:11:51 -06:00
clkt2xxx_osc.c
clkt2xxx_sys.c
clkt2xxx_virt_prcm_set.c ARM: OMAP2: CM/PM: remove direct register accesses outside CM code 2013-10-19 10:11:51 -06:00
clkt34xx_dpll3m2.c
clkt_clksel.c ARM: OMAP2+: clock: use driver API instead of direct memory read/write 2014-01-17 12:37:00 -08:00
clkt_dpll.c ARM: AM43xx: fix dpll init in bypass mode 2014-04-11 12:29:09 -06:00
clkt_iclk.c ARM: OMAP2+: clock: use driver API instead of direct memory read/write 2014-01-17 12:37:00 -08:00
clock.c ARM: OMAP2+: clock: use driver API instead of direct memory read/write 2014-01-17 12:37:00 -08:00
clock.h ARM: OMAP2+: clock: add support for indexed memmaps 2014-01-17 12:36:57 -08:00
clock2xxx.c
clock2xxx.h
clock3xxx.c
clock3xxx.h CLK: TI: add omap3 clock init file 2014-01-17 12:35:48 -08:00
clock34xx.c
clock34xx.h
clock36xx.c ARM: OMAP2+: clock: use driver API instead of direct memory read/write 2014-01-17 12:37:00 -08:00
clock36xx.h
clock44xx.h
clock2430.c
clock3517.c
clock3517.h
clock_common_data.c
clockdomain.c
clockdomain.h ARM: OMAP2+: CM: AM43x clockdomain data 2013-10-13 22:48:36 -06:00
clockdomains2xxx_3xxx_data.c
clockdomains3xxx_data.c ARM: OMAP3: fix iva mmu programming issues 2014-03-12 09:48:26 -07:00
clockdomains7xx_data.c ARM: OMAP: DRA7: clockdomain: Add DRA7XX data and update header 2013-08-23 04:28:36 -06:00
clockdomains33xx_data.c
clockdomains43xx_data.c ARM: OMAP2+: CM: AM43x clockdomain data 2013-10-13 22:48:36 -06:00
clockdomains44xx_data.c
clockdomains54xx_data.c
clockdomains2420_data.c
clockdomains2430_data.c
cm-regbits-7xx.h ARM: OMAP: DRA7: CM: Add minimal regbit shifts 2013-08-23 04:28:36 -06:00
cm-regbits-24xx.h ARM: OMAP2: PRM/CM: Cleanup unused header 2013-07-21 21:13:59 -06:00
cm-regbits-33xx.h ARM: OMAP3: PRM/CM: Cleanup unused header 2013-07-21 22:10:03 -06:00
cm-regbits-34xx.h ARM: OMAP3: PRM/CM: Cleanup unused header 2013-07-21 22:10:03 -06:00
cm-regbits-44xx.h ARM: OMAP4: PRM/CM: Cleanup unused header 2013-07-21 22:10:14 -06:00
cm-regbits-54xx.h ARM: OMAP5: PRM/CM: Cleanup unused header 2013-07-21 22:10:25 -06:00
cm.h
cm1_7xx.h ARM: OMAP: DRA7: CM: Add DRA7XX register defines 2013-08-23 04:24:15 -06:00
cm1_44xx.h
cm1_54xx.h
cm2_7xx.h ARM: OMAP: DRA7: CM: Add DRA7XX register defines 2013-08-23 04:24:15 -06:00
cm2_44xx.h
cm2_54xx.h
cm2xxx.c ARM: OMAP2: CM/PM: remove direct register accesses outside CM code 2013-10-19 10:11:51 -06:00
cm2xxx.h ARM: OMAP2: CM/PM: remove direct register accesses outside CM code 2013-10-19 10:11:51 -06:00
cm2xxx_3xxx.h
cm3xxx.c ARM: OMAP3: CM/control: move CM scratchpad save to CM driver 2013-10-19 10:11:52 -06:00
cm3xxx.h ARM: OMAP3: CM/control: move CM scratchpad save to CM driver 2013-10-19 10:11:52 -06:00
cm33xx.c ARM: OMAP2+: CM: cm_inst offset s16->u16 2013-10-13 22:46:38 -06:00
cm33xx.h ARM: OMAP2+: AM43x: PRCM kbuild 2013-10-13 22:49:06 -06:00
cm44xx.c
cm44xx.h
cm_44xx_54xx.h
cm_common.c
cminst44xx.c ARM: OMAP2+: clockdomain: Reintroduce SW_SLEEP Support 2014-02-28 12:43:46 -07:00
cminst44xx.h ARM: OMAP2+: CM: cm_inst offset s16->u16 2013-10-13 22:46:38 -06:00
common-board-devices.c
common-board-devices.h ARM: OMAP2+: Add quirks support for n8x0 2013-11-25 15:31:17 -08:00
common.c
common.h ARM: OMAP2+: DT 'compatible' tweak for displays 2014-03-19 11:02:46 +02:00
control.c ARM: OMAP3: control: add API for setting IVA bootmode 2013-10-19 10:11:52 -06:00
control.h ARM: OMAP3: control: add API for setting IVA bootmode 2013-10-19 10:11:52 -06:00
cpuidle34xx.c
cpuidle44xx.c ARM: OMAP: Kill warning in CPUIDLE code with !CONFIG_SMP 2014-02-21 15:16:56 -08:00
ctrl_module_core_44xx.h
ctrl_module_pad_core_44xx.h
ctrl_module_pad_wkup_44xx.h
ctrl_module_wkup_44xx.h
devices.c ARM: OMAP2+: change the ISP device archdata MMU name for DT 2014-03-12 09:49:03 -07:00
devices.h
display.c Merge branch '3.15/dss-dt' into 3.15/fbdev 2014-03-20 08:13:50 +02:00
display.h ARM: OMAP2+: add omapdss_init_of() 2014-03-19 10:52:23 +02:00
dma.c dmaengine: omap-dma: move register read/writes into omap-dma.c 2014-04-04 00:31:49 +01:00
dpll3xxx.c ARM: SoC specific changes 2014-04-05 14:19:54 -07:00
dpll44xx.c ARM: OMAP2+: clock: use driver API instead of direct memory read/write 2014-01-17 12:37:00 -08:00
drm.c ARM: OMAP2+: display: Create omapdrm device inside omap_display_init 2013-10-08 14:02:35 -07:00
dsp.c
dss-common.c ARM: OMAP2+: remove pdata quirks for displays 2014-04-04 09:55:18 +03:00
dss-common.h ARM: OMAP2+: pdata-quirks: add legacy display init for IGEPv2 board 2013-10-09 07:54:34 -07:00
emu.c
fb.c ARM: OMAP2+: display: Create omapvrfb and omapfb devices inside omap_display_init 2013-10-08 14:02:51 -07:00
gpio.c
gpmc-nand.c ARM: OMAP2+: gpmc: update gpmc_hwecc_bch_capable() for new platforms and ECC schemes 2014-03-02 10:15:52 -08:00
gpmc-nand.h
gpmc-onenand.c ARM: OMAP2: gpmc-onenand: fix sync mode setup with DT 2013-10-03 10:59:50 -07:00
gpmc-onenand.h
gpmc-smc91x.c
gpmc-smc91x.h
gpmc-smsc911x.c ARM: OMAP2+: smsc911x: fix return value check in gpmc_smsc911x_init() 2013-11-14 10:40:36 -08:00
gpmc-smsc911x.h
gpmc.c ARM: OMAP2+: Fix GPMC remap for devices using an offset 2014-04-23 11:09:22 -07:00
gpmc.h
hdq1w.c
hdq1w.h
hsmmc.c
hsmmc.h
hwspinlock.c
i2c.c PTR_RET is now PTR_ERR_OR_ZERO(): Replace most. 2013-07-15 11:25:01 +09:30
i2c.h
id.c ARM: OMAP2+: AM43x: determine features 2014-02-28 15:33:27 -08:00
id.h
io.c i.MX SoC changes for 3.15: 2014-03-09 12:03:18 -07:00
iomap.h
irq.c ARM: OMAP2+: INTC: Acknowledge stuck active interrupts 2014-03-13 13:34:48 -07:00
l3_2xxx.h
l3_3xxx.h
l4_2xxx.h
l4_3xxx.h
mcbsp.c ARM: OMAP3: McBSP: do not access CM register directly 2013-10-19 10:11:51 -06:00
mmc.h
msdi.c ARM: OMAP2+: Remove legacy booting support for n8x0 2013-11-25 15:31:17 -08:00
mux.c ARM: OMAP: Move DT wake-up event handling over to use pinctrl-single-omap 2013-10-10 15:46:30 -07:00
mux.h ARM: OMAP2+: remove OMAP_PACKAGE_ZAC and OMAP_PACKAGE_ZAF 2014-02-28 15:36:34 -08:00
mux34xx.c ARM: OMAP2+: mux: fix trivial typo in name 2013-09-18 12:02:01 -07:00
mux34xx.h
omap-headsmp.S arm: delete __cpuinit/__CPUINIT usage from all ARM users 2013-07-14 19:36:52 -04:00
omap-hotplug.c
omap-iommu.c iommu/omap: Add devicetree support 2014-03-04 17:01:57 +01:00
omap-mpuss-lowpower.c ARM: OMAP4460: cpuidle: Extend PM_OMAP4_ROM_SMP_BOOT_ERRATUM_GICD on cpuidle 2014-01-31 14:57:32 -08:00
omap-pm-noop.c
omap-pm.h PM / OPP: rename header to linux/pm_opp.h 2013-10-25 22:33:23 +02:00
omap-secure.c RX-51: Add support for OMAP3 ROM Random Number Generator 2013-10-08 12:02:12 -07:00
omap-secure.h ARM: OMAP2+: Fix undefined reference to set_cntfreq 2013-11-18 15:33:16 -08:00
omap-smc.S ARM: OMAP3: Add secure function omap_smc3() which calling instruction smc #1 2013-10-08 11:55:32 -07:00
omap-smp.c ARM: OMAP4+: move errata initialization to omap4_pm_init_early 2014-01-31 14:57:37 -08:00
omap-wakeupgen.c ARM: OMAP4+: Correct Wakeup-gen code to use physical irq number 2014-02-05 20:08:34 +05:30
omap-wakeupgen.h
omap2-restart.c reboot: arm: change reboot_mode to use enum reboot_mode 2013-07-09 10:33:29 -07:00
omap3-restart.c reboot: arm: change reboot_mode to use enum reboot_mode 2013-07-09 10:33:29 -07:00
omap4-common.c ARM: DRA: Enable Crossbar IP support for DRA7XX 2014-02-05 20:09:11 +05:30
omap4-keypad.h
omap4-restart.c reboot: arm: change reboot_mode to use enum reboot_mode 2013-07-09 10:33:29 -07:00
omap4-sar-layout.h
omap24xx.h
omap34xx.h
omap44xx.h
omap54xx.h ARM: DRA7: Reuse io tables and add a new .init_early 2013-08-13 11:00:35 +05:30
omap_device.c Linux 3.13-rc5 2013-12-28 21:38:16 -08:00
omap_device.h ARM: OMAP2+: omap_device: add fail hook for runtime_pm when bad data is detected 2013-12-10 09:39:52 -08:00
omap_hwmod.c ARM: OMAP2+: hwmod: fix missing braces in _init() 2014-04-11 12:29:09 -06:00
omap_hwmod.h ARM: OMAP2+: hwmod: AM43x support 2013-10-13 22:48:46 -06:00
omap_hwmod_2xxx_3xxx_interconnect_data.c
omap_hwmod_2xxx_3xxx_ipblock_data.c
omap_hwmod_2xxx_interconnect_data.c ARM: OMAP2+: Remove legacy hwmod entries for omap2 2013-11-25 15:31:18 -08:00
omap_hwmod_2xxx_ipblock_data.c ARM: OMAP2+: hwmod_data: fix missing OMAP_INTC_START in irq data 2013-12-25 21:41:27 -07:00
omap_hwmod_3xxx_data.c ARM: OMAP3: hwmod data: Correct clock domains for USB modules 2014-04-11 11:51:22 -06:00
omap_hwmod_7xx_data.c ARM: DRA7: hwmod data: correct the sysc data for spinlock 2014-02-19 11:34:47 -07:00
omap_hwmod_33xx_43xx_common_data.h ARM: OMAP2+: hwmod: AM43x support 2013-10-13 22:48:46 -06:00
omap_hwmod_33xx_43xx_interconnect_data.c ARM: OMAP2+: hwmod: AM335x/AM43x: move common data 2013-10-13 22:47:39 -06:00
omap_hwmod_33xx_43xx_ipblock_data.c ARM: OMAP2+: hwmod: AM43x support 2013-10-13 22:48:46 -06:00
omap_hwmod_33xx_data.c ARM: OMAP2+: hwmod: AM335x: runtime register update 2013-10-13 22:47:56 -06:00
omap_hwmod_43xx_data.c ARM: AM43x: hwmod data: register spinlock OCP interface 2014-02-28 12:43:46 -07:00
omap_hwmod_44xx_data.c ARM: OMAP4: hwmod data: correct the idlemodes for spinlock 2014-03-13 14:09:57 -07:00
omap_hwmod_54xx_data.c ARM: OMAP5: hwmod data: add mmu data for ipu & dsp 2014-03-12 09:49:47 -07:00
omap_hwmod_2420_data.c ARM: OMAP2+: Remove legacy hwmod entries for omap2 2013-11-25 15:31:18 -08:00
omap_hwmod_2430_data.c ARM: OMAP2+: Remove legacy hwmod entries for omap2 2013-11-25 15:31:18 -08:00
omap_hwmod_common_data.c
omap_hwmod_common_data.h ARM: OMAP2+: Remove legacy hwmod entries for omap2 2013-11-25 15:31:18 -08:00
omap_hwmod_reset.c
omap_opp_data.h
omap_phy_internal.c
omap_twl.c
opp.c ACPI and power management updates for 3.13-rc1 2013-11-14 13:41:48 +09:00
opp2xxx.h
opp3xxx_data.c
opp4xxx_data.c
opp2420_data.c
opp2430_data.c
pdata-quirks.c fbdev changes for 3.15 (OMAP) 2014-04-07 10:47:51 -07:00
pm-debug.c
pm.c ACPI and power management updates for 3.13-rc1 2013-11-14 13:41:48 +09:00
pm.h ARM: OMAP4: Fix definition of IS_PM44XX_ERRATUM 2014-03-13 13:41:50 -07:00
pm24xx.c ARM: OMAP2: CM/PM: remove direct register accesses outside CM code 2013-10-19 10:11:51 -06:00
pm34xx.c ARM: OMAP3: PM: remove access to PRM_VOLTCTRL register 2014-04-10 11:01:09 -07:00
pm44xx.c ARM: OMAP4+: move errata initialization to omap4_pm_init_early 2014-01-31 14:57:37 -08:00
pmu.c ARM: OMAP2+: Cocci spatch "ptr_ret.spatch" 2013-07-04 05:10:51 -07:00
powerdomain-common.c
powerdomain.c ARM: OMAP2+: Powerdomain: Fix unchecked dereference of arch_pwrdm 2013-12-02 11:38:14 -08:00
powerdomain.h ARM: OMAP2+: PM: AM43x powerdomain data 2013-10-13 22:48:25 -06:00
powerdomains2xxx_3xxx_data.c
powerdomains2xxx_3xxx_data.h
powerdomains2xxx_data.c
powerdomains3xxx_data.c ARM: OMAP: TI81XX: add always-on powerdomain for TI81XX 2013-08-23 04:48:42 -06:00
powerdomains7xx_data.c ARM: OMAP: DRA7: powerdomain: Add DRA7XX data and update header 2013-08-23 04:28:36 -06:00
powerdomains33xx_data.c
powerdomains43xx_data.c ARM: OMAP2+: PM: AM43x powerdomain data 2013-10-13 22:48:25 -06:00
powerdomains44xx_data.c
powerdomains54xx_data.c ARM: OMAP5: PRM/CM: Cleanup unused header 2013-07-21 22:10:25 -06:00
prcm-common.h ARM: OMAP: TI81XX: add always-on powerdomain for TI81XX 2013-08-23 04:48:42 -06:00
prcm43xx.h ARM: OMAP2: hwmod: Add qspi data for am437x. 2013-10-15 23:49:43 -06:00
prcm44xx.h ARM: OMAP: DRA7: PRCM: Add DRA7XX local MPU PRCM regsiters 2013-08-23 04:28:36 -06:00
prcm_mpu7xx.h ARM: OMAP: DRA7: PRCM: Add DRA7XX local MPU PRCM regsiters 2013-08-23 04:28:36 -06:00
prcm_mpu44xx.c
prcm_mpu44xx.h
prcm_mpu54xx.h
prcm_mpu_44xx_54xx.h
prm-regbits-24xx.h ARM: OMAP2: PRM/CM: Cleanup unused header 2013-07-21 21:13:59 -06:00
prm-regbits-33xx.h ARM: OMAP2+: Add back the define for AM33XX_RST_GLOBAL_WARM_SW_MASK 2013-08-29 19:10:59 -07:00
prm-regbits-34xx.h ARM: OMAP3: PRM/CM: Cleanup unused header 2013-07-21 22:10:03 -06:00
prm-regbits-44xx.h ARM: OMAP4: PRM/CM: Cleanup unused header 2013-07-21 22:10:14 -06:00
prm.h ARM: OMAP2+: PRM: add support for initializing PRCM clock modules from DT 2014-01-17 12:37:11 -08:00
prm2xxx.c
prm2xxx.h
prm2xxx_3xxx.c
prm2xxx_3xxx.h
prm3xxx.c
prm3xxx.h ARM: OMAP: Move DT wake-up event handling over to use pinctrl-single-omap 2013-10-10 15:46:30 -07:00
prm7xx.h ARM: OMAP: DRA7: PRM: Add DRA7XX register definitions 2013-08-23 04:04:23 -06:00
prm33xx.c
prm33xx.h
prm44xx.c ARM: OMAP: DRA7: Enable PM framework initializations 2013-08-23 04:29:37 -06:00
prm44xx.h
prm44xx_54xx.h ARM: OMAP2+: More randconfig fixes for reconfigure_io_chain 2013-11-18 11:03:37 -08:00
prm54xx.h
prm_common.c ARM: OMAP2+: PRM: add support for initializing PRCM clock modules from DT 2014-01-17 12:37:11 -08:00
prminst44xx.c ARM: SoC specific changes 2014-04-05 14:19:54 -07:00
prminst44xx.h
scrm44xx.h
scrm54xx.h
sdram-hynix-h8mbx00u0mer-0em.h
sdram-micron-mt46h32m32lf-6.h
sdram-nokia.c
sdram-nokia.h
sdram-numonyx-m65kxxxxam.h
sdram-qimonda-hyb18m512160af-6.h
sdrc.c
sdrc.h
sdrc2xxx.c
serial.c ARM: OMAP2+: hwmod: Fix a crash in _setup_reset() with DEBUG_LL 2013-07-30 05:13:35 -06:00
serial.h
sleep24xx.S
sleep34xx.S
sleep44xx.S ARM: OMAP4: sleep: build OMAP4 specific functions only for OMAP4 2013-07-04 05:10:51 -07:00
smartreflex-class3.c
soc.h ARM: OMAP2+: AM43x: Add ID for ES1.1 2014-02-28 15:33:26 -08:00
sr_device.c
sram.c
sram.h
sram34xx.S
sram242x.S
sram243x.S
ti81xx.h
timer.c ARM: OMAP2+: AM43x: Use gptimer as clocksource 2014-02-28 15:33:27 -08:00
twl-common.c arm: omap3: twl: add phy consumer data in twl4030_usb_data 2013-09-27 17:36:58 -07:00
twl-common.h
usb-host.c ARM: OMAP2+: usb-host: Adapt to USB phy-nop RESET line changes 2013-10-04 09:29:11 -05:00
usb-musb.c ARM: OMAP2: fix musb usage for n8x0 2013-08-16 09:39:56 -07:00
usb-tusb6010.c
usb.h ARM: OMAP2+: omap-usb-host: Get rid of platform_data from struct usbhs_phy_data 2013-10-04 09:29:10 -05:00
vc.c
vc.h
vc3xxx_data.c
vc44xx_data.c
voltage.c
voltage.h
voltagedomains2xxx_data.c
voltagedomains3xxx_data.c
voltagedomains44xx_data.c
voltagedomains54xx_data.c
vp.c
vp.h
vp3xxx_data.c
vp44xx_data.c
wd_timer.c
wd_timer.h