Re: [PATCH 3/5] OV3640: Add driver

2009-03-10 Thread Tuukka.O Toivonen
On Monday 09 March 2009 23:29:27 ext Menon, Nishanth wrote: Further, we have multiple sensors following CCI[1] - why not have a driver for the same, it will simplify the entire process - ov3640, mt9p012 both follow the spec at least.. dependency would be sensor - cci dev-i2c framework.

RE: [PATCH 3/5] OV3640: Add driver

2009-03-10 Thread Menon, Nishanth
-Original Message- From: Tuukka.O Toivonen [mailto:tuukka.o.toivo...@nokia.com] Sent: Tuesday, March 10, 2009 9:30 AM To: Menon, Nishanth Cc: Aguirre Rodriguez, Sergio Alberto; Alexey Klimov; linux- me...@vger.kernel.org; linux-omap@vger.kernel.org; Sakari Ailus; Doyu Hiroshi

[2.6.29-rc7][take #2][PATCH 1/3] ARM: OMAP: Add documentation for function omap_register_i2c_bus

2009-03-10 Thread Jarkko Nikula
Signed-off-by: Jarkko Nikula jarkko.nik...@nokia.com --- arch/arm/plat-omap/i2c.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/arch/arm/plat-omap/i2c.c b/arch/arm/plat-omap/i2c.c index 467531e..3e95954 100644 --- a/arch/arm/plat-omap/i2c.c +++

[2.6.29-rc7][take #2][PATCH 2/3] ARM: OMAP: Add command line option for I2C bus speed

2009-03-10 Thread Jarkko Nikula
This patch adds a new command line option i2c_bus=bus_id,clkrate into I2C bus registration helper. Purpose of the option is to override the default board specific bus speed which is supplied by the omap_register_i2c_bus. The default bus speed is typically set to speed of slowest I2C chip on the

[2.6.29-rc7][take #2][PATCH 3/3] ARM: OMAP: Add method to register additional I2C busses on the command line

2009-03-10 Thread Jarkko Nikula
This patch extends command line option i2c_bus=bus_id,clkrate so that it allow to register additional I2C busses that are not registered with omap_register_i2c_bus from board initialization code. Purpose of this is to register additional board busses which are routed to external connectors only

[2.6.29-rc7][take #2][PATCH 0/3] ARM: OMAP: Add command line option for I2C bus speed

2009-03-10 Thread Jarkko Nikula
Hi These patches are for linux-omap but we want to wide discussion also to linux-i2c is the new command line option i2c_bus=bus_id,clkrate generic enough to be used for other architectures as well in the future. Patches are generated on top of mainline 2.6.29-rc7. Purpose of this command line

RE: [PATCH 5/5] LDP: Add support for built-in camera

2009-03-10 Thread stanley.miao
On Mon, 2009-03-09 at 15:24 -0500, Aguirre Rodriguez, Sergio Alberto wrote: Hi, -Original Message- From: stanley.miao [mailto:stanley.m...@windriver.com] snip +static struct i2c_board_info __initdata ldp_i2c_boardinfo_2[] = { +#if defined(CONFIG_VIDEO_OV3640) ||

[PATCH 0/6] mmc-twl4030 patches for RX51

2009-03-10 Thread Adrian Hunter
Here are 6 patches for mmc-twl4030 for RX51. -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH 3/6] OMAP: mmc-twl4030 add cover switch

2009-03-10 Thread Adrian Hunter
From 1667cd29afa90d041c0782223253835e6bc25b18 Mon Sep 17 00:00:00 2001 From: Adrian Hunter adrian.hun...@nokia.com Date: Mon, 26 Jan 2009 13:14:28 +0200 Subject: [PATCH] OMAP: mmc-twl4030 add cover switch Allow a cover switch to be used to cause a rescan of the MMC slot. Signed-off-by: Adrian

[PATCH 5/6] RX51: adjust hsmmc info

2009-03-10 Thread Adrian Hunter
From 6c1c8a4fa8b60ba777d878b7c4e2941826914a7c Mon Sep 17 00:00:00 2001 From: Adrian Hunter ext-adrian.hun...@nokia.com Date: Fri, 23 Jan 2009 11:54:13 +0200 Subject: [PATCH] RX51: adjust hsmmc info Signed-off-by: Adrian Hunter ext-adrian.hun...@nokia.com ---

[PATCH 2/6] OMAP: mmc-twl4030 support VSIM is VMMC2_IO

2009-03-10 Thread Adrian Hunter
From 2f6a22e9091a09fb3cbb720356116035611636b2 Mon Sep 17 00:00:00 2001 From: Adrian Hunter adrian.hun...@nokia.com Date: Fri, 23 Jan 2009 11:45:49 +0200 Subject: [PATCH] OMAP: mmc-twl4030 support VSIM is VMMC2_IO eMMC has two voltage lines, one for I/O and one for the NAND core. This patch

[PATCH 1/6] OMAP: mmc-twl4030 fix name buffer length

2009-03-10 Thread Adrian Hunter
From 60238a3a80b5be3e1843a049b39eabf729c315aa Mon Sep 17 00:00:00 2001 From: Adrian Hunter adrian.hun...@nokia.com Date: Thu, 22 Jan 2009 17:58:04 +0200 Subject: [PATCH] OMAP: mmc-twl4030 fix name buffer length Add 1 to buffer length for null terminator. Signed-off-by: Adrian Hunter

[PATCH 6/6] OMAP: mmc-twl4030: Add VAUX3 support

2009-03-10 Thread Adrian Hunter
From a9cdb13f11c6f38680a4bec27300ed4c4709418f Mon Sep 17 00:00:00 2001 From: Jarkko Lavinen jarkko.lavi...@nokia.com Date: Wed, 25 Feb 2009 15:04:20 +0200 Subject: [PATCH] OMAP: mmc-twl4030: Add VAUX3 support Allow overriding of VMMC2 regulator for MMC2 and use VAUX3 instead. Signed-off-by:

[PATCH 4/6] OMAP: mmc-twl4030 allow arbitrary slot names

2009-03-10 Thread Adrian Hunter
From 4c4a97595cab39443a85517c66bc26f5c2a9cae3 Mon Sep 17 00:00:00 2001 From: Adrian Hunter adrian.hun...@nokia.com Date: Fri, 30 Jan 2009 11:10:19 +0200 Subject: [PATCH] OMAP: mmc-twl4030 allow arbitrary slot names Signed-off-by: Adrian Hunter adrian.hun...@nokia.com ---

Re: [REVIEW PATCH 11/14] OMAP34XXCAM: Add driver

2009-03-10 Thread Sakari Ailus
Hans Verkuil wrote: Sergio has posted earlier a patchset containing a driver for using the ISP to process images from memory to memory. The ISP driver is used roughly the same way as with the omap34xxcam and real sensors. The interface towards the userspace offered by the driver, however, is

Re: [REVIEW PATCH 11/14] OMAP34XXCAM: Add driver

2009-03-10 Thread Hans Verkuil
Hans Verkuil wrote: Sergio has posted earlier a patchset containing a driver for using the ISP to process images from memory to memory. The ISP driver is used roughly the same way as with the omap34xxcam and real sensors. The interface towards the userspace offered by the driver, however, is

Re: [PATCH] ARM: OMAP: Fix GPIO switch initial output state handling

2009-03-10 Thread Kainan Cha
Jani, Please see my comments below. On Tue, Mar 10, 2009 at 4:26 AM, Jani Nikula ext-jani.1.nik...@nokia.com wrote: The switchover to cross-platform GPIO interface unexpectedly caused all output GPIO switches to be set to high state by default, unlike the original OMAP code. Introduce a new

Re: [PATCH 1/2] OMAP: McBSP: Always maintain McBSP fclk while active

2009-03-10 Thread Jarkko Nikula
On Mon, 9 Mar 2009 08:05:11 +0100 Nurkkala Eero.An (EXT-Offcode/Oulu) ext-eero.nurkk...@nokia.com wrote: From: Eero Nurkkala ext-eero.nurkk...@nokia.com McBSP fclk must be maintained for the duration of audio playback or recording. Otherwise the fclk may get autogated when the PER96M clk is

Re: [PATCH 2/2] OMAP: McBSP: Do not enable or disable clocks on failed path

2009-03-10 Thread Jarkko Nikula
On Mon, 9 Mar 2009 08:05:12 +0100 Nurkkala Eero.An (EXT-Offcode/Oulu) ext-eero.nurkk...@nokia.com wrote: From: Eero Nurkkala ext-eero.nurkk...@nokia.com McBSP clocks are being double enabled in the event the McBSP is already active. Also, they are unnecessarily disabled when there's no

Re: Problems in cpuidle

2009-03-10 Thread Kevin Hilman
Premi, Sanjeev pr...@ti.com writes: -Original Message- From: Högander Jouni [mailto:jouni.hogan...@nokia.com] Sent: Monday, March 09, 2009 3:36 PM To: Premi, Sanjeev Cc: linux-omap@vger.kernel.org Subject: Re: Problems in cpuidle ext Premi, Sanjeev pr...@ti.com writes: While

[PATCH] Add new C state

2009-03-10 Thread Peter 'p2' De Schrijver
This patch introduces a new C state which allows MPU to go to WFI but keeps the core domain active. This offers a much better wakeup latency (3us vs 10s of us for the current C1) at the cost of a higher power consumption. Signed-off-by: Peter 'p2' De Schrijver peter.de-schrij...@nokia.com ---

[PATCH] Remove fclk check for cpuidle

2009-03-10 Thread Peter 'p2' De Schrijver
This patch removes the check to see if some functional clocks are still enabled before entering sleep. Signed-off-by: Peter 'p2' De Schrijver peter.de-schrij...@nokia.com --- arch/arm/mach-omap2/pm34xx.c | 46 -- 1 files changed, 0 insertions(+), 46

Re: [PATCH 1/6] OMAP: mmc-twl4030 fix name buffer length

2009-03-10 Thread David Brownell
On Tuesday 10 March 2009, Adrian Hunter wrote: From 60238a3a80b5be3e1843a049b39eabf729c315aa Mon Sep 17 00:00:00 2001 From: Adrian Hunter adrian.hun...@nokia.com Date: Thu, 22 Jan 2009 17:58:04 +0200 Subject: [PATCH] OMAP: mmc-twl4030 fix name buffer length Add 1 to buffer length for null

Re: [PATCH 2/6] OMAP: mmc-twl4030 support VSIM is VMMC2_IO

2009-03-10 Thread David Brownell
On Tuesday 10 March 2009, Adrian Hunter wrote: @@ -61,6 +65,7 @@ static struct twl_mmc_controller { struct omap_mmc_platform_data   *mmc; u8  twl_vmmc_dev_grp; u8  twl_mmc_dedicated; +   boolvsim_18v; char

Re: [PATCH 3/6] OMAP: mmc-twl4030 add cover switch

2009-03-10 Thread David Brownell
On Tuesday 10 March 2009, Adrian Hunter wrote: From 1667cd29afa90d041c0782223253835e6bc25b18 Mon Sep 17 00:00:00 2001 From: Adrian Hunter adrian.hun...@nokia.com Date: Mon, 26 Jan 2009 13:14:28 +0200 Subject: [PATCH] OMAP: mmc-twl4030 add cover switch Allow a cover switch to be used to

RE: [PATCH 2/2] OMAP: McBSP: Do not enable or disable clocks on failed path

2009-03-10 Thread ext-Eero.Nurkkala
Race here? See, McBSP is marked free before disabling the clocks and thus omap_mcbsp_request can start enabling them. So should you keep clock disabling after test for mcbsp-free as here now but mark McBSP free only after clocks are disabled? I think you should send this as an separate fix

[APPLIED] span class=quote [PATCH] OMAP: mmc-twl4030 fix name buffer length/span

2009-03-10 Thread Tony Lindgren
This patch has been applied to the linux-omap by youw fwiendly patch wobot. Commit: 9ed678812ff0a8c42884ce5179b0ac34e3d0c995 PatchWorks http://patchwork.kernel.org/patch/10840/ Git

[APPLIED] span class=quote [PATCH] OMAP: mmc-twl4030 allow arbitrary slot names/span

2009-03-10 Thread Tony Lindgren
This patch has been applied to the linux-omap by youw fwiendly patch wobot. Commit: 84a26c2ee36fc899901c08ec0458be1d4999e8b5 PatchWorks http://patchwork.kernel.org/patch/10842/ Git

Re: [PATCH 3/6] OMAP: mmc-twl4030 add cover switch

2009-03-10 Thread Tony Lindgren
* David Brownell davi...@pacbell.net [090310 10:51]: On Tuesday 10 March 2009, Adrian Hunter wrote: From 1667cd29afa90d041c0782223253835e6bc25b18 Mon Sep 17 00:00:00 2001 From: Adrian Hunter adrian.hun...@nokia.com Date: Mon, 26 Jan 2009 13:14:28 +0200 Subject: [PATCH] OMAP: mmc-twl4030

Re: [PATCH 5/6] RX51: adjust hsmmc info

2009-03-10 Thread Tony Lindgren
* David Brownell davi...@pacbell.net [090310 10:58]: On Tuesday 10 March 2009, Adrian Hunter wrote: @@ -52,16 +52,20 @@ static struct platform_device *rx51_flash_devices[] = {    static struct twl4030_hsmmc_info mmc[] __initdata = { { +   .name   = external,

[APPLIED] [PATCH v2] OMAP: Store reboot mode in scratchpad on OMAP34xx

2009-03-10 Thread Tony Lindgren
This patch has been applied to the linux-omap by youw fwiendly patch wobot. Commit: 73b65cde9647508313b3d686dff0f3d1d92482d1 PatchWorks http://patchwork.kernel.org/patch/10718/ Git

[patch 2.6.29-rc7-omap] twl4030-regulator: list more VAUX4 voltages

2009-03-10 Thread David Brownell
From: David Brownell dbrown...@users.sourceforge.net The VAUX4 voltage table scrolls onto a second page in many versions of the TWL4030 family manuals. This doesn't mean we should ignore those values! Some boards use the (fully supported) 2.8V setting. Signed-off-by: David Brownell

What did omap2_disp_get_dss morph into?

2009-03-10 Thread david . hagood
I am trying to get the TI accelerated video driver to build against the current DSS2 kernel image, and I think I am this close || to getting it to go, but I am missing a pair of functions: omap2_disp_get_dss and omap2_disp_put_dss. Obviously, they've changed into something else - what did they

[PATCH 00/12] Omap3 updates for the merge window after 2.6.29

2009-03-10 Thread Tony Lindgren
Hi all, Here are the patches I promised last week, sorry for the delay in posting them. I ended up leaving out the mach-omap3/board-*.c files as they still need a bit of work. I may post one more series after this to add few more omap3 boards if we have enough time. Cheers, Tony --- Adrian

[PATCH 01/12] ARM: OMAP3: Remove unused CONFIG_I2C2_OMAP_BEAGLE

2009-03-10 Thread Tony Lindgren
From: Jarkko Nikula jhnik...@gmail.com There is no CONFIG_I2C2_OMAP_BEAGLE in mainline and it is under removal in linux-omap also so remove this dead code now. Signed-off-by: Jarkko Nikula jarkko.nik...@nokia.com Signed-off-by: Tony Lindgren t...@atomide.com ---

[PATCH 02/12] ARM: OMAP3: Store reboot mode in scratchpad on OMAP34xx

2009-03-10 Thread Tony Lindgren
From: Juha Yrjola juha.yrj...@solidboot.com The reboot mode can be communicated to a bootloader (or the kernel itself) with a scratchpad register. This functionality is especially useful, if userspace is allowed to change the reboot mode. Patch updated by Tony to also define the BOODMOD

[PATCH 03/12] ARM: OMAP3: Add more GPIO mux options

2009-03-10 Thread Tony Lindgren
This patch adds several new GPIO pins and updates the pin naming comments. The patch is based on earlier patches on linux-omap list by Manikandan Pillai mani.pil...@ti.com, Vaibhav Hiremath hvaib...@ti.com and David Brownell dbrown...@users.sourceforge.net. Signed-off-by: Tony Lindgren

[PATCH 04/12] ARM: OMAP3: mmc-twl4030 fix name buffer length

2009-03-10 Thread Tony Lindgren
From: Adrian Hunter adrian.hun...@nokia.com Add 1 to buffer length for null terminator. Signed-off-by: Adrian Hunter adrian.hun...@nokia.com Acked-by: David Brownell dbrown...@users.sourceforge.net Signed-off-by: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/mmc-twl4030.c |2 +- 1

[PATCH 06/12] ARM: OMAP3: mmc-twl4030 init passes device nodes back

2009-03-10 Thread Tony Lindgren
From: David Brownell dbrown...@users.sourceforge.net When setting up HSMMC devices, pass pass the device nodes back so board code can linking them to their power supply regulators. Signed-off-by: David Brownell dbrown...@users.sourceforge.net Signed-off-by: Tony Lindgren t...@atomide.com ---

[PATCH 07/12] ARM: OMAP3: mmc-twl4030 add MMC3 support

2009-03-10 Thread Tony Lindgren
From: Grazvydas Ignotas nota...@gmail.com Device connected to MMC3 is assumed to be self-powered, so set_power() function is empty. It can't be omited because host driver requires it. Array size for hsmmc[] is specified because hsmmc[2].name is needed for MMC3 name. Also fix a leak which happens

[PATCH 08/12] ARM: OMAP3: mmc-twl4030 fix for vmmc = 0

2009-03-10 Thread Tony Lindgren
From: David Brownell dbrown...@users.sourceforge.net Resolve longstanding issue noted by Adrian Hunter: confusion between settting VSEL=0 (which is 1.8V on MMC1) and poweroff. Also, leave VSEL alone if we're just powering the regulator off. Signed-off-by: David Brownell

Re: [APPLIED] [PATCH v2] OMAP: Store reboot mode in scratchpad on OMAP34xx

2009-03-10 Thread David Brownell
On Tuesday 10 March 2009, Tony Lindgren wrote: This patch has been applied to the linux-omap by youw fwiendly patch wobot. CC arch/arm/mach-omap2/prcm.o arch/arm/mach-omap2/prcm.c: In function 'omap_prcm_arch_reset': arch/arm/mach-omap2/prcm.c:56: error: 'OMAP343X_SCRATCHPAD' undeclared

[PATCH 10/12] ARM: OMAP3: mmc-twl4030 allow arbitrary slot names

2009-03-10 Thread Tony Lindgren
From: Adrian Hunter adrian.hun...@nokia.com Signed-off-by: Adrian Hunter adrian.hun...@nokia.com Acked-by: David Brownell dbrown...@users.sourceforge.net Signed-off-by: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/mmc-twl4030.c |5 - arch/arm/mach-omap2/mmc-twl4030.h |1 +

Re: [APPLIED] [PATCH v2] OMAP: Store reboot mode in scratchpad on OMAP34xx

2009-03-10 Thread Tony Lindgren
* David Brownell davi...@pacbell.net [090310 14:05]: On Tuesday 10 March 2009, Tony Lindgren wrote: This patch has been applied to the linux-omap by youw fwiendly patch wobot. CC arch/arm/mach-omap2/prcm.o arch/arm/mach-omap2/prcm.c: In function 'omap_prcm_arch_reset':

[PATCH 09/12] ARM: OMAP3: mmc-twl4030 add cover switch

2009-03-10 Thread Tony Lindgren
From: Adrian Hunter adrian.hun...@nokia.com Allow a cover switch to be used to cause a rescan of the MMC slot. Signed-off-by: Adrian Hunter adrian.hun...@nokia.com Acked-by: David Brownell dbrown...@users.sourceforge.net Signed-off-by: Tony Lindgren t...@atomide.com ---

[PATCH 11/12] ARM: OMAP3: Add base address definitions and resources for OMAP 3 IS

2009-03-10 Thread Tony Lindgren
This replaces earlier patch from Sergio Aguirre titled [REVIEW PATCH 03/14] OMAP34XX: CAM: Resources fixes. Signed-off-by: Sakari Ailus sakari.ai...@maxwell.research.nokia.com Signed-off-by: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/devices.c | 108

[PATCH 12/12] ARM: OMAP3: MUSB initialization for omap hw

2009-03-10 Thread Tony Lindgren
From: Felipe Balbi felipe.ba...@nokia.com Create a generic board-file for initializing usb on omap2430 and omap3 boards. Patch modified by Tony to build the module based on CONFIG_USB_MUSB_SOC. Also merged in a patch adding the nop xceiv from Ajay Kumar Gupta ajay.gu...@ti.com. Signed-off-by:

Re: Problems while designing TPS65023 regulator driver

2009-03-10 Thread Mark Brown
On Mon, Mar 09, 2009 at 04:45:26PM -0800, David Brownell wrote: On Sunday 08 March 2009, Mark Brown wrote: - Regulators not marked as boot_on or always_on won't be active (and usecount will be 0) on return from setup. This breaks the idea that we don't do anything unless explictly

RE: What did omap2_disp_get_dss morph into?

2009-03-10 Thread Hiremath, Vaibhav
Hi David, You must be having struct omap_display pointer populated in your driver during probe, you just need to stick with display-enable and Display-disable function call. These functions in turn enables and disables clocks and save/restores the context. If you provide some more details

Re: [PATCH] OMAP: HSMMC: Initialize hsmmc controller registers when resuming

2009-03-10 Thread David Brownell
On Monday 23 February 2009, Adrian Hunter wrote: Although I have not tested it, I very much doubt dual-voltage cards work.  That is because VMMC1_185V is zero, which has the side-effect of turning the regulator off (see arch/arm/mach-omap2/mmc-twl4030.c) And a second reason to know they don't

RE: [RFC] OMAP: I2C: Use correct bit for CLOCKACTIVITY

2009-03-10 Thread Woodruff, Richard
How about McBSP? Same TRM.. I2C, Table 18-5 tells exactly the opposite for I2C than what's said in Table 18-44: I2C_SYSC!! Please, Richard? - Eero To answer to myself, I am 100% certain the McBSP FCLK is the bit 8. I should have sent a patch about that already.. Kind of worried as

Hello Tomi Valkeinen, I have some questions about dss2 driver.

2009-03-10 Thread InKi Dae
I am using your dss2 driver downloaded from your git server and tried to rotate an image(RGB24U and YUV2 format) using OMAPFB_ROT_DMA command. but I can't see rotated image on screen. I added variables for rotating like below. as the result, LCD Panel is stoped. omapfb.rotate=2 omapfb.vrfb=n

RE: Hello Tomi Valkeinen, I have some questions about dss2 driver.

2009-03-10 Thread Shah, Hardik
Hi Dae, I am attaching one patch which adds the support of rotation on top of Tomi's DSS library. But this patch is created against the patches posted by tomi long back. You can have look at _dispc_calc_and_set_row_inc and _dispc_set_rotation_mirroring function for reference to add the YUV

Re: [PATCH 1/2] OMAP: McBSP: Always maintain McBSP fclk while active

2009-03-10 Thread Eero Nurkkala
On Tue, 2009-03-10 at 15:29 +0100, Nikula Jarkko (Nokia-D/Helsinki) wrote: Looks like a valid change eventhough haven't tested the actual problem. Would it be possible with the PM branch and Beagle now? Jarkko Now this appears to be inherently wrong =) Read this:

RE: [RFC] OMAP: I2C: Use correct bit for CLOCKACTIVITY

2009-03-10 Thread Eero Nurkkala
On Wed, 2009-03-11 at 04:55 +0100, ext Woodruff, Richard wrote: I think Nishant already said this but TRM is going to be updated to correct McBSP. CBSPLP_SYSCONFIG_REG[9:8] CLOCKACTIVITY field description will be updated in next TRM version: OMAP34XX v-R 0x0: McBSPi_ICLK clock can be