Re: [PATCH 1/4] ARM: OMAP4: SMP: Add OMAP4430 SMP board files

2009-05-28 Thread Santosh Shilimkar
(Updated usage of NR_CPUS instead of num_possible_cpus() after Russell's remark) This patch adds SMP platform files support for OMAP4430SDP. TI's OMAP4430 SOC is based on ARM Cortex-A9 SMP architecture. It's a dual core SOC with GIC used for interrupt handling and SCU for cache coherency.

RE: linux-next: manual merge of the omap tree with the arm tree

2009-05-28 Thread Shilimkar, Santosh
-Original Message- From: Stephen Rothwell [mailto:s...@canb.auug.org.au] Sent: Thursday, May 28, 2009 10:02 AM To: Tony Lindgren; linux-omap@vger.kernel.org Cc: linux-n...@vger.kernel.org; linux-ker...@vger.kernel.org; Russell King; Shilimkar, Santosh Subject: linux-next: manual

Re: linux-next: manual merge of the omap tree with the arm tree

2009-05-28 Thread Stephen Rothwell
Hi, On Thu, 28 May 2009 11:55:09 +0530 Shilimkar, Santosh santosh.shilim...@ti.com wrote: +machine-$(CONFIG_ARCH_OMAP2) := omap2 +machine-$(CONFIG_ARCH_OMAP3) := omap2 ++machine-$(CONFIG_ARCH_OMAP4) := omap2 ++ Is this really ok ? Yeah, this is

RE: linux-next: manual merge of the omap tree with the arm tree

2009-05-28 Thread Shilimkar, Santosh
-Original Message- From: Stephen Rothwell [mailto:s...@canb.auug.org.au] Sent: Thursday, May 28, 2009 12:05 PM To: Shilimkar, Santosh Cc: Tony Lindgren; linux-omap@vger.kernel.org; linux-n...@vger.kernel.org; linux-ker...@vger.kernel.org; Russell King Subject: Re: linux-next:

Re: [PATCH] MFD: Add U300 AB3100 core support v1

2009-05-28 Thread Trilok Soni
Hi Mike, On Thu, May 14, 2009 at 4:20 PM, Mike Rapoport m...@compulab.co.il wrote: Hi Linus, A few comments. Linus Walleij wrote: This adds a core driver for the AB3100 mixed-signal circuit found in the ST-Ericsson U300 series platforms. This driver is a singleton proxy for all accesses to

Dummy regulator possible?

2009-05-28 Thread Tomi Valkeinen
Hi, Let's say I have a device that requires power from a regulator, like OMAP3430 SDP Sharp LCD's Vcc. Then I have two boards with the same device. One board gives power to the device from an always-on regulator, like SDP does with VBAT going to the LCD. The other board gives power to the device

[PATCH 00/06] OMAP3430 Errata, defect fixes and optimizations

2009-05-28 Thread Nayak, Rajendra
Hi, This series contains a set of patches which implement new 3430 errata, and some optimizations and fixes in the SR driver and DVFS path. These apply on the latest 'pm' branch and are validated on a 3430SDP platform. regards, Rajendra-- To unsubscribe from this list: send the line

[PATCH 06/06] OMAP3: PM: Update VDD1 OPP2 voltage level from 1.05 to 1.075

2009-05-28 Thread Rajendra Nayak
This patch updates the VDD1 OPP2 volatge according to the latest Operating Condition Addendum from 1.05v to 1.075v Signed-off-by: Rajendra Nayak rna...@ti.com --- arch/arm/mach-omap2/omap3-opp.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 01/06] OMAP3: PM: Update omap_3430sdp_pm_defconfig

2009-05-28 Thread Rajendra Nayak
This patch disables OMAP FB driver from the pm defconfig for SDP as it seems to gate sleep and throw some irq errors omapfb omapfb: irq error status 0062 omapfb omapfb: irq error status 00c2 omapfb omapfb: irq error status 0060 Also ondemand CPUFreq governor support is enabled. Signed-off-by:

[PATCH 03/06] OMAP3: PM: VDD2 dvfs at higher VDD1 opp

2009-05-28 Thread Rajendra Nayak
This patch makes sure that VDD2 dvfs always happens at a higher VDD1 OPP, hence bringing down the VDD2 DVFS latency to a large extent. Having a smaller VDD2 dvfs latency helps drivers which are sensitive to the time during which SDRAM is inaccessible due to SDRC iclk being disabled.

