Re: [PATCH] OMAP: fix gpmc nand setup when no timings supplied

2010-04-27 Thread Mike Rapoport
Tony Lindgren wrote: * Mike Rapoport m...@compulab.co.il [100422 01:41]: Ghorai, Sukumar wrote: CM-T35, for instance can be assembled with different NAND flash chips. Besides, boards that use NAND as primary boot device, we anyway depend on proper GPMC configuration in the bootloader chain.

Re: [PATCH v9] board-omap3-beagle: add DSS2 support

2010-04-27 Thread Koen Kooi
No more comments? Can it go in? Op 22 apr 2010, om 10:23 heeft Koen Kooi het volgende geschreven: This patch adds DSS2 support to the beagleboard boardfile. DVI and TV-out are supported. Signed-off-by: Koen Kooi k...@dominion.thruhere.net --- Changes since v1: * removed

Re: [PATCH] OMAP: DSS: ensure clocks are disabled on failed init

2010-04-27 Thread Grazvydas Ignotas
CC Tomi in case he missed this. On Mon, Apr 26, 2010 at 10:12 PM, Kevin Hilman khil...@deeprootsystems.com wrote: Currently, if init fails for whatever reason, various DSS related clocks will be left enabled and prevent the chip from hitting retention or off-mode. This patch ensures the

Re: [PATCH 4/4] OMAP3: PM: export chip IDCODE, Production ID and Die ID

2010-04-27 Thread Eduardo Valentin
Hello Tony, On Mon, Apr 26, 2010 at 08:28:12PM +0200, ext Tony Lindgren wrote: * Eduardo Valentin eduardo.valen...@nokia.com [100426 01:20]: From: Eduardo Valentin eduardo.valen...@nokia.com This patch exports the OMAP3 IDCODE, Production ID and Die ID to userspace via /proc/cpuinfo

Re: OMAP3: Linux Without a Boot Loader?

2010-04-27 Thread Nishanth Menon
On 04/26/2010 10:53 PM, Greg Ungerer wrote: [..] Image creation steps: make bzImage, copy the arch/arm/boot/zImage to required location, ./tagger -c configs/sample-3630.cfg -f zImage ./gpsign -c configs/sample-3630.cfg -f zImage.tag I need to probably add some decent documentation around it,

Re: [PATCH] OMAP: DSS: ensure clocks are disabled on failed init

2010-04-27 Thread Tomi Valkeinen
Hi, On Tue, 2010-04-27 at 11:14 +0200, ext Grazvydas Ignotas wrote: CC Tomi in case he missed this. Thanks =) On Mon, Apr 26, 2010 at 10:12 PM, Kevin Hilman khil...@deeprootsystems.com wrote: Currently, if init fails for whatever reason, various DSS related clocks will be left enabled

Re: [PATCH v9] board-omap3-beagle: add DSS2 support

2010-04-27 Thread Thomas Weber
On 04/27/10 07:58, Koen Kooi wrote: No more comments? Can it go in? Op 22 apr 2010, om 10:23 heeft Koen Kooi het volgende geschreven: This patch adds DSS2 support to the beagleboard boardfile. DVI and TV-out are supported. Signed-off-by: Koen Kooi k...@dominion.thruhere.net ---

[PATCH] OMAP3EVM: Update pad configuration for wakeup enabled pads

2010-04-27 Thread Ranjith Lohithakshan
OMAP3530 TRM section 7.4.4.4.2 requires OFFOUTENABLE to be set (active low) if wakeup capabilities are enabled on a pad. During OFF mode testing on OMAP3530 EVM, it was observed that the device was not residing in the OFF state. The device enters into the OFF state and immediately exits from that

RE: [PATCH] ARM:iommu support for OMAP4

2010-04-27 Thread Kanigeri, Hari
Hi, -Original Message- From: Hiroshi DOYU [mailto:hiroshi.d...@nokia.com] Sent: Monday, April 19, 2010 1:50 AM To: Kanigeri, Hari; p...@pwsan.com; khil...@deeprootsystems.com Cc: linux-omap@vger.kernel.org; Shilimkar, Santosh; t...@atomide.com Subject: Re: [PATCH] ARM:iommu support

[PATCHv2 0/4] Adding soc related info into /proc/cpuinfo

2010-04-27 Thread Eduardo Valentin
Hello all, Here is the version 2 of this series. Now die id is protected using same x86 protection mechanism to hide x86 product number. Besides, a compilation Kconfig option has been added for DIE ID as well. Here is previous PATCH 0/4 message: This series is to continue what has been

[PATCHv2 2/4] mach-omap2: Add SoC info data for OMAP2,3,4 into /proc/cpuinfo

2010-04-27 Thread Eduardo Valentin
From: Eduardo Valentin eduardo.valen...@nokia.com Report OMAP2,3,4 data into system_soc_info. Now we get omap information under /proc/cpuinfo. Signed-off-by: Eduardo Valentin eduardo.valen...@nokia.com --- arch/arm/mach-omap2/id.c | 21 +++-- 1 files changed, 15 insertions(+),

[PATCHv2 3/4] mach-omap1: Add SoC info data for OMAP1 into /proc/cpuinfo

