[PATCH v3 4/4] input: misc: introduce retu-pwrbutton

2012-11-01 Thread Aaro Koskinen
Add Retu power button driver. Cc: linux-in...@vger.kernel.org Acked-by: Felipe Balbi ba...@ti.com Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- drivers/input/misc/Kconfig | 10 drivers/input/misc/Makefile |1 + drivers/input/misc/retu-pwrbutton.c | 102

[PATCH v3 3/4] watchdog: introduce retu_wdt driver

2012-11-01 Thread Aaro Koskinen
Introduce Retu watchdog driver. Cc: linux-watch...@vger.kernel.org Acked-by: Felipe Balbi ba...@ti.com Acked-by: Tony Lindgren t...@atomide.com Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- drivers/watchdog/Kconfig| 12 +++ drivers/watchdog/Makefile |1 + drivers/watchdog

[PATCH v2 0/4] cbus/retu drivers

2012-10-31 Thread Aaro Koskinen
functionality to retu-mfd - added power button key driver - some cleanups Aaro Koskinen (4): i2c: introduce i2c-cbus driver mfd: introduce retu-mfd driver watchdog: introduce retu_wdt driver input: misc: introduce retu-pwrbutton arch/arm/mach-omap2/board-n8x0.c| 42

[PATCH v2 4/4] input: misc: introduce retu-pwrbutton

2012-10-31 Thread Aaro Koskinen
Add Retu power button driver. Cc: linux-in...@vger.kernel.org Acked-by: Felipe Balbi ba...@ti.com Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- drivers/input/misc/Kconfig | 10 +++ drivers/input/misc/Makefile |1 + drivers/input/misc/retu-pwrbutton.c | 118

[PATCH v2 2/4] mfd: introduce retu-mfd driver

2012-10-31 Thread Aaro Koskinen
-by: Felipe Balbi ba...@ti.com Acked-by: Tony Lindgren t...@atomide.com Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- drivers/mfd/Kconfig |9 ++ drivers/mfd/Makefile |1 + drivers/mfd/retu-mfd.c | 264 ++ include/linux/mfd/retu.h

[PATCH v2 1/4] i2c: introduce i2c-cbus driver

2012-10-31 Thread Aaro Koskinen
-by: Aaro Koskinen aaro.koski...@iki.fi --- arch/arm/mach-omap2/board-n8x0.c | 42 ++ drivers/i2c/busses/Kconfig | 10 ++ drivers/i2c/busses/Makefile |1 + drivers/i2c/busses/i2c-cbus.c| 300 ++ include/linux/i2c-cbus.h | 27

[PATCH v2 3/4] watchdog: introduce retu_wdt driver

2012-10-31 Thread Aaro Koskinen
Introduce Retu watchdog driver. Cc: linux-watch...@vger.kernel.org Acked-by: Felipe Balbi ba...@ti.com Acked-by: Tony Lindgren t...@atomide.com Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- drivers/watchdog/Kconfig| 12 +++ drivers/watchdog/Makefile |1 + drivers/watchdog

[RESEND PATCH v3 3/6] watchdog: omap_wdt: convert request_mem_region() to devm_request_mem_region()

2012-10-25 Thread Aaro Koskinen
Use devm_request_mem_region() to simplify the code. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- drivers/watchdog/omap_wdt.c | 13 - 1 files changed, 4 insertions(+), 9 deletions(-) diff --git a/drivers/watchdog/omap_wdt.c b/drivers/watchdog/omap_wdt.c index d6722db

[RESEND PATCH v3 1/6] watchdog: omap_wdt: convert to new watchdog core

2012-10-25 Thread Aaro Koskinen
. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi Tested-by: Jarkko Nikula jarkko.nik...@jollamobile.com Tested-by: Lokesh Vutla lokeshvu...@ti.com --- drivers/watchdog/Kconfig|1 + drivers/watchdog/omap_wdt.c | 274 ++- 2 files changed, 118

[RESEND PATCH v3 5/6] watchdog: omap_wdt: delete redundant platform_set_drvdata() calls

2012-10-25 Thread Aaro Koskinen
It's not needed to manually reset the driver data. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- drivers/watchdog/omap_wdt.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/watchdog/omap_wdt.c b/drivers/watchdog/omap_wdt.c index 7e8d3e0..af1e72e 100644

[RESEND PATCH v3 0/6] watchdog: omap_wdt: convert to new watchdog core

