- 09 Sep, 2008 14 commits
-
-
Tony Lindgren authored
This is to be in sync with Russell's patch 690b5a13. Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
As pointed out by Adrian Hunter. Signed-off-by: Tony Lindren <tony@atomide.com>
-
Jagadeesh Bhaskar Pakaravoor authored
RTC generates an extra spurious interrupt for every actual periodic interrupt. This is due to a problem with the RTC_IT bit of REG_PWR_ISR1. It requires two writes or two reads (when COR is enabled) to clear it. Since COR is enabled and one read of the same register is done already (inside twl4030-pwrirq.c do_twl4030_pwrirq() function), we can do away with a need to add one more write into the same register inside the interrupt handler, by replacing the write currently present with just one extra read. Signed-off-by: Jagadeesh Bhaskar Pakaravoor <j-pakaravoor@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
David Brownell authored
Some rtc-twl4030 cleanup, which among other things adds up to using about 10% less object code: - Remove: * broken/unfixable "periodic" IRQ support (2^N Hz) * duplicated constants in the header file * pointless stuff: + support for settable epoch + memset() calls + indirection when reading time and alarm + indirection when enabling irqs * needless ifdeffery for reading irq enable register - IRQ updates: * group irq enable/disable utilities together * cache irq enable register * now disable any old alarm irq before setting alarm - Comment updates * fix up my copyright attribution (old omap1 code) * more correctly describe the rtc mask/set ops * have a single place describe the register vs tm_* differences - Other: * don't support "current" dates in the 20th century * switch over to bcd2bin()/bin2bcd() * prefer dev_err() and better messages to printk(KERN_ERR...) * correct some KERN_WARNING messages (should have been pr_err) * whitespace bugs * misc The bugs fixed here are removing "periodic" IRQ support, and some of the messaging. Update IRQs still misbehave (two per second, not one!), and the alarm isn't wake-enabled. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
As pointed out by Russell King. Signed-off-by: Tony Lindgren <tony@atomide.com>
-
David Brownell authored
Minor updates to the OMAP{2,3} NAND driver: - Rename those buffer PIO routines as *_buf16() - Get rid of pointless LE16 data conversions; OMAP is always LE - Speed up buffer reads by switching to __raw_readsl() Right now this driver only handles 16-bit NAND, but eventually it should handle 8-bit too. Moreover it may be worth using DMA... Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Steve Sakoman authored
Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Steve Sakoman authored
Signed-off-by: Steve Sakoman <steve@sakoman.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Steve Sakoman authored
Signed-off-by: Steve Sakoman <steve@sakoman.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Steve Sakoman authored
Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Steve Sakoman authored
This patch adds support for basic features: nand, uarts, i2c, mmc, rtc, and usb Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Jarkko Nikula authored
Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Jarkko Nikula authored
Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
Update GPMC code for ioremap Signed-off-by: Tony Lindgren <tony@atomide.com>
-
- 08 Sep, 2008 4 commits
-
-
Russell King authored
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-
Russell King authored
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Conflicts: arch/arm/mach-omap2/clock.c
-
Russell King authored
gpio.c wilfully casts physical addresses to void __iomem * and then fixes them up at runtime using: bank->base = IO_ADDRESS(bank->base); where accesses prior to this fixup are via omap_read/omap_write, and after are by __raw_read/__raw_write. This doesn't lend itself to static checking, nor to easy understanding of the code. And so, OMAP_MPUIO_BASE gets to be the right type - integer like since it's a physical address, not a MMIO pointer. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-
Russell King authored
We're now assigning/comparing void __iomem pointers with void __iomem pointer variables. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-
- 05 Sep, 2008 15 commits
-
-
Paul Walmsley authored
This patch resolves the following two sparse warnings: sound/arm/omap/eac.c:788:12: warning: symbol 'eac_init' was not declared. Should it be static? sound/arm/omap/eac.c:793:13: warning: symbol 'eac_exit' was not declared. Should it be static? Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
Commit f228a725 breaks the build for this driver; fix by using ioremap(). Signed-off-by: Paul Walmsley <paul@pwsan.com> Tested-by: Jarkko Nikula <jarkko.nikula@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Vikram Pandita authored
Add TWL4030 BCI Battery for 3430 LDP platform Signed-off-by: Vikram Pandita <vikram.pandita@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Vikram Pandita authored
Fix following compilation error when enabling CONFIG_TWL4030_BCI_BATTERY drivers/power/twl4030_bci_battery.c: In function 'twl4030_bci_battery_probe': drivers/power/twl4030_bci_battery.c:911: error: dereferencing pointer to incomplete type Signed-off-by: Vikram Pandita <vikram.pandita@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Sergio Aguirre authored
ARM: OMAP: Add CSI2 clock struct for handling it with clock API. Add CSI2 clock struct for handling it with clock API when TI PM is disabled. Signed-off-by: Sergio Aguirre <saaguirre@ti.com> Acked-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Tomi Valkeinen authored
The clockdomain of clkout2_src_ck was set to "core_clkdm", which does not exist. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com> Acked-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
David Brownell authored
Clean up the Beagle NAND config a bit: use SZ_128K instead of an arithmetic expression for the NAND block size. Set the NAND_BUSWIDTH_16 flag. Make its init routine static. (Unrelated: make omap3_beagle_i2c_init be part of beagle_init. It shouldn't be called on non-beagle hardware; and beagle_init already runs with other arch_initcall code.) Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Acked-by: Richard Woodruff <r-woodruff2@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
David Brownell authored
Export Beagle's "user" button through the input framework so it's accessible using normal mechanisms. This uses BTN_EXTRA for lack of a more obvious choice. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
David Brownell authored
Assign default roles to two of Beagle's programmable LEDs: - usr0 has a heartbeat to show basic activity - usr1 shows MMC activity A third led is controlled by the TWL4030 LED_B signal, but the TWL driver doesn't yet support leds... Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Felipe Balbi authored
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Felipe Balbi authored
This file doesn't even have a Makefile entry for building it. Looks like it's garbage. Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Felipe Balbi authored
Missing include file broke compilation for 2430sdp. Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Jarkko Nikula authored
- TSL2563 and LP5521 are found only in N810 - Fix one typo Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com> Acked-by: Riku voipio <riku.voipio@iki.fi> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
FUJITA Tomonori authored
This patch remove blk_register_filter and blk_unregister_filter in gendisk, and adds them to sd.c, sr.c. and ide-cd.c The commit abf54393 moved cmdfilter from gendisk to request_queue. It turned out that in some subsystems multiple gendisks share a single request_queue. So we get: Using physmap partition information Creating 3 MTD partitions on "physmap-flash": 0x00000000-0x01c00000 : "User FS" 0x01c00000-0x01c40000 : "booter" kobject (8511c410): tried to init an initialized object, something is seriously wrong. Call Trace: [<8036644c>] dump_stack+0x8/0x34 [<8021f050>] kobject_init+0x50/0xcc [<8021fa18>] kobject_init_and_add+0x24/0x58 [<8021d20c>] blk_register_filter+0x4c/0x64 [<8021c194>] add_disk+0x78/0xe0 [<8027d14c>] add_mtd_blktrans_dev+0x254/0x278 [<8027c8f0>] blktrans_notify_add+0x40/0x78 [<80279c00>] add_mtd_device+0xd0/0x150 [<8027b090>] add_mtd_partitions+0x568/0x5d8 [<80285458>] physmap_flash_probe+0x2ac/0x334 [<802644f8>] driver_probe_device+0x12c/0x244 [<8026465c>] __driver_attach+0x4c/0x84 [<80263c64>] bus_for_each_dev+0x58/0xac [<802633ec>] bus_add_driver+0xc4/0x24c [<802648e0>] driver_register+0xcc/0x184 [<80100460>] _stext+0x60/0x1bc In the long term, we need to fix such subsystems but we need a quick fix now. This patch add the command filter support to only sd and sr though it might be useful for other SG_IO users (such as cciss). Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Reported-by: Manuel Lauss <mano@roarinelk.homelinux.net> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
-
Tony Lindgren authored
Based on comments from Dave: NAK. The Apollon-specific bit should be done some other way, and whatever silicon issue it's covering up is not specific to that board ... Signed-off-by: Tony Lindgren <tony@atomide.com>
-
- 04 Sep, 2008 7 commits
-
-
Tony Lindgren authored
In general, drivers should now use ioremap. Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Russell King authored
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-
Russell King authored
Modified version of Russell's patch 40c0133a904466ec5423d1088d3c85598ac9e030 to apply to linux-omap tree. OMAP1_IO_ADDRESS(), OMAP2_IO_ADDRESS() and IO_ADDRESS() returns cookies for use with __raw_{read|write}* for accessing registers. Therefore, these macros should return (void __iomem *) cookies, not integer values. Doing this improves typechecking, and means we can find those places where, eg, DMA controllers are incorrectly given virtual addresses to DMA to, or physical addresses are thrown through a virtual to physical address translation. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-
Russell King authored
Modified version of Russell's mcbsp ioremap patch 11a44b851134a30788195a01f91ea428272d2783 for linux-omap. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-
Russell King authored
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-
Tony Lindgren authored
Also modify for the mappings in linux-omap tree. Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Russell King authored
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-