2010-04-27 Thread Eduardo Valentin
From: Eduardo Valentin eduardo.valen...@nokia.com Report OMAP data into system_soc_info. Now we get omap information under /proc/cpuinfo. Signed-off-by: Eduardo Valentin eduardo.valen...@nokia.com --- arch/arm/mach-omap1/id.c | 18 -- 1 files changed, 12 insertions(+), 6

[PATCHv2 4/4] OMAP3: PM: export chip IDCODE, Production ID and Die ID

2010-04-27 Thread Eduardo Valentin
From: Eduardo Valentin eduardo.valen...@nokia.com This patch exports the OMAP3 IDCODE and Production ID to userspace via /proc/cpuinfo using the system_soc_info. Die ID is also exported depending on what users pass as kernel parameter. It is same protection mechanism made for x86 product number.

[PATCHv2 1/4] ARM: Introduce SoC Info into /proc/cpuinfo

2010-04-27 Thread Eduardo Valentin
From: Eduardo Valentin eduardo.valen...@nokia.com This patch extends the ARM /proc/cpuinfo to include soc info data. It is implemented via the same way which is done for system_rev, system_serial_low and system_serial_high. Then, now we have system_soc_info, which is printed only if there is

Msleep doesn't return!

2010-04-27 Thread Douglass, Woody
Hello all, Not sure if this is the right place to ask this, but I have a bit of a problem with the omap kernel. I've added some patches to the 2.6.32-omap1 tag of the omap git tree to support a custom board. When I try to boot, about 30% of the time, it gets all the way to the prepare_namespace

RE: [PM][PATCH v3 2/4] OMAP3: Serial: Errata i202: fix for MDR1 access

2010-04-27 Thread Menon, Nishanth
Kevin, From: Menon, Nishanth Sent: Monday, April 12, 2010 1:46 PM To: linux-omap Cc: Kattungal, Deepak; Raja, Govindraj; Kevin Hilman; Tero Kristo; Menon, Nishanth From: Deepak K deepa...@ti.com Original patch: http://git.omapzoom.org/?p=kernel/omap.git;a=commitdiff;h=42d4

[PATCH v5] OMAP2/3: I2C: Errata ID i207: Clear wrong RDR interrupt

2010-04-27 Thread Manjunatha GK
Under certain rare conditions, I2C_STAT[13].RDR bit may be set and the corresponding interrupt fire, even there is no data in the receive FIFO, or the I2C data transfer is still ongoing. These spurious RDR events must be ignored by the software. This patch handles and ignores RDR spurious

Re: [PATCH] OMAP: fix gpmc nand setup when no timings supplied

2010-04-27 Thread Tony Lindgren
* Mike Rapoport m...@compulab.co.il [100427 00:40]: Tony Lindgren wrote: * Mike Rapoport m...@compulab.co.il [100422 01:41]: Ghorai, Sukumar wrote: CM-T35, for instance can be assembled with different NAND flash chips. Besides, boards that use NAND as primary boot device, we anyway depend

Re: [PATCH 4/4] OMAP3: PM: export chip IDCODE, Production ID and Die ID

2010-04-27 Thread Tony Lindgren
* Eduardo Valentin eduardo.valen...@nokia.com [100427 03:08]: Hello Tony, On Mon, Apr 26, 2010 at 08:28:12PM +0200, ext Tony Lindgren wrote: * Eduardo Valentin eduardo.valen...@nokia.com [100426 01:20]: + + /* Append OMAP3 IDCODE, Production ID and Die ID to system_soc_info */ + sz

Re: [PATCH v5] OMAP2/3: I2C: Errata ID i207: Clear wrong RDR interrupt

2010-04-27 Thread Tony Lindgren
* Manjunatha GK manj...@ti.com [100427 07:21]: --- a/drivers/i2c/busses/i2c-omap.c +++ b/drivers/i2c/busses/i2c-omap.c @@ -199,6 +199,7 @@ struct omap_i2c_dev { u16 bufstate; u16 syscstate; u16 westate; + bool

Re: [PATCH v5] OMAP2/3: I2C: Errata ID i207: Clear wrong RDR interrupt

2010-04-27 Thread Nishanth Menon
G, Manjunath Kondaiah had written, on 04/27/2010 09:47 AM, the following: Under certain rare conditions, I2C_STAT[13].RDR bit may be set and the corresponding interrupt fire, even there is no data in the receive FIFO, or the I2C data transfer is still ongoing. These spurious RDR events must be

Re: [PATCHv2 2/4] mach-omap2: Add SoC info data for OMAP2,3,4 into /proc/cpuinfo

2010-04-27 Thread Felipe Balbi
On Tue, Apr 27, 2010 at 03:14:13PM +0200, Valentin Eduardo (Nokia-D/Helsinki) wrote: From: Eduardo Valentin eduardo.valen...@nokia.com Report OMAP2,3,4 data into system_soc_info. Now we get omap information under /proc/cpuinfo. Signed-off-by: Eduardo Valentin eduardo.valen...@nokia.com ---

Re: [PATCH] OMAP3: PRCM interrupt: only check for enabled PRCM IRQs

2010-04-27 Thread Kevin Hilman
Mike Turquette mturque...@ti.com writes: Kevin Hilman wrote: While handling PRCM IRQs, mask out interrupts that are not enabled in PRM_IRQENABLE_MPU. If these are not masked out, non-enabled interrupts are caught and a WARN() is dumped. This was noticed using SmartReflex transitions which

Re: [PATCH] OMAP: DSS: ensure clocks are disabled on failed init

2010-04-27 Thread Kevin Hilman
Tomi Valkeinen tomi.valkei...@nokia.com writes: Hi, On Tue, 2010-04-27 at 11:14 +0200, ext Grazvydas Ignotas wrote: CC Tomi in case he missed this. Thanks =) On Mon, Apr 26, 2010 at 10:12 PM, Kevin Hilman khil...@deeprootsystems.com wrote: Currently, if init fails for whatever

