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

2010-11-21 Thread Ghorai, Sukumar
[..snip..] > > The board (Mistral AM37x) NAND (Micron 256 MiB) was originally > bootstrapped > over SD/MMC from u-boot using the following script: [Ghorai] let me know the nand details - x8/x16, small/big page? > [..snip..] > nandecc sw [..snip..] > fatload mmc 0 ${loadaddr} root.jff [

RE: [PATCHv4 8/14] OMAP: dmtimer: platform driver

2010-11-21 Thread DebBarma, Tarun Kanti
> -Original Message- > From: Varadarajan, Charulatha [mailto:ch...@ti.com] > Sent: Monday, November 22, 2010 12:43 PM > To: DebBarma, Tarun Kanti > Cc: linux-omap@vger.kernel.org; Gopinath, Thara > Subject: Re: [PATCHv4 8/14] OMAP: dmtimer: platform driver > > <> > > > +static struct plat

RE: [PATCHv4 11/14] OMAP2+: dmtimer: convert to platform devices

2010-11-21 Thread DebBarma, Tarun Kanti
> -Original Message- > From: Varadarajan, Charulatha > Sent: Monday, November 22, 2010 12:04 PM > To: DebBarma, Tarun Kanti > Cc: linux-omap@vger.kernel.org; Gopinath, Thara; Basak, Partha > Subject: Re: [PATCHv4 11/14] OMAP2+: dmtimer: convert to platform devices > > On Sat, Nov 20, 2010 a

[PATCH v5 7/7] OMAP: DSS2: Add new Overlay Manager

2010-11-21 Thread Archit Taneja
From: Sumit Semwal Add new Overlay Manager in manager.c, make changes needed for LCD2 channel. Signed-off-by: Sumit Semwal Signed-off-by: Mukund Mittal Signed-off-by: Samreen --- drivers/video/omap2/dss/dispc.c | 21 +- drivers/video/omap2/dss/dss.h |4 +- drivers/video/o

[PATCH v5 6/7] OMAP: DSS2: Use dss_features to handle DISPC bits removed on OMAP4

2010-11-21 Thread Archit Taneja
DISPC_CONFIG bits LCDENABLEPOL, LCDENABLESIGNAL, PCKFREEENABLE and FUNCGATED have been removed from OMAP4, use dss_features to handle them correctly. Signed-off-by: Archit Taneja --- drivers/video/omap2/dss/dispc.c | 12 +++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --gi

[PATCH v5 5/7] OMAP: DSS2: LCD2 Channel Changes for DISPC

2010-11-21 Thread Archit Taneja
From: Sumit Semwal Modify DISPC functions to work with LCD2 as the DISPC Channel. Signed-off-by: Sumit Semwal Signed-off-by: Mukund Mittal Signed-off-by: Samreen Signed-off-by: Archit Taneja --- arch/arm/plat-omap/include/plat/display.h |4 + drivers/video/omap2/dss/dispc.c |

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

2010-11-21 Thread Archit Taneja
From: Sumit Semwal A new member 'channel' is introduced in omap_dss_device structure to determine which channel the panel uses. The dss_recheck_connections() called in dss_driver_probe() to set the correct manager to the corresponding omap_dss_device. The interface drivers (dsi.c, sdi.c etc) no

[PATCH v5 4/7] OMAP: DSS2: Change remaining Dispc functions for new 'channel' argument

2010-11-21 Thread Archit Taneja
From: Sumit Semwal The following dispc functions are changed to incorporate channel as an argument: -dispc_lclk_rate() -dispc_pclk_rate() -dispc_set_pol_freq() -dispc_set_clock_div() -dispc_get_clock_div() Signed-off-by: Sumit Semwal Signed-off-by: Mukund

[PATCH v5 2/7] OMAP: DSS2: Represent DISPC register defines with channel as parameter

2010-11-21 Thread Archit Taneja
From: Sumit Semwal Introduce new enum members for LCD2 Channel and corresponding Overlay Manager. Represent some of the DISPC register defines with channel as a parameter to differentiate between LCD, DIGIT and LCD2 channels. Replace the existing reads/writes to these registers in this new way.

[PATCH v5 1/7] OMAP: DSS2: Add dss_features for omap4 and overlay manager related features

2010-11-21 Thread Archit Taneja
Add support for LCD2 manager through introducing a new has_feature, Initialize a dss_features struct for omap4. Signed-off-by: Archit Taneja --- drivers/video/omap2/dss/dss_features.c | 43 ++- drivers/video/omap2/dss/dss_features.h |7 - 2 files changed, 47

[PATCH v5 0/7] OMAP: DSS2: Overlay Manager LCD2 support in DISPC

2010-11-21 Thread Archit Taneja
This patch series which incorporates changes in DSS2 to enable omap_dss_device instances to use the new Overlay Manager LCD2 in DISPC. On OMAP4, we have a new DISPC channel for Overlay Manager LCD2. This channel's video port is a source port for RFBI, DSI2 and DPI. The Primary channel's video port

Re: [PATCHv4 8/14] OMAP: dmtimer: platform driver

2010-11-21 Thread Varadarajan, Charulatha
<> > +static struct platform_driver omap_dmtimer_driver = { > +       .probe  = omap_dm_timer_probe, > +       .remove = omap_dm_timer_remove, > +       .driver = { > +               .name   = "omap-timer", Comment from Benoit on omap devices name ( see [1] ): "If possible, it will be better to

RE: [PATCHv4 14/14] OMAP: dmtimer: pm_runtime support

2010-11-21 Thread DebBarma, Tarun Kanti
> -Original Message- > From: Varadarajan, Charulatha [mailto:ch...@ti.com] > Sent: Monday, November 22, 2010 12:34 PM > To: DebBarma, Tarun Kanti > Cc: linux-omap@vger.kernel.org; Basak, Partha > Subject: Re: [PATCHv4 14/14] OMAP: dmtimer: pm_runtime support > > On Sat, Nov 20, 2010 at 08:

Re: [PATCHv4 14/14] OMAP: dmtimer: pm_runtime support

2010-11-21 Thread Varadarajan, Charulatha
On Sat, Nov 20, 2010 at 08:09, Tarun Kanti DebBarma wrote: > Add pm_runtime support to dmtimer. Since dmtimer is used during > early boot before pm_runtime is initialized completely there are > provisions to enable/disable clocks directly in the code during > early boot. > > Signed-off-by: Tarun K

Re: [PATCHv4 12/14] OMAP: dmtimer: switch-over to platform device driver

2010-11-21 Thread Varadarajan, Charulatha
<> > -/* > - * Reads timer registers in posted and non-posted mode. The posted mode bit > - * is encoded in reg. Note that in posted mode write pending bit must be > - * checked. Otherwise a read of a non completed write will produce an error. > +/** > + * omap_dm_timer_read_reg - read timer regis

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

2010-11-21 Thread Grant Erickson
On 11/21/10 10:27 PM, Ghorai, Sukumar wrote: >> -Original Message- >> From: Grant Erickson [mailto:maratho...@gmail.com] >> Sent: Monday, November 22, 2010 11:39 AM >> To: Charles Manning >> Cc: linux-omap@vger.kernel.org; Grazvydas Ignotas; Ghorai, Sukumar >> Subject: Re: No more software

Re: [PATCHv4 11/14] OMAP2+: dmtimer: convert to platform devices

2010-11-21 Thread Varadarajan, Charulatha
On Sat, Nov 20, 2010 at 08:09, Tarun Kanti DebBarma wrote: > From: Thara Gopinath > > Add routines to converts dmtimers to platform devices. The device data > is obtained from hwmod database of respective platform and is registered > to device model after successful binding to driver. It also pro

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

2010-11-21 Thread Ghorai, Sukumar
> -Original Message- > From: Grant Erickson [mailto:maratho...@gmail.com] > Sent: Monday, November 22, 2010 11:39 AM > To: Charles Manning > Cc: linux-omap@vger.kernel.org; Grazvydas Ignotas; Ghorai, Sukumar > Subject: Re: No more software ECC in omap2.c NAND driver. Why? > > On 11/21/10

RE: [PATCH 2/6] OMAP: powerdomain: Infrastructure to put arch specific code

2010-11-21 Thread Rajendra Nayak
Hi Thomas, > -Original Message- > From: Thomas Petazzoni [mailto:thomas.petazz...@free-electrons.com] > Sent: Tuesday, November 16, 2010 9:41 PM > To: Rajendra Nayak > Cc: linux-omap@vger.kernel.org; p...@pwsan.com; b-cous...@ti.com; khil...@deeprootsystems.com > Subject: Re: [PATCH 2/6] O

RE: [PATCHv4 6/14] OMAP4: dmtimer: add hwmod database

2010-11-21 Thread DebBarma, Tarun Kanti
> -Original Message- > From: Varadarajan, Charulatha > Sent: Monday, November 22, 2010 11:32 AM > To: DebBarma, Tarun Kanti > Cc: linux-omap@vger.kernel.org; Cousson, Benoit > Subject: Re: [PATCHv4 6/14] OMAP4: dmtimer: add hwmod database > > These comments are from other hwmod reviews. >

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

2010-11-21 Thread Grant Erickson
On 11/21/10 1:01 PM, Charles Manning wrote: > Just recompiling with the CONFIG_MTD_NAND_OMAP_HWECC define commented out did > not result in a working system. I suspect there is more tto the problem than > this. FWIW, I had the exact same issues with my Mistral AM37x EVM board. I not only had to re

Re: [PATCHv4 6/14] OMAP4: dmtimer: add hwmod database

2010-11-21 Thread Varadarajan, Charulatha
These comments are from other hwmod reviews. On Sat, Nov 20, 2010 at 08:09, Tarun Kanti DebBarma wrote: > From: Cousson, Benoit Subject should be something like: ( See [1] ) OMAP4: hwmod data: add dmtimer Same is applicable to other hwmod DB patches for OMAP2420, OMAP2430 & OMAP3 to add dmtime

Re: [linux-pm] [PATCH ver. 2] PM: add synchronous runtime interface for interrupt handlers

2010-11-21 Thread Rafael J. Wysocki
On Saturday, November 20, 2010, Alan Stern wrote: > On Sat, 20 Nov 2010, Alan Stern wrote: > > > On Sat, 20 Nov 2010, Rafael J. Wysocki wrote: > > > > > On Friday, November 19, 2010, Alan Stern wrote: ... > > > > I don't think Linus will object to this. What he doesn't like is when > > some cod

Re: [PATCH ver. 2] PM: add synchronous runtime interface for interrupt handlers

2010-11-21 Thread Rafael J. Wysocki
On Saturday, November 20, 2010, Alan Stern wrote: > On Sat, 20 Nov 2010, Rafael J. Wysocki wrote: > > > On Friday, November 19, 2010, Alan Stern wrote: > > > This patch (as1431b) makes the synchronous runtime-PM interface > > > suitable for use in interrupt handlers. Subsystems can call the new >

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

2010-11-21 Thread Charles Manning
On Friday 19 November 2010 03:33:24 Ghorai, Sukumar wrote: > > -Original Message- > > From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- > > ow...@vger.kernel.org] On Behalf Of Charles Manning > > Sent: Thursday, November 18, 2010 6:36 AM > > To: linux-omap@vger.kernel.org > > Subje

Re: [PATCH v3 5/5] OMAP: mailbox: add notification support for multiple readers

2010-11-21 Thread Jacek Burghardt
Felipe Balbi wrote: Hi Hari, On Fri, 2010-11-19 at 22:01 -0600, Kanigeri, Hari wrote: > Of course :), profiling was done before releasing this code and no > difference observed with or without blocking notifier. All the OMAP4 would you share some numbers ? > use cases are exercising this co

[PATCH 09/11] omap: usb: ehci: introduce HSIC mode

2010-11-21 Thread Anand Gadiyar
The EHCI controller in OMAP4 supports a new interface mode - HSIC. Add this to the list of modes supported on OMAP3. Signed-off-by: Anand Gadiyar --- arch/arm/plat-omap/include/plat/usb.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/plat-omap/include/plat/usb

[PATCH 03/11] usb: ehci: introduce CONFIG_USB_EHCI_HCD_OMAP

2010-11-21 Thread Anand Gadiyar
From: Keshava Munegowda Introduce the CONFIG_USB_EHCI_HCD_OMAP option to select EHCI support on OMAP3 and later chips. This scales better than having a long line of dependencies for each new OMAP with EHCI support. Signed-off-by: Keshava Munegowda Signed-off-by: Anand Gadiyar --- drivers/usb/

[PATCH 10/11] usb: ehci-omap: Add OMAP4 support

2010-11-21 Thread Anand Gadiyar
Signed-off-by: Keshava Munegowda Signed-off-by: Anand Gadiyar --- drivers/usb/host/ehci-omap.c | 258 ++--- 1 files changed, 214 insertions(+), 44 deletions(-) diff --git a/drivers/usb/host/ehci-omap.c b/drivers/usb/host/ehci-omap.c index dd9d5c1..0374eb4 10

[PATCH 00/12] usb: ehci-omap: add OMAP4 support

2010-11-21 Thread Anand Gadiyar
This series adds support for the EHCI controller on OMAP4 chips. (This enables the ethernet controller on the Pandaboard - finally!). I'm sorry for the really long delay - I know this has been in the works for a while. I've tested the series on an OMAP4 SDP and a Pandaboard. I'll be testing OMAP3

[PATCH 07/11] arm: omap4: add USBHOST and related base addresses

2010-11-21 Thread Anand Gadiyar
Add base addresses for USBHOST, USBTLL, EHCI and OHCI to the header file. This will disappear when the drivers are converted to use the hwmod database, however this patch is needed until then. Signed-off-by: Anand Gadiyar --- arch/arm/plat-omap/include/plat/omap44xx.h |5 + 1 files chan

[PATCH 06/11] usb: ehci-omap: add helpers for checking port mode

2010-11-21 Thread Anand Gadiyar
Introduce helper functions to test port mode. These checks are performed in several places in the driver, and these helpers improve readability. Signed-off-by: Anand Gadiyar --- drivers/usb/host/ehci-omap.c | 21 - 1 files changed, 12 insertions(+), 9 deletions(-) diff --g

[PATCH 05/11] usb: ehci-omap: use clkdev aliases for functional clocks

2010-11-21 Thread Anand Gadiyar
Use the recently updated aliases to get functional clocks needed by the driver. This allows the driver to acquire OMAP4-specific clocks without having to use different clock names for OMAP3 and OMAP4. Signed-off-by: Anand Gadiyar --- drivers/usb/host/ehci-omap.c |4 ++-- 1 files changed, 2 i

[PATCH 11/11] arm: omap4: select USB_ARCH_HAS_EHCI

2010-11-21 Thread Anand Gadiyar
The OMAP4 has an on-chip EHCI controller. Select USB_ARCH_HAS_EHCI to allow the EHCI driver to be built on OMAP4. Signed-off-by: Anand Gadiyar --- arch/arm/mach-omap2/Kconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap

[PATCH 01/11] usb: ehci-omap: update clock names to be more generic

2010-11-21 Thread Anand Gadiyar
From: Keshava Munegowda Rename usbhost2_120m_fck to usbhost_hs_fck and usbhost1_48m_fck to usbhost_fs_fck, to better reflect the clocks' functionalities. In OMAP4, the frequencies for the corresponding clocks are not necessarily the same as with OMAP3, however the functionalities are. Signed-of

[PATCH 08/11] usb: omap4: add platform init code for EHCI driver

2010-11-21 Thread Anand Gadiyar
- Add platform init code for EHCI on OMAP4 - Add pad configuration for PHY and TLL modes Signed-off-by: Anand Gadiyar --- arch/arm/mach-omap2/usb-ehci.c | 144 +-- 1 files changed, 136 insertions(+), 8 deletions(-) diff --git a/arch/arm/mach-omap2/usb-ehci.c

[PATCH] omap4: 4430sdp: enable the ehci port on 4430SDP

2010-11-21 Thread Anand Gadiyar
From: Keshava Munegowda Signed-off-by: Keshava Munegowda Signed-off-by: Anand Gadiyar Cc: Tony Lindgren --- Depends on the series I just sent out for adding OMAP4 ehci support, but can be applied independently of that. arch/arm/mach-omap2/board-4430sdp.c | 20 1 files

[PATCH 02/11] usb: ehci-omap: don't hard-code TLL channel count

2010-11-21 Thread Anand Gadiyar
From: Keshava Munegowda Make the TLL channel count a parameter instead of a hardcoded value. This allows us to be flexible with future OMAP revisions which could have a different number of channels. Signed-off-by: Keshava Munegowda Signed-off-by: Anand Gadiyar --- drivers/usb/host/ehci-omap.c

[PATCH 04/11] omap: clock: add clkdev aliases for EHCI clocks

2010-11-21 Thread Anand Gadiyar
Add clkdev aliases for the USBHOST and USBTLL clocks on OMAP3 and OMAP4, so that the driver can refer to the clocks using a common alias. This will disappear when the driver is converted to use the hwmod database, but until then this patch is needed. Signed-off-by: Anand Gadiyar --- arch/arm/ma

Re: [PATCH v3 00/12] staging: tidspbridge: various cleanups

2010-11-21 Thread Greg KH
On Sun, Nov 21, 2010 at 12:46:18PM +0200, Ionut Nicu wrote: > This set of patches replaces some of the redundant components of > the tidspbridge driver, such as: As mentioned before, I need to take these from Omar as I don't trust anyone not to send me stuff that breaks the driver anymore :) So

Re: [PATCH 1/1] serial: omap-serial: Add support for kernel debugger

2010-11-21 Thread Cosmin Cojocar
Hi Ionut, Ionut Nicu wrote: > Hi Cosmin, > > On Sat, 2010-11-20 at 21:51 +0100, Cosmin Cojocar wrote: >> The kgdb invokes the poll_put_char and poll_get_char when communicating >> with the host. This patch also changes the initialization order because the >> kgdb will check at the very beginning,

newbie: can I ask a question about linux-omap-pm on this mailing list?

2010-11-21 Thread Gabi Voiculescu
Hi. I want to ask a newbie questions regarding linux-omap-pm repositories(http://git.kernel.org/?p=linux/kernel/git/khilman/linux-omap-pm.git;a=summary). I know this mailing list is for the linux-omap repository. I have searched the web for a mailing list specific for linux-omap-pm without su

Re: [PATCH 1/1] serial: omap-serial: Add support for kernel debugger

2010-11-21 Thread Ionut Nicu
Hi Cosmin, On Sat, 2010-11-20 at 21:51 +0100, Cosmin Cojocar wrote: > The kgdb invokes the poll_put_char and poll_get_char when communicating > with the host. This patch also changes the initialization order because the > kgdb will check at the very beginning, if there is a valid serial > driver.

[PATCH v3 12/12] staging: tidspbridge: rmgr code cleanup

2010-11-21 Thread Ionut Nicu
Reorganized some code in the rmgr module to increase its readability. No functional changes were done. Signed-off-by: Ionut Nicu --- drivers/staging/tidspbridge/rmgr/drv.c | 171 +--- drivers/staging/tidspbridge/rmgr/node.c | 81 +- drivers/staging/tidspbridge/rmgr/rm

[PATCH v3 11/12] staging: tidspbridge: pmgr code cleanup

2010-11-21 Thread Ionut Nicu
Reorganized some code in the pmgr module to increase its readability. No functional changes were done. Signed-off-by: Ionut Nicu --- drivers/staging/tidspbridge/pmgr/cmm.c | 357 ++- drivers/staging/tidspbridge/pmgr/dev.c | 20 +-- 2 files changed, 167 insertions(+

[PATCH v3 10/12] staging: tidspbridge: core code cleanup

2010-11-21 Thread Ionut Nicu
Reorganized some code in the core module to increase its readability. Most of the changes reduce the code indentation level and simplifiy the code. No functional changes were done. Signed-off-by: Ionut Nicu --- drivers/staging/tidspbridge/core/chnl_sm.c | 449 +--- drive

[PATCH v3 09/12] staging: tidspbridge: remove custom linked list

2010-11-21 Thread Ionut Nicu
Now that all users of lst_list have been converted to the standard linux list_head API, we can remove the associated header file. Signed-off-by: Ionut Nicu --- drivers/staging/tidspbridge/TODO |1 - .../staging/tidspbridge/include/dspbridge/list.h | 225 -

[PATCH v3 08/12] staging: tidspbridge: convert rmgr to list_head

2010-11-21 Thread Ionut Nicu
Convert the rmgr module of the tidspbridge driver to use struct list_head instead of struct lst_list. Signed-off-by: Ionut Nicu --- drivers/staging/tidspbridge/rmgr/drv.c | 115 -- drivers/staging/tidspbridge/rmgr/node.c | 53 -- drivers/staging/tidspb

[PATCH v3 07/12] staging: tidspbridge: convert pmgr to list_head

2010-11-21 Thread Ionut Nicu
Convert the pmgr module of the tidspbridge driver to use struct list_head instead of struct lst_list. Signed-off-by: Ionut Nicu --- drivers/staging/tidspbridge/pmgr/cmm.c | 237 ++-- drivers/staging/tidspbridge/pmgr/dev.c | 59 +++- 2 files changed, 98 insertio

[PATCH v3 06/12] staging: tidspbridge: convert core to list_head

2010-11-21 Thread Ionut Nicu
Convert the core module of the tidspbridge driver to use struct list_head instead of struct lst_list. Signed-off-by: Ionut Nicu --- drivers/staging/tidspbridge/core/_msg_sm.h | 12 +- drivers/staging/tidspbridge/core/chnl_sm.c | 243 --- drivers/staging/tidspbr

[PATCH v3 05/12] staging: tidspbridge: rmgr/node.c code cleanup

2010-11-21 Thread Ionut Nicu
Reorganized some code in rmgr/node.c to increase its readability. Most of the changes reduce the code indentation level and simplifiy the code. No functional changes were done. Signed-off-by: Ionut Nicu --- drivers/staging/tidspbridge/rmgr/node.c | 607 +++ 1 files c

[PATCH v3 04/12] staging: tidspbridge: remove gb bitmap implementation

2010-11-21 Thread Ionut Nicu
Now that all users of gb have been converted to the standard linux bitmap API, we can remove it from the gen library. Signed-off-by: Ionut Nicu --- drivers/staging/tidspbridge/Makefile |2 +- drivers/staging/tidspbridge/gen/gb.c | 165 driver

[PATCH v3 03/12] staging: tidspbridge: switch to linux bitmap API

2010-11-21 Thread Ionut Nicu
Replace the tidspbridge generic bitmap operations with the linux standard bitmap implementation. Signed-off-by: Ionut Nicu --- drivers/staging/tidspbridge/rmgr/node.c | 166 ++- 1 files changed, 74 insertions(+), 92 deletions(-) diff --git a/drivers/staging/tidspbri

[PATCH v3 02/12] staging: tidspbridge: remove utildefs

2010-11-21 Thread Ionut Nicu
Remove a header file that was not very useful to the dspbridge driver. Signed-off-by: Ionut Nicu --- .../tidspbridge/include/dspbridge/utildefs.h | 39 drivers/staging/tidspbridge/pmgr/cmm.c |9 + 2 files changed, 1 insertions(+), 47 deletions(-)

[PATCH v3 01/12] staging: tidspbridge: remove gs memory allocator

2010-11-21 Thread Ionut Nicu
Remove unnecessary wrappers for linux kernel memory allocation primitives. Signed-off-by: Ionut Nicu --- drivers/staging/tidspbridge/Makefile |2 +- drivers/staging/tidspbridge/gen/gb.c | 11 +-- drivers/staging/tidspbridge/gen/gh.c | 38 ++--

[PATCH v3 00/12] staging: tidspbridge: various cleanups

2010-11-21 Thread Ionut Nicu
This set of patches replaces some of the redundant components of the tidspbridge driver, such as: * wrapper functions for kmalloc/kfree * custom bitmap implementation * custom linked list implementation (list_head wrapper) with the standard linux kernel interfaces. The patches also do some code