Re: [PATCH v3 1/3] omap: opp: add OMAP3 OPP table data and common init

2010-11-17 Thread Thomas Petazzoni
On Tue, 16 Nov 2010 08:16:07 -0800 Kevin Hilman khil...@deeprootsystems.com wrote: Yes, I'm not a big fan of the init function called multiple times either, but I really want to minimize what board files have to do. Historically, we tend to add all the init functions to every board file,

RE: [PATCH v4 3/7] OMAP: DSS2: Introduce omap_channel as a omap_dss_device parameter

2010-11-17 Thread Taneja, Archit
Hi, Tomi Valkeinen wrote: On Tue, 2010-11-16 at 12:22 +0100, ext Taneja, Archit wrote: Hi, Tomi Valkeinen wrote: Hi, [snip] diff --git a/arch/arm/plat-omap/include/plat/display.h b/arch/arm/plat-omap/include/plat/display.h index 586944d..3e6eec1 100644 ---

[PATCH] OMAP: Serial: Define register access modes in LCR

2010-11-17 Thread Emeltchenko Andrei
From: Andrei Emeltchenko andrei.emeltche...@nokia.com Access to some registers depends on register access mode Three different modes are available for OMAP (at least) • Operational mode LCR_REG[7] = 0x0 • Configuration mode A LCR_REG[7] = 0x1 and LCR_REG[7:0]! = 0xBF • Configuration mode B

Re: [PATCH] OMAP: Serial: Define register access modes in LCR

2010-11-17 Thread Govindraj
On Wed, Nov 17, 2010 at 2:01 PM, Emeltchenko Andrei andrei.emeltchenko.n...@gmail.com wrote: From: Andrei Emeltchenko andrei.emeltche...@nokia.com Access to some registers depends on register access mode Three different modes are available for OMAP (at least) • Operational mode     LCR_REG[7]

Re: [PATCH] Add OMAP Support for Generic PWM Devices using Dual-mode Timers

2010-11-17 Thread Hemanth V
- Original Message - From: Grant Erickson maratho...@gmail.com To: Hemanth V heman...@ti.com Cc: Tony Lindgren t...@atomide.com; linux-omap@vger.kernel.org Sent: Tuesday, November 16, 2010 11:15 PM Subject: Re: [PATCH] Add OMAP Support for Generic PWM Devices using Dual-mode Timers

Re: [PATCH 1/7] crypto: updates omap sham device related platform code

2010-11-17 Thread Dmitry Kasatkin
Hi, This patch was already applied months ago. It appeared by mistake as git format-patch took it somehow. Please ignore it... - Dmitry On 16/11/10 19:19, ext Tony Lindgren wrote: * Dmitry Kasatkin dmitry.kasat...@nokia.com [101110 09:20]: - registration with multi OMAP kernels support

Re: [PATCH] omap3: feature: fix OMAP3_IVA_MASK

2010-11-17 Thread Nishanth Menon
Tony Lindgren wrote, on 11/16/2010 03:27 PM: * Nishanth Menonn...@ti.com [101105 17:29]: From: Arno Steffenarno.stef...@googlemail.com OMAP3_IVA_MASK should use OMAP3_IVA_SHIFT instead of OMAP3_SGX_SHIFT Signed-off-by: Arno Steffenarno.stef...@googlemail.com --- Sending on behalf of Arno -

[PATCH] omap: prcm: switch to a chained IRQ handler mechanism

2010-11-17 Thread Thomas Petazzoni
From: Thomas Petazzoni t-petazz...@ti.com Until this patch, the PRCM interrupt was handled through a normal, single interrupt handler. However, the PRCM notifies various types of events, which might be of interest to different drivers. In preparation for the usage of the PRCM interrupt by those

Re: [PATCH v4] OMAP3: DSS: Kconfig changes to enable display options on OMAP3

2010-11-17 Thread Tomi Valkeinen
On Tue, 2010-11-16 at 21:10 +0100, ext Tony Lindgren wrote: * Kevin Hilman khil...@deeprootsystems.com [101116 11:45]: Tony Lindgren t...@atomide.com writes: * Tomi Valkeinen tomi.valkei...@nokia.com [101116 05:41]: On Tue, 2010-11-16 at 07:09 +0100, ext Nilofer, Samreen wrote: Hi,

