- Aug 16, 2010
-
-
Kevin Hilman authored
Commit 5a5f561e (convert OMAP3 PRCM macros to the _SHIFT/_MASK suffixes) mistakenly removed the check for PER when disabling the IO chain. During idle, if the PER powerdomain transitions into a lower state and CORE does not, the IO pad wakeups are not being disabled in the idle path after they are enabled. This can happen with the lower C-states when using CPUidle for example. This patch ensures that the check for disabling IO wakeups also checks for PER transitions, matching the check done to enable IO wakeups. Found when debugging PM/CPUidle related problems reported by Ameya Palande <ameya.palande@nokia.com>. Problems were triggered particularily on boards with UART2 consoles (n900, Overo) since UART2 is in the PER powerdomain. Tested on l-o master (omap3_defonfig + CONFIG_CPU_IDLE=y) as well as with current PM branch. Boards tested: n900, Overo, omap3evm. Cc: Paul Walmsley <paul@pwsan.com> Cc: Ameya Palande <ameya.palande@nokia.com> Tested-by:
Jarkko Nikula <jhnikula@gmail.com> Signed-off-by:
Kevin Hilman <khilman@deeprootsystems.com> [tony@atomide.com: updated description to clarify the transistion] Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
Otherwise we get the following error when enabling CONFIG_SMP for omap3_defconfig: arch/arm/kernel/entry-armv.S: Assembler messages: arch/arm/kernel/entry-armv.S:48: Error: bad instruction `test_for_ipi r0,r6,r5,lr' arch/arm/kernel/entry-armv.S:48: Error: bad instruction `test_for_ltirq r0,r6,r5,lr' arch/arm/kernel/entry-armv.S:48: Error: bad instruction `test_for_ipi r0,r6,r5,lr' arch/arm/kernel/entry-armv.S:48: Error: bad instruction `test_for_ltirq r0,r6,r5,lr' Signed-off-by:
Tony Lindgren <tony@atomide.com> Acked-by:
Santosh Shilimkar <santosh.shilimkar@ti.com>
-
Tony Lindgren authored
Otherwise we get the following error with omap3_defconfig and CONFIG_SMP: Error: selected processor does not support `sev' Signed-off-by:
Tony Lindgren <tony@atomide.com> Acked-by:
Santosh Shilimkar <santosh.shilimkar@ti.com>
-
stanley.miao authored
cpu_is_omap3517() and cpu_is_omap3505() are the subgroups of cpu_is_omap34xx(), so we should check cpu_is_omap3517() and cpu_is_omap3505() first, then check cpu_is_omap34xx(). Otherwise, All AM35XX (Sitara) clocks do not get registered and device drivers (ti_hecc, etc...) that depend on those clocks are failing to get the clock and end up with non working device. Signed-off-by:
Stanley.Miao <stanley.miao@windriver.com> Tested-by:
Igor Grinberg <grinberg@compulab.co.il> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Nishanth Menon authored
Wrong placement of break causes all revisions of 3630 to be detected as 3630 es1.2, we need to break main loop if we have an identified chip, default falls through as in the rest of the switches in this function. Cc: Paul Walmsley <paul@pwsan.com> Cc: Sanjeev Premi <premi@ti.com> Cc: Kevin Hilman <khilman@deeprootsystems.com> Cc: Manjunath K <manjugk@ti.com> Cc: Anand Gadiyar <gadiyar@ti.com> Cc: Felipe Balbi <felipe.balbi@nokia.com> Signed-off-by:
Nishanth Menon <nm@ti.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
- Aug 11, 2010
-
-
Grazvydas Ignotas authored
Pandora has TI WL1251 attached on MMC3, which is non-standard SDIO chip. Make use MMC_QUIRK_NONSTD_SDIO to tell SDIO core about it. Signed-off-by:
Grazvydas Ignotas <notasas@gmail.com> Cc: Adrian Hunter <adrian.hunter@nokia.com> Cc: Tony Lindgren <tony@atomide.com> Cc: Bob Copeland <me@bobcopeland.com> Cc: Kalle Valo <kvalo@adurom.com> Cc: Madhusudhan Chikkature <madhu.cr@ti.com> Cc: Kishore Kadiyala <kishore.kadiyala@ti.com> Cc: Russell King <linux@arm.linux.org.uk> Cc: <linux-mmc@vger.kernel.org> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
- Aug 05, 2010
-
-
Vaibhav Hiremath authored
With recent changes happened in OMAP2/3 DSS library for regulator interface, it is required to define DSI regulator supply, without this DSS (in turn Fbdev) fails to get regulator. Signed-off-by:
Vaibhav Hiremath <hvaibhav@ti.com> Signed-off-by:
Tomi Valkeinen <tomi.valkeinen@nokia.com>
-
- Aug 04, 2010
-
-
Felipe Contreras authored
Remove kernel.h and module.h since they are not used correctly anyway. Also, remove device.h since it comes along with platform_device.h (always will I guess). Signed-off-by:
Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by:
Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
-
Felipe Contreras authored
omap{1,2}-mailbox are modules that provide the 'omap-mailbox' driver. Signed-off-by:
Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by:
Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
-
Felipe Contreras authored
Signed-off-by:
Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by:
Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
-
Felipe Contreras authored
No need to dynamically register mailboxes one by one. Signed-off-by:
Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by:
Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
-
Felipe Contreras authored
It's more extensible this way. Signed-off-by:
Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by:
Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
-
Felipe Contreras authored
Will be useful to identify them later. Signed-off-by:
Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by:
Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
-
Felipe Contreras authored
Signed-off-by:
Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by:
Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
-
Felipe Contreras authored
Signed-off-by:
Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by:
Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
-
Felipe Contreras authored
OMAP4 ones messed up the organization. Signed-off-by:
Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by:
Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
-
Felipe Contreras authored
And fix a few compilation warnings. Signed-off-by:
Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by:
Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
-
Ohad Ben-Cohen authored
use multiple MODULE_AUTHOR lines for multiple authors Signed-off-by:
Ohad Ben-Cohen <ohad@wizery.com> Signed-off-by:
Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
-
Anand Gadiyar authored
USBTLL Save-and-Restore is broken in 3630 ES1.0. Having it enabled could result in incorrect register restores as the OMAP exits off-mode. This could potentially result in unexpected wakeup events. (Refer 3630 errata ID i579) This is fixed in ES1.1. So disable it for ES1.0s. Signed-off-by:
Anand Gadiyar <gadiyar@ti.com> Acked-by:
Paul Walmsley <paul@pwsan.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Anand Gadiyar authored
Add revision detection for ES1.1 and ES1.2. Set default revision as ES1.2. Add CHIP_GE_OMAP3630ES1_1 to detect revisions 1.1 and later. This is needed for at least one feature that is broken in 3630ES1.0 but exists on older (3430 ES3.1) and newer revisions. Additionally, update some of the CHIP_GE_* macros to use other macros for ease of maintenance. Signed-off-by:
Anand Gadiyar <gadiyar@ti.com> Cc: Nishanth Menon <nm@ti.com> Cc: Manjunatha GK <manjugk@ti.com> [tony@atomide.com: update to remove fallthrough handling] Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Mike Rapoport authored
Most OMAP3-based boards use exactly the same code for .map_io method in the machine_desc structure. This patch introduces omap3_map_io and updates board-* files to use it as .map_io method. Signed-off-by:
Mike Rapoport <mike@compulab.co.il> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Sergio Aguirre authored
The only difference between them is the physical address of the uart4 port, which is only present in 36xx chips. We don't really need to care about keeping these 2 functions, since the decision to use uart4 is more cleanly done later when we do have access to omap_revision variable. Signed-off-by:
Sergio Aguirre <saaguirre@ti.com> Acked-by:
Kevin Hilman <khilman@deeprootsystems.com> [tony@atomide.com: added comment for the uart4_phys] Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Jason Wang authored
Now we use a memory address to store the debug port info, So we need to read/write this address when we choose DEBUG_LL. When MMU isn't enable(I.E. the begining part of init stage of the linux kernel boot), we need to access physical address instead of virtual address, otherwise the kernel will crash. Signed-off-by:
Jason Wang <jason77.wang@gmail.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
- Aug 03, 2010
-
-
Thomas Weber authored
Add a missing break at end of switch statement. At the moment it is a fall through to WARN_ON(1) and return -EEXIST. Signed-off-by:
Thomas Weber <weber@corscience.de> Acked-by:
Paul Walmsley <paul@pwsan.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
- Aug 02, 2010
-
-
Sukumar Ghorai authored
patch adds NAND support to LDP board. Signed-off-by:
Vimal Singh <vimalsingh@ti.com> Signed-off-by:
Sukumar Ghorai <s-ghorai@ti.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Sukumar Ghorai authored
add support for NAND, OneNAND, NOR on omap 3630-sdp board. Signed-off-by:
Sukumar Ghorai <s-ghorai@ti.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Sukumar Ghorai authored
patch adds NAND support to zoom3 board. Signed-off-by:
Sukumar Ghorai <s-ghorai@ti.com> Signed-off-by:
Vimal Singh <vimalsingh@ti.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Sukumar Ghorai authored
This patch adds NAND support to ZOOM2 board. Signed-off-by:
Sukumar Ghorai <s-ghorai@ti.com> Signed-off-by:
Vimal Singh <vimalsingh@ti.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Sukumar Ghorai authored
rename board-sdp-flash.c(board-flash.c) and board-sdp.h(board-flash.h) to used by other board e.g. zoom Signed-off-by:
Sukumar Ghorai <s-ghorai@ti.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Sukumar Ghorai authored
Board file modified for not to provide gpmc phys_base address to nand driver. The gpmc_nand_init funciton is now used to detect the nand and required to adopt _prob function as in nand/omap2.c Signed-off-by:
Sukumar Ghorai <s-ghorai@ti.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Sukumar Ghorai authored
This patch removes direct reference of gpmc address from generic nand platform code. Nand platform code now uses wrapper functions which are implemented in gpmc module. Signed-off-by:
Sukumar Ghorai <s-ghorai@ti.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Sukumar Ghorai authored
few functions added in gpmc module and to be used by other drivers like NAND. Signed-off-by:
Sukumar Ghorai <s-ghorai@ti.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Grazvydas Ignotas authored
OMAP3530 CBB package can have GPIO126 muxed on 2 pins: mmc1_dat4 and cam_strobe. This causes a problem with current multipath GPIO mux handling, which muxes both pins as GPIO126 and makes the GPIO unusable. Fix this by not muxing any pins if multipath GPIO is detected and just print a warning instead. It's up to board files to set correct mux using omap_mux_init_signal and pin name. Signed-off-by:
Grazvydas Ignotas <notasas@gmail.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Kan-Ru Chen authored
The devkit8000 boards often come with empty EEPROM thus without valid ethernet MAC address. The DIE id to MAC formula is copied from u-boot. Signed-off-by:
Kan-Ru Chen <kanru@0xlab.org> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Kan-Ru Chen authored
Signed-off-by:
Kan-Ru Chen <kanru@0xlab.org> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Kan-Ru Chen authored
Allow DIE id to be get and used by others. Signed-off-by:
Kan-Ru Chen <kanru@0xlab.org> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
stanley.miao authored
AM3505/3517 doesn't have IO wakeup capability, so we do not need to set the bit OMAP3430_EN_IO and the bit OMAP3430_EN_IO_CHAIN in the register PM_WKEN_WKUP when the system enters suspend state. Tested on AM3517EVM and OMAP3530EVM. Signed-off-by:
Stanley.Miao <stanley.miao@windriver.com> Acked-by:
Kevin Hilman <khilman@deeprootsystems.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Nishanth Menon authored
omap24xx_check_revision, omap3_check_features, omap3_check_revision, omap4_check_revision, omap3_cpuinfo are not used elsewhere, it should be static Also fixes the following sparse warnings: arch/arm/mach-omap2/id.c:105:13: warning: symbol 'omap24xx_check_revision' was not declared. Should it be static? arch/arm/mach-omap2/id.c:167:13: warning: symbol 'omap3_check_features' was not declared. Should it be static? arch/arm/mach-omap2/id.c:189:13: warning: symbol 'omap3_check_revision' was not declared. Should it be static? arch/arm/mach-omap2/id.c:270:13: warning: symbol 'omap4_check_revision' was not declared. Should it be static? arch/arm/mach-omap2/id.c:300:13: warning: symbol 'omap3_cpuinfo' was not declared. Should it be static? Signed-off-by:
Nishanth Menon <nm@ti.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Steve Sakoman authored
The original patch got truncated when applied from patchwork.kernel.org as discussed at: http://www.mail-archive.com/linux-omap@vger.kernel.org/msg28953.html This patch supplies the missing chunks. Signed-off-by:
Steve Sakoman <sakoman@gmail.com> [tony@atomide.com: added more info to the patch description] Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
Fix GPIO numbers and smc91x for 2430sdp. The earlier code had cut and paste errors from 3430sdp code. Also, 2430 has five GPIO banks for a total of 160 GPIO lines. Signed-off-by:
Tony Lindgren <tony@atomide.com>
-