Re: [pm-core][PATCH v3 01/21] OMAP4: PM: Add omap WakeupGen module support

2011-03-30 Thread Santosh
On 3/29/2011 10:31 PM, Tony Lindgren wrote: * Santosh Shilimkarsantosh.shilim...@ti.com [110328 22:47]: From: Tony Lindgren [mailto:t...@atomide.com] Do you really need to initialize all of this that early? Yes. It's a interrupt controller extension and needs to work together with GIC.

Re: Smartreflex on 'pm-wip/voltdm' Branch

2011-03-30 Thread Gulati, Shweta
Hi, On Mon, Mar 28, 2011 at 9:57 PM, Kevin Hilman khil...@ti.com wrote: Vishwa, Shweta, Vishwanath Sripathy vishwanath...@ti.com writes: [...] I am testing Smartreflex on your Branch 'pm-wip/voltdm'. There seems an issue with reading VP registers. For OMAP3 and OMAP4 reading debugfs

Re: [PATCH 1/5] OMAP3: l3: fix for irq 10: nobody cared message

2011-03-30 Thread Santosh Shilimkar
On 3/29/2011 10:50 PM, Omar Ramirez Luna wrote: If an error occurs in the L3 on any other initiator than MPU, the interrupt goes unhandled given that the 'base' register was calculated with the initialized err_source value (which coincidentally points to MPU) and not with the actual source of

Re: [PATCH 2/5] OMAP3: l3: fix omap3_l3_probe error path

2011-03-30 Thread Santosh Shilimkar
On 3/29/2011 10:50 PM, Omar Ramirez Luna wrote: Add missing free_irq and remove an empty goto label. Safe to assume that if we reached the end point of execution without errors, then return value is 0, so replacing instead another goto. Signed-off-by: Omar Ramirez Lunaomar.rami...@ti.com ---

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