Re: [PATCH] OMAP3EVM: Update pad configuration for wakeup enabled pads

2010-04-27 Thread Kevin Hilman
Ranjith Lohithakshan ranji...@ti.com writes: OMAP3530 TRM section 7.4.4.4.2 requires OFFOUTENABLE to be set (active low) if wakeup capabilities are enabled on a pad. During OFF mode testing on OMAP3530 EVM, it was observed that the device was not residing in the OFF state. The device enters

Re: [GIT PULL] omap fixes for v2.6.34-rc5

2010-04-27 Thread Linus Torvalds
On Mon, 26 Apr 2010, Tony Lindgren wrote: Please pull omap fixes from: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git omap-fixes-for-linus I pulled it this time, but I'm starting to get really irritated with you. These look like real fixes, but quite frankly, by

Re: [GIT PULL] omap fixes for v2.6.34-rc5

2010-04-27 Thread Tony Lindgren
* Linus Torvalds torva...@linux-foundation.org [100427 08:28]: On Mon, 26 Apr 2010, Tony Lindgren wrote: Please pull omap fixes from: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git omap-fixes-for-linus I pulled it this time, but I'm starting to get

Re: [PATCHv3 20/22] OMAP3: PM: VP force update method of voltage scaling

2010-04-27 Thread Kevin Hilman
Thara Gopinath th...@ti.com writes: This patch introduces VP force update method of voltage scaling and enables it by default. The older method of vc bypass is now configuratble through a menu config option. VP force update is the hardware recommended method of voltage scaling.

Re: [GIT PULL] omap fixes for v2.6.34-rc5

2010-04-27 Thread Linus Torvalds
On Tue, 27 Apr 2010, Tony Lindgren wrote: OK point taken. I should have dealt with this earlier. Will only queue regressions after -rc3 or so. Note that the only regressions is certainly not a hard rule. Anything that would be valid for -stable is obviously always valid: security issues,

Re: [PATCH] OMAP3: PRCM interrupt: only check for enabled PRCM IRQs

2010-04-27 Thread Mike Turquette
Kevin Hilman wrote: commit cfabe8a950e252d26cdeb4a9bb11e2cabb2a50c6 Author: Kevin Hilman khil...@deeprootsystems.com Date: Mon Apr 26 14:59:09 2010 -0700 OMAP3: PRCM interrupt: only check and clear enabled PRCM IRQs While handling PRCM IRQs, mask out interrupts that are not

Re: [GIT PULL] omap fixes for v2.6.34-rc5

2010-04-27 Thread Tony Lindgren
* Linus Torvalds torva...@linux-foundation.org [100427 09:31]: On Tue, 27 Apr 2010, Tony Lindgren wrote: OK point taken. I should have dealt with this earlier. Will only queue regressions after -rc3 or so. Note that the only regressions is certainly not a hard rule. Anything that

Re: [PATCHv3 01/22] OMAP3: PM: Adding hwmod data for Smartreflex

2010-04-27 Thread Kevin Hilman
Thara Gopinath th...@ti.com writes: This patch adds the hwmod strucutres and other hwmod data for OMAP3 Smartreflex IP's. Should also comment about the additional data used in dev_attr as well. Signed-off-by: Thara Gopinath th...@ti.com --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c |

Re: [PATCHv3 03/22] OMAP3: PM: Convert smartreflex driver into a platform driver using hwmods and omap-device layer

2010-04-27 Thread Kevin Hilman
Thara Gopinath th...@ti.com writes: This patch converts the exisitng smartreflex library into a platform driver with device , driver registrations using hardware mods. As part of this Ntarget values are passed as platform data. Signed-off-by: Thara Gopinath th...@ti.com ---

Re: [PATCHv3 04/22] OMAP3: PM: Move smartreflex autocompensation enable disable hooks to PM debugfs.

2010-04-27 Thread Kevin Hilman
Thara Gopinath th...@ti.com writes: This patch moves the hooks to enable disable smartreflex autocompensation to pm debugfs from the /sys/power/. To enable autocompensation for smartreflex SRn do echo 1 path/pm_debug/srn_autocomp To disable autocompensation for smartreflex SRn do

[PATCH 0/4] omap: mailbox: cleanup simplify

