Re: [PATCH 00/19] OMAP: DSS2: ULPS support

2011-04-20 Thread Tomi Valkeinen
On Wed, 2011-04-20 at 11:13 +0530, Archit Taneja wrote: On Tuesday 19 April 2011 02:52 PM, Valkeinen, Tomi wrote: ULPS (Ultra-Low Power State) is a power saving method for DSI bus. When the ULPS is entered, the host sends an ULPS entry sequence and pulls the DSI lines down. On ULPS exit,

[RFC PATCH V3 0/4] cpuidle: global registration of idle states with per-cpu statistics

2011-04-20 Thread Trinabh Gupta
The core change in this series is to split the cpuidle_device structure into parts that can be global and parts that has to remain per-cpu. The per-cpu pieces are mostly generic statistics that can be independent of current running driver. As a result of these changes, there is single copy of

[RFC PATCH V3 1/4] cpuidle: Move dev-last_residency update to driver enter routine; remove dev-last_state

2011-04-20 Thread Trinabh Gupta
Cpuidle subsystem only suggests the state to enter and does not guarantee if the suggested state is entered. The actual entered state may be different because of software or hardware demotion. Software demotion is done by the back-end cpuidle driver and can be accounted correctly. Current cpuidle

[RFC PATCH V3 3/4] Split cpuidle_state structure and move per-cpu statistics fields

2011-04-20 Thread Trinabh Gupta
This is the first step towards global registration of cpuidle states. The statistics used primarily by the governor are per-cpu and have to be split from rest of the fields inside cpuidle_state, which would be made global i.e. single copy. The driver_data field is also per-cpu and moved.

[RFC PATCH V3 4/4] cpuidle: Single/Global registration of idle states

2011-04-20 Thread Trinabh Gupta
With this patch there is single copy of cpuidle_states structure instead of per-cpu. The statistics needed on per-cpu basis by the governor are kept per-cpu. This simplifies the cpuidle subsystem as state registration is done by single cpu only. Having single copy of cpuidle_states saves memory.

Re: The old omapfb support

2011-04-20 Thread Tomi Valkeinen
On Tue, 2011-04-19 at 14:45 +0200, Michael Büsch wrote: On Tue, 2011-04-19 at 15:41 +0300, Tomi Valkeinen wrote: On Tue, 2011-04-19 at 14:34 +0200, Michael Büsch wrote: On Tue, 2011-04-19 at 15:30 +0300, Tony Lindgren wrote: But this again reminded me of the mess of having two display

Re: [PATCH v3] ARM: omap2: mtd split nand_scan in ident and tail

2011-04-20 Thread Artem Bityutskiy
On Tue, 2011-04-19 at 16:15 +0200, Jan Weitzel wrote: nand_scan calls nand_scan_tail and here we got a ecc.layout and calculate oobavail for this layout. After calling nand_scan, we change the layout pointer if OMAP_ECC_HAMMING_CODE_HW_ROMCODE is set. This results in not calcluated oobavail.

[PATCH] OMAP: Added recalculation of clock rate in 'clk_set_rate'

2011-04-20 Thread Shweta Gulati
From: Gulati, Shweta shweta.gul...@ti.com Core Clk Tree shows incorrect Clk rates at OPP50, as in commit e07f469d284ca3d1f5dcf5438c22982be98bc071 calling of 'recalc' in API clk_set_rate is unintentionally removed, because of which clock's tree rates get goofed up when DVFS happens. This Patch

[PATCH 0/4] crypto: omap-sham driver fixes

2011-04-20 Thread Dmitry Kasatkin
Hi, Here is few patches with couple of important fixes... Regards, Dmitry Dmitry Kasatkin (3): crypto: omap-sham - remove debug print crypto: omap-sham - enable driver for EMU chips crypto: omap-sham - hmac calculation bug fix for sha1 base hash Markku Kylanpaa (1): crypto: omap-sham -

[PATCH 3/4] crypto: omap-sham - enable driver for EMU chips

2011-04-20 Thread Dmitry Kasatkin
EMU chips also have crypto HW as HS chips. Signed-off-by: Dmitry Kasatkin dmitry.kasat...@nokia.com --- drivers/crypto/omap-sham.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/crypto/omap-sham.c b/drivers/crypto/omap-sham.c index 50aca41..f5c01dc 100644 ---

[PATCH 2/4] crypto: omap-sham - remove debug print