[PATCH 02/06] OMAP3: PM: Add PER wakeup dependency on WKUP domain

2009-05-28 Thread Rajendra Nayak
This patch adds a Wakeup dependency of PER domain on WKUP domain as a Workaround for a OMAP3430 limitation which causes PER domain GPIO's to drive random values while coming back from OFF mode. This limitation applies to all silicon rev's of OMAP3430. Signed-off-by: Rajendra Nayak rna...@ti.com

[PATCH 04/06] OMAP3: PM: Put optimal SMPS stabilization delay

2009-05-28 Thread Rajendra Nayak
This patch removes the worst case T2 SMPS stabilization delay of 360 us (needed for a 0v to 1.35 switch) and adds calculated delay based on the actual volatge switch. The delay is based on the T2 SMPS slew rate of 4mV/uS. Each step based on VSEL difference corresponds to 12.5 mv Hence the formula

[PATCH 05/06] OMAP3: PM: Implement locking for any scratchpad access

2009-05-28 Thread Rajendra Nayak
This patch implements locking using the semaphore in scratchpad memory preventing any concurrent access to scratchpad from OMAP and Baseband/Modem processor. Signed-off-by: Rajendra Nayak rna...@ti.com --- arch/arm/mach-omap2/resource34xx.c |6 +- arch/arm/mach-omap2/resource34xx.h |

Re: Git pull request for omap patches for merge window after 2.6.30

2009-05-28 Thread Russell King - ARM Linux
On Wed, May 27, 2009 at 04:40:57PM -0700, Tony Lindgren wrote: Assuming you have had a chance to look at all the patches posted, please pull them from the request below. Will refresh the patches as needed if you have more comments. To be honest, I don't know where I am with any of the OMAP

Re: [PATCH 01/11] OMAP2/3: PM: push core PM code from linux-omap

2009-05-28 Thread Russell King - ARM Linux
On Tue, May 19, 2009 at 11:55:41AM -0700, Kevin Hilman wrote: Russell King - ARM Linux li...@arm.linux.org.uk writes: On Mon, May 18, 2009 at 10:00:44AM -0700, Kevin Hilman wrote: Russell King - ARM Linux li...@arm.linux.org.uk writes: On Fri, May 15, 2009 at 11:40:41AM -0700, Kevin

Performance testing and identifying performance bottlenecks

2009-05-28 Thread Elvis Dowson
Hi, How can I profile and do some performance tests on the linux-omap kernel sources, and identify the 10 slowest methods for a specific subsystem, say DSS2? I used to use IBM Rational Test-Real-Time before, to do these kinds of tests for embedded software, but don't have access to these

Re: Dummy regulator possible?

2009-05-28 Thread Mark Brown
On Thu, May 28, 2009 at 11:45:15AM +0300, Tomi Valkeinen wrote: Is it possible to create a dummy regulator, so that the device driver could always ask for Vcc supply, and get it, even when it's connected to a always-on regulator? This is exactly the use case that the fixed voltage regulator

Re: Performance testing and identifying performance bottlenecks

2009-05-28 Thread Hemanth V
Would oprofile help http://oprofile.sourceforge.net/news/ Hemanth - Original Message - From: Elvis Dowson elvis.dow...@mac.com To: Linux OMAP Users linux-omap@vger.kernel.org; Tomi Valkeinen tomi.valkei...@nokia.com Sent: Thursday, May 28, 2009 7:30 PM Subject: Performance testing

Re: Git pull request for omap patches for merge window after 2.6.30

2009-05-28 Thread Tony Lindgren
* Russell King - ARM Linux li...@arm.linux.org.uk [090528 06:29]: On Wed, May 27, 2009 at 04:40:57PM -0700, Tony Lindgren wrote: Assuming you have had a chance to look at all the patches posted, please pull them from the request below. Will refresh the patches as needed if you have more

Re: [PATCH 1/5] ARM: OMAP2/3: Remove OMAP2_32KSYNCT_BASE