2010-04-27 Thread Ohad Ben-Cohen
A few simple patches that cleanup and simplifies mailbox. The last patch is the most interesting - It converts mailbox to use kfifo as the underlying queueing implementation instead of using the block API. There're also additional performance patches on the way, we are internally testing them now.

[PATCH 1/4] omap: mailbox cleanup: convert rwlocks to spinlock

2010-04-27 Thread Ohad Ben-Cohen
rwlocks are slower and have potential starvation issues so spinlocks are generally preferred Signed-off-by: Ohad Ben-Cohen o...@wizery.com --- arch/arm/plat-omap/mailbox.c | 20 ++-- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/arm/plat-omap/mailbox.c

[PATCH 2/4] omap: mailbox cleanup: split MODULE_AUTHOR line

2010-04-27 Thread Ohad Ben-Cohen
use multiple MODULE_AUTHOR lines for multiple authors Signed-off-by: Ohad Ben-Cohen o...@wizery.com --- arch/arm/mach-omap2/mailbox.c |3 ++- arch/arm/plat-omap/mailbox.c |3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/mailbox.c

[PATCH 3/4] omap: mailbox: fix reverse likeliness

2010-04-27 Thread Ohad Ben-Cohen
Fix reverse likeliness Signed-off-by: Ohad Ben-Cohen o...@wizery.com --- arch/arm/plat-omap/mailbox.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/plat-omap/mailbox.c b/arch/arm/plat-omap/mailbox.c index 8abf0e8..72b17ad 100644 ---

[PATCH 4/4] omap: mailbox: convert block api to kfifo

2010-04-27 Thread Ohad Ben-Cohen
The underlying buffering implementation of mailbox is converted from block API to kfifo due to the simplicity and speed of kfifo. Signed-off-by: Ohad Ben-Cohen o...@wizery.com Signed-off-by: Hari Kanigeri h-kanige...@ti.com --- arch/arm/plat-omap/include/plat/mailbox.h |5 +-

Re: [PATCH] Disable the non working eMMC on Zoom2/3

2010-04-27 Thread Tony Lindgren
* Madhusudhan madhu...@ti.com [100408 10:07]: Tony, do you care to just look up the serial number of your board? Sorry for the delay in replying, I've been travelling for a few weeks and been in meetings quite a bit. Anyways, it's a 1013037 REV A board, which seems to be production

Re: [PATCHv3 05/22] OMAP3: PM: Remove OPP id dependency from smartreflex driver

2010-04-27 Thread Kevin Hilman
Thara Gopinath th...@ti.com writes: This patch removes get_vdd1_opp and get_vdd2_opp API's and replaces them with get_curr_vdd1_voltage and get_curr_vdd2_voltage API's. N-target values are now linked to voltages and the link bewtween voltage and n-target values is managed internally in

Re: [PATCHv3 10/22] OMAP3: PM: Adding voltage table support in voltage driver.

2010-04-27 Thread Kevin Hilman
Thara Gopinath th...@ti.com writes: This patch introduces the framework to create voltage table per VDD basis in voltage driver. Each VDD will have one voltage table, which in turn will contain one entry per voltage supported and other data associated with the voltage like smartreflex

Re: [PATCHv3 12/22] OMAP3: PM: Minimizing the passing around of sr id in smartreflex.c

2010-04-27 Thread Kevin Hilman
Thara Gopinath th...@ti.com writes: This patch ensures that sr id is passed as a parameter only to public APIs in smartreflex.c and other APIs in smartreflex.c uses the omap_sr strucutres. Signed-off-by: Thara Gopinath th...@ti.com Good change, but... ---

Re: [PATCHv3 14/22] OMAP3: PM: Configurations for Smartreflex Class 2 and Smartreflex Class 3

2010-04-27 Thread Kevin Hilman
Thara Gopinath th...@ti.com writes: There are two separate modules in SmartReflex-AVS : MinMaxAvg module and Error module. Class3 uses the Error module only. In Class2 you can choose between either module since it is software based. The registers are mapped to the modules as followed:

Re: [PATCHv3 15/22] OMAP3: PM: Support for enabling smartreflex autocompensation by default.

2010-04-27 Thread Kevin Hilman
Thara Gopinath th...@ti.com writes: This patch adds support to pdata enable smartreflex autocompenstion during init based on enable_on_init flag passed as pdata. -ENOPARSE. Removing the first 'pdata' makes it understandable, I think. This patch also adds enabling of autocompensation by

Re: [PATCHv3 17/22] OMAP3: PM: Implement latest h/w recommendations for SR and VP registers and SR VP enable disable sequence.

2010-04-27 Thread Kevin Hilman
Thara Gopinath th...@ti.com writes: This patch introduces OMAP3 specific values for Smartreflex and Voltage processor registers as per the latest TI recommendations. This patch adds smartreflex errminlimit and voltage processor errorgain into the voltage tables as they vary with different

Re: [PATCHv3 18/22] OMAP3: PM: Optional reset of voltage during Smartreflex disable.

2010-04-27 Thread Kevin Hilman
Thara Gopinath th...@ti.com writes: Currently whenever smartreflex is disabled the voltage for the particular VDD is reset to the non-smartreflex compensated level. This step is unnecessary during dvfs because anyways in the next couple of steps before re-enabling smartreflex , the voltage

