[PATCH 0/3] OMAP: DSS2: DISPC register definition clean up

2011-05-06 Thread Archit Taneja
With more overlays and overlay managers on OMAP4, and more coming in future OMAPs, the current way of defining the DISPC overlay and manager register offsets through macros isn't scalable. Introduce a new dispc.h header which contains Macros for common DISPC registers and inline functions for

[PATCH 1/3] OMAP: DSS2: Clean up DISPC overlay register definitions

2011-05-06 Thread Archit Taneja
Move all DISPC register definitions to a new header dispc.h. There are separate register offset definitions for GFX, VID1 and VID2 pipeline share register definitions by using an argument. The introduction of VID3 pipeline on OMAP4 will not let us use the above method since VID3 pipe register

[PATCH 2/3] OMAP: DSS2: Clean up DISPC overlay manager register definitions

2011-05-06 Thread Archit Taneja
Represent manager/channel specific DISPC registers as inline functions returning the required dispc_reg struct. This is done since the current method is not scalable as the number of overlay managers increase in number. Signed-off-by: Archit Taneja arc...@ti.com ---

[PATCH 3/3] OMAP: DSS2: Remove usage of struct dispc_reg

2011-05-06 Thread Archit Taneja
struct dispc_reg was originally used while migrating from old omapfb to catch cases where the arguments to dispc_read_reg/dispc_write_reg were in wrong order, since old omapfb had the arguments in reverse order. Remove this struct and use u16 instead Signed-off-by: Archit Taneja arc...@ti.com

Re: [PATCH 1/8] OMAP PM: create a PM layer plugin for per-device constraints

2011-05-06 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [110505 08:56]: So the problem is patches 1 8 in this series. The rest is just fine as it's the necessary omap hardware specific implementation. Sorry, patches 1 7 I mean. Tony -- To unsubscribe from this list: send the line unsubscribe linux-omap in the

Re: [PATCH 01/22] OMAP: sDMA: descriptor autoloading feature

2011-05-06 Thread Tony Lindgren
Hi, * Adrian Hunter adrian.hun...@nokia.com [110505 14:48]: From: Venkatraman S svenk...@ti.com Add sDMA driver support for descriptor autoloading feature. Descriptor autoloading is OMAP sDMA v5 hardware capability that can be exploited for scatter gather scenarios, currently available

Re: [PATCH] omap: fix build when MTD_NAND_OMAP2 and TOUCHSCREEN_ADS7846 are disabled

