Re: [PATCH v2 1/6] SoC Camera: add driver for OMAP1 camera interface

2010-09-22 Thread Guennadi Liakhovetski
On Wed, 22 Sep 2010, hermann pitton wrote: Am Mittwoch, den 22.09.2010, 01:23 +0200 schrieb Guennadi Liakhovetski: On Sat, 11 Sep 2010, Janusz Krzysztofik wrote: This is a V4L2 driver for TI OMAP1 SoC camera interface. [snip] + + } else { + dev_warn(dev, %s:

Re: [PATCH 1/5] OMAP4: PM: Update PRCM register bitshits and masks for ES2

2010-09-22 Thread Paul Walmsley
Hi Rajendra On Thu, 16 Sep 2010, Rajendra Nayak wrote: This patch updates the PRM and CM register bitshifts and masks for OMAP4430 ES2.0. Signed-off-by: Rajendra Nayak rna...@ti.com Signed-off-by: Benoît Cousson b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman

Re: [PATCH 2/5] OMAP4: PM: Define additional registers for ES2

2010-09-22 Thread Paul Walmsley
On Thu, 16 Sep 2010, Rajendra Nayak wrote: 4430 ES2 has a few new registers added and a few modified from ES1. This patch adds all the register changes in PRM and CM for OMAP4430 ES2. Signed-off-by: Rajendra Nayak rna...@ti.com Signed-off-by: Benoît Cousson b-cous...@ti.com Thanks,

Re: [PATCH 4/5] OMAP4: powerdomain: Update DSS logic state for ES2

2010-09-22 Thread Paul Walmsley
Hi Rajendra, On Thu, 16 Sep 2010, Rajendra Nayak wrote: DSS on ES2 supports only OSWR, hence remove the support for CSWR from the powerdomain framework. Signed-off-by: Rajendra Nayak rna...@ti.com Signed-off-by: Benoît Cousson b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin

RE: [PATCH 5/5] OMAP4: powerdomain: add context_offset field

2010-09-22 Thread Shilimkar, Santosh
-Original Message- From: Paul Walmsley [mailto:p...@pwsan.com] Sent: Wednesday, September 22, 2010 11:43 AM To: Nayak, Rajendra; Shilimkar, Santosh Cc: linux-omap@vger.kernel.org; Cousson, Benoit; Kevin Hilman Subject: Re: [PATCH 5/5] OMAP4: powerdomain: add context_offset field

RE: [PATCH 2/5] OMAP4: PM: Define additional registers for ES2

2010-09-22 Thread Nayak, Rajendra
-Original Message- From: Paul Walmsley [mailto:p...@pwsan.com] Sent: Wednesday, September 22, 2010 11:48 AM To: Nayak, Rajendra Cc: linux-omap@vger.kernel.org; Cousson, Benoit; Kevin Hilman Subject: Re: [PATCH 2/5] OMAP4: PM: Define additional registers for ES2 On Thu, 16 Sep

RE: [PATCH 1/5] OMAP4: PM: Update PRCM register bitshits and masks for ES2

2010-09-22 Thread Nayak, Rajendra
-Original Message- From: Paul Walmsley [mailto:p...@pwsan.com] Sent: Wednesday, September 22, 2010 11:47 AM To: Nayak, Rajendra Cc: linux-omap@vger.kernel.org; Cousson, Benoit; Kevin Hilman Subject: Re: [PATCH 1/5] OMAP4: PM: Update PRCM register bitshits and masks for ES2 Hi

Re: [PATCH v2 2/6] OMAP1: Add support for SoC camera interface

2010-09-22 Thread Guennadi Liakhovetski
That's up to the platform maintainer to review / apply this one, but if you like, a couple of nit-picks from me: On Sat, 11 Sep 2010, Janusz Krzysztofik wrote: This patch adds support for SoC camera interface to OMAP1 devices. Created and tested against linux-2.6.36-rc3 on Amstrad Delta.

RE: [PATCH 3/5] OMAP4: clocks: Update clock tree for ES2

2010-09-22 Thread Nayak, Rajendra
Hi Paul, -Original Message- From: Paul Walmsley [mailto:p...@pwsan.com] Sent: Wednesday, September 22, 2010 10:34 AM To: Nayak, Rajendra Cc: linux-omap@vger.kernel.org; Cousson, Benoit; Kevin Hilman Subject: Re: [PATCH 3/5] OMAP4: clocks: Update clock tree for ES2 Hello Rajendra,

RE: [PATCH 3/5] OMAP4: clocks: Update clock tree for ES2

2010-09-22 Thread Paul Walmsley
Hi Rajendra, On Wed, 22 Sep 2010, Nayak, Rajendra wrote: -Original Message- From: Paul Walmsley [mailto:p...@pwsan.com] Sent: Wednesday, September 22, 2010 10:34 AM The clock tree resulting from this patch doesn't match the output from the current OMAP4 clock autogen script.

RE: [PATCH 3/5] OMAP4: clocks: Update clock tree for ES2

2010-09-22 Thread Nayak, Rajendra
Hi Paul, -Original Message- From: Paul Walmsley [mailto:p...@pwsan.com] Sent: Wednesday, September 22, 2010 12:46 PM To: Nayak, Rajendra Cc: linux-omap@vger.kernel.org; Cousson, Benoit; Kevin Hilman Subject: RE: [PATCH 3/5] OMAP4: clocks: Update clock tree for ES2 Hi Rajendra,

Re: [PATCH v3 2/7] OMAP4: clock: Fix clock names and align with hwmod names

2010-09-22 Thread Paul Walmsley
Hello Benoît, On Thu, 5 Aug 2010, Benoit Cousson wrote: The OMAP4 hwmod data introduced the new naming convention for TI IPs (See patch OMAP4: hwmod: Add partial hwmod support for OMAP4430 ES1.0) The leaf clock names are using the same IP name and thus must be modified to match the clock

Re: [PATCH] OMAP4: clock: Fix missing optional clocks

2010-09-22 Thread Paul Walmsley
Hi Benoît, On Tue, 21 Sep 2010, Benoit Cousson wrote: Please note that the diff is pretty bad for the clock table. It looks like everything has changed. I don't know if there is a way to have a better diff with git. It's due to an extra tab that somehow got added between the second and

Re: [PATCH 3/4] omap4: pandaboard: Adding card detect support for MMC1

2010-09-22 Thread Bryan Wu
On Wed, Sep 22, 2010 at 5:24 AM, David Anders x0132...@ti.com wrote: Adding card detect callback function and card detect configuration function for MMC1 Controller. Signed-off-by: David Anders x0132...@ti.com Signed-off-by: Anand Gadiyar gadi...@ti.com --- patch depends on

Re: [PATCH] OMAP4: clock: Add optional clock nodes

2010-09-22 Thread Cousson, Benoit
Hi Paul, On 9/22/2010 9:29 AM, Paul Walmsley wrote: Hi Benoît, On Tue, 21 Sep 2010, Benoit Cousson wrote: OMAP4 IP optional clocks require explicit enable in module CTRLCLK register. In order to allow that we have to create artificial clock nodes that represent this clock inputs in the IP.

Re: [PATCH] OMAP4: clock: Fix missing optional clocks

2010-09-22 Thread Cousson, Benoit
On 9/22/2010 9:25 AM, Paul Walmsley wrote: Hi Benoît, On Tue, 21 Sep 2010, Benoit Cousson wrote: Please note that the diff is pretty bad for the clock table. It looks like everything has changed. I don't know if there is a way to have a better diff with git. It's due to an extra tab that

Branch with the recent OMAP4 clock and PRCM patches for testing

2010-09-22 Thread Paul Walmsley
Hi Rajendra, Benoît, in case it is useful, here is a branch based on v2.6.36-rc5 with the hwmod fixes included, and the OMAP4 clock/PRCM patches that we've discussed today: git://git.pwsan.com/linux-2.6 omap4_2.6.37 Tomorrow, I will probably keep adding to this branch, but I think I am

RE: [PATCH 5/5] OMAP4: powerdomain: add context_offset field

2010-09-22 Thread Paul Walmsley
On Wed, 22 Sep 2010, Shilimkar, Santosh wrote: -Original Message- From: Paul Walmsley [mailto:p...@pwsan.com] Sent: Wednesday, September 22, 2010 11:43 AM To: Nayak, Rajendra; Shilimkar, Santosh Cc: linux-omap@vger.kernel.org; Cousson, Benoit; Kevin Hilman Subject: Re: [PATCH

Re: Branch with the recent OMAP4 clock and PRCM patches for testing

2010-09-22 Thread Cousson, Benoit
Hi Paul, On 9/22/2010 9:37 AM, Paul Walmsley wrote: Hi Rajendra, Benoît, in case it is useful, here is a branch based on v2.6.36-rc5 with the hwmod fixes included, and the OMAP4 clock/PRCM patches that we've discussed today: git://git.pwsan.com/linux-2.6 omap4_2.6.37 Tomorrow, I will

RE: [PATCH 2/2] OMAP2+: GPIO: move late PM out of interrupts-disabled idle path

2010-09-22 Thread Kalliguddi, Hema
Hi, -Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap-ow...@vger.kernel.org] On Behalf Of Kevin Hilman Sent: Tuesday, September 14, 2010 4:33 AM To: linux-omap@vger.kernel.org Cc: Varadarajan, Charulatha; Basak, Partha; Tero Kristo Subject: [PATCH 2/2] OMAP2+:

Re: [PATCH 3/5] omap3: cm-t3517: add support for usb host.

2010-09-22 Thread Igor Grinberg
On 09/21/10 18:26, Gadiyar, Anand wrote: On Tue, Sep 21, 2010 at 9:33 PM, Igor Grinberg grinb...@compulab.co.il wrote: add support for hsusb host ports 1, 2 and on-module usb hub. Signed-off-by: Igor Grinberg grinb...@compulab.co.il --- arch/arm/mach-omap2/board-cm-t3517.c | 50

Re: [PATCH 3/4] omap4: pandaboard: Adding card detect support for MMC1

2010-09-22 Thread Gadiyar, Anand
On Wed, Sep 22, 2010 at 12:58 PM, Bryan Wu bryan...@canonical.com wrote: On Wed, Sep 22, 2010 at 5:24 AM, David Anders x0132...@ti.com wrote: Adding card detect callback function and card detect configuration function for MMC1 Controller. Signed-off-by: David Anders x0132...@ti.com

Re: [PATCH v2 1/4] omap4 hsmmc: Adding card detect support for MMC1

2010-09-22 Thread Felipe Balbi
Hi, On Sat, Sep 18, 2010 at 11:33:56AM -0500, kishore kadiyala wrote: @@ -223,6 +224,81 @@ int twl6030_interrupt_mask(u8 bit_mask, u8 offset) } EXPORT_SYMBOL(twl6030_interrupt_mask); +int twl6030_mmc_card_detect_config(void) +{ + int ret; + u8 reg_val = 0; + + /* Unmasking

[GIT PULL] omap2 sparse fixes

2010-09-22 Thread G, Manjunath Kondaiah
Hi Tony, Please pull omap2 sparse fixes from: git://dev.omapzoom.org/pub/scm/manju/kernel-omap3-dev.git sparse_fixes Regards, Manjunath The following changes since commit 8b15575cae7a93a784c3005c42b069edd9ba64dd: Sage Weil (1): fs: {lock,unlock}_flocks() stubs to prepare for

RE: [PATCH v2] OMAP3: Keypad: Fix failure exit path in probe

2010-09-22 Thread G, Manjunath Kondaiah
Hi Dmitry, -Original Message- From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] Sent: Tuesday, September 21, 2010 9:57 PM To: G, Manjunath Kondaiah Cc: Ameya Palande; linux-omap@vger.kernel.org; linux-in...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; Tony

Re: [RFC 0/3] Improve fallback LPJ calculation

2010-09-22 Thread Phil Carmody
Adding Tony and Linux-OMAP cc:, as this patchset was written specifically with the OMAP in mind (thread rooted at http://lkml.org/lkml/2010/9/10/104 ). Any comments would be appreciated. Phil On 10/09/10 11:54 +0200, Carmody Phil.2 (EXT-Ixonos/Helsinki) wrote: The motivation for patch 2/3 is

Re: [PATCH v2 1/4] omap4 hsmmc: Adding card detect support for MMC1

2010-09-22 Thread kishore kadiyala
Hi balbi, On Wed, Sep 22, 2010 at 2:21 PM, Felipe Balbi ba...@ti.com wrote: Hi, On Sat, Sep 18, 2010 at 11:33:56AM -0500, kishore kadiyala wrote: @@ -223,6 +224,81 @@ int twl6030_interrupt_mask(u8 bit_mask, u8 offset) } EXPORT_SYMBOL(twl6030_interrupt_mask); +int

Re: [PATCH 3/5] OMAP: hwmod: Enable module wakeup if in smartidle

2010-09-22 Thread Sergei Shtylyov
Hello. On 22-09-2010 4:19, Paul Walmsley wrote: From: Rajendra Nayakrna...@ti.com If a module's OCP slave port is programmed to be in smartidle, its also necessary that they have module level wakeup enabled. Update _sysc_enable in hwmod framework to do this. The thread [PATCH 7/8] :

Re: [PATCH 1/2 v3]Update broken web addresses.

2010-09-22 Thread Ralf Baechle
On Tue, Sep 21, 2010 at 06:29:16PM -0700, Justin P. Mattock wrote: Date: Tue, 21 Sep 2010 18:29:16 -0700 From: Justin P. Mattock justinmatt...@gmail.com To: triv...@kernel.org Cc: linux-arm-ker...@lists.infradead.org, linux-ker...@vger.kernel.org, linux-omap@vger.kernel.org,

Re: [PATCH 1/2 v3]Update broken web addresses.

2010-09-22 Thread Jeremy Kerr
Hi Ralf, On Tue, Sep 21, 2010 at 06:29:16PM -0700, Justin P. Mattock wrote: Date: Tue, 21 Sep 2010 18:29:16 -0700 From: Justin P. Mattock justinmatt...@gmail.com To: triv...@kernel.org Cc: linux-arm-ker...@lists.infradead.org, linux-ker...@vger.kernel.org,

Re: [PATCH 2/2] OMAP2+: GPIO: move late PM out of interrupts-disabled idle path

2010-09-22 Thread Kevin Hilman
Kalliguddi, Hema hem...@ti.com writes: -Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap-ow...@vger.kernel.org] On Behalf Of Kevin Hilman Sent: Tuesday, September 14, 2010 4:33 AM To: linux-omap@vger.kernel.org Cc: Varadarajan, Charulatha; Basak, Partha; Tero

RE: [PATCH v6 00/13] OMAP: GPIO: Implement GPIO in hwmod way

2010-09-22 Thread Varadarajan, Charulatha
-Original Message- From: Kevin Hilman [mailto:khil...@deeprootsystems.com] Sent: Wednesday, September 22, 2010 5:48 AM To: Varadarajan, Charulatha Cc: t...@atomide.com; linux-omap@vger.kernel.org; p...@pwsan.com; Cousson, Benoit; Nayak, Rajendra; Basak, Partha Subject: Re: [PATCH

Re: [PATCH v6 00/13] OMAP: GPIO: Implement GPIO in hwmod way

2010-09-22 Thread Kevin Hilman
Varadarajan, Charulatha ch...@ti.com writes: [...] I could reproduce this issue on 35xxEVM board (ES3.1). I am debugging the issue. Will get back to you soon in this regard. Thanks for the update. I'll try and debug the suspend problem on n900 today as well. Kevin -- To unsubscribe from

Re: [PATCH 3/4] omap4: pandaboard: Adding card detect support for MMC1

2010-09-22 Thread David Anders
On 09/22/2010 03:43 AM, Gadiyar, Anand wrote: On Wed, Sep 22, 2010 at 12:58 PM, Bryan Wubryan...@canonical.com wrote: On Wed, Sep 22, 2010 at 5:24 AM, David Andersx0132...@ti.com wrote: Adding card detect callback function and card detect configuration function for MMC1 Controller.

Re: How to enable sys_clkout1 for use by brf6300

2010-09-22 Thread Peter Barada
On Mon, 2010-09-20 at 11:04 -0700, Kevin Hilman wrote: Hi Peter, Peter Barada peter.bar...@gmail.com writes: I have a brf6300 that requires sys_clkout1, and I have it working fine right now, but if I enable CONFIG_OMAP_RESET_CLOCKS, then sys_clkou1 is disabled. Yes, any unused

[PATCH v3 00/11] OMAP3: Adding Smartreflex and Voltage driver support

2010-09-22 Thread Thara Gopinath
From: thara gopinath th...@ti.com This patch series introduces smartreflex and voltage driver support for OMAP3430 and OMAP3630. SmartReflex modules do adaptive voltage control for real-time voltage adjustments. Originally all the functionalities introduced in this patch were present in

[PATCH v3 01/11] OMAP: PM: Export the main pm debugfs directory

2010-09-22 Thread Thara Gopinath
This patch makes generic pm_debug directory global so that other drivers can include it and use it to create sub-entries. Signed-off-by: Thara Gopinath th...@ti.com --- arch/arm/mach-omap2/pm-debug.c |3 +++ arch/arm/mach-omap2/pm.h |1 + 2 files changed, 4 insertions(+), 0

[PATCH v3 02/11] OMAP3: PM: Adding voltage driver support for OMAP3

2010-09-22 Thread Thara Gopinath
This patch adds voltage driver support for OMAP3. The driver allows configuring the voltage controller and voltage processors during init and exports APIs to enable/disable voltage processors, scale voltage and reset voltage. The driver also maintains the global voltage table on a per VDD basis

[PATCH v3 03/11] OMAP3: PM: Adding smartreflex driver support.

2010-09-22 Thread Thara Gopinath
SmartReflex modules do adaptive voltage control for real-time voltage adjustments. With Smartreflex the power supply voltage can be adapted to the silicon performance(manufacturing process, temperature induced performance, age induced performance etc). There are differnet classes of smartreflex

[PATCH v3 04/11] OMAP3: PM: Adding smartreflex device file.

2010-09-22 Thread Thara Gopinath
This patch adds support for device registration of various smartreflex module present in the system. This patch introduces the platform data for smartreflex devices which include the efused and test n-target vaules, module enable/disable pointers and a parameter to indicate whether smartreflex

[PATCH v3 05/11] OMAP3: PM: Adding smartreflex hwmod data

2010-09-22 Thread Thara Gopinath
This patch adds the smartreflex hwmod data for OMAP3430 and OMAP3630. A dev_attr is also added to the hwmod structure for each smartreflex module which contains SoC specific info like the efuse offsets, test n-values etc. Signed-off-by: Thara Gopinath th...@ti.com ---

[PATCH v3 06/11] OMAP3: PM: Adding smartreflex class3 driver

2010-09-22 Thread Thara Gopinath
Smartreflex Class3 implementation continuously monitors silicon performance and instructs the Voltage Processors to increase or decrease the voltage. This patch adds smartreflex class 3 driver. This driver hooks up with the generic smartreflex driver smartreflex.c to abstract out class specific

[PATCH v3 07/11] OMAP3: PM: Adding T2 enabling of smartreflex support

2010-09-22 Thread Thara Gopinath
This patch adds support in the twl4030 driver to hook up the API enabling smartreflex support on PMIC side with the smartreflex driver. Without this the OMAP smartreflex modules will not function. Signed-off-by: Thara Gopinath th...@ti.com --- drivers/mfd/twl-core.c |7 +--

[PATCH v3 08/11] OMAP3: PM: Adding debug support to Voltage and Smartreflex drivers

2010-09-22 Thread Thara Gopinath
This patch adds debug support to the voltage and smartreflex drivers. This means a whole bunch of voltage processor and smartreflex parameters are now visible through the pm debugfs. By default only a read of these parameters are permitted. If you need to write into them then echo 1

[PATCH v3 09/11] OMAP3: PM: Smartreflex Class3 initialization from board files.

2010-09-22 Thread Thara Gopinath
This patch enables smartreflex class3 functionality for OMAP3430SDP, OMAP3630SDP, ZOOM2 and ZOOM3 boards. Signed-off-by: Thara Gopinath th...@ti.com --- arch/arm/mach-omap2/board-3430sdp.c |2 ++ arch/arm/mach-omap2/board-zoom-peripherals.c |2 ++ 2 files changed, 4

[PATCH v3 10/11] OMAP3: PM: Program correct init voltages for VDD1 and VDD2

2010-09-22 Thread Thara Gopinath
By default the system boots up at nominal voltage for every voltage domain in the system. This patch puts VDD1 and VDD2 to the correct boot up voltage as per the opp tables specified. This patch implements this by matching the rate of the main clock of the voltage domain with the opp table and

[PATCH v3 11/11] OMAP3: PM: Register TWL4030 pmic info with the voltage driver.

2010-09-22 Thread Thara Gopinath
This patch registers the TWL4030 PMIC specific informtion with the voltage driver. Failing this patch the voltage driver is unware of the formula to use for vsel to voltage and vice versa conversion. Signed-off-by: Thara Gopinath th...@ti.com --- arch/arm/plat-omap/opp_twl_tps.c | 17

[PATCH 0/9 v3]usb: musb: hwmod and runtime pm support for musb

2010-09-22 Thread Hema HK
Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Kevin Hilman khil...@deeprootsystems.com Cc: Cousson, Benoit b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com This patch series makes OMAP2PLUS musb Module implemented in HWMOD FW way. It also implements musb driver to use the

[PATCH 1/9 v3] usb: musb: Adding names for IRQs in resource structure

2010-09-22 Thread Hema HK
Modified the Omap,Blackfin and Davinci board files to add the name of the IRQs in the resource structures and musb driver to use the get_irq_byname() api to get the mc and dma irq numbers instead of using the index as the order of resource definition need not be always in order of device interrupt

[PATCH 2/9 v3] usb: musb: Remove board_data parameter from musb_platform_init()

2010-09-22 Thread Hema HK
Removed the board_data parameter being passed to musb_platform_init function as board data can be extracted from device structure which is already member of musb structure. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Kevin Hilman

[PATCH 3/9 v3] usb: musb: HWMOD database structures addition for OMAP3

2010-09-22 Thread Hema HK
OMAP3 hwmod data stuctures are populated with base address, L3 and L4 interface clocks, IRQs,and sysconfig register details. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Kevin Hilman khil...@deeprootsystems.com Cc: Cousson, Benoit

[PATCH 4/9 v3] usb: musb: HWMOD database structures addition for OMAP4

2010-09-22 Thread Hema HK
From: Cousson, Benoit b-cous...@ti.com OMAP4 hwmod data stuctures are populated with base address, L3 and L4 interface clocks, IRQs,and sysconfig register details. Signed-off-by: Cousson, Benoit b-cous...@ti.com Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren

[PATCH 5/9 v3] usb: musb: Using omap_device_build for musb device registration

2010-09-22 Thread Hema HK
Using omap_device_build api instead of platform_device_register for musb device registration.The device specific resources defined in centralized database will be used. So removed the resource definitions from the musb platform file. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi

[PATCH 6/9 v3] usb: musb: HWMOD database structures addition for OMAP2430

2010-09-22 Thread Hema HK
OMAP2430 hwmod data stuctures are populated with base address, L3 and L4 interface clocks, IRQs,and sysconfig register details. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Kevin Hilman khil...@deeprootsystems.com Cc: Cousson, Benoit

Re: [RFC] ARM: DMA coherent allocator: align remapped addresses

2010-09-22 Thread Anders Grafström
On 2010-07-25 15:50, Russell King - ARM Linux wrote: + * Align the virtual region allocation - maximum alignment is + * a section size, minimum is a page size. This helps reduce + * fragmentation of the DMA space, and also prevents allocations + * smaller than a section

[PATCH 7/9 v3] OMAP: Hwmod api changes

2010-09-22 Thread Hema HK
OMAP USBOTG modules has a requirement to set the auto idle bit only after setting smart idle bit. Modified the _sys_enable api to set the smart idle first and then the autoidle bit. Setting this will not have any impact on the other modules. Signed-off-by: Hema HK hem...@ti.com Signed-off-by:

[PATCH 8/9 v3] usb : musb: Using runtime pm apis for musb.

2010-09-22 Thread Hema HK
Calling runtime pm APIs pm_runtime_put_sync() and pm_runtime_get_sync() for enabling/disabling the clocks,sysconfig settings. Also need to put the USB in force standby and force idle mode when usb not used and set it back to no idle and no stndby after wakeup. For OMAP3 auto idle bit has to be

[PATCH 9/9 v3] usb : musb: Offmode fix for idle path

2010-09-22 Thread Hema HK
With OMAP core-off support musb was not functional as context was getting lost after wakeup from core-off. And also musb was blocking the core-off after loading the gadget driver even with no cable connected sometimes. Added the idle and wakeup APIs in the platform layer which will be called in

RE: [PATCH 2/2] OMAP2+: GPIO: move late PM out of interrupts-disabled idle path

2010-09-22 Thread Kalliguddi, Hema
-Original Message- From: Kevin Hilman [mailto:khil...@deeprootsystems.com] Sent: Wednesday, September 22, 2010 7:55 PM To: Kalliguddi, Hema Cc: linux-omap@vger.kernel.org; Varadarajan, Charulatha; Basak, Partha; Tero Kristo Subject: Re: [PATCH 2/2] OMAP2+: GPIO: move late PM out of

RE: [RFC v.4] omap: hwspinlock: Added hwspinlock driver

2010-09-22 Thread Kanigeri, Hari
Ohad, Sorry for the late response, was away from linux-omap mailing list last few days. Please see my response. It would probably make more sense to call pm_runtime_get_sync during hwspinlock_request{_specific}, and then call pm_runtime_put during hwspinlock_free. I agree, this looks like

[PATCH 00/13 v2] OMAP: Serial: Add omap-serial driver with platform support

2010-09-22 Thread Govindraj.R
This patch series adds a serial driver to handle uarts on omap platforms. Currenlty omap-uarts are handled with 8250 driver, since updating this driver with omap specific features will over load the 8250 driver with all omap-specific data thus a new driver is added to configure and support

[PATCH 01/13 v2] OMAP4: UART: Add uart1-4 hwmods data for omap4

2010-09-22 Thread Govindraj.R
From: Benoit Cousson b-cous...@ti.com Add uart1-4 hwmod data into omap4_hwmod data file. Signed-off-by: Benoit Cousson b-cous...@ti.com Signed-off-by: Govindraj.R govindraj.r...@ti.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 235 1 files changed, 235

[PATCH 02/13 v2] OMAP2/3: UART: add omap_hwmod data for UARTs 1-4

2010-09-22 Thread Govindraj.R
From: Kevin Hilman khil...@deeprootsystems.com This patch adds omap_hwmod data for UARTs on OMAP2 and OMAP3 platforms. UART4 support for 3630 and OMAP2 hwmod data added by Govindraj R. Signed-off-by: Kevin Hilman khil...@deeprootsystems.com Signed-off-by: Govindraj.R govindraj.r...@ti.com ---

[PATCH 03/13 v2] OMAP: UART: omap_device converions, remove implicit 8520 assumptions

2010-09-22 Thread Govindraj.R
From: Kevin Hilman khil...@ti.com Major rework of OMAP UART init for omap_device conversion as well as use with either 8250 driver or new omap-serial driver. In preparation for a new omap-serial driver, remove 8250 assumptions and dependencies from the serial core. Convert UART core and PM

[PATCH 04/13 v2] OMAP2: UART: remove set_uart_globals

2010-09-22 Thread Govindraj.R
Remove set_uart_globals function as this will not be needed as physical address for uarts will be taken from hwmod data file. Cc: Kevin Hilman khil...@deeprootsystems.com Signed-off-by: Govindraj.R govindraj.r...@ti.com --- arch/arm/mach-omap2/serial.c |5 -

[PATCH 05/13 v2] OMAP: UART: don't do automatic bus-level suspend/resume

2010-09-22 Thread Govindraj.R
From: Kevin Hilman khil...@deeprootsystems.com Since the omap_device for UART is currently managed inside the idle path itself, don't let the bus-level code suspend/resume the UART. To prevent this, pm_runtime_get() is used when preparing for suspend and pm_runtime_put() is used when finished

[PATCH 06/13 v2] OMAP: UART: use non-locking versions of hwmod enable/idle functions

2010-09-22 Thread Govindraj.R
From: Kevin Hilman khil...@deeprootsystems.com Since the UART enable/idle is done during the idle path (with interrupts disabled), use the non-locking versions of the hwmod enable/idle functions. Signed-off-by: Kevin Hilman khil...@deeprootsystems.com Signed-off-by: Govindraj.R

[PATCH 08/13 v2] OMAP3: PRCM: Consider UART4 for 3630 chip in prcm_setup_regs

2010-09-22 Thread Govindraj.R
To standarize among other uarts (1 to 3), we shall now: - Enable uart4 autodile bit. - Enable uart4 wakeup in PER. - Allow uart4 to wakeup the MPU. Signed-off-by: Sergio Aguirre saagui...@ti.com Signed-off-by: Govindraj.R govindraj.r...@ti.com --- arch/arm/mach-omap2/cm-regbits-34xx.h |

[PATCH 09/13 v2] OMAP3: PM: Add prepare idle and resume idle call for uart4

2010-09-22 Thread Govindraj.R
Add prepare idle and resume idle call for uart4 used by 3630. Cc: Kevin Hilman khil...@deeprootsystems.com Signed-off-by: Govindraj.R govindraj.r...@ti.com --- arch/arm/mach-omap2/pm34xx.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/pm34xx.c

[PATCH 10/13 v2] OMAP3: serial: Fix uart4 handling for 3630

2010-09-22 Thread Govindraj.R
This patch makes the following: - Adds missing wakeup padding register handling. - Fixes a hardcode to use PER module ONLY on UART3. Signed-off-by: Kevin Hilman khil...@deeprootsystems.com Signed-off-by: Sergio Aguirre saagui...@ti.com Signed-off-by: Govindraj.R govindraj.r...@ti.com ---

[PATCH 11/13 v2] serial: Add OMAP high-speed UART driver

2010-09-22 Thread Govindraj.R
This patch adds driver support for OMAP2/3/4 high speed UART. The driver is made separate from 8250 driver as we cannot over load 8250 driver with omap platform specific configuration for features like DMA, it makes easier to implement features like DMA and hardware flow control and software flow

[PATCH 12/13 v2] OMAP: SERIAL: Enable omap-serial driver in Kconfig

2010-09-22 Thread Govindraj.R
Enable omap-serial driver in /mach-omap2/Kconfig and move 8250 driver selection for zoom boards. With omap-serial driver addition all omap-uarts can be handled with omap-serial driver. With addition of omap-serial driver console parameter needs be changed in bootargs from ttyS* should be replaced

[PATCH 13/13 v2] OMAP3: SERIAL: Initialize all omap-uarts for zoom boards

2010-09-22 Thread Govindraj.R
Iniatize all omap-uarts for zoom boards. Remove serial_init from 3630sdp board init as zoom_peripheral_init does the same. Signed-off-by: Kevin Hilman khil...@ti.com Signed-off-by: Anand Gadiyar gadi...@ti.com Signed-off-by: Govindraj.R govindraj.r...@ti.com ---

RE: [PATCH 3/4 v2] omap: hwspinlock: Created driver for OMAP hardware spinlock.

2010-09-22 Thread Kanigeri, Hari
Tony, Thanks for your comments. * Que, Simon s...@ti.com [100811 17:22]: Created driver for OMAP hardware spinlock. - Reserved spinlocks for internal use - Dynamic allocation of unreserved locks - Lock, unlock, and trylock functions, with or without disabling irqs/preempt -

Re: [PATCH 3/5] OMAP: hwmod: Enable module wakeup if in smartidle

2010-09-22 Thread Paul Walmsley
Hello Sergei, On Wed, 22 Sep 2010, Sergei Shtylyov wrote: This line is overindented... Thanks, updated the patch (below). - Paul From 9980ce53c97392a3dbdc9d1ac3e455d79b4167ed Mon Sep 17 00:00:00 2001 From: Rajendra Nayak rna...@ti.com Date: Tue, 21 Sep 2010 19:58:30 +0530 Subject:

Re: [PATCH] tracing, perf: add more power related events

2010-09-22 Thread Jean Pihet
Hi, Here is a patch that redefines the power events API. The advantages are: easier maintainance of the kernel and the user space tools, a cleaner and more generic interface, more parameters for fine tracing and even documentation! Thomas, this patch has your patch above merged in ('power-trace:

Re: [PATCH] tracing, perf: add more power related events

2010-09-22 Thread Arjan van de Ven
On 9/22/2010 8:31 AM, Jean Pihet wrote: Hi, Here is a patch that redefines the power events API. The advantages are: easier maintainance of the kernel and the user space tools, a cleaner and more generic interface, more parameters for fine tracing and even documentation! Thomas, this patch

Re: The current clock44xx_data.c, after applying recent patches

2010-09-22 Thread Paul Walmsley
On Wed, 22 Sep 2010, Cousson, Benoit wrote: On 9/22/2010 9:33 AM, Paul Walmsley wrote: Hi Benoît, Rajendra, Here's the clock44xx_data.c that I ended up with, after applying the recent patches. It seems to compare well with the autogenerator output, but maybe you might find some

Re: [PATCH] tracing, perf: add more power related events

2010-09-22 Thread Jean Pihet
On Wed, Sep 22, 2010 at 5:33 PM, Arjan van de Ven ar...@linux.intel.com wrote:  On 9/22/2010 8:31 AM, Jean Pihet wrote: Hi, Here is a patch that redefines the power events API. The advantages are: easier maintainance of the kernel and the user space tools, a cleaner and more generic

[PATCH] OMAP4: clocks: Fix ES2 clock issues

2010-09-22 Thread Benoit Cousson
- usim optional clock are its parent had the same name, rename the parent usim_fclk - usim_ck - OPTFCLKEN_CLK32K is not handled anymore by the USBPHYOCP2SCP module in ES2 Create a new clock that belongs to CM_ALWON_USBPHY_CLKCTRL register Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Paul

Re: [PATCH] OMAP4: clocks: Fix ES2 clock issues

2010-09-22 Thread Paul Walmsley
On Wed, 22 Sep 2010, Benoit Cousson wrote: - usim optional clock are its parent had the same name, rename the parent usim_fclk - usim_ck - OPTFCLKEN_CLK32K is not handled anymore by the USBPHYOCP2SCP module in ES2 Create a new clock that belongs to CM_ALWON_USBPHY_CLKCTRL register

RE: [PATCH 13/13 v2] OMAP3: SERIAL: Initialize all omap-uarts for zoom boards

2010-09-22 Thread Aguirre, Sergio
Hi Govindraj, Just one non-functional comment below. -Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Raja, Govindraj Sent: Wednesday, September 22, 2010 10:15 AM To: linux-omap@vger.kernel.org Cc:

Re: [PATCH 1/5] OMAP4: PM: Update PRCM register bitshits and masks for ES2

2010-09-22 Thread Cousson, Benoit
On 9/22/2010 8:43 AM, Nayak, Rajendra wrote: From: Paul Walmsley [mailto:p...@pwsan.com] Sent: Wednesday, September 22, 2010 11:47 AM Hi Rajendra On Thu, 16 Sep 2010, Rajendra Nayak wrote: This patch updates the PRM and CM register bitshifts and masks for OMAP4430 ES2.0. Signed-off-by:

Re: [PATCH 1/5] OMAP4: PM: Update PRCM register bitshits and masks for ES2

2010-09-22 Thread Paul Walmsley
On Wed, 22 Sep 2010, Cousson, Benoit wrote: On 9/22/2010 8:43 AM, Nayak, Rajendra wrote: From: Paul Walmsley [mailto:p...@pwsan.com] Sent: Wednesday, September 22, 2010 11:47 AM We should really get rid of all these 'BITFIELD' defines, and just replace them with simple

Re: [PATCH 7/9 v3] OMAP: Hwmod api changes

2010-09-22 Thread Sergei Shtylyov
Hello. Hema HK wrote: OMAP USBOTG modules has a requirement to set the auto idle bit only after setting smart idle bit. Modified the _sys_enable api to set the smart idle first and then the autoidle bit. Setting this will not have any impact on the other modules. Signed-off-by: Hema HK

Re: [PATCH] tracing, perf: add more power related events

2010-09-22 Thread Arjan van de Ven
On 9/22/2010 8:36 AM, Jean Pihet wrote: On Wed, Sep 22, 2010 at 5:33 PM, Arjan van de Venar...@linux.intel.com wrote: On 9/22/2010 8:31 AM, Jean Pihet wrote: Hi, Here is a patch that redefines the power events API. The advantages are: easier maintainance of the kernel and the user space

[PATCH v3 0/4] omap4 hsmmc: Card detect and Register offset handling

2010-09-22 Thread kishore kadiyala
The patch series is based on mainline 2.6.36-rc5. The series is tested on OMAP3430SDP and OMAP4430SDP and has dependency on http://www.mail-archive.com/linux-omap@vger.kernel.org/msg34718.html V2: http://www.mail-archive.com/linux-omap@vger.kernel.org/msg35135.html V1:

[PATCH v3 1/4] omap4 hsmmc: Adding card detect support for MMC1

2010-09-22 Thread kishore kadiyala
Adding card detect callback function and card detect configuration function for MMC1 Controller on OMAP4. Card detect configuration function does initial configuration of the MMC Control PullUp-PullDown registers of Phoenix. For MMC1 Controller, card detect interrupt source is twl6030 which is

[PATCH v3 2/4] omap4 hsmmc: Fix the init if CONFIG_MMC_OMAP_HS is not set

2010-09-22 Thread kishore kadiyala
From: Benoit Cousson b-cous...@ti.com Avoid possible crash if CONFIG_MMC_OMAP_HS is not set Signed-off-by: Benoit Cousson b-cous...@ti.com Signed-off-by: Kishore Kadiyala kishore.kadiy...@ti.com --- arch/arm/mach-omap2/board-4430sdp.c |8 +++- 1 files changed, 7 insertions(+), 1

[PATCH v3 3/4] omap4 hsmmc: Register offset handling

2010-09-22 Thread kishore kadiyala
In OMAP4, as per new PM programming model, the legacy registers which were there in OMAP3 are all shifted by 0x100 while new one's are added from offset 0 to 0x10. For OMAP4, the register offset appending of 0x100 done in devices.c currently, is moved to driver file.This change fits in for current

[PATCH v3 4/4] omap4 hsmmc: Update ocr mask for MMC2 for regulator to use

2010-09-22 Thread kishore kadiyala
On OMAP4, MMC2 controller has eMMC which draws power from VAUX regulator on TWL. Though the eMMC supports dual voltage[1.8v/3v] as per ocr register, its VCC is fixed at 3V for operation. With this once the mmc core selects the minimum voltage[1.8] supported based on the ocr value read from OCR

Re: [PATCH] tracing, perf: add more power related events

2010-09-22 Thread Peter Zijlstra
On Wed, 2010-09-22 at 09:32 -0700, Arjan van de Ven wrote: What are the apps that are using it? I know about builtin-timechart, pytimechart. Is powertop using this as well? powertop 2.x codebase is as well. and a bunch of tools we have internal here at Intel. the thing with ABIs is

Re: [PATCH] tracing, perf: add more power related events

2010-09-22 Thread Peter Zijlstra
On Wed, 2010-09-22 at 09:32 -0700, Arjan van de Ven wrote: Also, please don't cross-post to subscriber only lists, that's annoying as hell. (removed the disc...@lesswatts list) -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to

RE: [PATCH 11/13 v2] serial: Add OMAP high-speed UART driver

2010-09-22 Thread Aguirre, Sergio
Hi Govindraj, -Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Govindraj.R Sent: Wednesday, September 22, 2010 10:15 AM To: linux-omap@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org;

Re: [PATCH] tracing, perf: add more power related events

2010-09-22 Thread Arjan van de Ven
On 9/22/2010 9:43 AM, Peter Zijlstra wrote: On Wed, 2010-09-22 at 09:32 -0700, Arjan van de Ven wrote: What are the apps that are using it? I know about builtin-timechart, pytimechart. Is powertop using this as well? powertop 2.x codebase is as well. and a bunch of tools we have internal

RE: [PATCH] OMAP4: HSMMC cmd line reset change

2010-09-22 Thread Madhusudhan
-Original Message- From: Tony Lindgren [mailto:t...@atomide.com] Sent: Tuesday, September 21, 2010 9:47 AM To: Madhusudhan Cc: c...@laptop.org; linux-...@vger.kernel.org; linux-omap@vger.kernel.org; santosh.shilim...@ti.com Subject: Re: [PATCH] OMAP4: HSMMC cmd line reset change

Re: [PATCH] OMAP4: HSMMC cmd line reset change

2010-09-22 Thread Chris Ball
Hi Madhu, On Wed, Sep 22, 2010 at 12:13:51PM -0500, Madhusudhan wrote: Can you please drop this patch? Sorry, I spoke bit too early on this patch. I need to sort out some stuff internally (seems like it will not be released as an errata). I will post a revised version a bit later. No problem,

Re: [PATCH] tracing, perf: add more power related events

2010-09-22 Thread Peter Zijlstra
On Wed, 2010-09-22 at 10:06 -0700, Arjan van de Ven wrote: In this case we're talking about basically a suprious rename of something that isn't really an improvement (because it makes it harder to subscribe to only one type of event)... that's not a good thing. People have been talking

Re: [PATCH] tracing, perf: add more power related events

2010-09-22 Thread Thomas Renninger
On Wednesday 22 September 2010 19:06:54 Arjan van de Ven wrote: On 9/22/2010 9:43 AM, Peter Zijlstra wrote: On Wed, 2010-09-22 at 09:32 -0700, Arjan van de Ven wrote: What are the apps that are using it? I know about builtin-timechart, pytimechart. Is powertop using this as well?

Re: [PATCH] tracing, perf: add more power related events

2010-09-22 Thread Rafael J. Wysocki
On Wednesday, September 22, 2010, Arjan van de Ven wrote: On 9/22/2010 8:31 AM, Jean Pihet wrote: Hi, Here is a patch that redefines the power events API. The advantages are: easier maintainance of the kernel and the user space tools, a cleaner and more generic interface, more

  1   2   >