Re: [PATCHv3 20/22] OMAP3: PM: VP force update method of voltage scaling

2010-04-27 Thread Kevin Hilman
Thara Gopinath th...@ti.com writes: This patch introduces VP force update method of voltage scaling and enables it by default. The older method of vc bypass is now configuratble through a menu config option. VP force update is the hardware recommended method of voltage scaling. changelog

Re: [PATCHv3 00/22] OMAP3: PM: Smartreflex and voltage revamp

2010-04-27 Thread Kevin Hilman
Thara Gopinath th...@ti.com writes: The main motivations behind this patch series are the following 1. Making smartreflex a platform driver with omap-device layer. 2. Separating voltage specific code from smartreflex.c and other locations and consolidating them into voltage.c and

RE: [PATCH] arm: Fix .gitignore for boot/compressed folder

2010-04-27 Thread Aguirre, Sergio
Hi, -Original Message- From: Aguirre, Sergio Sent: Thursday, February 25, 2010 9:56 AM To: linux-arm-ker...@lists.infradead.org Cc: linux-omap@vger.kernel.org; Albin Tonnerre; Russell King; Aguirre, Sergio Subject: [PATCH] arm: Fix .gitignore for boot/compressed folder This

Re: [PATCH 1/5] DSPBRIDGE: Remove DSP resources from registry

2010-04-27 Thread Omar Ramirez Luna
On 4/16/2010 10:30 PM, Ramos Falcon, Ernesto wrote: From 9ac5e14af1471b79a64076aec6b866abe87b3365 Mon Sep 17 00:00:00 2001 From: Ernesto Ramoserne...@ti.com Date: Wed, 31 Mar 2010 21:10:16 -0600 Subject: [PATCH 1/5] DSPBRIDGE: Remove DSP resources from registry Remove DSP resources from

Re: [PATCH 2/5] DSPBRIDGE: Remove host resources from registry

2010-04-27 Thread Omar Ramirez Luna
On 4/16/2010 10:32 PM, Ramos Falcon, Ernesto wrote: From 805fb981c83356788e0a3eaefb35d9eb74ced10c Mon Sep 17 00:00:00 2001 From: Ernesto Ramoserne...@ti.com Date: Fri, 16 Apr 2010 20:47:06 -0500 Subject: [PATCH 2/5] DSPBRIDGE: Remove host resources from registry Remove host resources from

Re: [PATCH 3/5] DSPBRIDGE: Remove DSP resources from registry

2010-04-27 Thread Omar Ramirez Luna
On 4/16/2010 10:33 PM, Ramos Falcon, Ernesto wrote: From 10010c14048a946190356cc682089d35b1bf7f48 Mon Sep 17 00:00:00 2001 From: Ernesto Ramoserne...@ti.com Date: Fri, 16 Apr 2010 21:40:57 -0500 Subject: [PATCH 3/5] DSPBRIDGE: Remove DSP resources from registry Remove DSP resources from

Re: [PATCH 4/5] DSPBRIDGE: Remove handles from registry

2010-04-27 Thread Omar Ramirez Luna
On 4/16/2010 10:34 PM, Ramos Falcon, Ernesto wrote: From 874bc262b47319b311d14ca32a7c1afb9eb388e8 Mon Sep 17 00:00:00 2001 From: Ernesto Ramoserne...@ti.com Date: Thu, 1 Apr 2010 00:17:24 -0600 Subject: [PATCH 4/5] DSPBRIDGE: Remove handles from registry Remove handles from registry.

Re: [PATCH 5/5] DSPBRIDGE: Remove Reg module

2010-04-27 Thread Omar Ramirez Luna
On 4/16/2010 10:35 PM, Ramos Falcon, Ernesto wrote: From 1046e5fabff98074f706ed257c040ca3dd0decdb Mon Sep 17 00:00:00 2001 From: Ernesto Ramoserne...@ti.com Date: Fri, 16 Apr 2010 21:46:50 -0500 Subject: [PATCH 5/5] DSPBRIDGE: Remove Reg module Remove Reg module from services. Signed-off-by:

[PATCH v4 0/5(7)] OMAP1: Amstrad Delta: add FIQ based support for external keyboard

2010-04-27 Thread Janusz Krzysztofik
This series of patches adds support for an external keyboard (called mailboard) connected to the Amstrad Delta (E3) videophone. The series is based on a patch by Matt Callow, created against linux-omap-2.6.19[1], initially submitted to the e3-hacking mailing list in April 2006[2]. Since the

[PATCH v4 0.1/5(7)] OMAP: add missing FIQ_START definition required for arch/arm/kernel/fiq.c compilation

2010-04-27 Thread Janusz Krzysztofik
Several ARM platforms/machines that use FIQ define their value of FIQ_START. Since FIQ is not implemented for OMAP yet, this definition is missing from OMAP header files. Put an arbitrary value for FIQ_START into plat/irqs.h for OMAP. Even if not used by the FIQ handler for Amstrad Delta, this

[PATCH v4 1/5(7)] OMAP1: Amstrad Delta: add FIQ handler for serial keyboard port interrupt processing