2009-05-28 Thread Russell King - ARM Linux
On Thu, May 14, 2009 at 04:23:06PM -0700, Tony Lindgren wrote: Use processor specific defines instead. As an extra bonus, this patch fixes the problem of CONFIG_DEBUG_SPINLOCK calling sched_clock before we have things initialized: Hmm. I don't think sched_clock peculiarities should be

Re: [PATCH 0/5] More omap header clean-up for the merge window after 2.6.30

2009-05-28 Thread Russell King - ARM Linux
On Tue, May 19, 2009 at 10:21:31AM -0700, Tony Lindgren wrote: * Tony Lindgren t...@atomide.com [090514 16:22]: Hi, This series removes defines that are included from hardware.h via various processor specific headers. The series makes the defines processor specific where possible so

Re: [PATCH 02/13] OMAP2/3: PM: push core PM code from linux-omap

2009-05-28 Thread Russell King - ARM Linux
On Wed, May 20, 2009 at 04:19:25PM -0700, Kevin Hilman wrote: This patch is to sync the core linux-omap PM code with mainline. This code has evolved and been used for a while the linux-omap tree, but the attempt here is to finally get this into mainline. Hmm.. +static int __init

Re: [PATCH 1/5] ARM: OMAP2/3: Remove OMAP2_32KSYNCT_BASE

2009-05-28 Thread Tony Lindgren
* Russell King - ARM Linux li...@arm.linux.org.uk [090528 08:25]: On Thu, May 14, 2009 at 04:23:06PM -0700, Tony Lindgren wrote: Use processor specific defines instead. As an extra bonus, this patch fixes the problem of CONFIG_DEBUG_SPINLOCK calling sched_clock before we have things

Re: [PATCH 5/8] ARM: OMAP3: Add support for OMAP3 Zoom2 board

2009-05-28 Thread Russell King - ARM Linux
On Mon, May 25, 2009 at 10:53:35AM -0700, Tony Lindgren wrote: diff --git a/arch/arm/mach-omap2/board-zoom-debugboard.c b/arch/arm/mach-omap2/board-zoom-debugboard.c new file mode 100644 index 000..91f07c1 --- /dev/null +++ b/arch/arm/mach-omap2/board-zoom-debugboard.c @@ -0,0 +1,160

Re: [PATCH 7/8] ARM: OMAP3: Add omap3 EVM support

2009-05-28 Thread Russell King - ARM Linux
On Mon, May 25, 2009 at 10:56:18AM -0700, Tony Lindgren wrote: diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c new file mode 100644 index 000..6ce2f32 --- /dev/null +++ b/arch/arm/mach-omap2/board-omap3evm.c @@ -0,0 +1,329 @@ +/* + *

Re: [PATCH 2/8] ARM: OMAP3: Initialize regulators for Beagle and Overo

2009-05-28 Thread Russell King - ARM Linux
On Mon, May 25, 2009 at 10:49:38AM -0700, Tony Lindgren wrote: @@ -130,6 +148,10 @@ static int beagle_twl_gpio_setup(struct device *dev, mmc[0].gpio_cd = gpio + 0; twl4030_mmc_init(mmc); + /* link regulators to MMC adapters */ + beagle_vmmc1_supply.dev = mmc[0].dev; +

Re: [PATCH 02/13] OMAP2/3: PM: push core PM code from linux-omap

2009-05-28 Thread Kevin Hilman
Russell King - ARM Linux li...@arm.linux.org.uk writes: On Wed, May 20, 2009 at 04:19:25PM -0700, Kevin Hilman wrote: This patch is to sync the core linux-omap PM code with mainline. This code has evolved and been used for a while the linux-omap tree, but the attempt here is to finally get

Re: [PATCH 2/8] ARM: OMAP3: Initialize regulators for Beagle and Overo