2011-04-20 Thread Dmitry Kasatkin
Signed-off-by: Dmitry Kasatkin dmitry.kasat...@nokia.com --- drivers/crypto/omap-sham.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/omap-sham.c b/drivers/crypto/omap-sham.c index e36032b..50aca41 100644 --- a/drivers/crypto/omap-sham.c +++

[PATCH 1/4] crypto: omap-sham - fix concurrent sha1 calculations

2011-04-20 Thread Dmitry Kasatkin
From: Markku Kylanpaa ext-markku.kylan...@nokia.com SHA1 accelerator can also be busy. Add -EBUSY status return option and return busy status from omap_sham_finup(). Signed-off-by: Markku Kylanpaa ext-markku.kylan...@nokia.com --- drivers/crypto/omap-sham.c |2 +- 1 files changed, 1

RE: [PATCH v3 2/2] RX-51: Enable isp1704 power on/off

2011-04-20 Thread kalle.jokiniemi
Thanks for the ack. Now can we get this patch set in? Anton are you reading this? If you need refreshed set, I can do that. - Kalle -Original Message- From: ext Tony Lindgren [mailto:t...@atomide.com] Sent: 13. huhtikuuta 2011 9:29 To: Krogerus Heikki (Nokia-SD/Helsinki) Cc:

RE: [PATCH v3 2/2] RX-51: Enable isp1704 power on/off

2011-04-20 Thread kalle.jokiniemi
-Original Message- From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb- ow...@vger.kernel.org] On Behalf Of ext kalle.jokini...@nokia.com Sent: 20. huhtikuuta 2011 13:38 To: t...@atomide.com; Krogerus Heikki (Nokia-SD/Helsinki); cbouatmai...@gmail.com Cc:

Re: The old omapfb support

2011-04-20 Thread Michael Büsch
On Wed, 2011-04-20 at 11:06 +0300, Tomi Valkeinen wrote: So if you first port the stuff and then add the depends-on OMAP1, I'm fine with it. Does the display even work on N8x0 with mainline kernel? I don't see any code for it in the board file. It needs some additional glue code, which

Re: The old omapfb support

2011-04-20 Thread Tomi Valkeinen
On Wed, 2011-04-20 at 13:18 +0200, Michael Büsch wrote: On Wed, 2011-04-20 at 11:06 +0300, Tomi Valkeinen wrote: So if you first port the stuff and then add the depends-on OMAP1, I'm fine with it. Does the display even work on N8x0 with mainline kernel? I don't see any code for it

Re: The old omapfb support

2011-04-20 Thread Michael Büsch
On Wed, 2011-04-20 at 14:31 +0300, Tomi Valkeinen wrote: On Wed, 2011-04-20 at 13:18 +0200, Michael Büsch wrote: On Wed, 2011-04-20 at 11:06 +0300, Tomi Valkeinen wrote: So if you first port the stuff and then add the depends-on OMAP1, I'm fine with it. Does the display even

Monitoring uevents at the user space

2011-04-20 Thread J, KEERTHY
Hello All, I am writing a driver for OMAP4460 thermal sensor. I have a requirement to send events to the user space from the driver on some condition. I am using kobject_uevent(temp_sensor-dev-kobj, KOBJ_ADD) as part of initialization. On the occurrence of the event i am notifying via

RE: [PATCH] OMAP: Added recalculation of clock rate in 'clk_set_rate'

2011-04-20 Thread Janorkar, Mayuresh
-Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Gulati, Shweta Sent: Wednesday, April 20, 2011 2:55 PM To: linux-omap@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org; Gulati, Shweta; Nayak, Rajendra; Paul

copy_to_user speed from dma_alloc_coherent vs. kmalloc buffer

2011-04-20 Thread Orjan Friberg
Hi, I have a driver where I do memory to memory DMA between GPMC and SDRAM. Adding a read function, I found that copy_to_user from a dma_alloc_coherent buffer is significantly slower than from a kmalloc'd one. Looking at arch/arm/include/asm/pgtable.h I suspect this difference in speed is

Re: RX-51: Platform support for lp5523

2011-04-20 Thread Tony Lindgren
* Felipe Balbi ba...@ti.com [110405 06:00]: But the fact that Russell has already stated the next merge window is strictly for code consolidation already puts a stop sign in front of this patch :-) Still, Tony is the final judge. Yes this would be for the next merge window. It is still

Re: [PATCH v2] arm: omap2: enable smc instruction for sleep34xx

2011-04-20 Thread Tony Lindgren
* oskar.and...@sonyericsson.com oskar.and...@sonyericsson.com [110419 07:39]: This fixes broken build when using binutils 2.21. Thanks will queue for the -rc cycle. Tony -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org

Re: [PATCH] OMAP: Added recalculation of clock rate in 'clk_set_rate'

2011-04-20 Thread Sergei Shtylyov
Hello. On 20-04-2011 13:25, Shweta Gulati wrote: From: Gulati, Shwetashweta.gul...@ti.com Core Clk Tree shows incorrect Clk rates at OPP50, as in commit e07f469d284ca3d1f5dcf5438c22982be98bc071 Please also specify that commit's summary -- for human readers. calling of 'recalc' in API

Re: Monitoring uevents at the user space

2011-04-20 Thread Menon, Nishanth
On Wed, Apr 20, 2011 at 07:04, J, KEERTHY j-keer...@ti.com wrote: Hello All, I am writing a driver for OMAP4460 thermal sensor. I have a requirement to send events to the user space from the driver on some condition. I am using kobject_uevent(temp_sensor-dev-kobj, KOBJ_ADD) as part of

Re: copy_to_user speed from dma_alloc_coherent vs. kmalloc buffer

2011-04-20 Thread Orjan Friberg
On 2011-04-20 17:12, Orjan Friberg wrote: What are my options (besides using mmap)? It looks like kmalloc + dma_map_single for the DMA destination buffer and then dma_sync_single_for_{cpu,device} around the call to copy_to_user pretty much does the trick. At least the %sys load measured

[PATCH] arm: omap2plus: add wl12xx support in omap4plus_defconfig

2011-04-20 Thread Luciano Coelho
Many omap2plus-based boards include wireless chips supported by the wl12xx driver (eg. WL1271 on Blaze and Panda) or can get an extension that includes such chips (eg. the WLAN daugther card for Beagle). To get out-of-the-box support for the wl12xx-based chips on such boards, this patch adds the

Re: [PATCH v3 2/2] RX-51: Enable isp1704 power on/off

2011-04-20 Thread Anton Vorontsov
On Wed, Apr 20, 2011 at 10:56:51AM +, kalle.jokini...@nokia.com wrote: Thanks for the ack. Now can we get this patch set in? Anton are you reading this? Let's try another mail address for Anton... Sorry for the delay, folks. The two patches are now applied. Much thanks for your

Re: [linux-pm] [RFC PATCH V3 1/4] cpuidle: Move dev-last_residency update to driver enter routine; remove dev-last_state

2011-04-20 Thread Kevin Hilman
Trinabh Gupta trin...@linux.vnet.ibm.com writes: Cpuidle subsystem only suggests the state to enter and does not guarantee if the suggested state is entered. The actual entered state may be different because of software or hardware demotion. Software demotion is done by the back-end cpuidle

Re: [linux-pm] [RFC PATCH V3 4/4] cpuidle: Single/Global registration of idle states

2011-04-20 Thread Kevin Hilman
Trinabh Gupta trin...@linux.vnet.ibm.com writes: With this patch there is single copy of cpuidle_states structure instead of per-cpu. The statistics needed on per-cpu basis by the governor are kept per-cpu. This simplifies the cpuidle subsystem as state registration is done by single cpu

Re: [PATCH 2/2] OMAP2/3: hwmod: fix gpio-reset timeouts seen during bootup.

2011-04-20 Thread Paul Walmsley
Thanks, queued for 2.6.39-rc. - Paul -- 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

Re: [PATCH 0/2] Couple of fixes regarding CM_AUTOIDLE_PLL register

2011-04-20 Thread Paul Walmsley
Thanks, queued both of these for 2.6.39-rc. - Paul -- 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

RE: [PATCH 2/2] OMAP3: PM: Do not rely on ROM code to restore CM_AUTOIDLE_PLL.AUTO_PERIPH_DPLL

2011-04-20 Thread Paul Walmsley
Hi On Thu, 14 Apr 2011, Premi, Sanjeev wrote: [sp] You seem to have missed this patch: http://marc.info/?l=linux-arm-kernelm=129735383925285w=2 I asked Eduardo to post his patches because there was no response to http://marc.info/?l=linux-arm-kernelm=129961775124912w=2 and because he

Re: [PATCH] OMAP4: clockdomain: Follow recommended enable sequence

2011-04-20 Thread Paul Walmsley
Hi Rajendra, Santosh, just FYI I just observed this happening without the clockdomain patch, and tracked this down. It seems that there is an intermittent problem with the OMAP L3 bus code. On the 35xx BeagleBoard here, it occasionally hangs after powerup: [0.810119] OMAP GPIO

[PATCH 0/5] OMAP hwmod/PRCM/clock: patches for 2.6.39-rc

2011-04-20 Thread Paul Walmsley
Hello, This series contains OMAP hwmod/PRCM/clock fixes for the 2.6.39-rc merge period. Of particular note is the DSS clock alias patch, without which OMAP4 will crash on boot. Boot-tested on N800, OMAP35xx Beagle, OMAP37xx Beagle, and OMAP4430 ES2 Panda. - Paul --- for_tony_a_2.6.39rc

[PATCH 2/5] OMAP4: clock data: Change DSS clock aliases

2011-04-20 Thread Paul Walmsley
From: Tomi Valkeinen tomi.valkei...@ti.com DSS driver has used fck and ick clocks on OMAP2/3 to get DSS HW up and running, and also to get the pixel clock's source clock rate from the fck. On OMAP4 the clock data is set up in a different way, as there's no ick, dss_fck points to a fake clock

[PATCH 3/5] OMAP2+: PM: Fix the saving of CM_AUTOIDLE_PLL register on scratchpad area

2011-04-20 Thread Paul Walmsley
From: Eduardo Valentin eduardo.valen...@ti.com The saving of CCR.CM_AUTOIDLE_PLL is done in scratchpad area. However, in current code, the saving is done for CM_AUTOIDLE2_PLL (offset 0x34) instead of CM_AUTOIDLE_PLL (offset 0x30). This patch changes the code to save the correct register.

[PATCH 4/5] OMAP3: PM: Do not rely on ROM code to restore CM_AUTOIDLE_PLL.AUTO_PERIPH_DPLL

2011-04-20 Thread Paul Walmsley
From: Eduardo Valentin eduardo.valen...@ti.com As per OMAP3 erratum (i671), ROM code adds extra latencies while restoring CM_AUTOIDLE_PLL register, if AUTO_PERIPH_DPLL is equal to 1. This patch stores 0's in scratchpad content area corresponding to AUTO_PERIPH_DPLL, to prevent ROM code to try to

[PATCH 5/5] OMAP2/3: hwmod: fix gpio-reset timeouts seen during bootup.

2011-04-20 Thread Paul Walmsley
From: Avinash.H.M avinas...@ti.com GPIO module expects the debounce clocks to be enabled during reset. It doesn't reset properly and timeouts are seen, if this clock isn't enabled during reset. Add the HWMOD_CONTROL_OPT_CLKS_IN_RESET flags to the GPIO HWMODs, with which the debounce clocks are

Re: [PATCH] cbus: tahvo: Remove dead code from tahvo-usb.c

2011-04-20 Thread Tony Lindgren
* Felipe Balbi ba...@ti.com [110419 03:02]: On Tue, Apr 19, 2011 at 11:19:53AM +0300, Jarkko Nikula wrote: Looks like this code was ever used. It was added by commit fe3702054f6412aea04373ceb9d27a4a417ff3f0 OMAP: Fix USB on Nokia 770 that can be found from linux-omap history if needed.

Re: [PATCH] OMAP: Added recalculation of clock rate in 'clk_set_rate'

2011-04-20 Thread Paul Walmsley
Hi On Wed, 20 Apr 2011, Shweta Gulati wrote: From: Gulati, Shweta shweta.gul...@ti.com Core Clk Tree shows incorrect Clk rates at OPP50, as in commit e07f469d284ca3d1f5dcf5438c22982be98bc071 calling of 'recalc' in API clk_set_rate is unintentionally removed, That's intentional. struct

[GIT PULL] OMAP hwmod/PRCM/clock: patches for 2.6.39-rc

2011-04-20 Thread Paul Walmsley
Hi Tony The following changes since commit f0e615c3cb72b42191b558c130409335812621d8: Linux 2.6.39-rc4 (2011-04-18 21:26:00 -0700) are available in the git repository at: git://git.pwsan.com/linux-2.6 for_tony_a_2.6.39rc Avinash.H.M (1): OMAP2/3: hwmod: fix gpio-reset timeouts seen

Re: [v2 0/7] OMAP: GPIO: Use PM runtime framework

2011-04-20 Thread Kevin Hilman
Hi Tony, Tony Lindgren t...@atomide.com writes: * Varadarajan, Charulatha ch...@ti.com [110418 18:00]: From: Charulatha V ch...@ti.com Use PM runtime framework in OMAP GPIO driver. ... arch/arm/mach-omap2/gpio.c |6 + arch/arm/mach-omap2/pm34xx.c | 22 +-

[PATCH 0/2] OMAP: GPIO: cleanup: first pass at ifdef removal

2011-04-20 Thread Kevin Hilman
This series is a first pass at the #ifdef removal cleanup. To demonstrate the type of changes needed for the cleanup, the direction and data input/output functions are handled first. Register offset fields are added to platform_data so #ifdefs can be removed. Similar needs to be done for the

[PATCH 1/2] OMAP: GPIO: move register offset defines into gpio.h

2011-04-20 Thread Kevin Hilman
Register offset defines are moved to plat/gpio.h so they can be used by SoC-specific device init code to fill out platform_data register offsets. Signed-off-by: Kevin Hilman khil...@ti.com --- arch/arm/plat-omap/gpio.c | 103

[PATCH 2/2] OMAP: GPIO: consolidate direction, input, output, remove #ifdefs

2011-04-20 Thread Kevin Hilman
Add register offset fields to GPIO platform_data for registers that control direction, input and output data. Using these register offsets in the common driver allows removal of #ifdefs and greatly improves readability. Signed-off-by: Kevin Hilman khil...@ti.com ---

[PATCH] OMAP2+: powerdomain: fix typo: lose context -- loose context

2011-04-20 Thread Kevin Hilman
Before we get any users of this function, fix the name (and comments) to use loose instead of lose. Signed-off-by: Kevin Hilman khil...@ti.com --- Applies to v2.6.39-rc4 arch/arm/mach-omap2/powerdomain.c |6 +++--- arch/arm/mach-omap2/powerdomain.h |2 +- 2 files changed, 4

Re: [PATCH 3/7] OMAP4: GPIO: Save/restore context

2011-04-20 Thread Kevin Hilman
Varadarajan, Charulatha ch...@ti.com writes: From: Charulatha V ch...@ti.com Modify the omap_gpio_save/restore_context to support OMAP4 architecture so that the OMAP GPIO driver need not be modified when OMAP4 off mode support is available. Signed-off-by: Charulatha V ch...@ti.com ---

[PATCH] OMAP: DSS2: DSI: enable interface for omap4

2011-04-20 Thread Vikram Pandita
From: Vikram Pandita vikram.pand...@ti.com By default, the DSI is not getting enabled for omap4. OMAP2PLUS does not catch this issue since it has ARCH_OMAP3. The issue is only seen when using defconfig with ARCH_OMAP4 only. Signed-off-by: Vikram Pandita vikram.pand...@ti.com Cc: Archit Taneja

Re: [linux-pm] [RFC PATCH V3 1/4] cpuidle: Move dev-last_residency update to driver enter routine; remove dev-last_state

2011-04-20 Thread Trinabh Gupta
On 04/20/2011 10:57 PM, Kevin Hilman wrote: Trinabh Guptatrin...@linux.vnet.ibm.com writes: Cpuidle subsystem only suggests the state to enter and does not guarantee if the suggested state is entered. The actual entered state may be different because of software or hardware demotion.

Re: [PATCH] OMAP4: clockdomain: Follow recommended enable sequence

2011-04-20 Thread Santosh Shilimkar
On 4/21/2011 1:12 AM, Paul Walmsley wrote: Hi Rajendra, Santosh, just FYI I just observed this happening without the clockdomain patch, and tracked this down. It seems that there is an intermittent problem with the OMAP L3 bus code. On the 35xx BeagleBoard here, it occasionally hangs after

Re: [linux-pm] [RFC PATCH V3 4/4] cpuidle: Single/Global registration of idle states

2011-04-20 Thread Trinabh Gupta
On 04/20/2011 11:03 PM, Kevin Hilman wrote: Trinabh Guptatrin...@linux.vnet.ibm.com writes: With this patch there is single copy of cpuidle_states structure instead of per-cpu. The statistics needed on per-cpu basis by the governor are kept per-cpu. This simplifies the cpuidle subsystem as

Re: [v2 0/7] OMAP: GPIO: Use PM runtime framework

2011-04-20 Thread Tony Lindgren
* Kevin Hilman khil...@ti.com [110421 02:56]: Hi Tony, Tony Lindgren t...@atomide.com writes: * Varadarajan, Charulatha ch...@ti.com [110418 18:00]: From: Charulatha V ch...@ti.com Use PM runtime framework in OMAP GPIO driver. ... arch/arm/mach-omap2/gpio.c |