2011-05-06 Thread Tony Lindgren
* Oleg Drokin gr...@linuxhacker.ru [110504 08:59]: Hello! On May 4, 2011, at 9:27 AM, Mike Rapoport wrote: Commits 5e6a64b36ce346b7a2d481ef9fa315290eb28e5e (omap: move detection of NAND CS to common-board-devices) and 96974a249b0cf3537f49115a59be67e2c54f315c (omap: consolidate touch

Re: [PATCH] omap : nand : fix subpage ecc issue with prefetch

2011-05-06 Thread Vimal Singh
On Fri, May 6, 2011 at 12:18 AM, Artem Bityutskiy dedeki...@gmail.com wrote: On Mon, 2011-05-02 at 16:40 +0530, Kishore Kadiyala wrote: For prefetch engine, read and write  got broken in commit '2c01946c'. We never hit a scenario of not getting 'gpmc_prefetch_enable' call success. When

Re: Common clock and dvfs

2011-05-06 Thread MyungJoo Ham
On Fri, May 6, 2011 at 6:08 AM, Cousson, Benoit b-cous...@ti.com wrote: [] Devices will indeed never care about voltage directly, but that will happen indirectly because of: - voltage domains dependency: Changing the MPU or IVA voltage domain might force the CORE voltage to increase its

Re: [PATCH 08/22] mmc: omap_hsmmc: correct debug report error status mnemonics

2011-05-06 Thread S, Venkatraman
On Thu, May 5, 2011 at 5:21 PM, Adrian Hunter adrian.hun...@nokia.com wrote: CERR and BADA were in the wrong place and there are only 32 not 35. Signed-off-by: Adrian Hunter adrian.hun...@nokia.com ---  drivers/mmc/host/omap_hsmmc.c |   19 +++  1 files changed, 11

[RFC/PATCH] OMAP PM: remove OMAP_PM_NONE config option

2011-05-06 Thread Jean Pihet
The current code base is not linking with the OMAP_PM_NONE option set. Since the option OMAP_PM_NOOP provides a no-op/debug layer, OMAP_PM_NONE can be removed. OMAP_PM_NOOP is enabled by default by Kconfig. Signed-off-by: Jean Pihet j-pi...@ti.com --- arch/arm/plat-omap/Kconfig|

Re: [RFC/PATCH] OMAP PM: remove OMAP_PM_NONE config option

2011-05-06 Thread Jean Pihet
Please note that this code is based on khilman's for_2.6.40/pm-cleanup branch. Jean On Fri, May 6, 2011 at 11:11 AM, Jean Pihet jean.pi...@newoldbits.com wrote: The current code base is not linking with the OMAP_PM_NONE option set. Since the option OMAP_PM_NOOP provides a no-op/debug layer,

[PATCH V2 10/16] OMAP: board-rm680: set MMC nomux flag

2011-05-06 Thread Adrian Hunter
Let the bootloader do all the pad configuration. Signed-off-by: Adrian Hunter adrian.hun...@nokia.com --- arch/arm/mach-omap2/board-rm680.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-rm680.c b/arch/arm/mach-omap2/board-rm680.c index

[PATCH V2 11/16] mmc: omap_hsmmc: ensure pbias configuration is always done

2011-05-06 Thread Adrian Hunter
Go through the driver's set_power() functions rather than calling regulator_enable/disable() directly because otherwise pbias configuration for MMC1 is not done. Signed-off-by: Adrian Hunter adrian.hun...@nokia.com --- drivers/mmc/host/omap_hsmmc.c | 17 - 1 files changed, 8

[PATCH V2 04/16] mmc: omap_hsmmc: reduce a bit the error handlers in probe()

2011-05-06 Thread Adrian Hunter
From: Andy Shevchenko ext-andriy.shevche...@nokia.com Signed-off-by: Andy Shevchenko ext-andriy.shevche...@nokia.com Signed-off-by: Adrian Hunter adrian.hun...@nokia.com --- drivers/mmc/host/omap_hsmmc.c | 17 ++--- 1 files changed, 6 insertions(+), 11 deletions(-) diff --git

[PATCH V2 12/16] mmc: omap_hsmmc: fix oops in omap_hsmmc_dma_cb

2011-05-06 Thread Adrian Hunter
In the case of an I/O error, the DMA will have been cleaned up in the MMC interrupt and the request structure pointer will be null. In that case, it is essential to check if the DMA DMA is over before dereferencing host-mrq-data. Oops as follows: 3[ 2293.695281] wl1271: ERROR sdio read failed

[PATCH V2 07/16] mmc: omap_hsmmc: fix few bugs when set the clock divisor

2011-05-06 Thread Adrian Hunter
From: Andy Shevchenko ext-andriy.shevche...@nokia.com There are two pieces of code which similar, but not the same. Each of them contains a bug. The SYSCTL register should be read before write in the omap_hsmmc_context_restore() to remain the state of the reserved bits. Before set the clock

[PATCH V2 05/16] mmc: omap_hsmmc: split duplicate code to calc_divisor() function

2011-05-06 Thread Adrian Hunter
From: Andy Shevchenko ext-andriy.shevche...@nokia.com There are two places where the same calculations are done. Let's split them to separate function. In addition the new function is simplified by usage DIV_ROUND_UP kernel macro. Signed-off-by: Andy Shevchenko ext-andriy.shevche...@nokia.com

[PATCH V2 06/16] mmc: omap_hsmmc: introduce start_clock and re-use stop_clock

2011-05-06 Thread Adrian Hunter
From: Andy Shevchenko ext-andriy.shevche...@nokia.com There is similar piece of code in two functions which enables clock. Split this code to omap_hsmmc_start_clock(). Re-use omap_hsmmc_stop_clock() in omap_hsmmc_context_restore() as well. Signed-off-by: Andy Shevchenko

[PATCH V2 00/16] omap_hsmmc patches

2011-05-06 Thread Adrian Hunter
Hi Here is V2 of some patches for omap_hsmmc. Changes in V2: OMAP: sDMA: descriptor autoloading feature - removed the feature entirely as per Tony Lindgren mmc: omap_hsmmc: fix few bugs when set the clock divisor - added cpu_relax() as per

[PATCH V2 02/16] mmc: omap_hsmmc: correct debug report error status mnemonics

2011-05-06 Thread Adrian Hunter
CERR and BADA were in the wrong place and there are only 32 not 35. Signed-off-by: Adrian Hunter adrian.hun...@nokia.com Reviewed-by: Venkatraman S svenk...@ti.com --- drivers/mmc/host/omap_hsmmc.c | 19 +++ 1 files changed, 11 insertions(+), 8 deletions(-) diff --git

[PATCH V2 15/16] OMAP: hsmmc: add platform data for eMMC hardware reset gpio

2011-05-06 Thread Adrian Hunter
eMMC may have a hardware reset line connected to a gpio, so pass it to the driver. Signed-off-by: Adrian Hunter adrian.hun...@nokia.com --- arch/arm/mach-omap2/hsmmc.c |5 + arch/arm/mach-omap2/hsmmc.h |1 + arch/arm/plat-omap/include/plat/mmc.h |1 + 3 files

[PATCH V2 01/16] mmc: omap_hsmmc: fix missing mmc_release_host() in no_off case

2011-05-06 Thread Adrian Hunter
From: Sudhir Bera ext-sudhir.b...@nokia.com In fact the no_off check here will not be hit because 'omap_hsmmc_disabled_to_sleep()' won't schedule a deeper disable in the no_off case. Signed-off-by: Sudhir Bera ext-sudhir.b...@nokia.com Signed-off-by: Adrian Hunter adrian.hun...@nokia.com ---

[PATCH V2 03/16] mmc: omap_hsmmc: move hardcoded frequency constants to definition block

2011-05-06 Thread Adrian Hunter
From: Andy Shevchenko ext-andriy.shevche...@nokia.com Move the min and max frequency constants to the definition block in the source file. Signed-off-by: Andy Shevchenko ext-andriy.shevche...@nokia.com Signed-off-by: Adrian Hunter adrian.hun...@nokia.com --- drivers/mmc/host/omap_hsmmc.c |6

[PATCH V2 09/16] OMAP: hsmmc: Do not mux the slot if non default muxing is already done

2011-05-06 Thread Adrian Hunter
From: Jarkko Lavinen jarkko.lavi...@nokia.com Allow the bootloader do all the muxing. Signed-off-by: Jarkko Lavinen jarkko.lavi...@nokia.com Signed-off-by: Adrian Hunter adrian.hun...@nokia.com --- arch/arm/mach-omap2/hsmmc.c |3 ++- arch/arm/mach-omap2/hsmmc.h |1 + 2 files changed, 3

[PATCH V2 08/16] mmc: omap_hsmmc: split same pieces of code to separate functions

2011-05-06 Thread Adrian Hunter
From: Andy Shevchenko ext-andriy.shevche...@nokia.com There are few places with the same functionality. This patch creates two functions omap_hsmmc_set_bus_width() and omap_hsmmc_set_bus_mode() to do the job. Signed-off-by: Andy Shevchenko ext-andriy.shevche...@nokia.com Signed-off-by: Adrian

[PATCH V2 13/16] OMAP: hsmmc: implement clock switcher

2011-05-06 Thread Adrian Hunter
From: Andy Shevchenko ext-andriy.shevche...@nokia.com There are 3 new platform data methods which should help us to do a clock switching when notification is happened or request is started. The purpose of the patch is to avoid high frequency of MMC controller on low OPPs due to an HW bug in OMAP

Re: [PATCH v2 11/12] OMAP: Serial: Use resume call from prcm to enable uart

2011-05-06 Thread Govindraj
On Thu, May 5, 2011 at 8:28 PM, Kevin Hilman khil...@ti.com wrote: Govindraj govindraj...@gmail.com writes: [...] ... this is just putting back basically the same thing that was removed in patch 1.  IOW, this is now being checked for *every* PRCM wakeup, which is no different than having

[PATCH V2 16/16] mmc: omap_hsmmc: add a hardware reset before initialization

2011-05-06 Thread Adrian Hunter
After a warm restart, an eMMC which cannot be powered off is in an unknown state, so reset it to be sure it will initialize. Signed-off-by: Adrian Hunter adrian.hun...@nokia.com --- drivers/mmc/host/omap_hsmmc.c | 38 +- 1 files changed, 37 insertions(+), 1

[PATCH V2 14/16] mmc: omap_hsmmc: adjust host controller clock in regard to current OPP

2011-05-06 Thread Adrian Hunter
From: Andy Shevchenko ext-andriy.shevche...@nokia.com We should like to adjust MMC host controller clock whenever the OPP is changed. OPP affects to L3/L4 bus frequency. Due to this we update the maximum frequency limits before each upcoming request and when the divisor is calculated.

[PATCH 2/2] OMAP2+: hwmod: Add API to check IO PAD wakeup status

2011-05-06 Thread Govindraj.R
Add API to determine IO-PAD wakeup event status for a given hwmod dynamic_mux pad. Signed-off-by: Govindraj.R govindraj.r...@ti.com --- arch/arm/mach-omap2/mux.c| 28 ++ arch/arm/mach-omap2/mux.h| 13

[PATCH 0/2] OMAP2+: hwmod: Add hwmod's API's for pad wakeup

2011-05-06 Thread Govindraj.R
Add two API's to set IO Pad wakeup capability based on hwmod mux pins available and also to check the status of IO Pad wakeup event. This two patches are separated from uart_runtime patches posted earlier and uart_runtime adaptation relies on these two API's. Based on 2.6.39-rc6 Reference to

[PATCH 1/2] OMAP2+: hwmod: Add API to enable IO ring wakeup.

2011-05-06 Thread Govindraj.R
Add API to enable IO pad wakeup capability based on mux dynamic pad and wake_up enable flag available from hwmod_mux initialization. Use the wakeup_enable flag and enable wakeup capability for the given pads. Wakeup capability will be enabled/disabled during hmwod idle transition based on whether

Re: [PATCH V2 04/16] mmc: omap_hsmmc: reduce a bit the error handlers in probe()

2011-05-06 Thread Varadarajan, Charulatha
On Fri, May 6, 2011 at 14:44, Adrian Hunter adrian.hun...@nokia.com wrote: From: Andy Shevchenko ext-andriy.shevche...@nokia.com Add patch description here. Signed-off-by: Andy Shevchenko ext-andriy.shevche...@nokia.com Signed-off-by: Adrian Hunter adrian.hun...@nokia.com ---  

Re: [PATCH V2 04/16] mmc: omap_hsmmc: reduce a bit the error handlers in probe()

2011-05-06 Thread Andy Shevchenko
On Fri, May 6, 2011 at 2:34 PM, Varadarajan, Charulatha ch...@ti.com wrote: On Fri, May 6, 2011 at 14:44, Adrian Hunter adrian.hun...@nokia.com wrote: From: Andy Shevchenko ext-andriy.shevche...@nokia.com Add patch description here. You mean something like following: The code contains

[PATCH v10 0/7] MFD: TWL4030: power script and workaround for erratum 27

2011-05-06 Thread Lesly A M
Patch series for TWL4030 power scripts for OMAP3 boards and workaround for TWL erratum 27. Changes for implementing TWL4030 power scripts recommended by hardware team. Introduced a new TWL4030 power script file, which can be used by different OMAP3 board with the power companion chip TWL4030.

[PATCH v10 1/7] MFD: TWL4030: Fix for the TWL4030 sleep/wakeup sequence

2011-05-06 Thread Lesly A M
Only configure sleep script when the flag is TWL4030_SLEEP_SCRIPT. Adding the missing brackets for fixing the issue. Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- drivers/mfd/twl4030-power.c |

[PATCH v10 2/7] MFD: TWL4030: Correct the warning print during script loading

2011-05-06 Thread Lesly A M
Correcting the if condition check for printing the warning, if wakeup script is not updated before updating the sleep script. Since the flag 'order' is set to '1' while updating the wakeup script for P1P2, the condition checking for printing the warning should be if(!order) (ie: print the warning

[PATCH v10 3/7] MFD: TWL4030: Modifying the macro name Main_Ref to all caps

2011-05-06 Thread Lesly A M
Modifying the macro name Main_Ref to all caps(MAIN_REF). Suggested by Nishanth Menon n...@ti.com Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- arch/arm/mach-omap2/board-rx51-peripherals.c |

[PATCH v10 4/7] MFD: TWL4030: power scripts for OMAP3 boards

2011-05-06 Thread Lesly A M
Power bus message sequence for TWL4030 to enter sleep/wakeup/warm_reset. TWL4030 power scripts which can be used by different OMAP3 boards with the power companion chip (TWL4030 series). The twl4030 generic script can be used by any board file to update the power data in twl4030_platform_data.

[PATCH v10 7/7] MFD: TWL4030: optimizing resource configuration

2011-05-06 Thread Lesly A M
Skip the i2c register writes in twl4030_configure_resource() if the new value is same as the old value, for devgrp/type/remap regs. Suggested by David Derrick dderr...@ti.com Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz

[PATCH v10 6/7] MFD: TWL4030: workaround changes for Erratum 27

2011-05-06 Thread Lesly A M
Workaround for TWL5030 Silicon Errata 27 28: 27 - VDD1, VDD2, may have glitches when their output value is updated. 28 - VDD1 and / or VDD2 DCDC clock may stop working when internal clock is switched from internal to external. Erratum 27: If the DCDC

[PATCH v10 5/7] MFD: TWL4030: TWL version checking

2011-05-06 Thread Lesly A M
Added API to get the TWL5030 Si version from the IDCODE register. It is used for enabling the workaround for TWL erratum 27. Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- drivers/mfd/twl-core.c

Re: [PATCH V2 16/16] mmc: omap_hsmmc: add a hardware reset before initialization

2011-05-06 Thread Varadarajan, Charulatha
Hi, On Fri, May 6, 2011 at 14:44, Adrian Hunter adrian.hun...@nokia.com wrote: After a warm restart, an eMMC which cannot be powered off is in an unknown state, so reset it to be sure it will initialize. Signed-off-by: Adrian Hunter adrian.hun...@nokia.com ---  drivers/mmc/host/omap_hsmmc.c

Re: Module + offset calculations have to be signed in arch/arm/mach-omap2/pm-debug.c

2011-05-06 Thread Peter Barada
On 05/05/2011 02:16 PM, Kevin Hilman wrote: In any case, you've found a real bug, and your patch is valid. However, it doesn't currently apply to mainline, and it looks like it's because your patch is using spaces and the code being patched is using tabs. Also, you can simplify the changelog

Re: [RFC/PATCH] OMAP PM: remove OMAP_PM_NONE config option

2011-05-06 Thread Paul Walmsley
Salut Jean On Fri, 6 May 2011, Jean Pihet wrote: The current code base is not linking with the OMAP_PM_NONE option set. Since the option OMAP_PM_NOOP provides a no-op/debug layer, OMAP_PM_NONE can be removed. OMAP_PM_NOOP is enabled by default by Kconfig. Signed-off-by: Jean Pihet

Re: Common clock and dvfs

2011-05-06 Thread Paul Walmsley
Not that this is particularly related to DVFS, but: On Thu, 5 May 2011, Colin Cross wrote: On Thu, May 5, 2011 at 2:08 PM, Cousson, Benoit b-cous...@ti.com wrote: Colin Cross wrote: omap_hwmod is entirely omap specific, and any generic solution cannot be based on it. For the

Re: [RFC/PATCH] OMAP PM: remove OMAP_PM_NONE config option

2011-05-06 Thread Jean Pihet
Hi Paul, On Fri, May 6, 2011 at 6:16 PM, Paul Walmsley p...@pwsan.com wrote: Salut Jean On Fri, 6 May 2011, Jean Pihet wrote: The current code base is not linking with the OMAP_PM_NONE option set. Since the option OMAP_PM_NOOP provides a no-op/debug layer, OMAP_PM_NONE can be removed.

[PATCH] OMAP2: CONFIG_TOUCHSCREEN_ADS7846 XOR CONFIG_MTD_NAND_OMAP2 breaks build

2011-05-06 Thread Matthias Scheer
#ifdef clauses in arch/arm/mach-omap2/common-board-devices.h header file broke kernel build when configured with CONFIG_TOUCHSCREEN_ADS7846 (XOR) CONFIG_MTD_NAND_OMAP2 quick and dirty fix by using #ifdef clauses in the code file, too --- arch/arm/mach-omap2/common-board-devices.c |7 +++

Re: Module + offset calculations have to be signed in arch/arm/mach-omap2/pm-debug.c

2011-05-06 Thread Kevin Hilman
Hi Peter, Peter Barada peter.bar...@gmail.com writes: On 05/05/2011 02:16 PM, Kevin Hilman wrote: In any case, you've found a real bug, and your patch is valid. However, it doesn't currently apply to mainline, and it looks like it's because your patch is using spaces and the code being

[PATCH v2] omap: fix build when MTD_NAND_OMAP2 and TOUCHSCREEN_ADS7846 are disabled

2011-05-06 Thread Mike Rapoport
Commits 5e6a64b36ce346b7a2d481ef9fa315290eb28e5e (omap: move detection of NAND CS to common-board-devices) and 96974a249b0cf3537f49115a59be67e2c54f315c (omap: consolidate touch screen initialization among different boards) break compilation when CONFIG_MTD_NAND_OMAP2 and CONFIG_TOUCHSCREEN_ADS7846

Re: [RFC/PATCH] OMAP PM: remove OMAP_PM_NONE config option

2011-05-06 Thread Paul Walmsley
On Fri, 6 May 2011, Jean Pihet wrote: I checked the patch against the master branch of both Tony's and Linus's trees, it applies and compiles OK. Is that OK to you? If it applies cleanly against Linus's current tree, then yes, that's fine. - Paul -- To unsubscribe from this list: send the

Re: [PATCH v4 1/4] OMAP2+: PM: omap device: API's for handling mstandby mode

2011-05-06 Thread Paul Walmsley
On Mon, 28 Mar 2011, G, Manjunath Kondaiah wrote: Certain errata in OMAP2+ processors will require forcing master standby to no standby mode before completing on going operation. Without this, the results will be unpredictable. Thanks, I've queued this one (provisionally) for 2.6.40, assuming

Re: [PATCH 1/2] OMAP2+: hwmod: Add API to enable IO ring wakeup.

2011-05-06 Thread Paul Walmsley
Hi some comments On Fri, 6 May 2011, Govindraj.R wrote: Add API to enable IO pad wakeup capability based on mux dynamic pad and wake_up enable flag available from hwmod_mux initialization. Use the wakeup_enable flag and enable wakeup capability for the given pads. Wakeup capability will

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

2011-05-06 Thread Paul Walmsley
On Thu, 21 Apr 2011, Gulati, Shweta wrote: Yes, but in current code clk_set_rate of dpll3_m2 - 'omap3_core_dpll_m2_set_rate' doesn't update clk.rate, I will submit patch fixing that bug and will make sure that set_rate of all clocks should update clk.rate Ping. Do you plan to post this

Re: Your Unsubscribe Request to us...@tortoisesvn.tigris.org

2011-05-06 Thread admin
This is to inform you that your recent unsubscribe request was unsuccessful. This is probably because we could find no current subscription in your name. -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo