- 30 Jan, 2008 1 commit
-
-
Arun K S authored
The PRCM (0x490022E8)register was overwritten by the MMC code which made the other peripherals like USB etc to stop working. The following patch fixes the modification of PRCM register by the MMC code. This patch is tested here on the OMAP2430 SDP board. Signed-off-by: Arun K S <arunks@mistralsolutions.com> Ack-by: Madhusudhan Chikkature Rajashekar" <madhu.cr@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
- 25 Jan, 2008 14 commits
-
-
Kyungmin Park authored
Remove non-exist include file. It's changed to <asm/arch/control.h> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
David Cohen authored
This patch adds MMC multislot support for TI OMAP H4 2420 boards. Signed-off-by: David Cohen <david.cohen@indt.org.br> Signed-off-by: Carlos Eduardo Aguiar <carlos.aguiar@indt.org.br> Acked-by: Anderson Lizardo <anderson.lizardo@indt.org.br> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
David Cohen authored
Adding menelaus_enable_slot() function on menelaus driver. This function enables/disables the mmc slots on menelaus. Signed-off-by: David Cohen <david.cohen@indt.org.br> Acked-by: Anderson Lizardo <anderson.lizardo@indt.org.br> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
This patch fixes some boot-time instability problems with OMAP3430. The GPTIMER modules can take 200 to 300 microseconds to become available after their clocks are enabled, and without this patch, the clock framework won't wait for them before returning from clk_enable(). If the system attempts to access a GPTIMER register too quickly after the clk_enable(), the system will halt with something similar to the following in the dmtimer code: Unhandled fault: external abort on non-linefetch (0x1028) at 0xd9032010 This is perhaps not the ideal way to solve this problem, but then again, omap2_clk_wait_ready() is perhaps not the ideal way to wait for module readiness. This function is due to be replaced, but in the interim, this patch fixes the issue. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Carlos Eduardo Aguiar authored
This patch corrects MMC slot 2 misconfiguration on menelaus code. Signed-off-by: Carlos Eduardo Aguiar <carlos.aguiar@indt.org.br> Acked-by: Eduardo Valentin <eduardo.valentin@indt.org.br> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Jarkko Nikula authored
This drops n.o. wake-ups from >128 Hz to only few per second. Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
Add several OMAP3430ES2-only clocks: - DPLL5, which provides clock to onboard USB and USIM modules; - the Customer Programmable EFUSE; - MMC3; - SGX, the graphics module replacing GFX; - the bandgap temperature sensor; - USBHOST; - USB TLL (transceiverless link); - the Universal Subscriber Identity Module (USIM). The interface clock for USB TLL is on CM_ICLKEN3, which formerly was OMAP2430-only; so also convert OMAP2430_CM_ICLKEN3 to CM_ICLKEN3. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
On the OMAP3430 architecture, some DPLL3 rates are only available on 3430ES2. We wish to avoid inadvertently selecting these on 3430ES1. So we need some way to mark these rates as being 3430ES2-only. To do so, add new rate flag RATE_IN_3430ES2, to be used for rates that only exist on 3430ES2. (I'm not aware of any 3430ES1-only rates, so, no corresponding 3430ES1 flag is currently defined.) RATE_IN_343X is still present and used for rates which exist on all 343X-level devices. The current code assumes that production rates will be identical to 3430ES2 rates, but this is easy enough to change if necessary. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
On the OMAP3430 architecture, some clocks are only available on 3430ES1 (e.g., the GFX subsystem, and the 16.8MHz input crystal rate option) and some clocks are only available on 3430ES2 (e.g., DPLL5, temp sensor, etc.) Now that OMAP3430ES revision detection is in the tree, we can flag these so we do not try to initialize clocks that don't exist on other ES revisions. To do so, add new clock flags CLOCK_IN_OMAP3430ES1 and CLOCK_IN_OMAP3430ES2, to be used for clocks that only exist on one architecture or the other. CLOCK_IN_OMAP343X is still present and used for clocks which exist on all 343X-level devices. The current code assumes that production clocks will be identical to 3430ES2 clocks, but this is easy enough to change if necessary. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
Add omap_ctrl_readb et al, and make code us it. Some registers are 8-bit on 24xx and 16-bit on 34xx. Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
Misc clean-up for the mux code and remove some unnecessary ifdefs. Also change debug function so it can be used on 24xx and 34xx. Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
Use omap processor specific function depending on system type. Based on an earlier patch by Klaus Pedersen <klaus.k.pedersen@nokia.com>. Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
This patch changes pin multiplexing init to allow registering custom function. The omap_cfg_reg() func will be split into omap processor specific functions in later patch. This is done to make adding omap3 pin multiplexing easier. Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
It can't be static, it gets from board-*.c files as noted by Paul Walmsley. Signed-off-by: Tony Lindgren <tony@atomide.com>
-
- 24 Jan, 2008 25 commits
-
-
Tony Lindgren authored
Merge branches 'master' and 'linus'
-
Adrian Hunter authored
Updates omap2 support for OneNAND on N800/N810. Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
I accidentally left the Makefile changes out. Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Kevin Hilman authored
Currently, the GPIO interrupt handling is duplicating some of the work done by the generic IRQ handlers (handle_edge_irq, handle_level_irq) such as detecting nesting, handling re-triggers etc. Remove this duplication and use generic hooks based on IRQ type. Using generic IRQ handlers ensures correct behavior when using threaded interrupts introduced by the -rt patch. Signed-off-by: Kevin Hilman <khilman@mvista.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Kevin Hilman authored
The clearing was moved to the unmask hook because it is known to run after the interrupt handler has actually run. Before this patch, if interrupts are threaded, the clearing/unmasking of level triggered interrupts would be done before the threaded handler actually ran. Signed-off-by: Kevin Hilman <khilman@mvista.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Kevin Hilman authored
GPIO IRQ unmask doesn't actually do anything useful. The problem is hidden by a separate explicit mass unmask at the end of the chained bank handler. Signed-off-by: Kevin Hilman <khilman@mvista.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Felipe Balbi authored
board-*.h are always included from hardware.h Signed-off-by: Felipe Balbi <felipe.lima@indt.org.br> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Madhusudhan Chikkature Rajashekar authored
This patch enables high speed MMC support for OMAP3430. Signed-off-by: Madhusudhan Chikkature<madhu.cr@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Madhusudhan Chikkature Rajashekar authored
This patch enables high speed MMC support for OMAP2430. Signed-off-by: Madhusudhan Chikkature<madhu.cr@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Madhusudhan Chikkature Rajashekar authored
This patch registers the MMC device for OMAP2430/3430. Signed-off-by: Madhusudhan Chikkature<madhu.cr@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Madhusudhan Chikkature Rajashekar authored
This patch adds OMAP2430/3430 MMC board specific file. Signed-off-by: Madhusudhan Chikkature<madhu.cr@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Madhusudhan Chikkature Rajashekar authored
This patch adds MMC controller driver for OMAP2430/3430. Signed-off-by: Madhusudhan Chikkature<madhu.cr@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Linus Torvalds authored
-
Madhusudhan Chikkature Rajashekar authored
This patch updates the OMAP2430/3430 MMC clock structures to use the id field. Signed-off-by: Madhusudhan Chikkature<madhu.cr@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Madhusudhan Chikkature Rajashekar authored
This patch adds bq27000 battery moniter HDQ slave driver support. Signed-off-by: Madhusudhan Chikkature<madhu.cr@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Madhusudhan Chikkature Rajashekar authored
This patch adds OMAP2430/3430 HDQ/1-Wire driver support. Signed-off-by: Madhusudhan Chikkature<madhu.cr@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Madhusudhan Chikkature Rajashekar authored
This patch adds HDQ base address defines and registers hdq as platform device. Signed-off-by: Madhusudhan Chikkature<madhu.cr@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Girish authored
This patch adds rtc-twl4030 driver specific code. Signed-off-by: Girish S G <girishsg@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Kalle Valo authored
Before transmission of the last word in PIO RX_ONLY mode rx+tx mode is enabled: /* prevent last RX_ONLY read from triggering * more word i/o: switch to rx+tx */ if (c == 0 && tx == NULL) mcspi_write_cs_reg(spi, OMAP2_MCSPI_CHCONF0, l); But because c is decremented after the test, c will never be zero and rx+tx will not be enabled. This breaks RX_ONLY mode PIO transfers. Fix it by decrementing c in the beginning of the various I/O loops. Signed-off-by: Kalle Valo <kalle.valo@nokia.com> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-
Linus Torvalds authored
This reverts commit 81100eb8 for the release, to avoid the unnecessary warning noise that is only really relevant to wireless driver developers. The warning will probably go right back in after I cut the release, but at least we won't unnecessarily worry users. Acked-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-
Choraria, Rohit authored
This patch does the following moves flash specific code to a new file board-3430sdp-flash.c adds support for 3430 ES2 SDP changes for ethernet changes the check in gpmc to OMAP34XX as same address is valid. Signed-off-by: Rohit Choraria <rohitkc@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Jarkko Lavinen authored
The limit was a fixed 100k limit in the busy loop, which is not accurate. It would better to have time limit for the worst case which occurs when sending 80 cycles at 400 kHz and takes about 200 microseconds, so limit the max time spend in the busy loop for some 250 microseconds. Signed-off-by: Jarkko Lavinen <jarkko.lavinen@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Jarkko Lavinen authored
Use work queues for starting new commands instead of starting them directly from irq handler. The command scheduling needs to be delayed a bit for some cards which should not be done from an interrupt. Signed-off-by: Jarkko Lavinen <jarkko.lavinen@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Jarkko Lavinen authored
MMCA spec says the mmc clock should be kept running for at least 8 cycles after the last RW request. Ensure this with lazy clock disable after a request, or with an explicit delay before switching a slot. Signed-off-by: Jarkko Lavinen <jarkko.lavinen@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Jarkko Lavinen authored
Abort failed command from workqueue rather than from an interrupt, allowing longer delays in abortion. Signed-off-by: Jarkko Lavinen <jarkko.lavinen@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-