Re: [PATCH v7 1/3] Documentation: common clk API

2012-03-21 Thread Mark Brown
On Wed, Mar 21, 2012 at 12:41:41PM -0700, Saravana Kannan wrote: On 03/21/2012 12:33 PM, Tony Lindgren wrote: * Mark Brownbroo...@opensource.wolfsonmicro.com [120321 12:11]: These aren't new APIs, the clock API has been around since forever. I disagree. When I say clock API, I mean the

Re: [PATCH v7 1/3] Documentation: common clk API

2012-03-21 Thread Saravana Kannan
On 03/21/2012 12:56 PM, Mark Brown wrote: On Wed, Mar 21, 2012 at 12:41:41PM -0700, Saravana Kannan wrote: On 03/21/2012 12:33 PM, Tony Lindgren wrote: * Mark Brownbroo...@opensource.wolfsonmicro.com [120321 12:11]: These aren't new APIs, the clock API has been around since forever. I

Re: [PATCH v7 1/3] Documentation: common clk API

2012-03-21 Thread Mark Brown
On Wed, Mar 21, 2012 at 01:04:22PM -0700, Saravana Kannan wrote: Sure, prepare/unprepare are already there in the .h file. But they are stubs and have no impact till we move to the common clock framework or platforms move to them with their own implementation (certainly not happening in

Re: [PATCH] [RFC] Correct registration of multiple gpmc smsc911x devices.

2012-03-21 Thread Russ Dill
On Wed, Mar 21, 2012 at 12:41 PM, Tony Lindgren t...@atomide.com wrote: * Mark Brown broo...@opensource.wolfsonmicro.com [120321 12:41]: On Wed, Mar 21, 2012 at 12:30:47PM -0700, Tony Lindgren wrote: * Mark Brown broo...@opensource.wolfsonmicro.com [120321 12:03]: That should be changed to

[PATCH] staging: omap/drm: dmm should return proper errors

2012-03-21 Thread Rob Clark
From: Rob Clark r...@ti.com Minor error path clean-up. Signed-off-by: Rob Clark r...@ti.com --- drivers/staging/omapdrm/omap_dmm_tiler.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/omapdrm/omap_dmm_tiler.c

Re: [RFC][PATCH 0/7] OMAP4 cpuidle cleanup

2012-03-21 Thread Kevin Hilman
Daniel Lezcano daniel.lezc...@linaro.org writes: On 03/21/2012 02:43 PM, Jean Pihet wrote: On Wed, Mar 21, 2012 at 11:07 AM, Santosh Shilimkar santosh.shilim...@ti.com wrote: Daniel, On Wednesday 21 March 2012 02:57 PM, Daniel Lezcano wrote: This patchset is a proposition to improve a bit

Re: [RFC][PATCH 0/7] OMAP4 cpuidle cleanup

2012-03-21 Thread Daniel Lezcano
On 03/21/2012 10:54 PM, Kevin Hilman wrote: Daniel Lezcanodaniel.lezc...@linaro.org writes: On 03/21/2012 02:43 PM, Jean Pihet wrote: On Wed, Mar 21, 2012 at 11:07 AM, Santosh Shilimkar santosh.shilim...@ti.com wrote: Daniel, On Wednesday 21 March 2012 02:57 PM, Daniel Lezcano wrote:

Re: [PATCH v7 1/3] Documentation: common clk API

2012-03-21 Thread Russell King - ARM Linux
On Wed, Mar 21, 2012 at 12:41:41PM -0700, Saravana Kannan wrote: The meaning of clk_enable/disable has been changed and they won't work without calling clk_prepare/unprepare. So, these are definitely new APIs. If it weren't new APIs, then none of the general drivers would need to change.

Re: arm-soc + rmk's tree boot failure on OMAP4430SDP

2012-03-21 Thread Russ Dill
On Mon, Mar 19, 2012 at 6:59 AM, Tomi Valkeinen tomi.valkei...@ti.com wrote: On Mon, 2012-03-19 at 15:02 +0200, Tomi Valkeinen wrote: I'll see if I can make a single patch that fixes the issue. The patch series I mentioned earlier does lots of things, but I think just moving the driver

[PATCH] ARM: OMAP3+: fix oops triggered in omap_prcm_register_chain_handler(v1)

2012-03-21 Thread Ming Lei
This patch fixes the oops below[1]. Obviously, the count of struct irq_chip_generic instances to be allocated and setup should be irq_setup-nr_regs instead of irq_setup-nr_regs plus one, so just fix the iterator to avoid the oops. [1], oops log. [1.790242] Unable to handle kernel NULL

Re: [PATCH] ARM: OMAP3+: fix oops triggered in omap_prcm_register_chain_handler

2012-03-21 Thread Ming Lei
On Wed, Mar 21, 2012 at 10:13 PM, Kevin Hilman khil...@ti.com wrote: Ming Lei tom.leim...@gmail.com writes: This patch fixes the oos below: As Tero mentioned, please add a bit more description to the changelog about why the iterator is wrong and repost. The revised version has been sent

Re: [PATCH v4 RESEND 6/7] gpio/omap: fix incorrect update to context.irqenable1

2012-03-21 Thread DebBarma, Tarun Kanti
On Wed, Mar 21, 2012 at 7:36 PM, Kevin Hilman khil...@ti.com wrote: DebBarma, Tarun Kanti tarun.ka...@ti.com writes: On Wed, Mar 21, 2012 at 8:10 AM, DebBarma, Tarun Kanti tarun.ka...@ti.com wrote: On Tue, Mar 20, 2012 at 11:31 PM, Kevin Hilman khil...@ti.com wrote: Tarun Kanti DebBarma

Occasional crashes in suspend-resume with MMC transactions

2012-03-21 Thread Bedia, Vaibhav
Hi, I am trying to do suspend-resume test with a file copy on MMC/SD going on in the background. The test involves simply copying a 450MB file on an ext3 partition to the same partition under a different name. This is on an AM335x board which uses the omap_hsmmc driver. The kernel is v3.2 and I

[PATCH v4 RESEND 6/7] gpio/omap: fix incorrect update to context.irqenable1

2012-03-21 Thread Tarun Kanti DebBarma
In _enable_gpio_irqbank() when bank-regs-set_irqenable is TRUE, gpio_mask can be directly set by writing to set_irqenable register without overwriting current value. In order to ensure the same is stored in context.irqenable1, we must avoid overwriting it with gpio_mask at the end of the function.

[PATCH 00/13] Fixup gmpc smsc911x regulator handling

2012-03-21 Thread Russ Dill
eliminates an unneeded static variable in gpmc-smsc911x. These patches have been compile tested on next-20120321 with an additional patch to fix the omap boot failures and have been tested on omap3evm (am37x-evm) hardware. Russ Dill (13): Remove odd gpmc_cfg/board_data redirection. Fix possible stale

[PATCH 02/13] Fix possible stale smsc911x flags.

2012-03-21 Thread Russ Dill
If this function is called the first time with flags set, and the second time without flags set then the leftover flags from the first called will be used rather than the desired default flags. Signed-off-by: Russ Dill russ.d...@ti.com --- arch/arm/mach-omap2/gpmc-smsc911x.c |4 +--- 1 files

[PATCH 03/13] Remove unused rate calculation.

2012-03-21 Thread Russ Dill
Looking back into git history, this code was never used and was probably left over from a copy/paste. Signed-off-by: Russ Dill russ.d...@ti.com --- arch/arm/mach-omap2/board-omap3evm.c |9 - arch/arm/mach-omap2/board-omap3stalker.c |9 - 2 files changed, 0

[PATCH 05/13] Remove regulator support from gmpc-smsc911x

2012-03-21 Thread Russ Dill
Adding in support for regulators here creates several headaches. - Boards that declare their own regulator cannot use this function. - Multiple calls to this function require special handling. - Boards that declare id's other than '0' need special handling. Now that there is a simple

[PATCH 04/13] Remove non-existent parameter from fixed-helper.c kernel doc.

2012-03-21 Thread Russ Dill
Signed-off-by: Russ Dill russ.d...@ti.com --- drivers/regulator/fixed-helper.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/regulator/fixed-helper.c b/drivers/regulator/fixed-helper.c index 30d0a15..961e2c9 100644 --- a/drivers/regulator/fixed-helper.c +++

[PATCH 01/13] Remove odd gpmc_cfg/board_data redirection.

2012-03-21 Thread Russ Dill
This seems to be a leftover from when gpmc-smsc911x.c was copied from gpmc-smc91x.c. Signed-off-by: Russ Dill russ.d...@ti.com --- arch/arm/mach-omap2/gpmc-smsc911x.c |6 +- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-omap2/gpmc-smsc911x.c

[PATCH 06/13] Add dummy smsc911x regulators to cm-t35.

2012-03-21 Thread Russ Dill
Signed-off-by: Russ Dill russ.d...@ti.com --- arch/arm/mach-omap2/board-cm-t35.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-cm-t35.c b/arch/arm/mach-omap2/board-cm-t35.c index 41b0a2f..289ded3 100644 ---

[PATCH 07/13] Add dummy smsc911x regulators to igep0020.

2012-03-21 Thread Russ Dill
Signed-off-by: Russ Dill russ.d...@ti.com --- arch/arm/mach-omap2/board-igep0020.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-igep0020.c b/arch/arm/mach-omap2/board-igep0020.c index e558800..930c0d3 100644 ---

[PATCH 08/13] Add dummy smsc911x regulators to ldp.

2012-03-21 Thread Russ Dill
Signed-off-by: Russ Dill russ.d...@ti.com --- arch/arm/mach-omap2/board-ldp.c |7 +++ arch/arm/mach-omap2/board-omap3evm.c |9 + 2 files changed, 16 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-ldp.c b/arch/arm/mach-omap2/board-ldp.c index

[PATCH 09/13] Add dummy smsc911x regulators to omap3evm.

2012-03-21 Thread Russ Dill
Signed-off-by: Russ Dill russ.d...@ti.com --- arch/arm/mach-omap2/board-omap3evm.c | 15 ++- 1 files changed, 6 insertions(+), 9 deletions(-) diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c index a659e19..6a5e57c 100644 ---

[PATCH 10/13] Add dummy smsc911x regulators to omap3logic.

2012-03-21 Thread Russ Dill
Signed-off-by: Russ Dill russ.d...@ti.com --- arch/arm/mach-omap2/board-omap3logic.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-omap3logic.c b/arch/arm/mach-omap2/board-omap3logic.c index 4a7d8c8..9b3c141 100644 ---

[PATCH 11/13] Add dummy smsc911x regulators to omap3stalker.

2012-03-21 Thread Russ Dill
Signed-off-by: Russ Dill russ.d...@ti.com --- arch/arm/mach-omap2/board-omap3stalker.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-omap3stalker.c b/arch/arm/mach-omap2/board-omap3stalker.c index de95352..4dffc95 100644 ---

[PATCH 12/13] Add dummy smsc911x regulators to overo.

2012-03-21 Thread Russ Dill
Signed-off-by: Russ Dill russ.d...@ti.com --- arch/arm/mach-omap2/board-overo.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c index 668533e..33aa391 100644 ---

[PATCH 13/13] Add dummy smsc911x regulators to zoom-debugboard.

2012-03-21 Thread Russ Dill
Signed-off-by: Russ Dill russ.d...@ti.com --- arch/arm/mach-omap2/board-zoom-debugboard.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-zoom-debugboard.c b/arch/arm/mach-omap2/board-zoom-debugboard.c index 369c2eb..f68b616 100644 ---

<    1   2