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

Re: omap4: hsmmc: Fix improper card detection while booting

2010-11-17 Thread Chris Ball
Hi Kishore, On Mon, Nov 15, 2010 at 02:38:59PM +0530, kishore kadiyala wrote: > While booting OMAP4 ES2.0 boards, cards on MMC1 and MMC2 controllers > are not getting detected some times. > > During reset of command/data line, wrong pointer to base address > was passed while read operation to SYS

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 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 configuration. And new

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

2010-11-17 Thread Bryan Wu
Signed-off-by: Bryan Wu --- 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 6702cf6..07eb30e 100644 --- a/

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 to

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 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; linux-omap@vger.kernel.o

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 implemen

[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

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

2010-11-17 Thread Tony Lindgren
* Greg KH [101117 09:21]: > On Wed, Nov 17, 2010 at 09:28:52AM -0800, Kevin Hilman wrote: > > Greg KH writes: > > > > > On Wed, Nov 17, 2010 at 10:31:52AM +0200, Emeltchenko Andrei wrote: > > >> From: Andrei Emeltchenko > > >> > > >> Access to some registers depends on register access mode > >

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 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. > > Reported-by: Felipe Contre

[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 i

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

2010-11-17 Thread Jean Pihet
From: Jean Pihet 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 --- arch/arm/mach-omap2/irq.c |5 - arch/arm/mach-omap2/p

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

2010-11-17 Thread Kevin Hilman
Jean Pihet writes: > From: Jean Pihet > > 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 Nice, it's great to have the errata numbers

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 writes: > > > On Wed, Nov 17, 2010 at 10:31:52AM +0200, Emeltchenko Andrei wrote: > >> From: Andrei Emeltchenko > >> > >> Access to some registers depends on register access mode > >> Three different modes are available for

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

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

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, Benoit" 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)

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 > > 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

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

2010-11-17 Thread Kevin Hilman
"Cousson, Benoit" 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 INT_34XX_PRCM_EVGENON_

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 >

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

2010-11-17 Thread Jean Pihet
From: Jean Pihet 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 --- arch/arm/mach-omap2/irq.c |3 ++- arch/arm/mach-omap2/pow

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 co

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 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 >> right configur

[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 --- drivers/video/omap2/displays/Kconfig | 18 -- drivers/video/omap2/displays/Makefile |3 - drivers/video/omap2/displays/panel-generic.c | 174 --

[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 --- arch/arm/mach-omap2/board-3430sdp.c | 12 +--- arch/arm/mach-omap2/b

[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 f

[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 intr

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 Petazzoni [...] 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: ..." to reflect that.

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

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

2010-11-17 Thread Taneja, Archit
Acked-by: Archit Taneja 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 adding panel >

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 thos

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 [101116 11:45]: > > Tony Lindgren writes: > > > > > * Tomi Valkeinen [101116 05:41]: > > >> On Tue, 2010-11-16 at 07:09 +0100, ext Nilofer, Samreen wrote: > > >> > Hi, > > >> > Any more comments on this patch? > > >>

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

2010-11-17 Thread Thomas Petazzoni
From: Thomas Petazzoni 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 drivers, we switch t

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 Menon [101105 17:29]: From: Arno Steffen OMAP3_IVA_MASK should use OMAP3_IVA_SHIFT instead of OMAP3_SGX_SHIFT Signed-off-by: Arno Steffen --- Sending on behalf of Arno - he pointed at the change and everything except for the patch ;) Rep

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 [101110 09:20]: > >> - registration with multi OMAP kernels support >> - clocks >> >> Sig

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

2010-11-17 Thread Hemanth V
- Original Message - From: "Grant Erickson" To: "Hemanth V" Cc: "Tony Lindgren" ; Sent: Tuesday, November 16, 2010 11:15 PM Subject: Re: [PATCH] Add OMAP Support for Generic PWM Devices using Dual-mode Timers Boards can register such devices using platform data such as in the fo

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 wrote: > From: Andrei Emeltchenko > > 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_

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

2010-11-17 Thread Emeltchenko Andrei
From: Andrei Emeltchenko 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 LCR_REG[7] = 0x1 and LCR_REG[7:

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 10064

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 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, and this is getting cumbe