Re: [PATCH 1/3] OMAP: DSS2: Add generic DPI panel display driver

2010-11-17 Thread Tomi Valkeinen
On Wed, 2010-11-17 at 10:23 +0800, ext Bryan Wu wrote: Generic DPI panel driver includes the driver and 4 similar panel configurations. It will match the panel name which is passed from platform data and setup the right configurations. With generic DPI panel driver, we can remove those 4

RE: [PATCH 0/3] OMAP: DSS2: introduce generic panel display driver (try #7)

2010-11-17 Thread Taneja, Archit
Acked-by: Archit Taneja arc...@ti.com bryan...@canonical.com wrote: There are 4 duplicated DPI panel drivers in DSS2 display driver. They are similar and a generic DPI panel driver can support all them with specific panel configuration. And new DPI panel driver can be easily supported by

RE: [PATCH v4 3/7] OMAP: DSS2: Introduce omap_channel as a omap_dss_device parameter

2010-11-17 Thread Taneja, Archit
Hi, Tomi Valkeinen wrote: Hi, Tomi Valkeinen wrote: On Tue, 2010-11-16 at 12:22 +0100, ext Taneja, Archit wrote: Hi, Tomi Valkeinen wrote: Hi, [snip] diff --git a/arch/arm/plat-omap/include/plat/display.h b/arch/arm/plat-omap/include/plat/display.h index 586944d..3e6eec1

Re: [PATCH] omap: prcm: switch to a chained IRQ handler mechanism

2010-11-17 Thread Cousson, Benoit
Hi Thomas, On 11/17/2010 1:16 PM, Thomas Petazzoni wrote: From: Thomas Petazzonit-petazz...@ti.com [...] static int __init omap3_pm_init(void) That code is purely OMAP3 specific, do you think it might scale well on OMAP4? BTW, you should maybe change the subject with OMAP3: prcm: ...

[PATCH 0/3] OMAP: DSS2: introduce generic panel display driver (try #8)

2010-11-17 Thread Bryan Wu
There are 4 duplicated DPI panel drivers in DSS2 display driver. They are similar and a generic DPI panel driver can support all them with specific panel configuration. And new DPI panel driver can be easily supported by adding panel configurations into generic panel DPI driver. This patchset

[PATCH 1/3] OMAP: DSS2: Add generic DPI panel display driver

2010-11-17 Thread Bryan Wu
Generic DPI panel driver includes the driver and 4 similar panel configurations. It will match the panel name which is passed from platform data and setup the right configurations. With generic DPI panel driver, we can remove those 4 duplicated panel display drivers. In the future, it is simple

[PATCH 2/3] OMAP: use generic DPI panel driver in board files

2010-11-17 Thread Bryan Wu
Still keep sharp_ls_panel, since the sharp_ls_panel driver contains blacklight control driver code which will be moved out later. Then we can use generic DPI driver for sharp_ls_panel. Signed-off-by: Bryan Wu bryan...@canonical.com --- arch/arm/mach-omap2/board-3430sdp.c | 12 +---

[PATCH 3/3] OMAP: DSS2: remove generic DPI panel driver duplicated panel drivers

2010-11-17 Thread Bryan Wu
Still keep sharp_ls_panel driver, because it contains blacklight control driver. Signed-off-by: Bryan Wu bryan...@canonical.com --- drivers/video/omap2/displays/Kconfig | 18 -- drivers/video/omap2/displays/Makefile |3 -

Re: [PATCH 1/3] OMAP: DSS2: Add generic DPI panel display driver

2010-11-17 Thread Bryan Wu
On Wed, Nov 17, 2010 at 8:44 PM, Tomi Valkeinen tomi.valkei...@nokia.com wrote: On Wed, 2010-11-17 at 10:23 +0800, ext Bryan Wu wrote: Generic DPI panel driver includes the driver and 4 similar panel configurations. It will match the panel name which is passed from platform data and setup the

Re: [PATCH 0/3] OMAP: DSS2: introduce generic panel display driver (try #8)

2010-11-17 Thread Tomi Valkeinen
On Wed, 2010-11-17 at 21:34 +0800, ext Bryan Wu wrote: There are 4 duplicated DPI panel drivers in DSS2 display driver. They are similar and a generic DPI panel driver can support all them with specific panel configuration. And new DPI panel driver can be easily supported by adding panel

[PATCH] OMAP3: add comments for erratas i540 and i478 workarounds

2010-11-17 Thread Jean Pihet
From: Jean Pihet jean.pi...@newoldbits.com Add comments and IDs for the following erratas: - i540: MPU cannot exit from Standby, - i478: Unexpected Cold-Reset is generated when device is coming back from OFF mode Signed-off-by: Jean Pihet j-pi...@ti.com --- arch/arm/mach-omap2/irq.c

RE: [PATCH 1/3] OMAP: DSS2: Add generic DPI panel display driver

2010-11-17 Thread Premi, Sanjeev
-Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap-ow...@vger.kernel.org] On Behalf Of Bryan Wu Sent: Wednesday, November 17, 2010 7:05 PM To: tomi.valkei...@nokia.com; linux-omap@vger.kernel.org; linux-arm-ker...@lists.infradead.org; Gadiyar, Anand

Re: [PATCH] omap: prcm: switch to a chained IRQ handler mechanism

2010-11-17 Thread Kevin Hilman
Cousson, Benoit b-cous...@ti.com writes: [...] +#define OMAP_MPUIO_IRQ_END (IH_MPUIO_BASE + 16) + +/* 32 IRQs for the PRCM */ +#define OMAP_PRCM_IRQ_BASE (OMAP_MPUIO_IRQ_END) +#define INT_34XX_PRCM_WKUP_EN (OMAP_PRCM_IRQ_BASE + 0) +#define

Re: [PATCH] OMAP: Serial: Define register access modes in LCR

2010-11-17 Thread Greg KH
On Wed, Nov 17, 2010 at 10:31:52AM +0200, Emeltchenko Andrei wrote: From: Andrei Emeltchenko andrei.emeltche...@nokia.com Access to some registers depends on register access mode Three different modes are available for OMAP (at least) • Operational mode LCR_REG[7] = 0x0 • Configuration

Re: [PATCH] omap: prcm: switch to a chained IRQ handler mechanism

2010-11-17 Thread Cousson, Benoit
On 11/17/2010 5:16 PM, Kevin Hilman wrote: Cousson, Benoitb-cous...@ti.com writes: [...] +#define OMAP_MPUIO_IRQ_END (IH_MPUIO_BASE + 16) + +/* 32 IRQs for the PRCM */ +#define OMAP_PRCM_IRQ_BASE (OMAP_MPUIO_IRQ_END) +#define INT_34XX_PRCM_WKUP_EN

Re: [PATCH] OMAP: Serial: Define register access modes in LCR

2010-11-17 Thread Kevin Hilman
Greg KH g...@kroah.com writes: On Wed, Nov 17, 2010 at 10:31:52AM +0200, Emeltchenko Andrei wrote: From: Andrei Emeltchenko andrei.emeltche...@nokia.com Access to some registers depends on register access mode Three different modes are available for OMAP (at least) • Operational mode

Re: [PATCH] OMAP: Serial: Define register access modes in LCR

2010-11-17 Thread Greg KH
On Wed, Nov 17, 2010 at 09:28:52AM -0800, Kevin Hilman wrote: Greg KH g...@kroah.com writes: On Wed, Nov 17, 2010 at 10:31:52AM +0200, Emeltchenko Andrei wrote: From: Andrei Emeltchenko andrei.emeltche...@nokia.com Access to some registers depends on register access mode Three

Re: [PATCH] OMAP3: add comments for erratas i540 and i478 workarounds

2010-11-17 Thread Kevin Hilman
Jean Pihet jean.pi...@newoldbits.com writes: From: Jean Pihet jean.pi...@newoldbits.com Add comments and IDs for the following erratas: - i540: MPU cannot exit from Standby, - i478: Unexpected Cold-Reset is generated when device is coming back from OFF mode Signed-off-by: Jean Pihet

[PATCH] OMAP3: add comments for erratas i540 and i478 workarounds

2010-11-17 Thread Jean Pihet
From: Jean Pihet jean.pi...@newoldbits.com Add comments and IDs for the following erratas: - i540: MPU cannot exit from Standby, - i478: Unexpected Cold-Reset is generated when device is coming back from OFF mode Signed-off-by: Jean Pihet j-pi...@ti.com --- arch/arm/mach-omap2/irq.c

[PATCH] OMAP MUX framework changes

2010-11-17 Thread Dan Murphy
Added APIs to get and set the mux setting via the MUX name. In doing this the omap_mux_read and omap_mux_write can be made static as these interfaces should be called indirectly. Added a check in the omap_write_array to test the partition pointer is valid prior to dereferencing. Tested the new

Re: [PATCH 2/3] OMAP: VRAM: Fix boot-time memory allocation

2010-11-17 Thread Felipe Contreras
On Wed, Nov 10, 2010 at 11:45 AM, Tomi Valkeinen tomi.valkei...@nokia.com wrote: Use memblock_free() and memblock_remove() to remove the allocated or reserved VRAM area from normal kernel memory. This is a slightly modified version of patches from Felipe Contreras and Namhyung Kim.

Re: [PATCH] OMAP: Serial: Define register access modes in LCR

2010-11-17 Thread Tony Lindgren
* Greg KH g...@kroah.com [101117 09:21]: On Wed, Nov 17, 2010 at 09:28:52AM -0800, Kevin Hilman wrote: Greg KH g...@kroah.com writes: On Wed, Nov 17, 2010 at 10:31:52AM +0200, Emeltchenko Andrei wrote: From: Andrei Emeltchenko andrei.emeltche...@nokia.com Access to some

[PATCH v2] Fix IGEPv2 second MMC channel power supply

2010-11-17 Thread Marc Zyngier
Commit 72f381ba056 (omap3: Remove VMMC2 regulator on IGEP v2) removed an unused regulator entry, but left the second MMC channel (used by the Libertas WLAN module) without link to power regulator. This causes the SDIO module to fail being detected. This patch adds the two regulators that actually

RFC: hwmod, iclks, auto-idle and autodeps

2010-11-17 Thread Kevin Hilman
Hello, There have been a few discussions over the few months about how to properly use omap_hwmod to manage certain IPs that have the interface clock as the functional clock (e.g. OMAP3 GPIOs.) The goal of this RFC is to come to a conclusion about what should be done, and how to go about

Re: [PATCH 1/3] OMAP: DSS2: Add generic DPI panel display driver

2010-11-17 Thread Bryan Wu
On Thu, Nov 18, 2010 at 12:13 AM, Premi, Sanjeev pr...@ti.com wrote: -Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap-ow...@vger.kernel.org] On Behalf Of Bryan Wu Sent: Wednesday, November 17, 2010 7:05 PM To: tomi.valkei...@nokia.com;

No more software ECC in omap2.c NAND driver. Why?

2010-11-17 Thread Charles Manning
Between 2.6.35 and 2.6.36 there have need quite a few changes in the NAND driver, including a change from software to hardware ECC. The new code has hardware ECC forced on by: #define CONFIG_MTD_NAND_OMAP_HWECC I am surprised that this was done. Surely this should have been a Kconfig option

[PATCH] OMAP: DSS2: Add back authors of panel-generic.c based drivers

2010-11-17 Thread Bryan Wu
Signed-off-by: Bryan Wu bryan...@canonical.com --- drivers/video/omap2/displays/panel-generic-dpi.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/drivers/video/omap2/displays/panel-generic-dpi.c b/drivers/video/omap2/displays/panel-generic-dpi.c index

Re: [PATCH 0/3] OMAP: DSS2: introduce generic panel display driver (try #8)

2010-11-17 Thread Bryan Wu
On Wed, Nov 17, 2010 at 10:18 PM, Tomi Valkeinen tomi.valkei...@nokia.com wrote: On Wed, 2010-11-17 at 21:34 +0800, ext Bryan Wu wrote: There are 4 duplicated DPI panel drivers in DSS2 display driver. They are similar and a generic DPI panel driver can support all them with specific panel

Re: [PATCH v4] OMAP3: DSS: Kconfig changes to enable display options on OMAP3

2010-11-17 Thread Paul Mundt
On Wed, Nov 17, 2010 at 02:28:11PM +0200, Tomi Valkeinen wrote: On Tue, 2010-11-16 at 21:10 +0100, ext Tony Lindgren wrote: Sure a module would be even better. My point is that the selection of all the features should be enabled by default and the board options come from platform_data.