- 09 Nov, 2006 6 commits
-
-
David Brownell authored
Additional cleanup for debug boards on H2/P2/H3/H4: move the init code that's not board-specific into a new file where it can be easily shared between all the different boards (avoiding code duplication, and making it easier to support more devices). Make H4 use that. This should be easy to drop in to the OMAP1 boards using these debug cards; the only difference seems to be that the p2 does an extra reset of the smc using the fpga (probably all boards could do that, if it's necessary) and doesn't use the gpio mux or request APIs. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
David Brownell authored
This adds generic support for the "debug board" LEDs used by most of TI's OMAP reference boards, and board-specific support for the H4. It's derived from the not-as-generic stuff used by OMAP1 H2/H3/P2. Those should be able to switch easily to this version, and clean up some of the omap1-specific code. In addition to H4 support, one key improvement is supporting not just the "old" ARM debug LED API (with timer and idle LEDs, plus four that can be handy for kernel debugging), but it also supports the "new" generic LED API (most useful for usermode stuff IMO). Either or both APIs can be enabled. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
David Brownell authored
Update how DaVinci handles powering up VBUS, and make cable based role switching work more or less as well as on TUSB6010. - Work around VBUS_ERROR IRQs triggering during enumeration, which seems to be a design botch from Mentor (TUSB 6010 has it too). This is particularly nasty on the EVM (30 second delay) because of differences between its RTL and the newer stuff in tusb6010. - Work around lack of ID change IRQ, a design botch in how the Mentor core was integrated into DaVinci. This builds on the polling mechanism used to cope with VBUS errors. OTG devices will probe every few seconds until either the ID pin grounds, or the device leaves B_IDLE. - Rename vbus_power() to source_power(), better matching its role. (DaVinci doesn't sink VBUS e.g. to charge batteries -- yet.) - Provide more complete tracing of IRQ events. - Provide a symbol for the DRVVBUS irq. Basically, with this driver's core behaving better (thanks to OTG/host updates for TUSB), the DaVinci stuff doesn't need to fight them so much; and it's more clear when problems are in the core vs its integration. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
Teach host side VBUS powerup and connect logic about the problem whereby the HDRC core wrongly reports VBUS_ERROR during initial powerup. Remove previous non-working workaround for tusb powering VBUS: don't try handling CPEN by hand. Rest of the fix for disconnection issues in A_SUSPEND. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
A collection of mostly orthogonal and small fixes: - Update various corner cases in the side suspend/resume code, triggered mostly on the host side: * avoid spurious gadget driver resume callbacks in B_IDLE state * avoid spurious gadget driver suspend callbacks in A_HOST state * cope better with some spurious resume irqs * partial fix for disconnection issues in A_SUSPEND - Resolve some TUSB rmmod races by disabling IRQs at the proper moment, and killing the idle timer. - Only mark TUSB device as wakeup-capable if it's connected to an IRQ which allows that. - Don't idle the TUSB chip until khubd handles all pending port status change events; dump that status in procfs. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
Remove most of the strange OTG-incompatible logic from Mentor, with its CamelCasing and so forth. It's better to trigger the transitions explicitly with relevant operations, like suspend triggering HNP, than trying to track a subset of the OTG triggers. Plus some minor cleanups related to previous patches: better fix for the "use_dma=n" related compiler warning, pt_regs for omap2430. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-
- 01 Nov, 2006 22 commits
-
-
David Brownell authored
Host side suspend/resume updates: - Add the missing "bus-wide" suspend/resume calls, which in this case leave everything up to the root port suspend code. - Scrub out state more completely on disconnect - Remote wakeup IRQ handling (untested because of enumeration issues) Also: - Handle a host side oops if DMA is disabled as a module parameter - Minor cleanups of unused symbols - Update version string And some very minor, related, peripheral side fixes. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-
Tony Lindgren authored
It seems like some values in docs are should be in fclk cycles instead of nanoseconds. At least these values seem to work. Also make GPIO to be input for interrupt. Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-
Tony Lindgren authored
-
Dirk Behme authored
Fix broken CONFIG_DEBUG_LL. In case of low level debugging reconfigure some clocks early. See http://source.mvista.com/git/gitweb.cgi?p=linux-omap-2.6.git;a=commitdiff;h=3bfb289ccc6c4624fd5ff0381546935e105f4093 too. Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
Fix typo in gpio Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Arnaud Patard authored
Update the omap-hw to take into account the "recent" changes in the mtd layer. Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Kyungmin Park authored
- Add apollon use the non-double-buffering in PIO mode - Fix compiler warning Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Marek Vasut authored
there is one extra brace in z71 board file, this patch fixes it. Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Dirk Behme authored
Remove struct pt_regs from menelaus_irq() Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Dirk Behme authored
Remove struct pt_regs from lcdc_irq_handler() Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Dirk Behme authored
Remove struct pt_regs from omap_irda_irq() Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Jonathan McDowell authored
On Fri, Oct 27, 2006 at 05:16:59PM +0100, Jonathan McDowell wrote: > However having prodded further I'm seeing incorrect key parsing with > the omap-keypad driver under both -rc2 and -rc3 (works fine in > 2.6.18-omap1). Numerous keys now returns strings of characters rather > than the single expected character. A few keys still work as expected > however. Before I dig in further is anyone else seeing anything similar? This appears to be due to the addition of keymapsize to the omap_kp_platform_data structure. The patch below fixes things up for the Delta; other boards appear to have already had this done. Signed-off-by: Jonathan McDowell <noodles@earth.li> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Dirk Behme authored
Fix warning rivers/input/keyboard/omap-keypad.c: In function 'omap_kp_probe': drivers/input/keyboard/omap-keypad.c:450: warning: 'row_idx' is used uninitialized in this function drivers/input/keyboard/omap-keypad.c:453: warning: 'col_idx' is used uninitialized in this function Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Dirk Behme authored
Fix warning arch/arm/mach-omap2/timer-gp.c: In function 'omap2_gp_timer_init': arch/arm/mach-omap2/timer-gp.c:70: warning: implicit declaration of function 'setup_irq' Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Dirk Behme authored
Fix warnings arch/arm/plat-omap/dmtimer.c: In function 'omap_dm_timer_modify_idlect_mask': arch/arm/plat-omap/dmtimer.c:317: warning: no return statement in function returning non-void arch/arm/plat-omap/mailbox.c: In function 'omap_mbox_init': arch/arm/plat-omap/mailbox.c:231: warning: ignoring return value of 'class_device_create_file', declared with attribute warn_unused_result Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Dirk Behme authored
Also fix warning: drivers/mmc/omap.c:587: warning: 'mmc_omap_switch_callback' defined but not used Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
David Brownell authored
More GPIO/IRQ cleanup: - compile-time removal of much useless code * mpuio support on non-OMAP1. * 15xx/730/24xx gpio support on 1610 * 15xx/730/16xx gpio support on 24xx * etc - remove all BUG() calls, which are always bad news ... replaced some with normal fault reports for that call, others with WARN_ON(1). - small mpuio bugfix: add missing set_type() method Oh, and fix a minor merge issue: inode->u.generic_ip is now gone. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
David Brownell authored
Minor GPIO cleanups: remove needless #include, and omap_gpio_init() should be __init, as well as all the board init code calling it. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
andrzej zaborowski authored
Add palmte board config bits for TSC2102 controlled devices. This will enable touchscreen, audio and APM code to report battery level. If there are other boards at some point that use a TSC2102, similar code can be used. Signed-off-by: Andrzej Zaborowski <balrog@zabor.org> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Dirk Behme authored
Fix BUG in omap1_mbox_enable_irq. Hiroshi may have a better fix.
-
Kyungmin Park authored
After update gpmc patch, apollon can't boot since gpmc init. In Apollon, the CS0 uses 0x0000 0000. If we don't modify boot_rom_space, we have to update all bootloaders. But as you know it's difficult. Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Dirk Behme authored
No IRQF_TRIGGER set_type function for IRQ 353 (MPUIO) Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
- 31 Oct, 2006 4 commits
-
-
Linus Torvalds authored
Not halloween. Not scary. Just a regular -rc release.
-
git://ftp.linux-mips.org/pub/scm/upstream-linusLinus Torvalds authored
* 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus: [MIPS] MIPS doesn't need compat_sys_getdents. [MIPS] JMR3927: Fixup another victim of the irq pt_regs cleanup. [MIPS] EMMA 2 / Markeins: struct resource takes physical addresses. [MIPS] EMMA 2 / Markeins: Convert to name struct resource initialization. [MIPS] EMMA 2 / Markeins: Formitting fixes split from actual address fixes. [MIPS] EMMA 2 / Markeins: Fix build wreckage due to genirq wreckage. [MIPS] Ocelot G: Fix build error and numerous warnings. [MIPS] Fix return value of TXX9 SPI interrupt handler [MIPS] Au1000: Fix warning about unused variable. [MIPS] Wire up getcpu(2) and epoll_wait(2) syscalls. [MIPS] Make SB1 cache flushes not to use on_each_cpu [MIPS] Fix warning about unused definition in c-sb1.c [MIPS] SMTC: Make 8 the default number of processors. [MIPS] Oprofile: Fix MIPSxx counter number detection. [MIPS] Au1xx0 code sets incorrect mips_hpt_frequency [MIPS] Oprofile: fix on non-VSMP / non-SMTC SMP configurations.
-
Jun'ichi Nomura authored
add_bd_holder() is called from bd_claim_by_kobject to put a given struct bd_holder in the list if there is no matching entry. There are 3 possible results of add_bd_holder(): 1. there is no matching entry and add the given one to the list 2. there is matching entry, so just increment reference count of the existing one 3. something failed during its course 1 and 2 are successful cases. But for case 2, someone has to free the unused struct bd_holder. The current code frees it inside of add_bd_holder and returns same value 0 for both cases 1 and 2. However, it's natural and less error-prone if caller frees it since it's allocated by the caller. Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Jun'ichi Nomura authored
This fixes bd_claim_by_kobject to release bdev correctly in case that bd_claim succeeds but following add_bd_holder fails. Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
- 30 Oct, 2006 8 commits
-
-
Ralf Baechle authored
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-
Ralf Baechle authored
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-
Ralf Baechle authored
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-
Ralf Baechle authored
This fixes the wreckage caused by shuffeling the order of struct resource members. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-
Ralf Baechle authored
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-
Ralf Baechle authored
I wonder if the original contributor still cares ... Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-
Ralf Baechle authored
The cause of the build errors was a 64-bit kernel being configured in ocelot_g_defconfig without the code being 64-bit proof. Fixed for now by limiting 64-bit selection to SYS_SUPPORTS_64BIT_KERNEL if BROKEN. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-
Yoichi Yuasa authored
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-