- 13 Aug, 2008 4 commits
-
-
Paul Walmsley authored
There is suspicion that the 32kHz input clock to the OMAP may be noisy on BeagleBoards. On OMAP2/3 GPTIMER1, this can cause the timer counter register to warp to unknown values or miss interrupt conditions. So, use GPTIMER12 instead, which apparently has its own secure 32kHz oscillator and will hopefully not be prone to the suspected sys_32k glitches. This is only a workaround. If sys_32k is noisy, other system peripherals may be affected. This workaround is a collective product of several people, most notably Philip Balister <philip@balister.org>, Dirk Behme <dirk.behme@googlemail.com>, Koen Kooi <k.kooi@student.utwente.nl>, Tony Lindgren <tony@atomide.com>, Steve Sakoman <sakoman@gmail.com>, Khasim Syed Mohammed <khasim@ti.com> Richard Woodruff <r-woodruff2@ti.com>, Kevin Hilman <khilman@deeprootsystems.com>. I apologize if there is anyone whom I've missed. Signed-off-by: Paul Walmsley <paul@pwsan.com> Cc: Khasim Syed Mohammed <khasim@ti.com> Cc: Koen Kooi <k.kooi@student.utwente.nl> Cc: Steve Sakoman <sakoman@gmail.com> Cc: Richard Woodruff <r-woodruff2@ti.com> Cc: Tony Lindgren <tony@atomide.com> Cc: Philip Balister <philip@balister.org> Cc: Dirk Behme <dirk.behme@googlemail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
Add Kbuild code to allow the builder to select which GPTIMER block to use for the Linux clockevents timer. Practical choices at this point are GPTIMER1 or GPTIMER12. Both of these timers are in the WKUP powerdomain, and so are unaffected by chip power management. GPTIMER1 can use sys_clk as a source, for applications where a high-resolution timer is more important than power management. GPTIMER12 has the special property that it has the secure 32kHz oscillator as its source clock, which may be less prone to glitches than the off-chip 32kHz oscillator. But on HS devices, it may not be available for Linux use. At this point, it appears that most boards are fine with GPTIMER1, but Beagle should use GPTIMER12. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
Fix the clockdomain autodep code to respect omap_chip platform flags. Resolves "Unable to handle kernel paging request at virtual address 5f75706d" panic during power management initialization on OMAP2. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
The OMAP2 clock code was missing code to associate clocks with clockdomains at registration time; fix this. Resolves "Unhandled fault: alignment exception (0x001) at 0xc02c1b4e" (address may vary) panic during clock framework init on OMAP2. The alignment error was caused by an attempt to dereference a pointer to a string (1-byte aligned) as if it were a pointer to a structure. Thanks to Felipe Balbi <felipe.balbi@nokia.com> for originally reporting this bug. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
- 08 Aug, 2008 10 commits
-
-
chandra shekhar authored
this patch modifies the read write function to do 16/32 bit read write depending on CPU. Signed-off-by: Chandra Shekhar< x0044955@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
chandra shekhar authored
This Patch adds base address for all the instances on OMAP34xx and defines some relevant register. It also populates McBSP structure for all the instances for 34xx. Signed-off-by: Chandra Shekhar< x0044955@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
GPTIMER12 IRQ is at IRQ 95 on OMAP3, unlike OMAP2. (ref: OMAP34xx Multimedia High Security (HS) Device Silicon Revision 3.0 Security Addendum Rev. B, SWPU119B) Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Adrian Hunter authored
Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Adrian Hunter authored
Add fields wr_access and wr_data_mux_bus. Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Adrian Hunter authored
Update OneNAND support for OMAP3. Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Madhusudhan Chikkature authored
ARM: OMAP3: Fixes required to make HSMMC driver work as module.Complete the previously applied patch. This patch provides the necessary fixes to make the HSMMC driver work as loadble module. Signed-off-by: Madhusudhan Chikkature<madhu.cr@ti.com> Signed-off-by: Romit Dasgupta <romit@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Arun KS authored
Update omap2evm defconfig - Enable hsmmc support. Signed-off-by: Arun KS <arunks@mistralsolutions.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Arun KS authored
This patch enables high speed MMC support for OMAP2EVM board Signed-off-by: Arun KS <arunks@mistralsolutions.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
chandra shekhar authored
This patch is to fix I2C transmit overflow error. Signed-off-by: Chandra Shekhar <x0044955@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
- 06 Aug, 2008 6 commits
-
-
Tony Lindgren authored
Looks like recent patches broke compile. Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Dirk Behme authored
Update BeagleBoard defconfig: - Use MPU timer instead of 32k timer to work around serial hang issue - Disable CONFIG_DEBUG_LL Signed-off-by: Dirk Behme <dirk.behme@gmail.com> Acked-by: Syed Mohammed Khasim <khasim@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
ext Peter 'p2' De Schrijver authored
Signed-off-by: Peter 'p2' De Schrijver <peter.de-schrijver@nokia.com> Signed-off-by: Kalle Jokiniemi <ext-kalle.jokiniemi@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
ext Peter 'p2' De Schrijver authored
Signed-off-by: Peter 'p2' De Schrijver <peter.de-schrijver@nokia.com> Signed-off-by: Kalle Jokiniemi <ext-kalle.jokiniemi@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
Mark many functions in twl4030-core.c as __init. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
arun c authored
omap2evm LCD supports VGA and QVGA resolution, by default its in VGA mode. Signed-off-by: Arun C <arunedarath@mistralsolutions.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
- 05 Aug, 2008 20 commits
-
-
Felipe Balbi authored
arch: omap: get rid of usb_init() protytpes we now use usb_musb_init() and usb_ehci_init() functions Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Madhusudhan Chikkature authored
ARM: OMAP3: HSMMC fix for hotplug scenario. This patch fixes the inconsistancy noted if the card is removed from the slot duing an active I/O. Signed-off-by: Madhusudhan Chikkature<madhu.cr@ti.com> Signed-off-by: Romit Dasgupta <romit@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Madhusudhan Chikkature authored
ARM: OMAP3: HSMMC fix for core ret. The core ret seem to be prevented by HSMMC CTO errors. This patch provides a fix for the same. Signed-off-by: Madhusudhan Chikkature<madhu.cr@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
chandra shekhar authored
This patch provides dynamic allocation for mcbsp device. no. of mcbsp for each cpu is determined at runtime and accordingly memory is allocated. id check macro definition has been changed. Signed-off-by: chandra shekhar x0044955@ti.com Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Madhusudhan Chikkature authored
This patch calls the functionality supported by the TWL4030 battery charger interface driver to enable/disable battery charging upon cable attach/detach. Signed-off-by: Madhusudhan Chikkature<madhu.cr@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Madhusudhan Chikkature authored
ARM: OMAP: Triton Battery Charger Interface This patch provides a OMAP Triton battery charger interface driver to moniter the battery through power class subsystem. Signed-off-by: Madhusudhan Chikkature<madhu.cr@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Madhusudhan Chikkature authored
Device setup/board level initialization for the Triton battery charger interface driver for the OMAP3430 SDP. Signed-off-by: Madhusudhan Chikkature<madhu.cr@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Madhusudhan Chikkature authored
ARM: OMAP3: Free HDQ clocks when a read is tried with no battery connected Signed-off-by: Madhusudhan Chikkature<madhu.cr@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
struct clk contains a struct clockdomain *clkdm and const char *clkdm_name. The clkdm_name is only used at initialization to look up the appropriate clkdm pointer. Combining these into a union saves about 850 bytes on 3430SDP. This patch should not cause any change in kernel function. Boot-tested on 3430SDP ES2; compile-tested with n800_defconfig. Signed-off-by: Paul Walmsley <paul@pwsan.com> size: text data bss dec hex filename 3391555 157032 107136 3655723 37c82b vmlinux.3430sdp.orig 3391555 156176 107136 3654867 37c4d3 vmlinux.3430sdp Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
struct clockdomain contains a struct powerdomain *pwrdm and const char *pwrdm_name. The pwrdm_name is only used at initialization to look up the appropriate pwrdm pointer. Combining these into a union saves about 100 bytes on 3430SDP. This patch should not cause any change in kernel function. Boot-tested on 3430SDP ES2. Signed-off-by: Paul Walmsley <paul@pwsan.com> size: text data bss dec hex filename 3391587 157104 107136 3655827 37c893 vmlinux.3430sdp.orig 3391555 157032 107136 3655723 37c82b vmlinux.3430sdp Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Girish. S. G 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>
-
Paul Walmsley authored
Add the omap3_core_dpll_m2_set_rate() function to the OMAP3 clock code, which calls into the SRAM function omap3_sram_configure_core_dpll() to change the CORE DPLL M2 divider. (SRAM code is necessary since rate changes on clocks upstream from the SDRC can glitch SDRAM accesses.) Use this function for the set_rate function pointer in the dpll3_m2_ck struct clk. With this function in place, PM/OPP code should be able to alter SDRAM speed via code similar to: clk_set_rate(&dpll3_m2_ck, target_rate). Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
3430ES2+ CORE DPLL M2 divider can divide by 1 to 31, unlike ES1, which was more limited. The SRAM code currently only supports dividing by 1 or 2, but we should mask off the full range of bits to guard against the event that the previous contents of CM_CLKSEL_PLL1 included an M2 divider > 2. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
The only SRAM function currently used on OMAP3 is the CORE DPLL M2 divider reprogramming function; remove the rest of the stubs. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
Add timing data for the Qimonda HYB18M512160AF-6 SDRAM chip, used on the OMAP3430SDP boards. Thanks to Rajendra Nayak <rnayak@ti.com> for his help identifying the chip used on 3430SDP. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
Add timing data for the Micron MT46H32M32LF-6 SDRAM chip, used on the OMAP3 Beagle and EVM boards. Original timing data is from the Micron datasheet PDF downloaded from: http://download.micron.com/pdf/datasheets/dram/mobile/1gb_ddr_mobile_sdram_t48m.pdf Thanks to Rajendra Nayak <rnayak@ti.com> for his help identifying the chips used on Beagle & OMAP3EVM. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
For a given SDRAM clock rate, SDRAM chips require memory controllers to use a specific set of timing minimums and maximums to transfer data reliably. These parameters can be different for different memory chips and can also potentially vary by board. This patch adds the infrastructure for board-*.c files to pass this timing data to the SDRAM controller init function. The timing data is specified in an 'omap_sdrc_params' structure, in terms of SDRC controller register values. An array of these structs, one per SDRC target clock rate, is passed by the board-*.c file to omap2_init_common_hw(). This patch does not define the values for different memory chips, nor does it use the values for anything; those will come in subsequent patches. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
Separate SDRC code common to OMAP2/3 from mach-omap2/sdrc2xxx.c to mach-omap2/sdrc.c. Rename the OMAP2xxx-specific functions to use an 'omap2xxx' prefix rather than an 'omap2' prefix, and use "sdrc" in the function names rather than "memory." Mark several functions as static that should not be used outside the sdrc2xxx.c file. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
Rename arch/arm/mach-omap2/memory.c to arch/arm/mach-omap2/sdrc2xxx.c, since it contains exclusively SDRAM-related functions. Most of the functions are also OMAP2xxx-specific - those which are common will be separated out in a following patch. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
Move the contents of the arch/arm/mach-omap2/memory.h file to the existing include/asm-arm/arch-omap/sdrc.h file, and remove memory.h. Modify files which include memory.h to include asm/arch/sdrc.h instead. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-