2012-10-25 Thread Aaro Koskinen
to Jarkko Nikula jarkko.nik...@bitmer.com for reporting this. v1 (https://lkml.org/lkml/2012/9/4/217): The initial version. Aaro Koskinen (6): watchdog: omap_wdt: convert to new watchdog core watchdog: omap_wdt: convert kzalloc() to devm_kzalloc() watchdog: omap_wdt: convert

[RESEND PATCH v3 6/6] watchdog: omap_wdt: eliminate goto

2012-10-25 Thread Aaro Koskinen
Eliminate a goto to simplify the code. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- drivers/watchdog/omap_wdt.c | 11 --- 1 files changed, 4 insertions(+), 7 deletions(-) diff --git a/drivers/watchdog/omap_wdt.c b/drivers/watchdog/omap_wdt.c index af1e72e..bee43a9 100644

[RESEND PATCH v3 4/6] watchdog: omap_wdt: convert ioremap() to devm_ioremap()

2012-10-25 Thread Aaro Koskinen
Use devm_ioremap() to simplify the code. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- drivers/watchdog/omap_wdt.c | 14 +++--- 1 files changed, 3 insertions(+), 11 deletions(-) diff --git a/drivers/watchdog/omap_wdt.c b/drivers/watchdog/omap_wdt.c index 45019b0..7e8d3e0

[RESEND PATCH v3 2/6] watchdog: omap_wdt: convert kzalloc() to devm_kzalloc()

2012-10-25 Thread Aaro Koskinen
Use devm_kzalloc() to simplify the code. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- drivers/watchdog/omap_wdt.c | 23 ++- 1 files changed, 6 insertions(+), 17 deletions(-) diff --git a/drivers/watchdog/omap_wdt.c b/drivers/watchdog/omap_wdt.c index d28ad5e

Re: [PATCH 5/7] ARM: OMAP2+: WDT: move init; add read_reset_sources pdata function pointer

2012-10-25 Thread Aaro Koskinen
Hi, On Mon, Oct 15, 2012 at 07:32:33PM -0600, Paul Walmsley wrote: The OMAP watchdog timer driver directly calls a function exported by code in arch/arm/mach-omap2. This is not good; it tightly couples this driver to the mach-omap2 integration code. Instead, add a temporary platform_data

Re: [PATCH 5/7] ARM: OMAP2+: WDT: move init; add read_reset_sources pdata function pointer

2012-10-25 Thread Aaro Koskinen
Hi, On Thu, Oct 25, 2012 at 07:57:31PM +, Paul Walmsley wrote: [ As an aside, neither the OMAP watchdog driver, nor the TWL watchdog driver have been updated to use the new watchdog core code. So they both can't be loaded at the same time until one or both are fixed. ] FYI, this is

Re: OMAP baseline test results for v3.7-rc1

2012-10-19 Thread Aaro Koskinen
Hi, On Fri, Oct 19, 2012 at 04:55:38PM +, Paul Walmsley wrote: On Thu, 18 Oct 2012, Paul Walmsley wrote: Here are some basic OMAP test results for Linux v3.7-rc1. Logs and other details at http://www.pwsan.com/omap/testlogs/test_v3.7-rc1/ And here's two more. [...] * 3530ES3

Re: OMAP baseline test results for v3.7-rc1

2012-10-19 Thread Aaro Koskinen
Hi, On Fri, Oct 19, 2012 at 10:01:36PM +0300, Felipe Balbi wrote: On Fri, Oct 19, 2012 at 10:03:58PM +0300, Aaro Koskinen wrote: FYI, I saw I2C hangs also on Nokia N900 with v3.7-rc1 (omap_i2c omap_i2c.1: timeout waiting for bus ready). After several reboots they disappered (kernel binary

Re: [PATCH] Nokia N9/N900/N950 -- mention product names

2012-10-17 Thread Aaro Koskinen
Hi, Some minor comments: On Wed, Oct 17, 2012 at 08:33:08PM +0200, Pavel Machek wrote: This adds product names (that most users know) to Kconfig and board comments. Good idea. :-) Signed-off-by: Pavel Machek pa...@ucw.cz diff --git a/arch/arm/mach-omap2/Kconfig

Re: [PATCH] Nokia N9/N900/N950 -- mention product names

2012-10-17 Thread Aaro Koskinen
On Wed, Oct 17, 2012 at 11:03:00PM +0200, Pavel Machek wrote: This adds product names (that most users know) to Kconfig and board comments. Signed-off-by: Pavel Machek pa...@ucw.cz Reviewed-by: Aaro Koskinen aaro.koski...@iki.fi A. diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm

Re: [RESEND PATCH 2/2] ARM: kexec: Check segment memory addresses

2012-10-16 Thread Aaro Koskinen
Hi, On Thu, Sep 20, 2012 at 05:03:38PM +0100, Will Deacon wrote: From: Matthew Leach matthew.le...@arm.com Ensure that the memory regions that are set within the segments correspond to physical contiguous memory regions. This patch seems to break kexec for me in 3.7-rc1 (commit

Re: [RESEND PATCH 2/2] ARM: kexec: Check segment memory addresses

2012-10-16 Thread Aaro Koskinen
On Tue, Oct 16, 2012 at 05:32:26PM +0100, Will Deacon wrote: On Tue, Oct 16, 2012 at 05:10:21PM +0100, Aaro Koskinen wrote: On Thu, Sep 20, 2012 at 05:03:38PM +0100, Will Deacon wrote: From: Matthew Leach matthew.le...@arm.com Ensure that the memory regions that are set within

Re: [PATCH 1/4] i2c: introduce i2c-cbus driver

2012-09-19 Thread Aaro Koskinen
On Fri, Sep 14, 2012 at 12:08:06PM +0200, Wolfram Sang wrote: On Mon, Sep 03, 2012 at 11:23:22PM +0300, Aaro Koskinen wrote: Add i2c driver to enable access to devices behind CBUS on Nokia Internet Tablets. The patch also adds CBUS I2C configuration for N8x0 which is one of the users

Re: [PATCH 2/4] mfd: introduce retu-mfd driver

2012-09-19 Thread Aaro Koskinen
Hi, On Wed, Sep 19, 2012 at 06:02:30PM +0200, Samuel Ortiz wrote: On Mon, Sep 03, 2012 at 11:23:23PM +0300, Aaro Koskinen wrote: Retu is a multi-function device found on Nokia Internet Tablets implementing at least watchdog, RTC, headset detection and power button functionality

Re: [PATCH 1/4] i2c: introduce i2c-cbus driver

2012-09-13 Thread Aaro Koskinen
On Thu, Sep 13, 2012 at 12:53:09PM +0200, Wolfram Sang wrote: On Mon, Sep 03, 2012 at 11:23:22PM +0300, Aaro Koskinen wrote: Add i2c driver to enable access to devices behind CBUS on Nokia Internet Tablets. The patch also adds CBUS I2C configuration for N8x0 which is one of the users

Re: [PATCH] watchdog: Convert twl4030_wdt to watchdog core

2012-09-10 Thread Aaro Koskinen
looks good. I briefly tested this with the converted OMAP watchdog driver, and now both drivers can register and co-exist happily on Nokia N9. Great! Tested-by: Aaro Koskinen aaro.koski...@iki.fi Thanks, A. -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body

[PATCH v2] watchdog: omap_wdt: convert to new watchdog core

2012-09-08 Thread Aaro Koskinen
. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- v2: Fix a bug in the first version of the patch: __omap_wdt_disable() in probe was mistakenly moved outside PM runtime calls. This caused a crash as device was probably accessed with some clocks off. Thanks to Jarkko Nikula jarkko.nik

Re: [PATCH] watchdog: omap_wdt: convert to new watchdog core

2012-09-07 Thread Aaro Koskinen
On Fri, Sep 07, 2012 at 04:31:07PM +0300, Jarkko Nikula wrote: On Tue, Sep 04, 2012 at 05:41:24PM +0300, Aaro Koskinen wrote: Convert omap_wdt to new watchdog core. On OMAP boards, there are usually multiple watchdogs. Since the new watchdog core supports multiple watchdogs, all watchdog

Re: [PATCH 1/4] i2c: introduce i2c-cbus driver

2012-09-04 Thread Aaro Koskinen
On Tue, Sep 04, 2012 at 12:05:07PM +0300, Felipe Balbi wrote: + * CBUS I2C driver for Nokia Internet Tablets. [...] this version misses the entire IRQ handling we already had on linux-omap tree, so it's quite a regression. There's no interrupts used in plain CBUS protocol/communication I

[PATCH] watchdog: omap_wdt: convert to new watchdog core

2012-09-04 Thread Aaro Koskinen
. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- drivers/watchdog/Kconfig|1 + drivers/watchdog/omap_wdt.c | 268 ++- 2 files changed, 115 insertions(+), 154 deletions(-) diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index

[PATCH 2/4] mfd: introduce retu-mfd driver

2012-09-03 Thread Aaro Koskinen
-by: Tony Lindgren t...@atomide.com Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- drivers/mfd/Kconfig |8 + drivers/mfd/Makefile |1 + drivers/mfd/retu-mfd.c | 347 ++ include/linux/mfd/retu.h | 22 +++ 4 files changed, 378

[PATCH 0/4] cbus/retu drivers to mainline

2012-09-03 Thread Aaro Koskinen
- corrected typo in Kconfig for MFD_RETU - added power off functionality to retu-mfd - added IRQ functionality to retu-mfd - added power button key driver - some cleanups Aaro Koskinen (4): i2c: introduce i2c-cbus driver mfd: introduce retu-mfd driver

[PATCH 3/4] watchdog: introduce retu_wdt driver

2012-09-03 Thread Aaro Koskinen
Introduce Retu watchdog driver. Cc: linux-watch...@vger.kernel.org Acked-by: Tony Lindgren t...@atomide.com Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- drivers/watchdog/Kconfig| 12 +++ drivers/watchdog/Makefile |1 + drivers/watchdog/retu_wdt.c | 188

[PATCH 1/4] i2c: introduce i2c-cbus driver

2012-09-03 Thread Aaro Koskinen
-by: Aaro Koskinen aaro.koski...@iki.fi --- arch/arm/mach-omap2/board-n8x0.c | 42 + drivers/i2c/busses/Kconfig | 10 + drivers/i2c/busses/Makefile |1 + drivers/i2c/busses/i2c-cbus.c| 369 ++ include/linux/i2c-cbus.h | 27

[PATCH 4/4] input: misc: introduce retu-pwrbutton

2012-09-03 Thread Aaro Koskinen
Add Retu power button driver. Cc: linux-in...@vger.kernel.org Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- drivers/input/misc/Kconfig | 10 +++ drivers/input/misc/Makefile |1 + drivers/input/misc/retu-pwrbutton.c | 127 +++ 3

[PATCH 1/2] arm: omap: sram: fix OMAP4 errata handling

2012-08-29 Thread Aaro Koskinen
OMAP4-specific code should be executed only if we are running on OMAP4. Otherwise it may break multi-OMAP kernels. Found by reading the code. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- arch/arm/plat-omap/sram.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git

[PATCH 2/2] arm: omap: sram: skip the first 16K on OMAP3 HS

2012-08-29 Thread Aaro Koskinen
available that should be still sufficient. The patch has been boot tested with vanilla 3.6-rc3 on N900, N950 and N9. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- arch/arm/plat-omap/sram.c |9 ++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/arch/arm/plat-omap

Re: [PATCH] arm: omap: ratelimit omap_l3_smx error log spam

2012-08-28 Thread Aaro Koskinen
Hi, On Mon, Aug 27, 2012 at 05:17:30PM -0700, Shilimkar, Santosh wrote: On Mon, Aug 27, 2012 at 4:26 PM, Aaro Koskinen aaro.koski...@iki.fi wrote: I tried bypassing the whole SRAM init, but the device does not seem to boot up at all. If I comment out the memset alone, then it boots

[RFC PATCH 5/5] arm: omap: n8x0: enable retu

2012-08-28 Thread Aaro Koskinen
Add Retu configuration. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- arch/arm/mach-omap2/board-n8x0.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-n8x0.c b/arch/arm/mach-omap2/board-n8x0.c index 8ea0dea..6ac8cd9 100644

[RFC PATCH 3/5] watchdog: introduce retu_wdt driver

2012-08-28 Thread Aaro Koskinen
Introduce Retu watchdog driver. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi Cc: linux-watch...@vger.kernel.org --- drivers/watchdog/Kconfig| 12 +++ drivers/watchdog/Makefile |1 + drivers/watchdog/retu_wdt.c | 191 +++ 3 files changed

[RFC PATCH 2/5] mfd: introduce retu-mfd driver

2012-08-28 Thread Aaro Koskinen
Retu is a multi-function device found on Nokia Internet Tablets implementing at least watchdog, RTC, headset detection and power button functionality. This patch implements a minimum functionality providing only register access functions. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi Cc: sa

[RFC PATCH 1/5] i2c: introduce i2c-cbus driver

2012-08-28 Thread Aaro Koskinen
Add i2c driver to enable access to devices behind CBUS on Nokia Internet Tablets. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi Cc: linux-...@vger.kernel.org --- drivers/i2c/busses/Kconfig| 10 ++ drivers/i2c/busses/Makefile |1 + drivers/i2c/busses/i2c-cbus.c | 342

[RFC PATCH 4/5] arm: omap: n8x0: add i2c-cbus platform data

2012-08-28 Thread Aaro Koskinen
Add platform data to enable i2c-cbus on N8x0. It will be I2C bus #3. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- arch/arm/mach-omap2/board-n8x0.c | 27 +++ 1 files changed, 27 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-n8x0.c b/arch

Re: [PATCH] arm: omap: ratelimit omap_l3_smx error log spam

2012-08-28 Thread Aaro Koskinen
Hi, On Tue, Aug 28, 2012 at 07:19:38AM -0700, Shilimkar, Santosh wrote: Or the PPA has resized the secure area of 16K. As you have seen the issue on one OMAP3 device, it makes sense to takeout that 16K from the public SRAM map. Can you send the patch with fixed base address fir PUB SRAM ?

Re: [PATCH] arm: omap: ratelimit omap_l3_smx error log spam

2012-08-28 Thread Aaro Koskinen
On Tue, Aug 28, 2012 at 04:38:24PM -0700, Shilimkar, Santosh wrote: On Tue, Aug 28, 2012 at 4:09 PM, Aaro Koskinen aaro.koski...@iki.fi wrote: On Tue, Aug 28, 2012 at 07:19:38AM -0700, Shilimkar, Santosh wrote: Or the PPA has resized the secure area of 16K. As you have seen the issue on one

[PATCH] arm: omap: ratelimit omap_l3_smx error log spam

2012-08-27 Thread Aaro Koskinen
(they seem to occur during SDRC and DMA init), the errors should be at least ratelimited so that user will also have chance to see other boot messages. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- arch/arm/mach-omap2/omap_l3_smx.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions

Re: [PATCH] arm: omap: ratelimit omap_l3_smx error log spam

2012-08-27 Thread Aaro Koskinen
Hi, On Mon, Aug 27, 2012 at 02:35:57PM -0700, Shilimkar, Santosh wrote: - pr_err(%s seen by %s %s at address %x\n, + pr_err_ratelimited(%s seen by %s %s at address %x\n, omap3_l3_code_string(code),

Re: [PATCH] arm: omap: ratelimit omap_l3_smx error log spam

2012-08-27 Thread Aaro Koskinen
On Mon, Aug 27, 2012 at 03:12:07PM -0700, Shilimkar, Santosh wrote: On Mon, Aug 27, 2012 at 3:02 PM, Aaro Koskinen aaro.koski...@iki.fi wrote: Hi, On Mon, Aug 27, 2012 at 02:35:57PM -0700, Shilimkar, Santosh wrote: - pr_err(%s seen by %s %s at address %x\n

Re: v3.6-rc1 DSS issues/regression

2012-08-14 Thread Aaro Koskinen
Hi, On Tue, Aug 07, 2012 at 04:22:02PM +0300, Tomi Valkeinen wrote: On Tue, 2012-08-07 at 12:05 +0530, Archit Taneja wrote: On Tuesday 07 August 2012 03:44 AM, Aaro Koskinen wrote: On Mon, Aug 06, 2012 at 11:06:28PM +0530, Archit Taneja wrote: On Mon, 2012-08-06 at 19:47 +0300, Aaro

[PATCH] regulator: twl-regulator: fix up VINTANA1/VINTANA2

2012-08-14 Thread Aaro Koskinen
normal standby [0.286865] VINTANA2: 2750 mV normal standby [0.288208] VINTDIG: 1500 mV normal standby [0.289978] VSDI_CSI: 1800 mV normal standby ... Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- drivers/regulator/twl-regulator.c |4 ++-- 1

v3.6-rc1 DSS issues/regression

2012-08-06 Thread Aaro Koskinen
Hi, I can't get the display on N900 (SDI, acx565akm) to work with v3.6-rc1 kernel, it's just full of flicker/noise. According to git-bisect, the problem is introduced by the commit: commit f476ae9dab3234532d41d36beb4ba7be838fa786 Author: Archit Taneja arc...@ti.com Date: Fri Jun

Re: v3.6-rc1 DSS issues/regression

2012-08-06 Thread Aaro Koskinen
Hi, On Mon, Aug 06, 2012 at 08:24:28PM +0300, Tomi Valkeinen wrote: On Mon, 2012-08-06 at 19:47 +0300, Aaro Koskinen wrote: Hi, I can't get the display on N900 (SDI, acx565akm) to work with v3.6-rc1 kernel, it's just full of flicker/noise. According to git-bisect, the problem

Re: v3.6-rc1 DSS issues/regression

2012-08-06 Thread Aaro Koskinen
Hi, On Mon, Aug 06, 2012 at 11:06:28PM +0530, Archit Taneja wrote: On Mon, 2012-08-06 at 19:47 +0300, Aaro Koskinen wrote: I can't get the display on N900 (SDI, acx565akm) to work with v3.6-rc1 kernel, it's just full of flicker/noise. According to git-bisect, the problem is introduced

Re: [PATCH] Revert spi: omap2-mcspi: convert to module_platform_driver

2012-08-03 Thread Aaro Koskinen
Hi, On Fri, Aug 03, 2012 at 11:05:27AM +0300, Tomi Valkeinen wrote: On Thu, 2012-08-02 at 17:54 -0600, Grant Likely wrote: On Thu, Aug 2, 2012 at 5:08 PM, Aaro Koskinen aaro.koski...@iki.fi wrote: This reverts commit 9fdca9dfe093c76fe1ac1a09888ba9679d46996a. Changing omap2_mcspi_init

Re: [PATCH] Revert spi: omap2-mcspi: convert to module_platform_driver

2012-08-03 Thread Aaro Koskinen
Hi, On Fri, Aug 03, 2012 at 05:20:48PM +0530, Shubhrajyoti wrote: On Friday 03 August 2012 03:28 PM, Felipe Balbi wrote: [1.496124] spi spi1.0: setup mode 0, 8 bits/w, 600 Hz max -- 0 [1.503265] omap2_mcspi omap2_mcspi.1: registered child spi1.0 If I modify the board file

Re: [PATCH v3] printk: add option to print cpu id

2012-08-03 Thread Aaro Koskinen
Hi, On Fri, Aug 03, 2012 at 11:25:37AM -0700, Pandita, Vikram wrote: And really: Wasting 1/3 of the 80 character line is too much. You _WASTE_ 4 chars only if you are interested in this info by enabling: CONFIG_PRINTK_CPUID I guess you waste 4 + 3 chars? You could optimize the length by

[PATCH] Revert spi: omap2-mcspi: convert to module_platform_driver

2012-08-02 Thread Aaro Koskinen
] omapdss CORE error: driver probe failed: -19 [...] [1.902862] omapfb omapfb: no driver for display: lcd [1.908264] omapfb omapfb: cannot find default display Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- drivers/spi/spi-omap2-mcspi.c | 15 ++- 1 files changed, 14

[PATCH RESEND] omap1: mux: add missing include

2012-04-08 Thread Aaro Koskinen
' undeclared here (not in a function) etc. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi Acked-by: Jarkko Nikula jarkko.nik...@bitmer.com --- arch/arm/mach-omap1/mux.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap1/mux.c b/arch/arm/mach-omap1/mux.c index

[PATCH] arm: omap: add minimal support for Nokia RM-696

2012-03-05 Thread Aaro Koskinen
Add minimal support for Nokia RM-696 board. Signed-off-by: Aaro Koskinen aaro.koski...@nokia.com --- The patch is based boot-tested with 3.3-rc6. arch/arm/mach-omap2/Kconfig |3 ++- arch/arm/mach-omap2/board-rm680.c| 14 +- arch/arm/plat

Re: [PATCH] OMAP3: RX-51: complete tsc2005 controller support

2011-12-14 Thread Aaro Koskinen
Hi, On Wed, 14 Dec 2011, Vladimir Zapolskiy wrote: This change adds initialization of TSC2005 touchscreen controller found on Nokia RX-51 board. The change is taken from MeeGo kernel adaptation for Nokia N900, it repeats the work of Aaro Koskinen and Mika Laitio, the original discussion

[PATCH 1/3] arm: tools: mach-types: add nokia_rm696

2011-12-09 Thread Aaro Koskinen
Add the mach-type number for RM-696. Signed-off-by: Aaro Koskinen aaro.koski...@nokia.com --- arch/arm/tools/mach-types |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/tools/mach-types b/arch/arm/tools/mach-types index ccbe16f..63f20da 100644 --- a/arch/arm

[PATCH 2/3] arm: mach-omap2: sdram-nokia: add 200 MHz memory timings info

2011-12-09 Thread Aaro Koskinen
From: Igor Dmitriev ext-dmitriev.i...@nokia.com Add memory timing info regarding the 200 MHz memory in sdram-nokia. Signed-off-by: Igor Dmitriev ext-dmitriev.i...@nokia.com Signed-off-by: Eduardo Valentin eduardo.valen...@nokia.com Signed-off-by: Aaro Koskinen aaro.koski...@nokia.com --- arch

[PATCH 0/3] arm: omap: add support for Nokia RM-696 (Nokia N9)

2011-12-09 Thread Aaro Koskinen
is updated these days? For testing, the following patch is also required: http://www.spinics.net/lists/linux-omap/msg61022.html Aaro Koskinen (2): arm: tools: mach-types: add nokia_rm696 arm: omap: add minimal support for Nokia RM-696 Igor Dmitriev (1): arm: mach-omap2: sdram-nokia: add 200 MHz

[PATCH 3/3] arm: omap: add minimal support for Nokia RM-696

2011-12-09 Thread Aaro Koskinen
Add minimal support for Nokia RM-696 board. Signed-off-by: Aaro Koskinen aaro.koski...@nokia.com --- arch/arm/mach-omap2/Kconfig |3 ++- arch/arm/mach-omap2/board-rm680.c| 12 +++- arch/arm/plat-omap/include/plat/uncompress.h |1 + 3 files changed

Re: [PATCH 2/3] arm: mach-omap2: sdram-nokia: add 200 MHz memory timings info

2011-12-09 Thread Aaro Koskinen
Hi, On Fri, 9 Dec 2011, Tony Lindgren wrote: * Aaro Koskinen aaro.koski...@nokia.com [111209 06:33]: From: Igor Dmitriev ext-dmitriev.i...@nokia.com Add memory timing info regarding the 200 MHz memory in sdram-nokia. Signed-off-by: Igor Dmitriev ext-dmitriev.i...@nokia.com Signed-off

[PATCH] arm: omap: rx51: enable tsc2005 touchscreen

2011-12-02 Thread Aaro Koskinen
Enable TSC2005 touchscreen driver on the RX-51 board by providing the needed platform data. Signed-off-by: Aaro Koskinen aaro.koski...@nokia.com --- Tony, this patch has been forgotten, any chance to get it into 3.3? arch/arm/mach-omap2/board-rx51-peripherals.c | 46

[PATCH] arm: omap: rm-680: fix the panic during boot

2011-12-02 Thread Aaro Koskinen
possible to boot RM-680 into the shell. Tested with 3.2-rc4. Signed-off-by: Aaro Koskinen aaro.koski...@nokia.com --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 14 +- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c b/arch/arm

DEBUG_LL on OMAP1 (was Re: [PATCH] ARM: OMAP: Fix map_io for Amstrad E3)

2011-11-12 Thread Aaro Koskinen
Hi, On Thu, 10 Nov 2011, Tony Lindgren wrote: * Aaro Koskinen aaro.koski...@iki.fi [10 13:31]: --- a/arch/arm/mach-omap1/clock_data.c +++ b/arch/arm/mach-omap1/clock_data.c @@ -774,14 +774,6 @@ int __init omap1_clk_init(void) int crystal_type = 0; /* Default 12 MHz */ u32

Re: [PATCH] ARM: OMAP: Fix reprogramming of dpll1 rate

2011-11-11 Thread Aaro Koskinen
. Cheers mate, this fixes the 3.2-rc1 boot issue on Amstrad E3. Tested-by: Aaro Koskinen aaro.koski...@iki.fi A. --- diff --git a/arch/arm/configs/omap1_defconfig b/arch/arm/configs/ omap1_defconfig index 7b63462..a7e7775 100644 --- a/arch/arm/configs/omap1_defconfig +++ b/arch/arm/configs

Re: [PATCH] ARM: OMAP: Fix map_io for Amstrad E3

2011-11-10 Thread Aaro Koskinen
Hi, On Wed, 9 Nov 2011, Tony Lindgren wrote: * Aaro Koskinen aaro.koski...@iki.fi [09 15:25]: On 10.11.2011, at 1.39, Russell King - ARM Linux wrote: On Wed, Nov 09, 2011 at 03:25:25PM -0800, Tony Lindgren wrote: Commit 7b88e62f5d219a86d81bdf4388012c97dc42e8f8 (ARM: OMAP1: Use generic

[PATCH] input: ams_delta_serio: include linux/module.h

2011-11-09 Thread Aaro Koskinen
: error: 'THIS_MODULE' undeclared (first use in this function) drivers/input/serio/ams_delta_serio.c:155:2: note: each undeclared identifier is reported only once for each function it appears in Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- drivers/input/serio/ams_delta_serio.c |1 + 1

3.2-rc1 boot broken on OMAP1 / Amstrad E3

2011-11-09 Thread Aaro Koskinen
Hi, Has anyone managed to boot 3.2-rc1 on OMAP1? On Amstrad E3 it seems to hang at very early on the boot (below output is with earlyprintk enabled): Uncompressing Linux... done, booting the kernel. [0.00] Initializing cgroup subsys cpu [0.00] Linux version 3.2.0-rc1-e3

Re: [PATCH] ARM: OMAP: Fix map_io for Amstrad E3

2011-11-09 Thread Aaro Koskinen
board though. Fix this by adding a custom map_io for Amstrad E3. Reported-by: Aaro Koskinen aaro.koski...@iki.fi Signed-off-by: Tony Lindgren t...@atomide.com --- Untested, does this help? --- a/arch/arm/mach-omap1/board-ams-delta.c +++ b/arch/arm/mach-omap1/board-ams-delta.c @@ -302,8 +302,6

Re: [PATCH] ARM: OMAP: Fix map_io for Amstrad E3

2011-11-09 Thread Aaro Koskinen
Hi, On 10.11.2011, at 2.04, Tony Lindgren wrote: * Aaro Koskinen aaro.koski...@iki.fi [09 15:25]: On 10.11.2011, at 1.39, Russell King - ARM Linux wrote: On Wed, Nov 09, 2011 at 03:25:25PM -0800, Tony Lindgren wrote: Commit 7b88e62f5d219a86d81bdf4388012c97dc42e8f8 (ARM: OMAP1: Use

Re: [PATCH 3.1-rc3] gpio/omap: fix build error with certain OMAP1 configs

2011-10-10 Thread Aaro Koskinen
this structure member unconditionally as a fix. Tested with a custom OMAP1510 only configuration. Signed-off-by: Janusz Krzysztofik jkrzy...@tis.icnet.pl Verified that this fixes a build problem when building for OMAP1 (730/850 only) Acked-by: Kevin Hilman khil...@ti.com Tested-by: Aaro

Re: OMAP2+: hwmod: remove OMAP_CHIP*

2011-09-06 Thread Aaro Koskinen
Hi, On Mon, 5 Sep 2011, Paul Walmsley wrote: At Tony's request, remove the OMAP_CHIP* flags from the hwmod data, and replace it instead with chip family, variant, and ES level-specific lists of hwmods to register. Signed-off-by: Paul Walmsley p...@pwsan.com [...] int __init

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

2011-04-13 Thread Aaro Koskinen
Hi, On Wed, 13 Apr 2011, Tony Lindgren wrote: * Nicolas Pitre nicolas.pi...@linaro.org [110402 05:40]: On Thu, 31 Mar 2011, Aaro Koskinen wrote: On Wed, 30 Mar 2011, Kevin Hilman wrote: Tony Lindgren t...@atomide.com writes: FYI, looks like we've started hitting some booter -l kernel size

Re: [PATCH] omap: rx51: Platform support for lp5523 led chip

2011-03-31 Thread Aaro Koskinen
Hi, On Thu, 31 Mar 2011, Ameya Palande wrote: +static int rx51_lp5523_setup(void) +{ + int err; + + err = gpio_request(RX51_LP5523_CHIP_EN_GPIO, lp5523_enable); + if (err 0) { + pr_err(Unable to get lp5523_enable GPIO\n); + return err; + } +

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

2011-03-31 Thread Aaro Koskinen
Hi, On Wed, 30 Mar 2011, Kevin Hilman wrote: Tony Lindgren t...@atomide.com writes: FYI, looks like we've started hitting some booter -l kernel size limit in addition to booter -f size limit.. Now kernels built with omap2plus_defconfig won't boot on n900 any longer. I guess you are seeing it

[PATCH 1/6] arm: mach-omap2: omap_l3_smx: fix request_irq() error path

2011-03-24 Thread Aaro Koskinen
The debug irq should be freed on the error path. Signed-off-by: Aaro Koskinen aaro.koski...@nokia.com --- arch/arm/mach-omap2/omap_l3_smx.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/omap_l3_smx.c b/arch/arm/mach-omap2/omap_l3_smx.c index

[PATCH 5/6] arm: mach-omap2: smartreflex: delete instance from sr_list on probe error

2011-03-24 Thread Aaro Koskinen
If the probe fails, the node should be deleted from sr_list. Signed-off-by: Aaro Koskinen aaro.koski...@nokia.com --- arch/arm/mach-omap2/smartreflex.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/smartreflex.c b/arch/arm/mach-omap2/smartreflex.c

[PATCH 3/6] arm: mach-omap2: smartreflex: request the memory region

2011-03-24 Thread Aaro Koskinen
We are releasing the memory region, but never actually request it. Signed-off-by: Aaro Koskinen aaro.koski...@nokia.com --- arch/arm/mach-omap2/smartreflex.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/smartreflex.c b/arch/arm/mach-omap2

[PATCH 4/6] arm: mach-omap2: smartreflex: fix ioremap leak on probe error

2011-03-24 Thread Aaro Koskinen
Add missing iounmap() to error paths. Signed-off-by: Aaro Koskinen aaro.koski...@nokia.com --- arch/arm/mach-omap2/smartreflex.c | 10 ++ 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-omap2/smartreflex.c b/arch/arm/mach-omap2/smartreflex.c index 81bd5ed

[PATCH 2/6] arm: mach-omap2: smartreflex: fix sr_late_init() error path in probe

2011-03-24 Thread Aaro Koskinen
sr_late_init() will take care of freeing the resources. Signed-off-by: Aaro Koskinen aaro.koski...@nokia.com --- arch/arm/mach-omap2/smartreflex.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/smartreflex.c b/arch/arm/mach-omap2/smartreflex.c

[PATCH 6/6] arm: mach-omap2: smartreflex: delete debugfs entries on probe error

2011-03-24 Thread Aaro Koskinen
Delete created debugfs entries if probe fails. Signed-off-by: Aaro Koskinen aaro.koski...@nokia.com --- arch/arm/mach-omap2/smartreflex.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/smartreflex.c b/arch/arm/mach-omap2/smartreflex.c index

Re: [PATCH 2/2] OMAP3: rx51: specify phy_power for usb tranceiver

2011-03-21 Thread Aaro Koskinen
Hi, On Mon, 21 Mar 2011, Sergei Shtylyov wrote: This patch allows the ISP1707 USB tranceiver on Nokia N900 to be disabled when usb cable is disconnected. This saves approximately 14mA of battery current. Patch based on work done by Heikki Krogerus on N900 maemo kernel. Signed-off-by:

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

2011-03-16 Thread Aaro Koskinen
Hi, On Tue, 15 Mar 2011, Cousson, Benoit wrote: Mmm, that looks like an access to a secure timer from hwmod code on a HS device. Could you comment out the timer12 entry (omap3xxx_timer12_hwmod) in the omap3 hwmod list at the end of omap_hwmod_3xxx_data.c to check that? With timer12 entry

[PATCH 1/2] arm: mach-omap2: devices: fix omap3_l3_init() return value

2011-03-16 Thread Aaro Koskinen
Fix the return value for the successful case. Signed-off-by: Aaro Koskinen aaro.koski...@nokia.com --- arch/arm/mach-omap2/devices.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c index 0d2d6a9..d478f53

[PATCH 2/2] arm: mach-omap2: omap_l3_smx: fix irq handler setup

2011-03-16 Thread Aaro Koskinen
The handler function may be called from the point it is registered. Since the handler inspects IRQ numbers, we must set them up before registration. Signed-off-by: Aaro Koskinen aaro.koski...@nokia.com --- arch/arm/mach-omap2/omap_l3_smx.c | 11 --- 1 files changed, 4 insertions(+), 7

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

2011-03-16 Thread Aaro Koskinen
Hi, On Wed, 16 Mar 2011, Cousson, Benoit wrote: On 3/16/2011 2:49 PM, Aaro Koskinen wrote: On Tue, 15 Mar 2011, Cousson, Benoit wrote: Mmm, that looks like an access to a secure timer from hwmod code on a HS device. Could you comment out the timer12 entry (omap3xxx_timer12_hwmod

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

2011-03-15 Thread Aaro Koskinen
Hi, On Mon, 14 Mar 2011, Tony Lindgren wrote: I've applied few random fix like patches today into omap-for-linus but that's it for this merge window. So let's do some testing with with Stephen's for-next and omap-for-linus and start queueing up fixes for the -rc cycle. I did some quick

Re: [PATCH 2/2] omap: rx51: initialize platform data for twl4030 powerbutton

2011-03-14 Thread Aaro Koskinen
Hi, On Fri, 11 Mar 2011, Denis Karpov wrote: From: Denis Karpov ext-denis.2.kar...@nokia.com Adds and initializes platform data for TWL4030 powerbutton. Disable repeat input events from a button press (default behaviour). [...] +static struct twl4030_pwrbutton_data rx51_pwrbutton_data = {

[PATCH] arm: plat-omap: iommu: fix request_mem_region() error path

2011-03-14 Thread Aaro Koskinen
request_mem_region() error exit will leak ioremapped memory. Fix this by moving the ioremap() after request_mem_region(), which is the proper order to do this anyway. Signed-off-by: Aaro Koskinen aaro.koski...@nokia.com --- arch/arm/plat-omap/iommu.c | 14 -- 1 files changed, 8

Re: [PATCH v5 01/10] OMAP4 : DSS2 : Add display type HDMI to DSS2

2011-03-10 Thread Aaro Koskinen
Hi, On Thu, 10 Mar 2011, Tomi Valkeinen wrote: Generally, split the lines at column, say, 78. I think it should be 75 at most, which is also default for fmt. git log idents the comment by 4 spaces, and it would be nice to have logs readable with an 80-column screen. A. -- To unsubscribe

Re: [GIT PULL] omap fixes for v2.6.38-rc6

2011-03-01 Thread Aaro Koskinen
Hi, On Mon, 28 Feb 2011, 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 This contains one more timer regression fix, a DPLL rate fix, and a mailbox NULL pointer fix that would be good to get in

[PATCH] arm: mach-omap2: smartreflex: fix another memory leak

2011-02-07 Thread Aaro Koskinen
] platform_driver_probe+0x18/0x8c [c0013c1c] sr_init+0x40/0x74 [c005a554] do_one_initcall+0xc8/0x1a0 [c00084f4] kernel_init+0x150/0x218 [c0065d64] kernel_thread_exit+0x0/0x8 [] 0x Signed-off-by: Aaro Koskinen aaro.koski...@nokia.com --- arch/arm/mach-omap2/smartreflex.c

[PATCHv2] arm: mach-omap2: smartreflex: fix another memory leak

2011-02-07 Thread Aaro Koskinen
Signed-off-by: Aaro Koskinen aaro.koski...@nokia.com --- v2: Get rid of kmalloc(). arch/arm/mach-omap2/smartreflex.c | 15 +++ 1 files changed, 3 insertions(+), 12 deletions(-) diff --git a/arch/arm/mach-omap2/smartreflex.c b/arch/arm/mach-omap2/smartreflex.c index 77ecebf

RE: [PATCHv2] arm: mach-omap2: smartreflex: fix another memory leak

2011-02-07 Thread Aaro Koskinen
] kernel_thread_exit+0x0/0x8 [] 0x Signed-off-by: Aaro Koskinen aaro.koski...@nokia.com --- v2: Get rid of kmalloc(). arch/arm/mach-omap2/smartreflex.c | 15 +++ 1 files changed, 3 insertions(+), 12 deletions(-) diff --git a/arch/arm/mach-omap2/smartreflex.c b

[PATCH] arm: mach-omap2: board-rm680: fix rm680_vemmc regulator constraints

2011-02-01 Thread Aaro Koskinen
With the commit 757902513019e6ee469791ff76f954b19ca8d036 fixed voltage regulator setup will fail if there are voltage constraints defined. This made MMC unusable on this board. Fix by just deleting those redundant constraints. Signed-off-by: Aaro Koskinen aaro.koski...@nokia.com --- arch/arm

[PATCH] arm: mach-omap2: mux: free allocated memory on error exit

2011-01-28 Thread Aaro Koskinen
Free allocated memory on error exit. Signed-off-by: Aaro Koskinen aaro.koski...@nokia.com --- arch/arm/mach-omap2/mux.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/mux.c b/arch/arm/mach-omap2/mux.c index df8d2f2..18aea0c 100644 --- a/arch/arm/mach

<    1   2   3   4   5   >