- 15 Nov, 2007 25 commits
-
-
Paul Walmsley authored
The two SmartReflex voltage controllers on OMAP3430 have one functional clock each. These clocks appear to be independent of each other. Encode them appropriately, replacing the previous 'sr_alwon_fck' clock. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Jarkko Nikula authored
Use 400 kHz bus clock for both busses since board components are rated for it. Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com> Acked-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Jarkko Nikula authored
This patch starts using introduced I2C bus registration helper by cleaning up registration currently done in various places and by doing necessary board file modifications. Patch modifies those board files that are merged upstream. Most of the boards except osk and 2430sdp are configured to use 100 kHz I2C clock until they are verified for higher clock. Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com> Acked-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Jarkko Nikula authored
This helper module simplifies I2C bus registration for different OMAP platforms by doing registration in one place only and to allow board specific bus configuration like clock rate and number of busses configured. Helper should cover OMAP processors from first to third generation. This patch just adds the feature and current implementation cleanup and board file modifications will be done in following patches. Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com> Acked-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Jarkko Nikula authored
There is a small chance that retu_headset_detect_timer can run twice and pressed flag being zero in second run. Do nothing in that case instead of throwing BUG_ON. Double run can happen under very busy system assuming following scenario 1. Hook interrupt (run in softirq context, pressed flag = 1) 2. First retu_headset_enable_timer call 3. Busy system, retu raises an interrupt but cannot run hook interrupt for 300-350 ms 4. Second hook interrupt 5. First retu_headset_detect_timer call (pressed flag = 0) 6. Second retu_headset_enable_timer 7. Second retu_headset_detect_timer -> pressed flag == 0 => BUG_ON Patch also removes two debug messages since they are not needed very much and removal cleans up code a bit. 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>
-
Choraria, Rohit authored
This patch adds the implementation for warm reset functionality for OMAP3. Signed-off-by: Rohit Choraria <rohitkc@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
LuÃs Cargnini authored
this patch only export two more functions to been used externally, for read and write in polled mode.without the need of irqs. Signed-off-by: Luis Vitorio Cargnini <lvcargnini@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Francisco Alecrim authored
According with commit 255d01af from Linux-OMAP tree, the BYTEBLOCK capability was removed by Pierre Ossman. MMC_CAP_BYTEBLOCK is not defined causing the compile error: drivers/mmc/host/omap.c: In function `mmc_omap_probe': drivers/mmc/host/omap.c:1077: error: `MMC_CAP_BYTEBLOCK' undeclared (first use in this function) drivers/mmc/host/omap.c:1077: error: (Each undeclared identifier is reported only once drivers/mmc/host/omap.c:1077: error: for each function it appears in.) Signed-off-by: Francisco Alecrim <francisco.alecrim@indt.org.br> Signed-off-by: Carlos Eduardo Aguiar <carlos.aguiar@indt.org.br> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Chandra shekhar authored
Resumbmitting the patch earlier sent by girish, after fixing review comments given by paul. This patch modifies the I2C clock nodes as per LDM, corrects usage of DPLL mask and updates the flags of 96M clock nodes Signed-off-by: Chandra Shekhar <x0044955@ti.com> Acked-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Kevin Hilman authored
Fix the following warning when OMAP_RESET_CLOCKS is enabled: WARNING: vmlinux.o(.data+0x33a0): Section mismatch: reference to .init.text:omap2_clk_disable_unused (between 'omap2_clk_functions' and 'osc_ck') omap2_clk_disable_unused cannot be declared __init as it part of a struct where the rest of the functions are not __init. Signed-off-by: Kevin Hilman <khilman@mvista.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
This reverts commit 669bbebe. Using Kevin's resent patch instead. Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Hunyue Yau authored
For the case of an isochonous endpoint, musb_write_fifo may be called with a NULL buffer from musb_host_tx if DMA is enabled. Remove DMA check and always supply a valid buffer as long as the URB contains a valid buffer. Signed-off-by: Hunyue Yau <hyau@mvista.com> Acked-by: David Brownell <dbrownell@users.sourceforge.net>
-
Kevin Hilman authored
Signed-off-by: Kevin Hilman <khilman@mvista.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Kevin Hilman authored
Fix the following warning when OMAP_RESET_CLOCKS is enabled: WARNING: vmlinux.o(.data+0x33a0): Section mismatch: reference to .init.text:omap2_clk_disable_unused (between 'omap2_clk_functions' and 'osc_ck') omap2_clk_disable_unused cannot be declared __init as it part of a struct where the rest of the functions are not __init. Signed-off-by: Kevin Hilman <khilman@mvista.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
As noted by Dirk Behme. Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Girish authored
This patch adds macro for identifying 3430 cpu type and silicon revision of OMAP2/3 processors as well. Signed-off-by: Girish S G <girishsg@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Girish authored
This patch add cpu identification support for 3430 and some code clean up. Signed-off-by: Girish S G <girishsg@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Daniel Stone authored
It isn't safe to schedule from a LED brightness_set handler, so use a work queue. Signed-off-by: Daniel Stone <daniel.stone@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Eduardo Valentin authored
- Once ov9640 is implemented using v4l2-int-device API, this patch removes unecessary files from Makefile and Kconfig. Signed-off-by: Eduardo Valentin <eduardo.valentin@indt.org.br> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Eduardo Valentin authored
- Executed Lindent on camera_core.c - Removed extra blank spaces - Lines with more than 80 columns were broken Signed-off-by: Eduardo Valentin <eduardo.valentin@indt.org.br> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Eduardo Valentin authored
This patch converts camera_core.c to use v4l2-int-device API. Only read method was tested with success. MMAP method still needs re-work and tests. Signed-off-by: Eduardo Valentin <eduardo.valentin@indt.org.br> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Eduardo Valentin authored
- Update gpio expander code to the corret i2c adapter id - Due to changes on i2c binding style, the i2c adapter is 1 and not 0. (as configured on i2c_register_board_info) Signed-off-by: Eduardo Valentin <eduardo.valentin@indt.org.br> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Eduardo Valentin authored
This code is based on board-h4.c and drivers/media/video/omap/h3_sensor_power.c codes. Signed-off-by: Eduardo Valentin <eduardo.valentin@indt.org.br> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Eduardo Valentin authored
- Executed Lindent on omap16xxcam.c - Removed extra blank spaces - Lines with more than 80 columns were broken - Added KERN_* flags on printk calls Signed-off-by: Eduardo Valentin <eduardo.valentin@indt.org.br> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
- 14 Nov, 2007 1 commit
-
-
Tony Lindgren authored
Remove obsolete drivers/char/watchdog as noted by Iqbal. Signed-off-by: Tony Lindgren <tony@atomide.com>
-
- 06 Nov, 2007 1 commit
-
-
Paul Walmsley authored
Work around OMAP2_CTRL_BASE redefinition warnings for OMAP3430 builds. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
- 01 Nov, 2007 9 commits
-
-
Choraria, Rohit authored
This patch adds some of the missing IRQ entries for 24XX and 34XX and reorders some of the entries. Signed-off-by: Rohit Choraria <rohitkc@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Kevin Hilman authored
[resend with minor build fix and updated description] Follow the lead of the TI kernels by removing PRCM #2 and adding PRCM #3 and #4 to the rate-table entries. According to TI, having #2 and #3 together is known to be a bad combination. Also, change the default divider values for the PRCM #5a setting to match those of the TI kernel. Using the smallest divider possible can give significant power savings when using the data-driven idle modes. Signed-off-by: Kevin Hilman <khilman@mvista.com> Acked-by: Richard Woodruff <r-woodruff2@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Jarkko Nikula authored
- Make headset bias and headset button detection enable/disable functions reentrant. Protect also suspend/resume callbacks since they call retu_headset_set_bias directly. - Don't define flag variables as bit fields since bit operations may not be atomic and we access one of them from interrupt. Now other flags don't need any additional locking since they are not accessed from interrupt context. 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>
-
Jarkko Nikula authored
Few cleanups, coding style fixes and unused stuff removal. Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
David Brownell authored
This fixes some build errors ... unclear how this got past earlier tests. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-
Kevin Hilman authored
Fix compile problems in omap2_pm_debug() Signed-off-by: Kevin Hilman <khilman@mvista.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
Based on an earlier patch by Luís Vitório Cargnini, add a dummy define for OMAP2_CTRL_BASE. Eventually this will get fixed by setting a base address during boot. Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Kevin Hilman authored
FYI... without PATCH 1/1 the new DMA stuff doesn't compile on OMAP2. While waiting for that fix, at least this is required to build in current git Signed-off-by: Tony Lindgren <tony@atomide.com>
-
- 31 Oct, 2007 4 commits
-
-
Anand Gadiyar authored
Added support for DMA chaining. This patch depends on patches [1-3] "OMAP: DMA: Cleanup of DMA Request Lines", "OMAP: DMA: Added support for OMAP3" and "OMAP: DMA: Added utility APIs for setting DMA global parameters". Signed-off-by: Anand Gadiyar <gadiyar@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Anand Gadiyar authored
Added DMA utility APIs for setting FIFO depth, arbitration rate and channel priority. This patch depends on patch [2/4] "OMAP: DMA: Added support for OMAP3". Signed-off-by: Anand Gadiyar <gadiyar@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Anand Gadiyar authored
Added DMA support for OMAP3. Signed-off-by: Anand Gadiyar <gadiyar@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Randy Dunlap authored
Fix FB_OMAP dependencies so that the OMAP FB driver options are presented correctly. Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-