2010-04-27 Thread Janusz Krzysztofik
This patch introduces a Fast Interrupt Request (FIQ) handler for Amstrad Delta (E3) videophone. The handler's purpose is to process interrupts generated by a GPIO line that a serial keyboard clock hangs off. It collects consecutive bits into words, pushing them into a buffer, then requests a

Re: [PATCH 01/13] DSPBRIDGE: Replace mem_calloc() by kzalloc() or __vmalloc()

2010-04-27 Thread Omar Ramirez Luna
On 4/8/2010 6:43 PM, Gomez Castellanos, Ivan wrote: From 0306e1ff7c9160dbc5eb9fffcd789a40bea0debb Mon Sep 17 00:00:00 2001 From: Ivan Gomez Castellanosivan.go...@ti.com Date: Fri, 19 Mar 2010 16:43:26 -0600 Subject: [PATCH 01/13] DSPBRIDGE: Replace mem_calloc() by kzalloc() or __vmalloc()

[PATCH v4 2.1/5(7)] OMAP1: Amstrad Delta: update board initialization code for complete modem IRQ GPIO line setup

2010-04-27 Thread Janusz Krzysztofik
In case of Amstrad Delta modem utilized GPIO line, interrupt is requested from standard serial8250 driver code without first requesting the GPIO pin itself. Even if it works with default OMAP GPIO interrupt handler, it appeared not compatible with recent, optimized version of the board GPIO FIQ

[PATCH v4 3/5(7)] OMAP1: Amstrad Delta: use FIQ for processing GPIO interrupts

2010-04-27 Thread Janusz Krzysztofik
The patch adds initialization of FIQ related handlers to the Amstrad Delta videophone board code. FIQ will be used instead of a traditional IRQ for processing all GPIO generated interrupts, including a keyboard serial clock line. Created and tested against linux-omap master, commit

[PATCH v4 4/5(7)] input: serio: add support for Amstrad Delta serial keyboard port

2010-04-27 Thread Janusz Krzysztofik
The patch introduces a serio driver that supports a keyboard serial port found on the Amstrad Delta videophone board. After initializing the hardware, the driver reads its input data from a buffer filled in by the board FIQ (Fast Interrupt Request) handler. Standard AT keyboard driver (atkbd)

[PATCH v4 5/5(7)] OMAP1: Amstrad Delta: modify defconfig for external keyboard support

2010-04-27 Thread Janusz Krzysztofik
The patch adds a CONFIG directive required for supporting the Amstrad Delta connected external keyboard by default. Created and tested against linux-omap master, commit 104a77440f05430f29f9d3f4ecb88c1536819585 dated 2010-04-27. Works on top of PATCH v4 4/5(7), input: serio: add support for

[PATCH v2] DSPBRIDGE: remove clk_handle from drv interface

2010-04-27 Thread Omar Ramirez Luna
Since it is not used, remove. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/dsp/bridge/rmgr/drv_interface.c |9 - 1 files changed, 0 insertions(+), 9 deletions(-) diff --git a/drivers/dsp/bridge/rmgr/drv_interface.c b/drivers/dsp/bridge/rmgr/drv_interface.c index

[PATCH v2] DSPBRIDGE: fail if clk handle is NULL

2010-04-27 Thread Omar Ramirez Luna
If we fail if a clk handle is NULL during initialization then there is no need to keep checking every time if the handle is NULL for enable/disable/set_32k/get_use_cnt. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/dsp/bridge/services/clk.c | 68

[PATCH v2] DSPBRIDGE: Rename services_clk_* to dsp_clk_*

2010-04-27 Thread Omar Ramirez Luna
Rename services_clk_* to dsp_clk_* Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/plat-omap/include/dspbridge/clk.h | 78 drivers/dsp/bridge/services/clk.c | 88 ++-- drivers/dsp/bridge/services/services.c |

[PATCH v2] DSPBRIDGE: iva2 clock handling

2010-04-27 Thread Omar Ramirez Luna
Change the way iva2 clock is handled and since the rate is needed for this clock only, make the function get_rate to be specific for iva clock. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/plat-omap/include/dspbridge/clk.h | 16 +-- drivers/dsp/bridge/services/clk.c

[PATCH v2] DSPBRIDGE: remove function clk_set32k_hz

2010-04-27 Thread Omar Ramirez Luna
This is only used for GPTs and should be addressed once those clocks are requested using DM timer framework. This patch might break functionality. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/plat-omap/include/dspbridge/clk.h | 14 +-

[PATCH v2] DSPBRIDGE: Now actually fail if a clk handle is wrong

2010-04-27 Thread Omar Ramirez Luna
The value returned by clk_get on error is not NULL. This checks if the value returned is an error or not. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/dsp/bridge/services/clk.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH v2] DSPBRIDGE: remove unused clock sys_ck

2010-04-27 Thread Omar Ramirez Luna
Remove unused clock sys_ck Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/plat-omap/include/dspbridge/clk.h |1 - drivers/dsp/bridge/services/clk.c |1 - 2 files changed, 0 insertions(+), 2 deletions(-) diff --git a/arch/arm/plat-omap/include/dspbridge/clk.h

[PATCH v2] generic clk module removal

