Change ARM core rate.

2011-01-31 Thread Andrushka
Hello. I have Davinci DM365 board, but I can't find more suitable mail-listing to ask my qustion. I have written Linux kernel module. Main purpose: change ARM core rate. Davinci DM365 has two PLL: PLL1 and PLL2. ARM core can be feed by: * PLLC1SYSCLK1 - fixed all time, equal to 243000 kHz. *

[PATCH v4 0/4] Introduce hardware spinlock framework

2011-01-31 Thread Ohad Ben-Cohen
OMAP4 introduces a Hardware Spinlock device, which provides hardware assistance for synchronization and mutual exclusion between heterogeneous processors and those not operating under a single, shared operating system (e.g. OMAP4 has dual Cortex-A9, dual Cortex-M3 and a C64x+ DSP). The intention

[PATCH v4 1/4] drivers: hwspinlock: add framework

2011-01-31 Thread Ohad Ben-Cohen
Add a platform-independent hwspinlock framework. Hardware spinlock devices are needed, e.g., in order to access data that is shared between remote processors, that otherwise have no alternative mechanism to accomplish synchronization and mutual exclusion operations. Signed-off-by: Ohad Ben-Cohen

[PATCH v4 2/4] drivers: hwspinlock: add OMAP implementation

2011-01-31 Thread Ohad Ben-Cohen
From: Simon Que s...@ti.com Add hwspinlock support for the OMAP4 Hardware Spinlock device. The Hardware Spinlock device on OMAP4 provides hardware assistance for synchronization between the multiple processors in the system (dual Cortex-A9, dual Cortex-M3 and a C64x+ DSP). [o...@wizery.com:

[PATCH v4 3/4] OMAP4: hwmod data: Add hwspinlock

2011-01-31 Thread Ohad Ben-Cohen
From: Benoit Cousson b-cous...@ti.com Add hwspinlock hwmod data for OMAP4 chip Signed-off-by: Cousson, Benoit b-cous...@ti.com Signed-off-by: Hari Kanigeri h-kanige...@ti.com Signed-off-by: Ohad Ben-Cohen o...@wizery.com Cc: Paul Walmsley p...@pwsan.com Acked-by: Tony Lindgren t...@atomide.com

[PATCH v4 4/4] omap: add hwspinlock device

2011-01-31 Thread Ohad Ben-Cohen
From: Simon Que s...@ti.com Build and register an hwspinlock platform device. Although only OMAP4 supports the hardware spinlock module (for now), it is still safe to run this initcall on all omaps, because hwmod lookup will simply fail on hwspinlock-less platforms. Signed-off-by: Simon Que

Re: [RFC/PATCH] OMAP3: run the ASM sleep code from DDR

2011-01-31 Thread Jean Pihet
Hi Santosh, On Sun, Jan 30, 2011 at 6:57 AM, Santosh Shilimkar santosh.shilim...@ti.com wrote: -Original Message- From: Santosh Shilimkar [mailto:santosh.shilim...@ti.com] Sent: Saturday, January 29, 2011 10:45 PM To: jean.pi...@newoldbits.com; linux-omap@vger.kernel.org Cc: Jean

Re: [lm-sensors] [PATCH v3] hwmon: twl4030: Driver for twl4030 madc module

2011-01-31 Thread Samuel Ortiz
Hi Keerthy, On Sat, Jan 22, 2011 at 10:19:33PM +0530, J, KEERTHY wrote: On Fri, Jan 7, 2011 at 5:42 PM, J, KEERTHY j-keer...@ti.com wrote: On Fri, Jan 7, 2011 at 3:25 AM, Guenter Roeck guenter.ro...@ericsson.com wrote: On Thu, 2011-01-06 at 15:21 -0500, Mark Brown wrote: On Thu, Jan 06,

RE: [RFC/PATCH] OMAP3: run the ASM sleep code from DDR

2011-01-31 Thread Santosh Shilimkar
-Original Message- From: Jean Pihet [mailto:jean.pi...@newoldbits.com] Sent: Monday, January 31, 2011 4:07 PM To: Santosh Shilimkar Cc: linux-omap@vger.kernel.org; Jean Pihet-XID Subject: Re: [RFC/PATCH] OMAP3: run the ASM sleep code from DDR Hi Santosh, [.] +    * For OFF

RE: [PATCH] i2c: OMAP: fix static suspend vs. runtime suspend

2011-01-31 Thread Rajendra Nayak
Hi Kevin, -Original Message- From: Kevin Hilman [mailto:khil...@ti.com] Sent: Friday, January 28, 2011 5:49 AM To: Ben Dooks; Rajendra Nayak; linux-...@vger.kernel.org Cc: linux-omap@vger.kernel.org; linux...@lists.linux-foundation.org; linux-arm-ker...@lists.infradead.org Subject:

[PATCH] video: omap24xxcam: Fix compilation

2011-01-31 Thread Thomas Weber
Add linux/sched.h because of missing declaration of TASK_NORMAL. This patch fixes the following error: drivers/media/video/omap24xxcam.c: In function 'omap24xxcam_vbq_complete': drivers/media/video/omap24xxcam.c:415: error: 'TASK_NORMAL' undeclared (first use in this function)

[PATCH v2 0/2] OMAP: omap_device: API to modify SYSCONFIG register

2011-01-31 Thread Kishon Vijay Abraham I
Certain peripherals require autoidle bits to be disabled before performing some operations. This patch series provides APIs in omap_device layer to modify the SYSCONFIG register. Since current implementation of PM run time framework does not support changing sysconfig settings during middle of

[PATCH v2 1/2] OMAP: hwmod: API to handle autoidle mode

2011-01-31 Thread Kishon Vijay Abraham I
Create a new API that forms a wrapper to _set_module_autoidle() to modify the AUTOIDLE bit. This API is intended to be used by drivers that requires direct manipulation of the AUTOIDLE bits in SYSCONFIG register. McBSP driver requires autoidle bit to be enabled/disabled while using sidetone

[PATCH v2 2/2] OMAP: omap_device: API to modify AUTOIDLE and SMARTIDLE bits

2011-01-31 Thread Kishon Vijay Abraham I
Provide APIs to be used by the driver in order to modify AUTOIDLE and SIDLE bits. These APIs in turn call hwmod APIs to modify the SYSCONFIG register. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com ---

[PATCH v2] OMAP3630: PM: don't warn the user with a trace in case of PM34XX_ERRATUM

2011-01-31 Thread Ricardo Salveti de Araujo
In case in user has a OMAP3630 ES1.2 the kernel should warn the user about the ERRATUM, but using pr_warn instead of WARN_ON is already enough, as there is nothing else the user can do besides changing the board. Signed-off-by: Ricardo Salveti de Araujo ricardo.salv...@canonical.com --- v1-v2: *

RE: [PATCH V2] OMAP3: PM: Set/reset T2 bit for Smartreflex on TWL.

2011-01-31 Thread Koyamangalath, Abhilash
-Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Gulati, Shweta Sent: Monday, January 24, 2011 11:07 AM To: linux-omap@vger.kernel.org Cc: Gopinath, Thara; Gulati, Shweta Subject: [PATCH V2] OMAP3: PM: Set/reset T2 bit

handling clock nodes with both parent and divider selection

2011-01-31 Thread Rajendra Nayak
Hi Paul, On OMAP4, some aux clk nodes (part of SCRM) have control for both parent and divider selection. Is there a way in the current clock framework for OMAP's to handle this? Regards, Rajendra -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to

RE: [PATCH 1/5] omap2+: mux: Seperate the pads of a hwmod as static and dynamic.

2011-01-31 Thread Sricharan R
-Original Message- From: Anand Gadiyar [mailto:gadi...@ti.com] Sent: Saturday, January 29, 2011 2:19 AM To: Sricharan R; linux-omap@vger.kernel.org Cc: Santosh Shilimkar; t...@atomide.com; p...@pwsan.com Subject: RE: [PATCH 1/5] omap2+: mux: Seperate the pads of a hwmod as static and

RE: [PATCH 4/5] omap4: board-omap4panda: Initialise the serial pads

2011-01-31 Thread Sricharan R
-Original Message- From: Anand Gadiyar [mailto:gadi...@ti.com] Sent: Saturday, January 29, 2011 2:23 AM To: Sricharan R; linux-omap@vger.kernel.org Cc: Santosh Shilimkar; t...@atomide.com; p...@pwsan.com Subject: RE: [PATCH 4/5] omap4: board-omap4panda: Initialise the serial pads

[PATCH v2 3/5] omap3: board-3430sdp: Initialise the serial pads.

2011-01-31 Thread sricharan
Corrected a checkpatch warning. Signed-off-by: sricharan r.sricha...@ti.com --- arch/arm/mach-omap2/board-3430sdp.c | 86 ++- 1 files changed, 85 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/board-3430sdp.c

[PATCH v2 4/5] omap4: board-omap4panda: Initialise the serial pads

2011-01-31 Thread sricharan
Removed the remux flags for serial2 cts which was kept for testing. Passed the serial data to serial init. Tested this on omap4panda. Signed-off-by: sricharan r.sricha...@ti.com --- arch/arm/mach-omap2/board-omap4panda.c | 72 +++- 1 files changed, 70

[PATCH v2 00/13] OMAP: McBSP: hwmod adaptation and runtime conversion

2011-01-31 Thread Kishon Vijay Abraham I
Modify OMAP McBSP driver to use omap hwmod framework and pm runtime APIs. Created on top of linux OMAP master (linux-omap-2.6 :master) Did digital loopback testing on OMAP4430, OMAP3430 and OMAP2430 SDP boards. Verified that this patch series does not break the OMAP1 build. Patch series

[PATCH v2 01/13] OMAP: hwmod: Add member 'name' to omap_hwmod_addr_space struct

2011-01-31 Thread Kishon Vijay Abraham I
Adds a structure member 'name' to 'omap_hwmod_addr_space' structure. The drivers can use platform_get_resource_byname() to get resource of type 'IORESOURCE_MEM' by name so that it need not rely on the order to get the proper resource. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com

[PATCH v2 03/13] OMAP2420: hwmod data: Add McBSP

2011-01-31 Thread Kishon Vijay Abraham I
From: Charulatha V ch...@ti.com Add McBSP hwmod data for OMAP2420. Also add macros in prcm-common.h for idlest bit of OMAP24XX McBSP devices Signed-off-by: Charulatha V ch...@ti.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Signed-off-by: Shubhrajyoti D shubhrajy...@ti.com ---

[PATCH v2 02/13] OMAP: McBSP: Convert McBSP to platform device model

2011-01-31 Thread Kishon Vijay Abraham I
Implement McBSP as platform device and add support for registering through platform device layer using resource structures. Later in this patch series, OMAP2+ McBSP driver would be modified to use hwmod framework after populating the omap2+ hwmod database. Signed-off-by: Kishon Vijay Abraham I

[PATCH v2 04/13] OMAP2430: hwmod data: Add McBSP

2011-01-31 Thread Kishon Vijay Abraham I
From: Charulatha V ch...@ti.com Add McBSP hwmod data for OMAP2430. Added a revision member inorder to facilitate the driver to differentiate between mcbsp in different omap. Signed-off-by: Charulatha V ch...@ti.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Signed-off-by: Shubhrajyoti

[PATCH v2 05/13] OMAP3: hwmod data: Add McBSP

2011-01-31 Thread Kishon Vijay Abraham I
From: Charulatha V ch...@ti.com Add McBSP hwmod data for OMAP3. Added a revision member inorder to facilitate the driver to differentiate between mcbsp in different omap. Signed-off-by: Charulatha V ch...@ti.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Signed-off-by: Shubhrajyoti D

[PATCH v2 07/13] OMAP3: hwmod: add dev_attr for McBSP sidetone

2011-01-31 Thread Kishon Vijay Abraham I
Since the sidetone block is tightly coupled to the mcbsp, sidetone information is directly added to mcbsp2 3 hwmod dev_attr. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Signed-off-by: Benoit Cousson b-cous...@ti.com --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 10 ++

[PATCH v2 06/13] OMAP4: hwmod data: Add McBSP

2011-01-31 Thread Kishon Vijay Abraham I
From: Benoit Cousson b-cous...@ti.com Added a revision member inorder to facilitate the driver to differentiate between mcbsp in different omap. Signed-off-by: Benoit Cousson b-cous...@ti.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Signed-off-by: Charulatha V ch...@ti.com ---

[PATCH v2 08/13] OMAP2+: McBSP: hwmod adaptation for McBSP

2011-01-31 Thread Kishon Vijay Abraham I
Modify OMAP2+ McBSP to use omap hwmod framework APIs Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Signed-off-by: Charulatha V ch...@ti.com Signed-off-by: Shubhrajyoti D shubhrajy...@ti.com --- arch/arm/mach-omap2/mcbsp.c | 685 +++ 1 files changed,

[PATCH v2 09/13] OMAP: McBSP: use omap_device APIs to modify SYSCONFIG

2011-01-31 Thread Kishon Vijay Abraham I
McBSP2/3 in OMAP3 has sidetone feature which requires autoidle to be disabled before starting the sidetone. Also SYSCONFIG register has to be set with smart idle or no idle depending on the dma op mode (threshold or element sync). For doing these operations dynamically at runtime, omap_device APIs

[PATCH v2 10/13] OMAP: McBSP: Add pm runtime support

2011-01-31 Thread Kishon Vijay Abraham I
Add pm runtime support for McBSP driver. Reference to fclk is not removed because it is required when the functional clock is switched from one source to another. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/mach-omap2/mcbsp.c |5 +++--

[PATCH v2 11/13] OMAP: McBSP: APIs to pass DMA params from McBSP driver to client drivers

2011-01-31 Thread Kishon Vijay Abraham I
After McBSP driver is hwmod adapted, the information about the hw would be obtained from the hwmod database by the mcbsp driver. Since DMA programming is handled by the client driver, APIs are provided to pass the DMA channel number and base address of data register required by the client driver

[PATCH v2 12/13] ASoC: McBSP: get hw params from McBSP driver

2011-01-31 Thread Kishon Vijay Abraham I
Removed the use of macros to obtain base address and DMA channel number. Instead use the McBSP driver API's that passes base address and DMA channel number to the client driver. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Cc: Jarkko Nikula jhnik...@gmail.com Cc: Peter Ujfalusi

[PATCH v2 13/13] OMAP: hwmod: Removal of macros for data that is obtained from hwmod database

2011-01-31 Thread Kishon Vijay Abraham I
Information like base address and DMA channel nubers should no longer be obtained using macros. These information should be obtained from hwmod database. Hence the macros that define the base address are removed. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Signed-off-by: Charulatha V

Re: [linux-pm] [PATCH] i2c: OMAP: fix static suspend vs. runtime suspend

2011-01-31 Thread Alan Stern
On Mon, 31 Jan 2011, Rajendra Nayak wrote: Can you elaborate a bit more on how/why runtime PM transitions are disabled during system suspend, and how is it taken care of that a runtime resume of a device works however a subsequent runtime (re)suspend does not? I'll answer for Kevin. This is

RE: [linux-pm] [PATCH] i2c: OMAP: fix static suspend vs. runtime suspend

2011-01-31 Thread Rajendra Nayak
-Original Message- From: Alan Stern [mailto:st...@rowland.harvard.edu] Sent: Monday, January 31, 2011 8:43 PM To: Rajendra Nayak Cc: Kevin Hilman; Ben Dooks; linux-...@vger.kernel.org; linux...@lists.linux-foundation.org; linux- o...@vger.kernel.org;

Re: [PATCH 10/13] OMAP3: Add voltage dependency table for VDD1.

2011-01-31 Thread Kevin Hilman
Vishwanath Sripathy vishwanath...@ti.com writes: [...] Regarding 34xx testing, I did try to test it on 3430 SDP. However image was not booting up when I used pm branch. I see that with latest pm-core branch image boots up where as with pm branch it does not. Is this a known issue? I don't

Re: [linux-pm] [PATCH] i2c: OMAP: fix static suspend vs. runtime suspend

2011-01-31 Thread Kevin Hilman
Alan Stern st...@rowland.harvard.edu writes: On Mon, 31 Jan 2011, Rajendra Nayak wrote: Can you elaborate a bit more on how/why runtime PM transitions are disabled during system suspend, and how is it taken care of that a runtime resume of a device works however a subsequent runtime

RE: [query] smartreflex: No PMIC hook to init smartreflex

2011-01-31 Thread Premi, Sanjeev
-Original Message- From: Vishwanath Sripathy [mailto:vishwanath...@ti.com] Sent: Thursday, January 27, 2011 7:56 PM To: Menon, Nishanth; Premi, Sanjeev Cc: linux-omap@vger.kernel.org Subject: RE: [query] smartreflex: No PMIC hook to init smartreflex Nishant, -Original

Re: [PATCH] arm: Fix possible memory leak

2011-01-31 Thread Kevin Hilman
Stefan Weil w...@mail.berlios.de writes: sr_info was allocated and needs a kfree before returning. This error was reported by cppcheck: arch/arm/mach-omap2/smartreflex.c:837: error: Memory leak: sr_info To: Tony Lindgren t...@atomide.com Cc: Russell King li...@arm.linux.org.uk Cc:

Re: [linux-pm] [PATCH] i2c: OMAP: fix static suspend vs. runtime suspend

2011-01-31 Thread Alan Stern
On Mon, 31 Jan 2011, Kevin Hilman wrote: I understand how this works, but frankly I'm still a bit fuzzy on why. I guess I'm still missing a good understanding of what interfering with a system power transition means, and why a runtime suspend qualifies as interfering but not a runtime

Re: [PATCH 19/23] arm: Fix possible null pointer read access

2011-01-31 Thread Kevin Hilman
Stefan Weil w...@mail.berlios.de writes: These errors were found by cppcheck: arch/arm/mach-omap2/smartreflex.c:784: error: Possible null pointer dereference: sr_info arch/arm/mach-omap2/smartreflex.c:799: error: Possible null pointer dereference: sr_info Both conditional statements are

[PATCH v3 0/4] OMAP2PLUS: DSS: Generalize clock names

2011-01-31 Thread Sumit Semwal
This patch series changes dss clock names to generic role names for all DSS clocks across clk APIs, hwmod data, dss driver. It also changes the enums used within DSS framework to refer to the clocks to make them generic and related to functionality than value. eg. DSS_CLK_TVFCK replaces

[PATCH v3 1/4] OMAP2PLUS: clocks: Align DSS clock names and roles

2011-01-31 Thread Sumit Semwal
Currently, clock database has dev, clock-name tuples for DSS2. Because of this, the clock names are different across different OMAP platforms. This patch aligns the DSS2 clock names and roles across OMAP 2420, 2430, 3xxx, 44xx platforms in the clock databases, hwmod databases for opt-clocks, and

[PATCH v3 2/4] OMAP2PLUS: DSS2: Generalize naming of PRCM related clock enums in DSS driver

2011-01-31 Thread Sumit Semwal
From: Archit Taneja arc...@ti.com enum dss_clock structure is replaced with generic names that could be used across OMAP2420, 2430, 3xxx, 44xx platforms. Signed-off-by: Sumit Semwal sumit.sem...@ti.com Signed-off-by: Archit Taneja arc...@ti.com --- drivers/video/omap2/dss/core.c|4 +-

[PATCH v3 3/4] OMAP2PLUS: DSS2: Generalize external clock names in struct dss of dss.c

2011-01-31 Thread Sumit Semwal
From: Archit Taneja arc...@ti.com The dss struct in dss.c has omap2/3 specific clock names. Making them generic, to increase readability and extendability. Signed-off-by: Sumit Semwal sumit.sem...@ti.com Signed-off-by: Archit Taneja arc...@ti.com --- drivers/video/omap2/dss/dss.c | 82

[PATCH v3 4/4] OMAP4: DSS2: clocks: Add ick as dummy clock

2011-01-31 Thread Sumit Semwal
DSS code uses ick as one of the clocks in clk_get/clk_put. OMAP4 clock database doesn't have ick for DSS, so adding ick as dummy clock. This is needed for backward compatibility with OMAP2/3. Once pm_runtime* APIs get introduced in DSS, this will be revisited. Signed-off-by: Sumit Semwal

Re: [PATCH v2 12/13] ASoC: McBSP: get hw params from McBSP driver

2011-01-31 Thread Mark Brown
On Mon, Jan 31, 2011 at 08:20:36PM +0530, Kishon Vijay Abraham I wrote: Removed the use of macros to obtain base address and DMA channel number. Instead use the McBSP driver API's that passes base address and DMA channel number to the client driver. Signed-off-by: Kishon Vijay Abraham I

[PATCH 0/2] IOMMU error message cleanup

2011-01-31 Thread David Cohen
From: David Cohen david@dhcppc2.(none) Hi, OMAP IOMMU prints error messages twice. These patches remove the error message from the OMAP2,3 specific implementation and let them to be printed on the above layer only. Br, David --- David Cohen (2): OMAP: Add generic IOMMU errors code OMAP:

[PATCH 2/2] OMAP: Cleanup IOMMU error messages

2011-01-31 Thread David Cohen
IOMMU error messages are duplicated. They're printed on IOMMU specific layer for OMAP2,3 and once again on the above layer. With this patch, the error message is printed on the above layer only. Signed-off-by: David Cohen david.co...@nokia.com --- arch/arm/mach-omap2/iommu2.c| 33

[PATCH 1/2] OMAP: Add generic IOMMU errors code

2011-01-31 Thread David Cohen
Generic IOMMU errors code are necessary to handle errors on generic layer. Signed-off-by: David Cohen david.co...@nokia.com --- arch/arm/plat-omap/include/plat/iommu.h |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/arm/plat-omap/include/plat/iommu.h

Re: [PATCH] OMAP: powerdomain: remove unused func declaration

2011-01-31 Thread Paul Walmsley
On Wed, 19 Jan 2011, Rajendra Nayak wrote: Trivial fix to remove the unused function declaration from the powerdomain header. Signed-off-by: Rajendra Nayak rna...@ti.com --- arch/arm/mach-omap2/powerdomain.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git

[GIT PULL] omap fixes for v2.6.38-rc2

2011-01-31 Thread Tony Lindgren
Hi Linus, Please pull some omap fixes from: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git omap-fixes-for-linus This is mostly to fix few compiler warning that sneaked in during the merge window. Also included is one trivial omap1 related cleanup patch to keep the code

Re: [linux-pm] [PATCH] i2c: OMAP: fix static suspend vs. runtime suspend

2011-01-31 Thread Rafael J. Wysocki
On Monday, January 31, 2011, Alan Stern wrote: On Mon, 31 Jan 2011, Kevin Hilman wrote: I understand how this works, but frankly I'm still a bit fuzzy on why. I guess I'm still missing a good understanding of what interfering with a system power transition means, and why a runtime

OMAP PM fixes for 2.6.38-rc3

2011-01-31 Thread Kevin Hilman
Tony, Please pull the following small set of PM-related fixes for 2.6.38-rc. Kevin The following changes since commit 1bae4ce27c9c90344f23c65ea6966c50ffeae2f5: Linux 2.6.38-rc2 (2011-01-21 19:01:34 -0800) are available in the git repository at:

Re: [PATCHv3] OMAP: Enable Magic SysRq on serial console ttyOx

2011-01-31 Thread Thomas Weber
On Mon, Jan 24, 2011 at 10:47 PM, Kevin Hilman khil...@ti.com wrote: Govindraj govindraj...@gmail.com writes: On Fri, Jan 21, 2011 at 3:31 PM, Thomas Weber we...@corscience.de wrote: Magic SysRq key is not working for OMAP on new serial console ttyOx because SUPPORT_SYSRQ is not defined for

Re: Staging: Westbridge: fix EXPORT_SYMBOL errors reported by checkpatch.pl

2011-01-31 Thread Greg KH
On Tue, Jan 25, 2011 at 09:03:22PM -0800, Sutharsan wrote: From: Sutharsan Ramamoorthy s...@cypress.com This patch fixes errors reported by checkpatch.pl in westbridge device controller driver in the staging tree. File containing EXPORT_SYMBOL() macros for all the APIs exported by the

Re: [PATCH] Staging: Westbridge: fix EXPORT_SYMBOL errors reported by checkpatch.pl

2011-01-31 Thread Greg KH
On Wed, Jan 26, 2011 at 08:58:54AM -0800, Sutharsan wrote: From: Sutharsan Ramamoorthy s...@cypress.com This patch fixes errors reported by checkpatch.pl in westbridge device controller driver in the staging tree. File containing EXPORT_SYMBOL() macros for all the APIs exported by the

Re: Staging: Westbridge: fix EXPORT_SYMBOL errors reported by checkpatch.pl

2011-01-31 Thread Sutharsan
On Mon, 2011-01-31 at 13:31 -0800, Greg KH wrote: On Tue, Jan 25, 2011 at 09:03:22PM -0800, Sutharsan wrote: From: Sutharsan Ramamoorthy s...@cypress.com This patch fixes errors reported by checkpatch.pl in westbridge device controller driver in the staging tree. File containing

Re: [PATCH] Staging: Westbridge: fix EXPORT_SYMBOL errors reported by checkpatch.pl

2011-01-31 Thread Sutharsan
On Mon, 2011-01-31 at 13:40 -0800, Greg KH wrote: On Wed, Jan 26, 2011 at 08:58:54AM -0800, Sutharsan wrote: From: Sutharsan Ramamoorthy s...@cypress.com This patch fixes errors reported by checkpatch.pl in westbridge device controller driver in the staging tree. File containing

Re: [PATCH v2] OMAP3630: PM: don't warn the user with a trace in case of PM34XX_ERRATUM

2011-01-31 Thread Kevin Hilman
Ricardo Salveti de Araujo ricardo.salv...@canonical.com writes: In case in user has a OMAP3630 ES1.2 the kernel should warn the user about the ERRATUM, but using pr_warn instead of WARN_ON is already enough, as there is nothing else the user can do besides changing the board.

[PATCH] MAINTAINERS: add entry for OMAP powerdomain/clockdomain per-SoC layer support

2011-01-31 Thread Paul Walmsley
Add Rajendra Nayak and myself as maintainers for the OMAP powerdomain/clockdomain per-SoC layer code. Signed-off-by: Kevin Hilman khil...@deeprootsystems.com Signed-off-by: Rajendra Nayak rna...@ti.com Signed-off-by: Paul Walmsley p...@pwsan.com Signed-off-by: Benoît Cousson b-cous...@ti.com

Re: [PATCH] OMAP: hwmod: Do not expect an entry in clkdev to add alias for opt_clks

2011-01-31 Thread Paul Walmsley
Hi Rajendra one brief comment below. Also, when you post an updated version, could you cc the linux-arm-kernel mailing list? That way I won't have to do it... On Fri, 28 Jan 2011, Rajendra Nayak wrote: The _add_optional_clock_alias function expects an entry already existing in the clkdev

Re: handling clock nodes with both parent and divider selection

2011-01-31 Thread Paul Walmsley
On Mon, 31 Jan 2011, Rajendra Nayak wrote: Hi Paul, On OMAP4, some aux clk nodes (part of SCRM) have control for both parent and divider selection. Is there a way in the current clock framework for OMAP's to handle this? For these clocks on OMAP3, we split the clock into two struct clks.

Re: [PATCH 1/6] omap4: powerdomain: Add supported INACTIVE power state

2011-01-31 Thread Paul Walmsley
Hello Santosh, On Fri, 28 Jan 2011, Santosh Shilimkar wrote: On OMAP4, one can explicitly program INACTIVE as the power state of the logic area inside the power domain. Techincally PD state programmed to ON and if all the clock domains within the PD are idled, is equivalent tp PD programmed

Re: [PATCH 4/6] omap4: dpll: Enable all DPLL autoidle at boot

2011-01-31 Thread Paul Walmsley
Hi guys On Fri, 28 Jan 2011, Santosh Shilimkar wrote: From: Rajendra Nayak rna...@ti.com Enable all DPLL autoidle at boot on OMAP4. Is there some reason why we can't do this in the OMAP4 PM code? At some point, I think it would be good to essentially disable all PM at boot, and then let

Re: [PATCH v4 1/4] drivers: hwspinlock: add framework

2011-01-31 Thread Andrew Morton
On Mon, 31 Jan 2011 12:33:41 +0200 Ohad Ben-Cohen o...@wizery.com wrote: Add a platform-independent hwspinlock framework. Hardware spinlock devices are needed, e.g., in order to access data that is shared between remote processors, that otherwise have no alternative mechanism to accomplish

Re: [PATCHv3] OMAP: Enable Magic SysRq on serial console ttyOx

2011-01-31 Thread Kevin Hilman
Thomas Weber thomas.weber.li...@googlemail.com writes: On Mon, Jan 24, 2011 at 10:47 PM, Kevin Hilman khil...@ti.com wrote: Govindraj govindraj...@gmail.com writes: On Fri, Jan 21, 2011 at 3:31 PM, Thomas Weber we...@corscience.de wrote: Magic SysRq key is not working for OMAP on new serial

Re: [PATCH 2/2] OMAP: Cleanup IOMMU error messages

2011-01-31 Thread Ramirez Luna, Omar
Hi David, On Mon, Jan 31, 2011 at 11:25 AM, David Cohen david.co...@nokia.com wrote: IOMMU error messages are duplicated. They're printed on IOMMU specific layer for OMAP2,3 and once again on the above layer. With this patch, the error message is printed on the above layer only. So, you say

Re: [query] smartreflex: No PMIC hook to init smartreflex

2011-01-31 Thread Gulati, Shweta
Sanjeev, On Mon, Jan 31, 2011 at 9:50 PM, Premi, Sanjeev pr...@ti.com wrote: -Original Message- From: Vishwanath Sripathy [mailto:vishwanath...@ti.com] Sent: Thursday, January 27, 2011 7:56 PM To: Menon, Nishanth; Premi, Sanjeev Cc: linux-omap@vger.kernel.org Subject: RE: [query]

RE: [PATCH] OMAP: hwmod: Do not expect an entry in clkdev to add alias for opt_clks

2011-01-31 Thread Rajendra Nayak
Hi Paul, -Original Message- From: Paul Walmsley [mailto:p...@pwsan.com] Sent: Tuesday, February 01, 2011 4:39 AM To: Rajendra Nayak Cc: linux-omap@vger.kernel.org Subject: Re: [PATCH] OMAP: hwmod: Do not expect an entry in clkdev to add alias for opt_clks Hi Rajendra one brief

RE: [PATCH 4/6] omap4: dpll: Enable all DPLL autoidle at boot

2011-01-31 Thread Rajendra Nayak
Hi Paul, -Original Message- From: Paul Walmsley [mailto:p...@pwsan.com] Sent: Tuesday, February 01, 2011 4:47 AM To: rna...@ti.com; Santosh Shilimkar Cc: linux-omap@vger.kernel.org; khil...@ti.com; b-cous...@ti.com; linux-arm-ker...@lists.infradead.org Subject: Re: [PATCH 4/6]

Re: [PATCH V2] OMAP3: PM: Set/reset T2 bit for Smartreflex on TWL.

2011-01-31 Thread Gulati, Shweta
Abhilash, On Mon, Jan 31, 2011 at 7:19 PM, Koyamangalath, Abhilash abhilash...@ti.com wrote: -Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Gulati, Shweta Sent: Monday, January 24, 2011 11:07 AM To:

Re: [PATCH v4 1/4] drivers: hwspinlock: add framework

2011-01-31 Thread Ohad Ben-Cohen
On Tue, Feb 1, 2011 at 1:38 AM, Andrew Morton a...@linux-foundation.org wrote: It's a little irritating having two hwspinlock.h's. hwspinlock_internal.h wold be a conventional approach.  But it's not a big deal. ... +/** + * __hwspin_lock_timeout() - lock an hwspinlock with timeout limit +

RE: [PATCH 1/6] omap4: powerdomain: Add supported INACTIVE power state

2011-01-31 Thread Santosh Shilimkar
-Original Message- From: Paul Walmsley [mailto:p...@pwsan.com] Sent: Tuesday, February 01, 2011 4:44 AM To: Santosh Shilimkar Cc: linux-omap@vger.kernel.org; khil...@ti.com; b-cous...@ti.com; rna...@ti.com; linux-arm-ker...@lists.infradead.org Subject: Re: [PATCH 1/6] omap4:

Re: [PATCH v4 1/4] drivers: hwspinlock: add framework

2011-01-31 Thread Andrew Morton
On Tue, 1 Feb 2011 08:20:13 +0200 Ohad Ben-Cohen o...@wizery.com wrote: On Tue, Feb 1, 2011 at 1:38 AM, Andrew Morton a...@linux-foundation.org wrote: It's a little irritating having two hwspinlock.h's. hwspinlock_internal.h wold be a conventional approach. __But it's not a big deal.

Re: [PATCH v2] musb: am35x: fix compile error due to control apis

2011-01-31 Thread Felipe Balbi
On Thu, Jan 27, 2011 at 07:31:23AM -0500, Ben Gamari wrote: On Thu, 27 Jan 2011 06:48:10 +0200, Felipe Balbi ba...@ti.com wrote: sorry, quite busy at the moment, but here's one answer. Check this commit: commit a9c037832e9624e240c5019d0e01e9352e8f638d ... Thanks for the reply! So I

[PATCHv4] OMAP: Enable Magic SysRq on serial console ttyOx

2011-01-31 Thread Thomas Weber
Magic SysRq key is not working for OMAP on new serial console ttyOx because SUPPORT_SYSRQ is not defined for omap-serial. This patch defines SUPPORT_SYSRQ in omap-serial and enables handling of Magic SysRq character. Further there is an issue of losing first break character. Removing the reset

Re: [PATCH v4 1/4] drivers: hwspinlock: add framework

2011-01-31 Thread Ohad Ben-Cohen
On Tue, Feb 1, 2011 at 8:38 AM, Andrew Morton a...@linux-foundation.org wrote: I'll do a quick respin of the patches with that and the hwspinlock_internal.h comment above. OK.. The patch series looks OK to me. Can I add your Acked-by on the non-omap parts when I respin the series ? Thanks,

Re: [PATCH v4 1/4] drivers: hwspinlock: add framework

2011-01-31 Thread Andrew Morton
On Tue, 1 Feb 2011 09:36:22 +0200 Ohad Ben-Cohen o...@wizery.com wrote: On Tue, Feb 1, 2011 at 8:38 AM, Andrew Morton a...@linux-foundation.org wrote: I'll do a quick respin of the patches with that and the hwspinlock_internal.h comment above. OK.. The patch series looks OK to me.