Re: [REVIEW PATCH 01/14] V4L: Int if: Dummy slave

2009-01-22 Thread Sakari Ailus
Mauro Carvalho Chehab wrote: On Mon, 12 Jan 2009 20:03:08 -0600 Aguirre Rodriguez, Sergio Alberto saagui...@ti.com wrote: +static struct v4l2_int_slave dummy_slave = { + /* Dummy pointer to avoid underflow in find_ioctl. */ + .ioctls = (void *)0x8000, Why are you using here a

Re: ioremap()/iounmap() problem

2009-01-22 Thread Tomi Valkeinen
Hi, On Wed, 2009-01-21 at 19:23 +, ext Russell King - ARM Linux wrote: On Mon, Jan 19, 2009 at 03:49:40PM +0200, Tomi Valkeinen wrote: The original problem remains, it looks to me that iounmap() doesn't free the memory, and thus ioremap will fail after couple of loops. I get the

[PATCH 0/3] Hacks to make Nokia N800 compile

2009-01-22 Thread Kalle Valo
In currently linux-omap tree n800_defconfig doesn't compile because of few compiler and linker errors. Here are the fixes/hacks which I use. I'll send them in case anyone else is interested them. --- Kalle Valo (3): Disable linux-omap version of menelaus tsub6010: fix omap compile

[PATCH 2/3] tsub6010: fix omap compile

2009-01-22 Thread Kalle Valo
drivers/usb/musb/tusb6010_omap.c:18:26: error: asm/arch/dma.h: No such file or directory drivers/usb/musb/tusb6010_omap.c:19:26: error: asm/arch/mux.h: No such file or directory Signed-off-by: Kalle Valo kalle.v...@nokia.com --- drivers/usb/musb/tusb6010_omap.c |4 ++-- 1 files changed, 2

Re: [PATCH 3/3] Disable linux-omap version of menelaus

2009-01-22 Thread Felipe Balbi
On Thu, Jan 22, 2009 at 03:19:20PM +0200, Kalle Valo wrote: Fixes linker errors like this: drivers/i2c/built-in.o: In function `menelaus_set_vdcdc': lp5521.c:(.text+0x3910): multiple definition of `menelaus_set_vdcdc' drivers/mfd/built-in.o:menelaus.c:(.text+0x95c): first defined here

cpuidle and NO_HZ

2009-01-22 Thread Premi, Sanjeev
Hi all, While trying to use NFS hosted filesystem, I have made a strange observation. Have verified it on multiple OMAP3EVM boards. With CONFIG_NO_HZ and CONFIG_CPU_IDLE, after the print Freeing init memory: 152K in the log below; the boot sequence almost stops for approx a minute before

Re: ioremap()/iounmap() problem

2009-01-22 Thread Matt Gerassimoff
On Thu, 22 Jan 2009 04:55:13 -0700, Tomi Valkeinen tomi.valkei...@nokia.com wrote: You might consider trying my patch which was sent in this thread to Matt Gerassimoff. And if you see anyone whinging that it won't work for whatever reason, please ignore them and just test the patch. You

Re: cpuidle and NO_HZ

2009-01-22 Thread Sriram V
Sanjeev, On Thu, Jan 22, 2009 at 8:14 PM, Premi, Sanjeev pr...@ti.com wrote: Hi all, While trying to use NFS hosted filesystem, I have made a strange observation. Have verified it on multiple OMAP3EVM boards. With CONFIG_NO_HZ and CONFIG_CPU_IDLE, after the print Freeing init memory:

Re: [patch/rfc 2.6.28-rc2] input: twl4030_keypad driver

2009-01-22 Thread David Brownell
Hi, On Wednesday 21 January 2009, Trilok Soni wrote: + +static void twl4030_kp_scan(struct twl4030_keypad *kp, int release_all) +{ + u16 new_state[MAX_ROWS]; + int col, row; + + ... + + key = twl4030_find_key(kp, col, row); +

Re: [PATCH 1/1] TWL: USB: disable VUSB regulators when cable unplugged

2009-01-22 Thread David Brownell
On Wednesday 21 January 2009, Kalle Jokiniemi wrote: This patch disables USB regulators VUSB1V5, VUSB1V8, and VUSB3V1 when the USB cable is unplugged to reduce power consumption. Worked fine on a Beagle, now I'm trying to find out what's borked on an Overo ... - Dave -- To unsubscribe from

Re: [patch/rfc 2.6.28-rc2] input: twl4030_keypad driver

2009-01-22 Thread Trilok Soni
Hi David, On Thu, Jan 22, 2009 at 11:12 PM, David Brownell davi...@pacbell.net wrote: Hi, --- drivers/input/keyboard/twl4030_keypad.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) --- a/drivers/input/keyboard/twl4030_keypad.c +++

RE: cpuidle and NO_HZ

2009-01-22 Thread Premi, Sanjeev
-Original Message- From: Sriram V [mailto:vshrir...@gmail.com] Sent: Thursday, January 22, 2009 10:37 PM To: Premi, Sanjeev Cc: linux-omap@vger.kernel.org Subject: Re: cpuidle and NO_HZ Sanjeev, On Thu, Jan 22, 2009 at 8:14 PM, Premi, Sanjeev pr...@ti.com wrote: Hi all,

Re: [PATCH 0/3] Hacks to make Nokia N800 compile

2009-01-22 Thread green
On Thu, 2009-01-22, 022, Kalle Valo wrote: In currently linux-omap tree n800_defconfig doesn't compile because of few compiler and linker errors. Here are the fixes/hacks which I use. I'll send them in case anyone else is interested them. Thanks; I hope to try this again soon on an N810.

Odd behavior in musb_hdrc OTG if gadget drivers are modules

2009-01-22 Thread david . hagood
I've spend the day tracking down a weird behavior on a Beagleboard with 2.6.29-rc2-omap1. If you select the mode for the musb to operate in OnTheGo mode (CONFIG_USB_MUSB_OTG), and if you compile the gadget drivers as modules, the the USB port will NOT be brought up at system boot, even if it has

OMAP1: mcbsp clocks

2009-01-22 Thread Russell King - ARM Linux
A question about OMAP1 mcbsp clocks. From what I understand from the OMAP5912 clock architecture documentation, mcbsp1 and mcbsp3 have two clocks: 1. interface clock switchable between DSPPER_CK and DSPXOR_CK. 2. a function clock which could be DSPXOR_CK (mcbsp3), and CK_DPLL1OUT or

Re: v2.6.28-omap1 tagged, some bugs remain

2009-01-22 Thread Tony Lindgren
* Jarkko Nikula jarkko.nik...@nokia.com [090118 23:54]: On Wed, 14 Jan 2009 17:28:07 +0200 ext Tony Lindgren t...@atomide.com wrote: You need to have the counterpart (in /sound/soc/omap/omap-mcbsp.c) for that patch, othwerwise there's no chance to hear any DMA transferred audio.

Re: OMAP1: mcbsp clocks

2009-01-22 Thread Tony Lindgren
* Russell King - ARM Linux li...@arm.linux.org.uk [090122 15:57]: A question about OMAP1 mcbsp clocks. From what I understand from the OMAP5912 clock architecture documentation, mcbsp1 and mcbsp3 have two clocks: 1. interface clock switchable between DSPPER_CK and DSPXOR_CK. 2. a function

Re: Important changes, please read

2009-01-22 Thread Tony Lindgren
* David Brownell davi...@pacbell.net [090120 02:26]: On Wednesday 14 January 2009, Tony Lindgren wrote: - We stop using source.mvista.com git tree, and only use the   kernel.org git tree. There's no need for having two master trees,   and kernel.org is the standard way to go. Big thanks to

Re: [PATCH] i2c: i2c-omap: Fix standard and fast mode prescalers

2009-01-22 Thread Tony Lindgren
* Eero Nurkkala ext-eero.nurkk...@nokia.com [090112 22:08]: Feel free to revert this patch. OK, reverted from linux-omap master and omap-2.6.28 branches. Also dropped from omap-fixes queue. There appears to be problems with the noised filters not obeying the i2c standard. I will come up

Re: [PATCH 2/3] tsub6010: fix omap compile

2009-01-22 Thread Tony Lindgren
* Kalle Valo kalle.v...@nokia.com [090122 05:21]: drivers/usb/musb/tusb6010_omap.c:18:26: error: asm/arch/dma.h: No such file or directory drivers/usb/musb/tusb6010_omap.c:19:26: error: asm/arch/mux.h: No such file or directory Not touching this, Felipe needs to queue this up via linux-usb

Re: [PATCH 3/3] Disable linux-omap version of menelaus

2009-01-22 Thread Tony Lindgren
* Felipe Balbi felipe.ba...@nokia.com [090122 05:27]: On Thu, Jan 22, 2009 at 03:19:20PM +0200, Kalle Valo wrote: Fixes linker errors like this: drivers/i2c/built-in.o: In function `menelaus_set_vdcdc': lp5521.c:(.text+0x3910): multiple definition of `menelaus_set_vdcdc'

RE: [PATCH] ARM OMAP: Fix race in OMAP2/3 DMA IRQ handling

2009-01-22 Thread Shilimkar, Santosh
Regards, Santosh -Original Message- From: Juha Yrjola [mailto:juha.yrj...@solidboot.com] Sent: Thursday, January 22, 2009 1:44 PM To: Shilimkar, Santosh Cc: linux-omap@vger.kernel.org Subject: Re: [PATCH] ARM OMAP: Fix race in OMAP2/3 DMA IRQ handling Shilimkar, Santosh

[PATCH] OMAP: McBSP: Wakeups utilized

2009-01-22 Thread ext-eero . nurkkala
From: Eero Nurkkala ext-eero.nurkk...@nokia.com This patch enables the smart idle mode while McBPS is being utilized. Once it's done, force idle mode is taken instead. Signed-off-by: Eero Nurkkala ext-eero.nurkk...@nokia.com --- arch/arm/plat-omap/include/mach/mcbsp.h | 16

[PATCH] I2C: OMAP: Include OMAP_I2C_SYSC_REG in save and restore

2009-01-22 Thread Pakaravoor, Jagadeesh
From: Jagadeesh Bhaskar Pakaravoor j-pakarav...@ti.com Save and restore should include OMAP_I2C_SYSC_REG. Signed-off-by: Jagadeesh Bhaskar Pakaravoor j-pakarav...@ti.com CC: Jouni Hogander jouni.hogan...@nokia.com --- Index: linux-omap-2.6/drivers/i2c/busses/i2c-omap.c

Re: [PATCH] OMAP3 McSPI: Adds context save/restore

2009-01-22 Thread Hemanth V
From: Hemanth V heman...@ti.com This patch adds context save/restore feature to McSPI driver. This has been tested by instrumenting the driver code i.e by adding a McSPI softreset in omap2_mcspi_disable_clocks function. This patch includes review comment fixes Signed-off-by: Hemanth V

Re: [patch 2.6.29-rc1-omap git] twl4030_keypad cleanup

2009-01-22 Thread David Brownell
From: David Brownell dbrown...@users.sourceforge.net Start cleaning up the twl4030 keypad driver to become more suitable for mainline. - Remove false OMAP dependencies: names, mach/keypad.h, Kconfig - We don't need a miniature header file - Add missing input_sync() - Fix section annotations

RE: [PATCH] I2C: OMAP: Include OMAP_I2C_SYSC_REG in save and restore

2009-01-22 Thread Pakaravoor, Jagadeesh
Sorry. I forgot to mention that this patch does not apply on mainline. It is meant for Linux Omap tree only. Please review/ACK the patch, if you have time. Thank you. -- Jagadeesh -Original Message- From: linux-i2c-ow...@vger.kernel.org [mailto:linux-i2c-ow...@vger.kernel.org] On

Re: [PATCH] usb: musb: adding nop usb transceiver

2009-01-22 Thread David Brownell
On Thursday 08 January 2009, Ajay Kumar Gupta wrote: OP transceiver is used by all the usb transceiver which are mostly autonomous and doesn't require any programming or which are built into the usb ip itself.NOP transceiver only allocates the memory for struct xceiv and calls

Re: [PATCH] I2C: OMAP: Include OMAP_I2C_SYSC_REG in save and restore

2009-01-22 Thread Jean Delvare
Hi Jagadeesh, On Fri, 23 Jan 2009 12:51:23 +0530, Pakaravoor, Jagadeesh wrote: Sorry. I forgot to mention that this patch does not apply on mainline. It is meant for Linux Omap tree only. Please review/ACK the patch, if you have time. You should Cc Ben Dooks rather than me on i2c-omap