2009-05-28 Thread Tony Lindgren
* Russell King - ARM Linux li...@arm.linux.org.uk [090528 09:20]: On Mon, May 25, 2009 at 10:49:38AM -0700, Tony Lindgren wrote: @@ -130,6 +148,10 @@ static int beagle_twl_gpio_setup(struct device *dev, mmc[0].gpio_cd = gpio + 0; twl4030_mmc_init(mmc); + /* link regulators

Re: [PATCH 2/8] ARM: OMAP3: Initialize regulators for Beagle and Overo

2009-05-28 Thread Mark Brown
On Thu, May 28, 2009 at 10:33:20AM -0700, Tony Lindgren wrote: * Russell King - ARM Linux li...@arm.linux.org.uk [090528 09:20]: I really hate it when I see this kind of initialization after registration. It feels totally wrong and fragile. At one point, I had clkdev matching using struct

Re: [PATCH 05/10] ARM: OMAP1: Make 770 LCD work

2009-05-28 Thread Tony Lindgren
* Andrew de Quincey adq_...@lidskialf.net [090525 09:41]: Quoting Andrew de Quincey adq_...@lidskialf.net: Quoting Russell King - ARM Linux li...@arm.linux.org.uk: On Tue, May 19, 2009 at 04:37:32PM -0700, Tony Lindgren wrote: Make 770 LCD work by passing the clock from platform data. Also

Re: [PATCH 02/13] OMAP2/3: PM: push core PM code from linux-omap

2009-05-28 Thread Kevin Hilman
Kevin Hilman khil...@deeprootsystems.com writes: Russell King - ARM Linux li...@arm.linux.org.uk writes: On Wed, May 20, 2009 at 04:19:25PM -0700, Kevin Hilman wrote: This patch is to sync the core linux-omap PM code with mainline. This code has evolved and been used for a while the

Re: [PATCH 05/10] ARM: OMAP1: Make 770 LCD work

2009-05-28 Thread Andrew de Quincey
Quoting Tony Lindgren t...@atomide.com: * Andrew de Quincey adq_...@lidskialf.net [090525 09:41]: Quoting Andrew de Quincey adq_...@lidskialf.net: Quoting Russell King - ARM Linux li...@arm.linux.org.uk: On Tue, May 19, 2009 at 04:37:32PM -0700, Tony Lindgren wrote: Make 770 LCD work by

Re: [PATCH 05/10] ARM: OMAP1: Make 770 LCD work, v2

2009-05-28 Thread Tony Lindgren
* Andrew de Quincey adq_...@lidskialf.net [090528 11:44]: Quoting Tony Lindgren t...@atomide.com: * Andrew de Quincey adq_...@lidskialf.net [090525 09:41]: Quoting Andrew de Quincey adq_...@lidskialf.net: Quoting Russell King - ARM Linux li...@arm.linux.org.uk: On Tue, May 19, 2009 at

Re: [PATCH 2/8] ARM: OMAP3: Initialize regulators for Beagle and Overo

2009-05-28 Thread Russell King - ARM Linux
On Thu, May 28, 2009 at 07:00:13PM +0100, Mark Brown wrote: On Thu, May 28, 2009 at 10:33:20AM -0700, Tony Lindgren wrote: * Russell King - ARM Linux li...@arm.linux.org.uk [090528 09:20]: I really hate it when I see this kind of initialization after registration. It feels totally

Re: [PATCH 05/10] ARM: OMAP1: Make 770 LCD work

2009-05-28 Thread Russell King - ARM Linux
On Thu, May 28, 2009 at 11:20:48AM -0700, Tony Lindgren wrote: * Andrew de Quincey adq_...@lidskialf.net [090525 09:41]: Quoting Andrew de Quincey adq_...@lidskialf.net: Quoting Russell King - ARM Linux li...@arm.linux.org.uk: On Tue, May 19, 2009 at 04:37:32PM -0700, Tony Lindgren

Re: [PATCH 05/10] ARM: OMAP1: Make 770 LCD work

2009-05-28 Thread Russell King - ARM Linux
On Thu, May 28, 2009 at 11:20:48AM -0700, Tony Lindgren wrote: +int clk_add_alias(const char *alias, const char *alias_dev_name, char *id, + struct device *dev) +{ + struct clk *r = clk_get(dev, id); + struct clk_lookup *l; + + if (!r) + return -ENODEV; + +

[PATCH] ARM: Move clk_add_alias() to arch/arm/common/clkdev.c (Re: [PATCH 05/10] ARM: OMAP1: Make 770 LCD work)

2009-05-28 Thread Tony Lindgren
* Russell King - ARM Linux li...@arm.linux.org.uk [090528 12:53]: On Thu, May 28, 2009 at 11:20:48AM -0700, Tony Lindgren wrote: +int clk_add_alias(const char *alias, const char *alias_dev_name, char *id, + struct device *dev) +{ + struct clk *r = clk_get(dev, id); + struct

Re: [PATCH 05/10] ARM: OMAP1: Make 770 LCD work, v3

2009-05-28 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [090528 12:12]: * Andrew de Quincey adq_...@lidskialf.net [090528 11:44]: Quoting Tony Lindgren t...@atomide.com: * Andrew de Quincey adq_...@lidskialf.net [090525 09:41]: Quoting Andrew de Quincey adq_...@lidskialf.net: Quoting Russell King - ARM

Re: [PATCH 5/8] ARM: OMAP3: Add support for OMAP3 Zoom2 board, v2

2009-05-28 Thread Tony Lindgren
* Russell King - ARM Linux li...@arm.linux.org.uk [090528 09:05]: On Mon, May 25, 2009 at 10:53:35AM -0700, Tony Lindgren wrote: diff --git a/arch/arm/mach-omap2/board-zoom-debugboard.c b/arch/arm/mach-omap2/board-zoom-debugboard.c new file mode 100644 index 000..91f07c1 ---

Re: [PATCH 7/8] ARM: OMAP3: Add omap3 EVM support, v2

2009-05-28 Thread Tony Lindgren
* Russell King - ARM Linux li...@arm.linux.org.uk [090528 09:07]: On Mon, May 25, 2009 at 10:56:18AM -0700, Tony Lindgren wrote: diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c new file mode 100644 index 000..6ce2f32 --- /dev/null +++

Re: [PATCH 5/8] ARM: OMAP3: Add support for OMAP3 Zoom2 board, v2

2009-05-28 Thread Russell King - ARM Linux
On Thu, May 28, 2009 at 02:13:06PM -0700, Tony Lindgren wrote: * Russell King - ARM Linux li...@arm.linux.org.uk [090528 09:05]: On Mon, May 25, 2009 at 10:53:35AM -0700, Tony Lindgren wrote: diff --git a/arch/arm/mach-omap2/board-zoom-debugboard.c

Re: [PATCH 5/8] ARM: OMAP3: Add support for OMAP3 Zoom2 board, v2

2009-05-28 Thread Tony Lindgren
* Russell King - ARM Linux li...@arm.linux.org.uk [090528 14:19]: On Thu, May 28, 2009 at 02:13:06PM -0700, Tony Lindgren wrote: * Russell King - ARM Linux li...@arm.linux.org.uk [090528 09:05]: On Mon, May 25, 2009 at 10:53:35AM -0700, Tony Lindgren wrote: diff --git

Re: [PATCH] OMAP3: PM: Add voltage levels to prm_setup_vc (previously prm_setup_time)

2009-05-28 Thread Kevin Hilman
Mike Chan m...@android.com writes: Expand configure_vc() to support configurable voltage levels. Signed-off-by: Mike Chan m...@android.com Thanks, pushing to PM branch. Kevin --- arch/arm/mach-omap2/pm.h | 14 - arch/arm/mach-omap2/pm34xx.c | 60

Re: [PATCH 05/10] ARM: OMAP1: Make 770 LCD work

2009-05-28 Thread Andrew de Quincey
Quoting Russell King - ARM Linux li...@arm.linux.org.uk: On Thu, May 28, 2009 at 11:20:48AM -0700, Tony Lindgren wrote: * Andrew de Quincey adq_...@lidskialf.net [090525 09:41]: Quoting Andrew de Quincey adq_...@lidskialf.net: Quoting Russell King - ARM Linux li...@arm.linux.org.uk: On

DSS2: SYNC Lost error on mirroring enabled

2009-05-28 Thread Venkatesh, Subbu
Hi, I am getting SYNC LOSTerror on OMAP development board ( LDP ), this happens when I enable mirroring by a command #echo 1 /sys/class/graphics/fb0/mirror In brief, recently I ported board related funtions to support both LCD and TV displays on Omap LDP, mirroring works on TV but not LCD.

Re: [PATCH 02/06] OMAP3: PM: Add PER wakeup dependency on WKUP domain

2009-05-28 Thread Högander Jouni
ext Rajendra Nayak rna...@ti.com writes: This patch adds a Wakeup dependency of PER domain on WKUP domain as a Workaround for a OMAP3430 limitation which causes PER domain GPIO's to drive random values while coming back from OFF mode. This limitation applies to all silicon rev's of OMAP3430.