2010-04-27 Thread Omar Ramirez Luna
This set of patches remove clk module from the services layer. Now: - GPT 5-8 are controlled through DM Timer framework. - MCBSP clocks are enabled by requesting the proper mcbsp device. - WDT is left for bridge driver to control rather than on request from dsp. - SSI is controlled by

[PATCH v2] DSPBRIDGE: dsp interface to enable ssi clocks

2010-04-27 Thread Omar Ramirez Luna
This patch fixes the wrong name for ssi clock, now it has been split into ssr and sst for fck. It handle ick/ssr_fck/sst_fck clocks with one call to disable/enable. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/dsp/bridge/services/clk.c | 56

[PATCH v2] DSPBRIDGE: move clk to dsp-clock

2010-04-27 Thread Omar Ramirez Luna
Rename file and move it outside services layer. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/dsp/bridge/Makefile |4 +- drivers/dsp/bridge/rmgr/drv_interface.c |2 + drivers/dsp/bridge/services/clk.c | 334 ---

[PATCH v2] DSPBRIDGE: Move MCBSP_CLOCKS code to a common place

2010-04-27 Thread Omar Ramirez Luna
Given that: Bridge should enable McBSP_CLKS (using T2 clock) so that DPLL4 can be gated. Once McBSP2 clock is released, it should disable McBSP_CLKS as it prevents PER and CORE domain transitions when OFF is set to target power state. It seems this code was duplicated, now it has been moved to

[PATCH v2] DSPBRIDGE: use omap mcbsp to enable mcbsp clocks

2010-04-27 Thread Omar Ramirez Luna
Use omap mcbsp to enable mcbsp clocks Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/dsp/bridge/services/clk.c | 24 ++-- 1 files changed, 10 insertions(+), 14 deletions(-) diff --git a/drivers/dsp/bridge/services/clk.c

[PATCH v2] DSPBRIDGE: use one call for both ick and fck clocks

2010-04-27 Thread Omar Ramirez Luna
Instead of two calls to enable/disable for ick and fck use one call to enable/disable both. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/plat-omap/include/dspbridge/clk.h | 35 +-- drivers/dsp/bridge/services/clk.c | 14 +-

[PATCH v2] DSPBRIDGE: use dm timer framework for gpt timers

2010-04-27 Thread Omar Ramirez Luna
This patch switches to use DM timer framework instead of a custom one for GPT timers, currently dsp can make use of gpt 5, 6, 7 or 8. Signed-off-by: Omar Ramirez Luna omar.rami...@hotmail.com --- drivers/dsp/bridge/services/clk.c | 25 ---

[PATCH v2] DSPBRIDGE: trivial clock cleanup for unused code

2010-04-27 Thread Omar Ramirez Luna
Remove unusued struct and typedef. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/plat-omap/include/dspbridge/clk.h |2 -- drivers/dsp/bridge/services/clk.c |7 --- 2 files changed, 0 insertions(+), 9 deletions(-) diff --git

[PATCH v2] DSPBRIDGE: Balance the number of enable/disable

2010-04-27 Thread Omar Ramirez Luna
This patch ensure a balanced number of enable/disable calls is made. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/dsp/bridge/services/clk.c | 37 + 1 files changed, 37 insertions(+), 0 deletions(-) diff --git

[PATCH v2] DSPBRIDGE: remove clk_get_use_cnt

2010-04-27 Thread Omar Ramirez Luna
Instead of querying the use count, balanced number of enable/disable should be enforced across the system. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- arch/arm/plat-omap/include/dspbridge/clk.h | 13 - drivers/dsp/bridge/services/clk.c | 23

[PATCH v2] DSPBRIDGE: remove wdt3 from dsp control

2010-04-27 Thread Omar Ramirez Luna
WDT3 is used as a way to detect dsp hangs, as of now its control is left to arm side driver, so, no requests should be received by the dsp to enable/disable this clock. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/dsp/bridge/services/clk.c |6 -- 1 files changed, 4

[PATCH v2] DSPBRIDGE: function to get the type of clock requested by dsp

2010-04-27 Thread Omar Ramirez Luna
DSP can request between 5 types of clocks: IVA2, GPT (5-8), WDT (3), MCBSP (1-5) or SSI clock. This function will be useful in case a specific clock framework is associated with the clock. Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/dsp/bridge/services/clk.c | 89

[PATCH v2] DSPBRIDGE: reorganize the code to handle peripheral clocks

2010-04-27 Thread Omar Ramirez Luna
This patch moves and simplifies the code used to enable/disable all the requested peripheral clocks. Signed-off-by: Omar Ramirez Luna omar.rami...@hotmail.com --- arch/arm/plat-omap/include/dspbridge/clk.h |4 ++ drivers/dsp/bridge/rmgr/drv_interface.c|1 +

Re: [PATCH v2] generic clk module removal

2010-04-27 Thread Nishanth Menon
On 04/27/2010 08:29 PM, Omar Ramirez Luna wrote: This set of patches remove clk module from the services layer. Now: - GPT 5-8 are controlled through DM Timer framework. - MCBSP clocks are enabled by requesting the proper mcbsp device. - WDT is left for bridge driver to control rather than on

