Re: [PATCH v2] serial: 8250: add IRQ trigger support

2009-06-23 Thread Tony Lindgren
* Vikram Pandita vikram.pand...@ti.com [090623 02:20]: There is currently no provision for passing IRQ trigger flags for serial IRQs with triggering requirements (such as GPIO IRQs) This patch adds irqflags to plat_serial8250_port that can be passed from board file to reqest_irq() of 8250

FW: [Help] Does HW flow contorl (auto RTS/CTS) in drivers/serial/8250.c work for OMAP34xx?

2009-06-23 Thread HU TAO-TGHK48
Instead of using below code in current drive, it seems we have to add code to follow the steps in OMAP34xx TRM to make it work. /* * TI16C752/Startech hardware flow control. FIXME: * - TI16C752 requires control thresholds to be set. * - UART_MCR_RTS is ineffective if auto-RTS mode is

[PATCH] OMAP3: PM: Remove duplicate code

2009-06-23 Thread Roger Quadros
Signed-off-by: Roger Quadros ext-roger.quad...@nokia.com --- arch/arm/mach-omap2/pm34xx.c | 18 -- 1 files changed, 0 insertions(+), 18 deletions(-) diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index 7a4a525..d45295d 100644 ---

[PATCH] OMAP: PM: Correct the use of cpufreq

2009-06-23 Thread ext-eero . nurkkala
From: Eero Nurkkala ext-eero.nurkk...@nokia.com Wrong info was used to feed the cpufreq. It is possible now to get below the user defined limit defined at /cpufreq/scaling_min_freq. With this patch, the user defined limits are being obeyed instead of always using the absolute max and min values

RE: [PATCH] [RFC][OMAP3:I2C]Workaround for OMAP3430 I2C silicon errata 1.153

2009-06-23 Thread Kamat, Nishant
Kevin, -Original Message- From: Kevin Hilman Sonasath, Moiz m-sonas...@ti.com writes: This patch includes the workarround for I2C Errata 1.153: [...] +static int omap_i2c_wait_for_xudf(struct omap_i2c_dev *dev) +{ + u16 xudf; + int counter = 500; + + /* We are

RE: [PATCH] [RFC][OMAP3:I2C]Workaround for OMAP3430 I2C silicon errata 1.153

2009-06-23 Thread Menon, Nishanth
-Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Kamat, Nishant Sent: Tuesday, June 23, 2009 12:55 PM @@ -647,7 +679,7 @@ omap_i2c_isr(int this_irq, void *dev_id) while ((stat = (omap_i2c_read_reg(dev,

Re: Please help in adding ams-delta support to ASoC

2009-06-23 Thread Janusz Krzysztofik
Hi, Arun K S wrote: On Fri, Jun 19, 2009 at 4:20 AM, Janusz Krzysztofikjkrzy...@tis.icnet.pl wrote: After all, could someone please give me an advise, what tree, even with buggy omap1510 mcbsp/dsp support, should I base my work on for best results? You have to use current omap tree with the

musb otg changes break booting on omaps

2009-06-23 Thread Tony Lindgren
Hi Dave Felipe, Looks like commit 84e250ffa76dddc1bad84e04248a27f442c25986 musb: proper hookup to transceiver drivers breaks booting on omaps if no transceiver is configured. Got any patches for that? Regards, Tony 6musb_hdrc: version 6.0, pio, otg (peripheral+host), debug=0 4Platform driver

[PATCH] OMAP2/3: mmc-twl4030: Free up MMC regulators while cleaning up

2009-06-23 Thread Roger Quadros
twl_mmc_cleanup() must free up the regulators that were allocated by twl_mmc_late_init(). This eliminates the below error when 'omap_hsmmc' module is repeatedly loaded and unloaded. sysfs: cannot create duplicate filename '/devices/platform /mmci-omap-hs.0/microamps_requested_vmmc'

RE: [PATCH 1/1] i2c:OMAP3:Errata workaround for spurious RDR event

2009-06-23 Thread Hald, Ulrik Bech
-Original Message- From: Menon, Nishanth Sent: Monday, June 22, 2009 11:21 PM To: Hald, Ulrik Bech; linux-omap@vger.kernel.org Cc: Hald, Ulrik Bech Subject: RE: [PATCH 1/1] i2c:OMAP3:Errata workaround for spurious RDR event -Original Message- From:

RE: OMAP34XXCAM: Micron mt9d111 sensor support?

2009-06-23 Thread Aguirre Rodriguez, Sergio Alberto
-Original Message- From: Gary Thomas [mailto:g...@mlbassoc.com] Sent: Monday, June 22, 2009 1:06 PM To: Aguirre Rodriguez, Sergio Alberto Cc: Zach LeRoy; linux-omap; linux-me...@vger.kernel.org; Sakari Ailus Subject: Re: OMAP34XXCAM: Micron mt9d111 sensor support? Aguirre

Re: OMAP34XXCAM: Micron mt9d111 sensor support?

2009-06-23 Thread Gary Thomas
Aguirre Rodriguez, Sergio Alberto wrote: -Original Message- From: Gary Thomas [mailto:g...@mlbassoc.com] Sent: Monday, June 22, 2009 1:06 PM To: Aguirre Rodriguez, Sergio Alberto Cc: Zach LeRoy; linux-omap; linux-me...@vger.kernel.org; Sakari Ailus Subject: Re: OMAP34XXCAM: Micron

Re: OMAP34XXCAM: Micron mt9d111 sensor support?

2009-06-23 Thread Gary Thomas
Aguirre Rodriguez, Sergio Alberto wrote: From: linux-media-ow...@vger.kernel.org [mailto:linux-media- ow...@vger.kernel.org] On Behalf Of Aguirre Rodriguez, Sergio Alberto From: Gary Thomas [mailto:g...@mlbassoc.com] Aguirre Rodriguez, Sergio Alberto wrote: From: Gary Thomas

Re: [PATCH] [RFC][OMAP3:I2C]Workaround for OMAP3430 I2C silicon errata 1.153

2009-06-23 Thread Igor Mazanov
Hello, Menon, Nishanth wrote: -Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Sonasath, Moiz Sent: Monday, June 22, 2009 7:50 PM To: linux-omap@vger.kernel.org Cc: Pandita, Vikram Subject: [PATCH]

Can a phone hook switch follow alsa jack model?

2009-06-23 Thread Janusz Krzysztofik
Hi, I am wondering if it is a good idea to create support for a phone hook switch, or a handset pick up switch, like that found on Amstrad E3 (Delta) videophone, using alsa jack framework. After my initial attempt to add support for the switch using gpio-keys driver, I am no longer sure if

RE: OMAP34XXCAM: Micron mt9d111 sensor support?

2009-06-23 Thread Aguirre Rodriguez, Sergio Alberto
-Original Message- From: Gary Thomas [mailto:g...@mlbassoc.com] Sent: Tuesday, June 23, 2009 8:23 AM To: Aguirre Rodriguez, Sergio Alberto Cc: Zach LeRoy; linux-omap; linux-me...@vger.kernel.org; Sakari Ailus Subject: Re: OMAP34XXCAM: Micron mt9d111 sensor support? Aguirre

RE: OMAP34XXCAM: Micron mt9d111 sensor support?

2009-06-23 Thread Aguirre Rodriguez, Sergio Alberto
From: linux-media-ow...@vger.kernel.org [mailto:linux-media- ow...@vger.kernel.org] On Behalf Of Aguirre Rodriguez, Sergio Alberto From: Gary Thomas [mailto:g...@mlbassoc.com] Aguirre Rodriguez, Sergio Alberto wrote: From: Gary Thomas [mailto:g...@mlbassoc.com] Aguirre Rodriguez, Sergio

[RESEND][PATCH 2/2] McSPI Slave and DMA,FIFO support

2009-06-23 Thread Hemanth V
This patch adds support for McSPI slave and FIFO. DMA and FIFO could be enabled together for better throughput. This has a dependency on patch [RESEND][PATCH 1/2] McSPI Slave and DMA,FIFO support Signed-off-by: Hemanth V heman...@ti.com drivers/spi/omap2_mcspi.c | 353

[PATCH 13/12] OMAP: Fix IOMEM macro for assembly

2009-06-23 Thread Tony Lindgren
Here's one more fix. Tony From 503dcbeba50fd3545283594bc391b4a400fa6c48 Mon Sep 17 00:00:00 2001 From: Tony Lindgren t...@atomide.com Date: Tue, 23 Jun 2009 16:55:30 +0300 Subject: [PATCH] OMAP: Fix IOMEM macro for assembly Otherwise IOMEM calculations can fail. Signed-off-by: Tony Lindgren

[RESEND][PATCH 1/2] McSPI Slave and DMA,FIFO support

2009-06-23 Thread Hemanth V
This patch adds support for McSPI slave and FIFO. DMA and FIFO could be enabled together for better throughput. Platform config parameters have been added to enable these features on any particular McSPI controller. FIFO can be enabled by defining fifo_depth parameter. fifo_depth needs to be a

[PATCH 1/3] OMAP: Remove OMAP_IO_ADDRESS, use OMAP1_IO_ADDRESS and OMAP2_IO_ADDRESS instead

2009-06-23 Thread Tony Lindgren
Search and replace OMAP_IO_ADDRESS with OMAP1_IO_ADDRESS and OMAP2_IO_ADDRESS, and convert omap_read/write into a functions instead of a macros. Also rename OMAP_MPUIO_VBASE to OMAP1_MPUIO_VBASE. In the long run, most code should use ioremap + __raw_read/write instead. Signed-off-by: Tony

[PATCH 2/3] OMAP: Rename OMAP_MPUIO_BASE to OMAP1_MPUIO_BASE

2009-06-23 Thread Tony Lindgren
Rename OMAP_MPUIO_BASE to OMAP1_MPUIO_BASE Signed-off-by: Tony Lindgren t...@atomide.com --- arch/arm/plat-omap/gpio.c |4 ++-- arch/arm/plat-omap/include/mach/gpio.h |2 +- drivers/input/keyboard/omap-keypad.c | 22 +++--- drivers/mtd/nand/ams-delta.c

[PATCH 3/3] OMAP: Remove ifdefs for io.h

2009-06-23 Thread Tony Lindgren
Remove ifdefs for io.h Signed-off-by: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap1/io.c |6 +++--- arch/arm/plat-omap/include/mach/io.h | 37 +++--- arch/arm/plat-omap/io.c |4 ++-- 3 files changed, 34 insertions(+), 13

Re: [PATCH] OMAP3: PM: Remove duplicate code

2009-06-23 Thread Kevin Hilman
Roger Quadros ext-roger.quad...@nokia.com writes: Signed-off-by: Roger Quadros ext-roger.quad...@nokia.com Hmm, you don't think I need to be so careful as to do it twice. ;) I'll drop these duplicates when I rebase onto latest omap/master. Thanks, Kevin --- arch/arm/mach-omap2/pm34xx.c |

[PATCH] ARM: OMAP: 3430SDP: Fix defconfig

2009-06-23 Thread Aguirre Rodriguez, Sergio Alberto
From 50761c71479cf310313a733fe7bafda9af43e7a0 Mon Sep 17 00:00:00 2001 From: Sergio Aguirre saagui...@ti.com Date: Tue, 23 Jun 2009 10:55:28 -0500 Subject: [PATCH] ARM: OMAP: 3430SDP: Fix defconfig This patch makes the SDP boot again with the defconfig. Changes done: - Removes other selected

Re: musb otg changes break booting on omaps

2009-06-23 Thread Felipe Balbi
On Tue, Jun 23, 2009 at 03:20:19PM +0200, ext Gupta, Ajay Kumar wrote: Looks like commit 84e250ffa76dddc1bad84e04248a27f442c25986 musb: proper hookup to transceiver drivers breaks booting on omaps if no transceiver is configured. Got any patches for that? Tony, Is this on OMAP35x

RE: [PATCH v2 1/1] i2c:OMAP3:Errata workaround for spurious RDR event

2009-06-23 Thread Hald, Ulrik Bech
Hi Paul, -Original Message- From: Paul Walmsley [mailto:p...@pwsan.com] Sent: Monday, June 22, 2009 10:20 PM To: Pakaravoor, Jagadeesh Cc: Hald, Ulrik Bech; linux-omap@vger.kernel.org Subject: RE: [PATCH v2 1/1] i2c:OMAP3:Errata workaround for spurious RDR event Hello Jagadeesh,

RE: [PATCH v2 1/1] i2c:OMAP3:Errata workaround for spurious RDR event

2009-06-23 Thread Paul Walmsley
Hello Ulrik, On Tue, 23 Jun 2009, Hald, Ulrik Bech wrote: -Original Message- From: Paul Walmsley [mailto:p...@pwsan.com] Sent: Monday, June 22, 2009 10:20 PM To: Pakaravoor, Jagadeesh Cc: Hald, Ulrik Bech; linux-omap@vger.kernel.org Subject: RE: [PATCH v2 1/1]

RE: [PATCH -pm 1/2] SDRC: check for stuck DLL state machine and kick

2009-06-23 Thread Paul Walmsley
Hello Richard, On Fri, 19 Jun 2009, Woodruff, Richard wrote: From: Paul Walmsley [mailto:p...@pwsan.com] Sent: Thursday, June 18, 2009 4:07 PM On Wed, 17 Jun 2009, Woodruff, Richard wrote: I've only seen the condition along side of very aggressive SDRC_POWER settings. Could

RE: [PATCH v2 1/1] i2c:OMAP3:Errata workaround for spurious RDR event

2009-06-23 Thread Menon, Nishanth
Paul, Ulrik, Just adding my view to this discussion: -Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Paul Walmsley Sent: Tuesday, June 23, 2009 9:05 PM To: Hald, Ulrik Bech Cc: Pakaravoor, Jagadeesh;

RE: [PATCH v2 1/1] i2c:OMAP3:Errata workaround for spurious RDR event

2009-06-23 Thread Paul Walmsley
On Tue, 23 Jun 2009, Paul Walmsley wrote: Okay. So it looks like there is a unfixable race here. Is it possible for BB to be 0 during the stat2 read, then for BB to go to 1 immediately afterwards? Then the rest of the RDR handler would be entered. If this is possible, what will the ISR

Re: [PATCH 00/10] OMAP clock/powerdomain/SDRC patches for post-2.6.30

2009-06-23 Thread Paul Walmsley
Hello Jean, On Fri, 19 Jun 2009, Jean Pihet wrote: On Friday 19 June 2009 18:23:42 Russell King - ARM Linux wrote: On Thu, Jun 18, 2009 at 08:48:47AM +0300, Tony Lindgren wrote: Paul, can you please post a git pull request for Russell on these? I think these should still go in if

Re: [alsa-devel] Can a phone hook switch follow alsa jack model?

2009-06-23 Thread Mark Brown
On Tue, Jun 23, 2009 at 03:28:54PM +0200, Janusz Krzysztofik wrote: After my initial attempt to add support for the switch using gpio-keys driver, I am no longer sure if it is a good idea to follow the keyboard model, that the driver has been designed after, for driving a switch that has

Re: musb otg changes break booting on omaps

2009-06-23 Thread David Brownell
On Tuesday 23 June 2009, Felipe Balbi wrote: Looks like commit 84e250ffa76dddc1bad84e04248a27f442c25986 musb: proper hookup to transceiver drivers breaks booting on omaps if no transceiver is configured. Got any patches for that? Tony, Is this on OMAP35x EVM? If so then the

[PATCH 1/2] Support OMAP3 VC adaptation with different Power IC

2009-06-23 Thread Wang Sawsd-A24013
From c1aba8ba7af3ddd16346d95795bda71e65baa4d0 Mon Sep 17 00:00:00 2001 From: Chunqiu Wang cqw...@motorola.com Date: Wed, 24 Jun 2009 06:48:52 +0800 Subject: [PATCH] Support OMAP3 VC adaptation with different Power IC Current OMAP SmartReflex driver only supports TI Triton Power IC, add a callback

[PATCH 2/2] OMAP3: Implement separate function to send bypass command through VC

2009-06-23 Thread Wang Sawsd-A24013
From 803cbdcd8df3d6f931089979c2dbad8942512cb4 Mon Sep 17 00:00:00 2001 From: Chunqiu Wang cqw...@motorola.com Date: Wed, 24 Jun 2009 07:57:17 +0800 Subject: [PATCH] OMAP3: Implement separate function to send bypass command through VC Some system may need use OMAP VC to configure their Power IC,

Re: [PATCH 1/2] Support OMAP3 VC adaptation with different Power IC

2009-06-23 Thread Kevin Hilman
Wang Sawsd-A24013 cqw...@motorola.com writes: From c1aba8ba7af3ddd16346d95795bda71e65baa4d0 Mon Sep 17 00:00:00 2001 From: Chunqiu Wang cqw...@motorola.com Date: Wed, 24 Jun 2009 06:48:52 +0800 Subject: [PATCH] Support OMAP3 VC adaptation with different Power IC Current OMAP SmartReflex

[PATCH] OMAP3: PM: reset USB OTG module on boot

2009-06-23 Thread Kevin Hilman
Rather than simply setting force-idle mode on boot, do a reset of the OTG module. This really ensures that any bootloader/bootstrap code that leaves it active will not prevent future retention. After reset, OTG module will be in force-idle, force-standby mode. In addition, ensure that the iclk

RE: [ARM][OMAP] TWL4030 IRQ

2009-06-23 Thread Shilimkar, Santosh
Russell, After digging a bit, the proposed twl_irq change would need some major changes. 1. All the T2(TWL)drivers ( rtc, madc, bci, gpio, keypad, usb, mmc)needs modification. Currently twl_irq fw implements kind of twl4030_irq_chip which allows all the T2 drivers to get virtual interrupt