2011-03-30 Thread Keshava Munegowda
+ static struct platform_device rx51_charger_device = { - .name = isp1704_charger, + .name = isp1704_charger, I don’t understand what difference between above two lines? Is your mail client causing this? Or get send-mail doing this? + .dev= { +

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

2011-03-30 Thread kalle.jokiniemi
Hi, -Original Message- From: ext Keshava Munegowda [mailto:keshava_mgo...@ti.com] Sent: 30. maaliskuuta 2011 9:39 To: Jokiniemi Kalle (Nokia-MS/Tampere); linux-...@vger.kernel.org; cbouatmai...@gmail.com Cc: Felipe Balbi; Krogerus Heikki (Nokia-MS/Helsinki);

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

2011-03-30 Thread Keshava Munegowda
-Original Message- From: kalle.jokini...@nokia.com [mailto:kalle.jokini...@nokia.com] Sent: Wednesday, March 30, 2011 12:12 PM To: keshava_mgo...@ti.com; linux-...@vger.kernel.org; cbouatmai...@gmail.com Cc: ba...@ti.com; heikki.kroge...@nokia.com; sshtyl...@mvista.com;

Re: [PATCH 0/5] OMAP: l3: fixes and cleanup

2011-03-30 Thread Santosh Shilimkar
Omar, On 3/29/2011 10:50 PM, Omar Ramirez Luna wrote: Based on the comments received for the first patch: OMAP3: l3: fix for irq 10: nobody cared message[1], and quick skimming through the code. Although there are still parenthesis that are not needed because of operator precedence, they were

OMAP4 DSS clock setup

2011-03-30 Thread Tomi Valkeinen
Hi Benoit, Paul, I've been discussing with Sumit and Archit to understand how the DSS clocks are set up on OMAP4. I think I now have some idea how things work, but I'm still at loss why things are the way they are. So, if I look at OMAP4 TRM, Figure 10-4 DSS Clock Tree, there are two clocks in

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

2011-03-30 Thread kalle.jokiniemi
Hi, -Original Message- From: ext Keshava Munegowda [mailto:keshava_mgo...@ti.com] snip + static struct platform_device rx51_charger_device = { - .name = isp1704_charger, ^space here + .name = isp1704_charger,

Re: [PATCH] OMAP4: DSS2: Add Panel Taal device struct in 4430sdp board file

2011-03-30 Thread Tomi Valkeinen
On Tue, 2011-03-29 at 14:56 +0530, Archit Taneja wrote: Panel Taal is a DSI panel connected to the DSI1 lanes on 4430sdp and Blaze. Add omap_dss_device struct for Panel Taal in the 4430sdp board file. This represents the primary lcd device on 4430sdp board and Blaze board. The following things

Re: [PATCH 00/10] omap init_early changes for irq and timer init

2011-03-30 Thread Santosh Shilimkar
Tony, On 3/29/2011 3:51 AM, Tony Lindgren wrote: Hi all, This series continues the work to only initialize minimal omap code in init_early and to cut down dependencies to code that should be initialized later. It also cleans up the omap2+ timer init code to prepare things for the later

Re: [PATCH 0/4] iommu: Prevent oops in iommu_get() and while arch_iommu is in use

2011-03-30 Thread Sakari Ailus
Hi Laurent and Omar, Laurent Pinchart wrote: On Friday 25 March 2011 20:37:55 Ramirez Luna, Omar wrote: On Fri, Mar 25, 2011 at 10:13 AM, Sakari Ailus sakari.ai...@maxwell.research.nokia.com wrote: Hi, This patchset is aimed to fix a problem in arch_iommu implementation references. When

Re: OMAP4 DSS clock setup

2011-03-30 Thread Cousson, Benoit
Hi Tomi, On 3/30/2011 8:48 AM, Valkeinen, Tomi wrote: Hi Benoit, Paul, I've been discussing with Sumit and Archit to understand how the DSS clocks are set up on OMAP4. I think I now have some idea how things work, but I'm still at loss why things are the way they are. So, if I look at OMAP4

Re: [PATCH 0/4] iommu: Prevent oops in iommu_get() and while arch_iommu is in use

2011-03-30 Thread Laurent Pinchart
Hi Sakari, On Wednesday 30 March 2011 10:16:56 Sakari Ailus wrote: Laurent Pinchart wrote: On Friday 25 March 2011 20:37:55 Ramirez Luna, Omar wrote: On Fri, Mar 25, 2011 at 10:13 AM, Sakari Ailus wrote: Hi, This patchset is aimed to fix a problem in arch_iommu implementation

Re: OMAP4 DSS clock setup

2011-03-30 Thread Tomi Valkeinen
On Wed, 2011-03-30 at 11:32 +0200, Cousson, Benoit wrote: Hi Tomi, On 3/30/2011 8:48 AM, Valkeinen, Tomi wrote: Hi Benoit, Paul, I've been discussing with Sumit and Archit to understand how the DSS clocks are set up on OMAP4. I think I now have some idea how things work, but I'm

Re: [PATCH v2 1/2] isp1704_charger: allow board specific powering routine

2011-03-30 Thread Sergei Shtylyov
Hello. On 29.03.2011 9:52, kalle.jokini...@nokia.com wrote: diff --git a/include/linux/power/isp1704_charger.h b/include/linux/power/isp1704_charger.h new file mode 100644 index 000..68096a6 --- /dev/null +++

Re: OMAP4 DSS clock setup

2011-03-30 Thread Cousson, Benoit
On 3/30/2011 1:03 PM, Valkeinen, Tomi wrote: On Wed, 2011-03-30 at 11:32 +0200, Cousson, Benoit wrote: Hi Tomi, On 3/30/2011 8:48 AM, Valkeinen, Tomi wrote: Hi Benoit, Paul, I've been discussing with Sumit and Archit to understand how the DSS clocks are set up on OMAP4. I think I now have

Re: OMAP4 DSS clock setup

2011-03-30 Thread Tomi Valkeinen
On Wed, 2011-03-30 at 14:12 +0200, Cousson, Benoit wrote: On 3/30/2011 1:03 PM, Valkeinen, Tomi wrote: On Wed, 2011-03-30 at 11:32 +0200, Cousson, Benoit wrote: Hi Tomi, On 3/30/2011 8:48 AM, Valkeinen, Tomi wrote: Hi Benoit, Paul, I've been discussing with Sumit and Archit to

Re: OMAP4 DSS clock setup

2011-03-30 Thread Cousson, Benoit
On 3/30/2011 2:58 PM, Valkeinen, Tomi wrote: On Wed, 2011-03-30 at 14:12 +0200, Cousson, Benoit wrote: On 3/30/2011 1:03 PM, Valkeinen, Tomi wrote: On Wed, 2011-03-30 at 11:32 +0200, Cousson, Benoit wrote: Hi Tomi, On 3/30/2011 8:48 AM, Valkeinen, Tomi wrote: Hi Benoit, Paul, I've been

Re: [PATCH 0/4] iommu: Prevent oops in iommu_get() and while arch_iommu is in use

2011-03-30 Thread Sakari Ailus
Laurent Pinchart wrote: Hi Sakari, Hi Laurent, On Wednesday 30 March 2011 10:16:56 Sakari Ailus wrote: Laurent Pinchart wrote: On Friday 25 March 2011 20:37:55 Ramirez Luna, Omar wrote: On Fri, Mar 25, 2011 at 10:13 AM, Sakari Ailus wrote: Hi, This patchset is aimed to fix a problem in

Re: [PATCH 0/4] iommu: Prevent oops in iommu_get() and while arch_iommu is in use

2011-03-30 Thread Laurent Pinchart
On Wednesday 30 March 2011 15:50:37 Sakari Ailus wrote: Laurent Pinchart wrote: Hi Sakari, Hi Laurent, On Wednesday 30 March 2011 10:16:56 Sakari Ailus wrote: Laurent Pinchart wrote: On Friday 25 March 2011 20:37:55 Ramirez Luna, Omar wrote: On Fri, Mar 25, 2011 at 10:13 AM, Sakari

Re: Smartreflex on 'pm-wip/voltdm' Branch

2011-03-30 Thread Kevin Hilman
Hi Shweta, Gulati, Shweta shweta.gul...@ti.com writes: [...] I did a quick debug on this and found that the root cause of the issue is in usage of ffs (because of this, i2c slave address was configured wrongly in vc). Basically ffs returns the position of the first (least significant) bit

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

2011-03-30 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Created arch/arm/plat-omap/omap-pm-constraints.c file from arch/arm/plat-omap/omap-pm-noop.c and the associated Kconfig option OMAP_PM_CONSTRAINTS. Based on the original patch from Vishwanath, cf. https://patchwork.kernel.org/patch/327312/ Cc: Vishwanath BS

[PATCH 2/8] OMAP2+: powerdomain: control power domains next state

2011-03-30 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com When a wake-up latency constraint is requested or removed the omap device layer dispatches the updated strongest constraint value to the corresponding power domain. The power domains get the next power state programmed directly in the registers via

[PATCH 3/8] OMAP3: powerdomain data: add wake-up latency figures

2011-03-30 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Figures are added to the power domains structs. Note: the figures are preliminary figures. More accurate measurements are needed. Also the conditions of measurements shall be investigated and described. Tested on OMAP3 Beagleboard in RET/OFF using wake-up latency

[PATCH 4/8] OMAP2+: omap_hwmod: manage the omap_devices the wake-up latency constraints

2011-03-30 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Hwmod is queried from the omap device layer to manage the power domains wake-up latency constraints. Hwmod retrieves the correct power domain and if it exists it calls the corresponding power domain function. Tested on OMAP3 Beagleboard in RET/OFF using wake-up

[PATCH 6/8] OMAP2+: omap_device: implement the constraints management code

2011-03-30 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com The code at omap device level manages the constraints: storage, tracking of requesters and dispatching to the low level code (e.g. powerdomain for the wake-up latency constraints). Tested on OMAP3 Beagleboard in RET/OFF using wake-up latency constraints on MPU,

[PATCH 7/8] OMAP: PM CONSTRAINTS: implement wake-up latency constraints

2011-03-30 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Implement the wake-up latency constraints using an internal unified function _set_dev_constraint at OMAP PM level, which calls the corresponding function at omap device level. The actual constraints management code is at the omap device level. Note: the bus

[PATCH 5/8] OMAP: PM CONSTRAINTS: add an enum for the classes of constraint

2011-03-30 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Defined values in the enum: - OMAP_PM_CONSTRAINT_WKUP_LAT - OMAP_PM_CONSTRAINT_THROUGHPUT More classes can be added later if needed. Tested on OMAP3 Beagleboard in RET/OFF using wake-up latency constraints on MPU, CORE and PER. Signed-off-by: Jean Pihet

Re: Code for v2.6.39 merge window frozen, patches archived

2011-03-30 Thread Kevin Hilman
Tony Lindgren t...@atomide.com writes: * Aaro Koskinen aaro.koski...@nokia.com [110316 10:10]: Somehow I figured this out, the patch arm: mach-omap2: omap_l3_smx: fix irq handler setup fixes the hang for me (and of course I still need to comment out timer 12). FYI, looks like we've

[PATCH v3 0/8] OMAP: add PM CONSTRAINTS framework

2011-03-30 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Implement OMAP PM layer omap_pm_set_max_dev_wakeup_lat API by creating a unified API which calls omap_device_set_dev_constraint for all classes of constraints (devices wake-up latency, devices throughput...). The implementation of the constraints framework is at

[PATCH 8/8] OMAP PM: early init of the pwrdms states

2011-03-30 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com The powerdomains next states are initialized in pwrdms_setup as a late_initcall. Because the wake-up constraint can be requested early in the boot sequence, the power domains next states can be overwritten by pwrdms_setup. This patch fixes it by initializing the

Re: [PATCH 0/4] iommu: Prevent oops in iommu_get() and while arch_iommu is in use

2011-03-30 Thread David Cohen
On Wed, Mar 30, 2011 at 4:56 PM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: On Wednesday 30 March 2011 15:50:37 Sakari Ailus wrote: Laurent Pinchart wrote: Hi Sakari, Hi Laurent, On Wednesday 30 March 2011 10:16:56 Sakari Ailus wrote: Laurent Pinchart wrote: On Friday

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-03-30 Thread Arnd Bergmann
On Friday 18 March 2011, Russell King - ARM Linux wrote: I do get the impression that you're extremely unhappy with the way ARM stuff works, and I've no real idea how to solve that. I think much of it is down to perception rather than anything tangible. Maybe the only solution is for ARM to

Re: [PATCH 00/10] omap init_early changes for irq and timer init

2011-03-30 Thread Tony Lindgren
* Santosh Shilimkar santosh.shilim...@ti.com [110330 00:53]: After going through entire series again, it looks very good clean-up and right step towards moving rest of the timer to drivers/ directory. I also realized that the discussion we had before this series was because of

Re: [pm-core][PATCH v3 01/21] OMAP4: PM: Add omap WakeupGen module support

2011-03-30 Thread Tony Lindgren
* Santosh santosh.shilim...@ti.com [110329 23:13]: On 3/29/2011 10:31 PM, Tony Lindgren wrote: * Santosh Shilimkarsantosh.shilim...@ti.com [110328 22:47]: From: Tony Lindgren [mailto:t...@atomide.com] Do you really need to initialize all of this that early? Yes. It's a interrupt

Re: [PATCH 1/2 v2] usb: otg: OMAP4430: Fixing the omap4430_phy_init function

2011-03-30 Thread Tony Lindgren
* Hema Kalliguddi hem...@ti.com [110328 23:11]: Hi, -Original Message- From: Tony Lindgren [mailto:t...@atomide.com] Sent: Tuesday, March 29, 2011 2:50 AM To: Hema HK Cc: linux-...@vger.kernel.org; linux-omap@vger.kernel.org Subject: Re: [PATCH 1/2 v2] usb: otg: OMAP4430: Fixing

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-03-30 Thread Linus Torvalds
On Wed, Mar 30, 2011 at 10:06 AM, Arnd Bergmann a...@arndb.de wrote: I'm still new to the ARM world, but I think one real problem is the way that all platforms have their own trees with a very flat hierarchy -- a lot of people directly ask Linus to pull their trees, and the main way to sort

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-03-30 Thread Nicolas Pitre
On Wed, 30 Mar 2011, Linus Torvalds wrote: ARM right now i a nightmare, and most of it is because ARM hardware manufacturers are morons. If in your mind competitors == morons then you might be right. But the way the ARM tree is then laid out has made that even more painful, and the decision

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-03-30 Thread Thomas Gleixner
On Wed, 30 Mar 2011, Linus Torvalds wrote: On Wed, Mar 30, 2011 at 10:06 AM, Arnd Bergmann a...@arndb.de wrote: I'm still new to the ARM world, but I think one real problem is the way that all platforms have their own trees with a very flat hierarchy -- a lot of people directly ask Linus

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-03-30 Thread Linus Torvalds
On Wed, Mar 30, 2011 at 1:41 PM, Nicolas Pitre n...@fluxnic.net wrote: If in your mind competitors == morons then you might be right. There's a difference between competition and do things differently just to be difficult. Trying to rely on bootloaders doing things right is like saying that

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-03-30 Thread Russell King - ARM Linux
On Wed, Mar 30, 2011 at 07:06:41PM +0200, Arnd Bergmann wrote: On Friday 18 March 2011, Russell King - ARM Linux wrote: I do get the impression that you're extremely unhappy with the way ARM stuff works, and I've no real idea how to solve that. I think much of it is down to perception

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-03-30 Thread Tony Lindgren
* Linus Torvalds torva...@linux-foundation.org [110330 12:19]: On Wed, Mar 30, 2011 at 10:06 AM, Arnd Bergmann a...@arndb.de wrote: I'm still new to the ARM world, but I think one real problem is the way that all platforms have their own trees with a very flat hierarchy -- a lot of people

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-03-30 Thread Tony Lindgren
* Thomas Gleixner t...@linutronix.de [110330 14:07]: So one person will be not enough, that needs to be a whole team of experienced people in the very near future to deal with the massive tsunami of crap which is targeted at mainline. If we fail to set that up, then we run into a very ugly

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-03-30 Thread Tony Lindgren
* Nicolas Pitre n...@fluxnic.net [110330 13:39]: Trying to rely on bootloaders doing things right is like saying that x86 should always rely on the BIOS doing things right. We have this chance in the OMAP case to have a manufacturer who is smart enough to document all those things so

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-03-30 Thread Tony Lindgren
* Russell King - ARM Linux li...@arm.linux.org.uk [110330 14:05]: On Wed, Mar 30, 2011 at 07:06:41PM +0200, Arnd Bergmann wrote: And I have got to the point of just not giving a damn. I can't change the ARM community (I've tried over the years to get more active review of platform changes

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-03-30 Thread Thomas Gleixner
On Wed, 30 Mar 2011, Tony Lindgren wrote: * Thomas Gleixner t...@linutronix.de [110330 14:07]: So one person will be not enough, that needs to be a whole team of experienced people in the very near future to deal with the massive tsunami of crap which is targeted at mainline. If we fail

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-03-30 Thread Linus Torvalds
On Wed, Mar 30, 2011 at 2:44 PM, Tony Lindgren t...@atomide.com wrote: That's ridiculous. It's entirely due to the whole f*cked-up arm ecosystem. Yeh there's no BIOS and there are no scannable busses.. Which leads to huge amount of data patches that show up in the diffstat. Yes. And due to

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-03-30 Thread Paul E. McKenney
On Wed, Mar 30, 2011 at 02:54:35PM -0700, Tony Lindgren wrote: * Thomas Gleixner t...@linutronix.de [110330 14:07]: So one person will be not enough, that needs to be a whole team of experienced people in the very near future to deal with the massive tsunami of crap which is targeted at

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-03-30 Thread Tony Lindgren
* Linus Torvalds torva...@linux-foundation.org [110330 15:18]: On Wed, Mar 30, 2011 at 2:44 PM, Tony Lindgren t...@atomide.com wrote: But for ARM, I suspect even ACPI would actually be an improvement. Because on ARM, the crazy non-platform hw people already happened, and took over the insane

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-03-30 Thread Tony Lindgren
* Thomas Gleixner t...@linutronix.de [110330 15:22]: On Wed, 30 Mar 2011, Tony Lindgren wrote: * Thomas Gleixner t...@linutronix.de [110330 14:07]: So one person will be not enough, that needs to be a whole team of experienced people in the very near future to deal with the massive

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-03-30 Thread Tony Lindgren
* Paul E. McKenney paul...@linux.vnet.ibm.com [110330 15:35]: On Wed, Mar 30, 2011 at 02:54:35PM -0700, Tony Lindgren wrote: * Thomas Gleixner t...@linutronix.de [110330 14:07]: So one person will be not enough, that needs to be a whole team of experienced people in the very near

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-03-30 Thread Thomas Gleixner
On Wed, 30 Mar 2011, Tony Lindgren wrote: * Thomas Gleixner t...@linutronix.de [110330 15:22]: On Wed, 30 Mar 2011, Tony Lindgren wrote: * Thomas Gleixner t...@linutronix.de [110330 14:07]: So one person will be not enough, that needs to be a whole team of experienced people

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-03-30 Thread Paul E. McKenney
On Wed, Mar 30, 2011 at 03:47:52PM -0700, Tony Lindgren wrote: * Paul E. McKenney paul...@linux.vnet.ibm.com [110330 15:35]: On Wed, Mar 30, 2011 at 02:54:35PM -0700, Tony Lindgren wrote: * Thomas Gleixner t...@linutronix.de [110330 14:07]: So one person will be not enough, that

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-03-30 Thread Thomas Gleixner
On Wed, 30 Mar 2011, Tony Lindgren wrote: * Paul E. McKenney paul...@linux.vnet.ibm.com [110330 15:35]: On Wed, Mar 30, 2011 at 02:54:35PM -0700, Tony Lindgren wrote: * Thomas Gleixner t...@linutronix.de [110330 14:07]: So one person will be not enough, that needs to be a whole

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-03-30 Thread Tony Lindgren
* Thomas Gleixner t...@linutronix.de [110330 16:11]: On Wed, 30 Mar 2011, Tony Lindgren wrote: * Paul E. McKenney paul...@linux.vnet.ibm.com [110330 15:35]: On Wed, Mar 30, 2011 at 02:54:35PM -0700, Tony Lindgren wrote: * Thomas Gleixner t...@linutronix.de [110330 14:07]: So

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-03-30 Thread Nicolas Pitre
On Wed, 30 Mar 2011, Linus Torvalds wrote: On Wed, Mar 30, 2011 at 1:41 PM, Nicolas Pitre n...@fluxnic.net wrote: If in your mind competitors == morons then you might be right. There's a difference between competition and do things differently just to be difficult. Absolutely. We've

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-03-30 Thread Russell King - ARM Linux
On Wed, Mar 30, 2011 at 07:31:59PM -0400, Nicolas Pitre wrote: Sure, but important noise nevertheless. As long as the noise is confined to a limited set of .c files I'm happy. OTOH I have very little hope for a separate project that would only deal with that noise. That will simply never

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-03-30 Thread Russell King - ARM Linux
On Wed, Mar 30, 2011 at 12:21:32PM -0700, Linus Torvalds wrote: Look at the dirstat for arch/ in just the current merge window (cut-off at 5% just to not get too much): [torvalds@i5 linux]$ git diff -C --dirstat=5 --cumulative v2.6.38.. arch 14.0% arch/arm/mach-omap2/ 5.8%

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-03-30 Thread Tony Lindgren
* Russell King - ARM Linux li...@arm.linux.org.uk [110330 16:57]: On Wed, Mar 30, 2011 at 07:31:59PM -0400, Nicolas Pitre wrote: Still, because ARM is just a CPU architecture, those SOC vendors will always have something new to differenciate themselves from the other SOC vendors. And

[PATCH 02/17] OMAP2+: voltage: move PRCM mod offets into VC/VP structures

2011-03-30 Thread Kevin Hilman
Eliminate need for global variables for the various PRM module offsets by making them part of the VP/VC common structures Eventually, these will likely be moved again, or more likely removed when VP/VC code is isolated, but for now just getting rid of them as global variabes so that the voltage

[PATCH 04/17] OMAP2+: voltage: start towards a new voltagedomain layer

2011-03-30 Thread Kevin Hilman
Start cleaning up the voltage layer to have a voltage domain layer that resembles the structure of the existing clock and power domain layers. To that end: - move the 'struct voltagedomain' out of 'struct omap_vdd_info' to become the primary data structure. - convert any functions taking a

[PATCH 03/17] OMAP2+: voltage: move prm_irqst_reg from VP into voltage domain

2011-03-30 Thread Kevin Hilman
The prm_irqst_reg is not part of the VP. Move it up into the common voltage domain struct. Signed-off-by: Kevin Hilman khil...@ti.com --- arch/arm/mach-omap2/voltage.c | 15 +++ arch/arm/mach-omap2/voltage.h |1 +

[PATCH 05/17] OMAP3: voltage: rename mpu voltagedomain to mpu_iva

2011-03-30 Thread Kevin Hilman
This voltage domain (a.k.a. VDD1) contains both the MPU and the IVA, so rename appropriately. Also fixup any users of the mpu name to use mpu_iva Signed-off-by: Kevin Hilman khil...@ti.com --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c|4 ++-- arch/arm/mach-omap2/omap_twl.c

[PATCH 07/17] OMAP3+: voltage: add scalable flag to voltagedomain

2011-03-30 Thread Kevin Hilman
Add a 'bool scalable' flag to the struct powerdomain and set it for the scalable domains on OMAP3 and OMAP4. Signed-off-by: Kevin Hilman khil...@ti.com --- arch/arm/mach-omap2/voltage.c |3 +++ arch/arm/mach-omap2/voltage.h |2 ++

[PATCH 06/17] OMAP3: voltagedomain data: add wakeup domain

2011-03-30 Thread Kevin Hilman
Add wakeup voltage domain so that the wakeup powerdomain can have an associated powerdomain. Note that the scalable flat is not set for the this voltagedomain, so it will not be fully initialized like scalable voltage domains. Signed-off-by: Kevin Hilman khil...@ti.com ---

[PATCH 08/17] OMAP2+: powerdomain: add voltagedomain to struct powerdomain

2011-03-30 Thread Kevin Hilman
Each powerdomain is associated with a voltage domain. Add an entry to struct powerdomain where the enclosing voltagedomain can be referenced. Modeled after similar relationship between clockdomains and powerdomains. Signed-off-by: Kevin Hilman khil...@ti.com ---

[PATCH 09/17] OMAP2: add voltage domains and connect to powerdomains

2011-03-30 Thread Kevin Hilman
Create basic voltagedomains for OMAP2 and associate OMAP2 powerdomains with the newly created voltage domains. Signed-off-by: Kevin Hilman khil...@ti.com --- arch/arm/mach-omap2/Makefile |3 +- arch/arm/mach-omap2/io.c |2 +

[PATCH 10/17] OMAP3: powerdomain data: add voltage domains

2011-03-30 Thread Kevin Hilman
Add voltage domain name to indicate which voltagedomain each powerdomain is in. Signed-off-by: Kevin Hilman khil...@ti.com --- arch/arm/mach-omap2/powerdomains2xxx_3xxx_data.c |2 ++ arch/arm/mach-omap2/powerdomains3xxx_data.c | 16 2 files changed, 18 insertions(+),

[PATCH 11/17] OMAP4: powerdomain data: add voltage domains

2011-03-30 Thread Kevin Hilman
From: Benoit Cousson b-cous...@ti.com Add voltage domain name to indicate which voltagedomain each powerdomain is in. The fixed voltage domain like ldo_wakeup for emu and wkup power domain is added too. Update the TI copyright date to 2011. Signed-off-by: Benoit Cousson b-cous...@ti.com Cc:

[PATCH 12/17] OMAP2+: powerdomain: add voltage domain lookup during register

2011-03-30 Thread Kevin Hilman
When a powerdomain is registered, lookup the voltage domain by name and keep a pointer to the containing voltagedomain in the powerdomain structure. Modeled after similar method between powerdomain and clockdomain layers. Signed-off-by: Kevin Hilman khil...@ti.com ---

[PATCH 13/17] OMAP2+: voltage: keep track of powerdomains in each voltagedomain

2011-03-30 Thread Kevin Hilman
When a powerdomain is registered and it has an associated voltage domain, add the powerdomain to the voltagedomain using voltdm_add_pwrdm(). Also add voltagedomain iterator helper functions to iterate over all registered voltagedomains and all powerdomains associated with a voltagedomain.

[PATCH 14/17] OMAP2+: voltage: split voltage controller (VC) code into dedicated layer

2011-03-30 Thread Kevin Hilman
As part of the voltage layer cleanup, split out VC specific code into a dedicated VC layer. This patch primarily just moves VC code from voltage.c into vc.c, and adds prototypes to vc.h. No functional changes. For readability, each function was given a local 'vc' pointer: struct

[PATCH 16/17] OMAP2+: voltage: split out voltage processor (VP) code into new layer

2011-03-30 Thread Kevin Hilman
This patch is primarily a move of VP specific code from voltage.c into its own code in vp.c and adds prototypes to vp.h No functional changes, except debugfs... VP debugfs moved to 'vp' subdir of debugfs/voltage/ and 'vp_' prefixes removed from all debugfs filenames. Signed-off-by: Kevin Hilman

[PATCH 17/17] OMAP2+: VC: support PMICs with separate voltage and command registers

2011-03-30 Thread Kevin Hilman
The VC layer can support PMICs with separate voltage and command registers by putting the different registers in the PRM_VC_SMPS_VOL_RA and PRCM_VC_SMPS_CMD_RA registers respectively. The PMIC data must supply at least a voltage register address (volt_reg_addr). The command register address

[PATCH 15/17] OMAP2+: voltage: move VC into struct voltagedomain, misc. renames

2011-03-30 Thread Kevin Hilman
Move the VC instance struct from omap_vdd_info into struct voltagedomain. While moving, perform some misc. renames for readability. No functional changes. Summary of renames: - rename omap_vc_instance to omap_vc_channel, since there is only one instance of the VC IP and this actually

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-03-30 Thread Bill Gatliff
Nico: On Wed, Mar 30, 2011 at 6:31 PM, Nicolas Pitre n...@fluxnic.net wrote: But X86 is peanuts.  Really. Finally, a voice of reason! On ARM there is simply not such thing as a single machine design to clone, and a closed source test bench to design for. ... and there almost certainly

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-03-30 Thread david
On Wed, 30 Mar 2011, Nicolas Pitre wrote: On Wed, 30 Mar 2011, Linus Torvalds wrote: On Wed, Mar 30, 2011 at 1:41 PM, Nicolas Pitre n...@fluxnic.net wrote: Trying to rely on bootloaders doing things right is like saying that x86 should always rely on the BIOS doing things right. No. Not

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-03-30 Thread Linus Torvalds
On Wed, Mar 30, 2011 at 5:15 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: In this merge window, I deleted at least 6000 lines from arch/arm, and by quoting diffstat percentages, you're using that against the ARM community.  Why did I bother (that's not a question). Umm. The

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-03-30 Thread Bill Gatliff
Linus: On Wed, Mar 30, 2011 at 7:55 PM, Linus Torvalds torva...@linux-foundation.org wrote:  124022 total arch/sh  124418 total arch/sparc  181997 total arch/m68k  246717 total arch/mips  254785 total arch/x86  370912 total arch/powerpc  732732 total arch/arm I'm not sure this metric is

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-03-30 Thread Linus Torvalds
On Wed, Mar 30, 2011 at 6:15 PM, Bill Gatliff b...@billgatliff.com wrote: I'm not sure this metric is completely fair to ARM.  If you want to level the field, I think you have to divide each result by the number of SoC's But that's the problem with ARM. Hardware companies that do one-off

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-03-30 Thread Bill Gatliff
Linus: On Wed, Mar 30, 2011 at 8:37 PM, Linus Torvalds torva...@linux-foundation.org wrote: There's nothing good about causing extra work just because ARM hasn't had the sense to standardize on one (or a couple) of interrupt controllers etc. You should go talk with ARM about it, I'm sure

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-03-30 Thread Linus Torvalds
On Wed, Mar 30, 2011 at 6:44 PM, Bill Gatliff b...@billgatliff.com wrote: In the meantime, we have to live with the chips that exist and the ones coming down the pipe.  Until ARM and all their licensees start consulting us on such matters, we'll just have to find a way to deal with what we're

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-03-30 Thread Bill Gatliff
Linus: On Wed, Mar 30, 2011 at 8:56 PM, Linus Torvalds torva...@linux-foundation.org wrote:  (a) we don't have to be stupid and think it's a good design and an opportunity like you do. The complexity that is the current state of the ARM ecosystem presents the opportunity to find a way to

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-03-30 Thread Nicolas Pitre
On Wed, 30 Mar 2011, da...@lang.hm wrote: On Wed, 30 Mar 2011, Nicolas Pitre wrote: Furthermore, this does create pain. you have to make things in sync between the kernel and the mini-kernel (let's call it bootloader). In practice the bootloader is always maintained separately from the

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-03-30 Thread Dave Airlie
As long as SOC vendors keep producing wildly different architectures besides the core CPU we'll have this problem.  Denying the reality won't make that problem go away either.  And device tree won't stop those vendor from still trying to do things differently (better?) because they are not

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-03-30 Thread Linus Torvalds
On Wed, Mar 30, 2011 at 7:20 PM, Bill Gatliff b...@billgatliff.com wrote: If it isn't opportunity, then you must be arguing that we shouldn't add any new ARM SoC support to the kernel.  Is that what you are saying? What I'm saying is that we should not be adding ANY MINDLESS BOARD DRIVERS for

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-03-30 Thread Nicolas Pitre
On Wed, 30 Mar 2011, Linus Torvalds wrote: Umm. The actual stats are still: 1349 files changed, 62230 insertions(+), 33993 deletions(-) which is sad. And the end result speaks for itself: this is lines per architecture: ... 124022 total arch/sh 124418 total arch/sparc

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-03-30 Thread Nicolas Pitre
On Thu, 31 Mar 2011, Dave Airlie wrote: As long as SOC vendors keep producing wildly different architectures besides the core CPU we'll have this problem.  Denying the reality won't make that problem go away either.  And device tree won't stop those vendor from still trying to do things

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-03-30 Thread david
On Wed, 30 Mar 2011, Nicolas Pitre wrote: On Wed, 30 Mar 2011, da...@lang.hm wrote: On Wed, 30 Mar 2011, Nicolas Pitre wrote: this means that you need to have some group doing the equivalent of assigning device numbers for the different devices (and in this case going just a little

Re: [GIT PULL] omap changes for v2.6.39 merge window

2011-03-30 Thread Geert Uytterhoeven
On Thu, Mar 31, 2011 at 01:31, Nicolas Pitre n...@fluxnic.net wrote: On Wed, 30 Mar 2011, Linus Torvalds wrote: The long-term situation should be that you should be able to have ONE binary kernel just work. That's where we are on x86. Really. But X86 is peanuts.  Really.  There was one