[RESUBMIT] [PATCH v4 0.1/5(7)] OMAP: add missing FIQ_START definition required for arch/arm/kernel/fiq.c compilation

2010-04-27 Thread Janusz Krzysztofik
Several ARM platforms/machines that use FIQ define their value of FIQ_START. Since FIQ is not implemented for OMAP yet, this definition is missing from OMAP header files. Put an arbitrary value for FIQ_START into plat/irqs.h for OMAP. Even if not used by the FIQ handler for Amstrad Delta, this

RE: [PATCH v5] OMAP2/3: I2C: Errata ID i207: Clear wrong RDR interrupt

2010-04-27 Thread G, Manjunath Kondaiah
Tony, Thanks for the inputs and suggestions for handling i2c-omap errata's in generic way. -Original Message- From: Tony Lindgren [mailto:t...@atomide.com] Sent: Tuesday, April 27, 2010 8:31 PM To: G, Manjunath Kondaiah Cc: linux-omap@vger.kernel.org; linux-...@vger.kernel.org;

Re: [PATCHv2 2/4] mach-omap2: Add SoC info data for OMAP2,3,4 into /proc/cpuinfo

2010-04-27 Thread Eduardo Valentin
On Tue, Apr 27, 2010 at 05:01:30PM +0200, Balbi Felipe (Nokia-D/Helsinki) wrote: On Tue, Apr 27, 2010 at 03:14:13PM +0200, Valentin Eduardo (Nokia-D/Helsinki) wrote: From: Eduardo Valentin eduardo.valen...@nokia.com Report OMAP2,3,4 data into system_soc_info. Now we get omap information

[PATCH v6] OMAP2/3: I2C: Errata ID i207: Clear wrong RDR interrupt

2010-04-27 Thread Manjunatha GK
Under certain rare conditions, I2C_STAT[13].RDR bit may be set and the corresponding interrupt fire, even there is no data in the receive FIFO, or the I2C data transfer is still ongoing. These spurious RDR events must be ignored by the software. This patch handles and ignores RDR spurious

[PATCHv3 1/4] ARM: Introduce SoC Info into /proc/cpuinfo

2010-04-27 Thread Eduardo Valentin
From: Eduardo Valentin eduardo.valen...@nokia.com This patch extends the ARM /proc/cpuinfo to include soc info data. It is implemented via the same way which is done for system_rev, system_serial_low and system_serial_high. Then, now we have system_soc_info, which is printed only if there is

[PATCHv3 2/4] mach-omap2: Add SoC info data for OMAP2,3,4 into /proc/cpuinfo

2010-04-27 Thread Eduardo Valentin
From: Eduardo Valentin eduardo.valen...@nokia.com Report OMAP2,3,4 data into system_soc_info. Now we get omap information under /proc/cpuinfo. Signed-off-by: Eduardo Valentin eduardo.valen...@nokia.com --- arch/arm/mach-omap2/id.c | 18 -- 1 files changed, 12 insertions(+), 6

[PATCHv3 0/4] Adding soc related info into /proc/cpuinfo

2010-04-27 Thread Eduardo Valentin
Hello all, And now v3 of this series. Basically a minor change wrt string manipulation. No need to use strlen in so many places. Previous log for reference: v2: Here is the version 2 of this series. Now die id is protected using same x86 protection mechanism to hide x86 product number. Besides,

[PATCHv3 3/4] mach-omap1: Add SoC info data for OMAP1 into /proc/cpuinfo

2010-04-27 Thread Eduardo Valentin
From: Eduardo Valentin eduardo.valen...@nokia.com Report OMAP data into system_soc_info. Now we get omap information under /proc/cpuinfo. Signed-off-by: Eduardo Valentin eduardo.valen...@nokia.com --- arch/arm/mach-omap1/id.c | 15 +-- 1 files changed, 9 insertions(+), 6

[PATCHv3 4/4] OMAP3: PM: export chip IDCODE, Production ID and Die ID

2010-04-27 Thread Eduardo Valentin
From: Eduardo Valentin eduardo.valen...@nokia.com This patch exports the OMAP3 IDCODE and Production ID to userspace via /proc/cpuinfo using the system_soc_info. Die ID is also exported depending on what users pass as kernel parameter. It is same protection mechanism made for x86 product number.

Re: [PATCH 4/4] omap: mailbox: convert block api to kfifo

2010-04-27 Thread Hiroshi DOYU
Hi Ohad, From: ext Ohad Ben-Cohen o...@wizery.com Subject: [PATCH 4/4] omap: mailbox: convert block api to kfifo Date: Tue, 27 Apr 2010 19:56:22 +0200 The underlying buffering implementation of mailbox is converted from block API to kfifo due to the simplicity and speed of kfifo.

Re: [PATCH 4/4] omap: mailbox: convert block api to kfifo

2010-04-27 Thread Hiroshi DOYU
From: ext Ohad Ben-Cohen o...@wizery.com Subject: [PATCH 4/4] omap: mailbox: convert block api to kfifo Date: Tue, 27 Apr 2010 19:56:22 +0200 The underlying buffering implementation of mailbox is converted from block API to kfifo due to the simplicity and speed of kfifo. Signed-off-by: Ohad