- 16 Oct, 2006 3 commits
-
-
Kevin Hilman authored
Signed-off-by: Kevin Hilman <khilman@mvista.com>
-
Kevin Hilman authored
This patch fixes the I2C errors which were coming during the TI codec demos. These errors were due bus lockup and inappropriate enabling of interrupts. The patch incorporates the following: 1. Enables GPIO power domain. 2. Duty cycle of 50% (Initially it was set to 27%, which is for full speed mode). 3. udelay of 100 instead of the old while (cnt--) fix. 4. Enables the inetrrupts before writing to ICMDR register. 5. Sends a NACK and sends a clock on SCL line in case of cmd_complete failure and Bus busy error. Signed-off-by: Kevin Hilman <khilman@mvista.com>
-
Kevin Hilman authored
This reverts commit 9d9a2a50.
-
- 28 Sep, 2006 19 commits
-
-
Kevin Hilman authored
-
David Brownell authored
Some tweaks and cleanups for the DaVinci IRQ framework: - Don't bother storing a table of integers in SRAM and using it during IRQ dispatch. Just do math on the IRQENTRY register to get the irq number with fewer and faster instructions, freeing that SRAM. - Provide a mechanism to use IRQ prioritization, and to let boards set it up as appropriate for the product at hand; there's a default mapping. (This approach to handling IRQ priorities, and the initial table, is modeled on how AT91 does this.) - Comment out declarations of bogus or reserved (per docs) IRQs. - Minor fixes to genirq setup: only handle the AINTC irqs here; use genirq-style dispatcher names; and cleanup by merging both routines. I'm certain the default irq priority table could stand tweaking. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Kevin Hilman <khilman@mvista.com>
-
David Brownell authored
For the EVM's RTC, include a warning about how hours 12-23 are misreported ... the only way to really resolve this involves fixing the MSP430 firmware to include an AM/PM indicator. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Kevin Hilman <khilman@mvista.com>
-
David Brownell authored
Prevent build errors when MTD physmap is not defined, e.g. for IDE rootfs. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Kevin Hilman <khilman@mvista.com>
-
Juha Yrjola authored
Use virtual addresses directly instead of physical addresses to avoid having to recalculate the virtual address with every register access. Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
-
Juha Yrjola authored
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
-
Juha Yrjola authored
Useful for debugging power management code. Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
-
Juha Yrjola authored
-
Juha Yrjola authored
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
-
Juha Yrjola authored
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
-
David Brownell authored
Tighten up error handling in the procfs dump, and avoid returning bogus values from the read() system call. Report single vs double buffering for FIFO setup. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
- Remove an oops in the queue fault cleanup path, caused by using the wrong giveback routine (heavy weight vs lighter-weight). Move a few key bits of code into that lighter weight version. - Trigger that lighter-weight cleanup during URB completion, when the URB in question can't yet been handed off to the hardware even if it's at the queue head. - Reduce syslog noise when those fault cleanup paths are triggered from scatterlist calls by usb-storage. - Paranoia: when scheduling, insist that the endpoint fifo isn't smaller than required. Oops observed courtesy of a slightly flakey usb-storage device, which once again proves itself handy for testing. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
- Remove #ifdefs in favor of new is_cppi_enabled() macro. - Trim some tx-start logic, inlining it and removing MGC_{Read,Write}Csr16() - Remove remnant of bogus/non-existent host-side ISO bitfield. For upstream merging, more such #ifdeffery still needs to be removed. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
- Add header needed for DaVinci build. - Remove some partially obsolete comments. - Cleaner and more reproducible host side VBUS handling, including waiting for it to fall after powerdown on rmmod. - Tighten up various state machine transitions and diagnostics Plus removing some generic #ifdeffery. The vbus updates make it work more like the TUSB code, and the cleanups etc make upstream merging more practical. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
When you're willing to trust the USB host not to commit certain errors, the CPPI "rndis" RX mode can be used with the peripheral side g_ether driver. (In other cases, rndis rx mode tends to misbehave _very_ rudely ...) This patch adds a heuristic to detect when the safe scenario is likely, and a module parameter to disable the heuristic in contexts when it's likely to fail; for example, users of gadgetfs will likely need to disable it. This gave about a 60% improvement in throughput with CDC Ethernet (!!) and a slight reduction in CPU load. That's measured with TTCP, which pushes a lot of full size Ethernet frames and thus can see three IRQs per packet reduced to just one, and also get I/O overlap when double buffering packets. That is, net 10 MByte/sec sustained, using double buffering but no DMA transfer queues; it's unclear why TX is still just 6 MByte/sec. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-
Komal Shah authored
<linux/config.h> automatically gets included by kbuild Signed-off-by: Komal Shah <komal_shah802003@yahoo.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
andrzej zaborowski authored
General update of the board file for Palm Tungsten E. Registers the platform devices contained in the PDA (ROM chip, keypad, infra-red) and updates the configuration for USB and MMC, whose config values were previously guessed in most cases due to lack of documentation (and now are confirmed by a number of users). Macros for GPIO pins are moved to a file in include/asm-arm/arch-omap. Signed-off-by: Andrzej Zaborowski <balrog@zabor.org> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
andrzej zaborowski authored
Disable accesses to SOFT_REQ_REG2 and ULPD_SOFT_DISABLE_REQ_REG registers for 15xx processors that don't have these registers. Enable level 2 interrupt handler for processors that identify as OMAP 15xx (e.g 310) and not 1510 specifically. Also fix the following compiler warning (only visible with CONFIG_OMAP_RESET_CLOCKS): arch/arm/mach-omap1/clock.c: In function 'omap1_clk_disable_unused': arch/arm/mach-omap1/clock.c:634: warning: 'return' with a value, in function returning void Signed-off-by: Andrzej Zaborowski <balrog@zabor.org> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
-
- 25 Sep, 2006 8 commits
-
-
Juha Yrjola authored
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
-
Juha Yrjola authored
The APLLs are most efficiently idled by hardware. Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
-
Juha Yrjola authored
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
-
Hiroshi DOYU authored
DSP HW-related initialization is deferred until the first DSP device node is opened. This allows us to keep DSP powered down before the DSP SW is loaded. Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com> Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
-
Hiroshi DOYU authored
Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com> Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
-
Hiroshi DOYU authored
Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com> Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
-
Tony Lindgren authored
Sync timer32k code with mainline Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
These can be static now that CONFIG_OMAP_RESET_CLOCKS is rearranged. Signed-off-by: Tony Lindgren <tony@atomide.com>
-
- 21 Sep, 2006 10 commits
-
-
Hiroshi DOYU authored
Nokia770-specific part Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com> Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
-
Hiroshi DOYU authored
DSP needs to control some board-specific peripheral devices (GPT, audio, mbox, etc.) through dspgw kfunc commands. Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com> Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
-
Hiroshi DOYU authored
Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com> Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
-
Hiroshi DOYU authored
- use device model for IRQ detection. - use "dsp_device" as a pointer for "struct device" - some whitespaces are cleaned up. Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com> Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
-
Hiroshi DOYU authored
Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com> Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
-
Hiroshi DOYU authored
Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com> Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
-
Hiroshi DOYU authored
Mailbox is restructured as below: - OMAP1 and OMAP2 parts split out to mach-omap[1-2] respectively. - struct mbx isolation - Introduced device model - Added class interface Moved omap[1,2] specific parts in mach-omap[1,2]/ Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com> Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
-
Hiroshi DOYU authored
mailbox log small clean-up Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com> Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
-
Hiroshi DOYU authored
Add dsp clock autoidle(DSP_FCLK, DSP_ICLK, INT_D_FCLK, INT_D_ICLK). which are controled together by auto-control mode. Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com> Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
-
Hiroshi DOYU authored
Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com> Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
-