[RFC part1/2 merge][PATCH 01/10] OMAP3: serial: Check for zero-based physical addr

2010-03-03 Thread Sergio Aguirre
This is for protecting a wrong mapping attempt of a zero-based physical address. The result is that, no serial port will be attempted to be mapped. Also add an additional protection for NULL clocks before attempting to enable them (if above condition applies) Signed-off-by: Sergio Aguirre

[RFC part1/2 merge][PATCH 00/10] omap2/3/4: uart4 fixes + zoom2/3 changes

2010-03-03 Thread Sergio Aguirre
y one port. Please let me know your comments and thoughts. Thanks to: - Vikram Pandita - Paul Walmsley - Kevin Hilman - Manjunath Kondaiah For the feedback recieved so far. I really appreciate it. Regards, Sergio Detailed changelog: Sergio Aguirre (10): OMAP3: serial: Check for zero-

[RFC part2 v1][PATCH 4/4] omap3: zoom 2/3: Change debugboard serial port id

2010-03-01 Thread Sergio Aguirre
This is now changed to PLAT8250_DEV_PLATFORM (= 0), because it is the only port that's going to be initted in Zoom 2/3 boards. So, it doesn't make sense to keep the hardcoded 3 value anymore. Signed-off-by: Sergio Aguirre --- arch/arm/mach-omap2/board-zoom-debugboard.c |2 +

[RFC part2 v1][PATCH 3/4] omap3: 3630sdp: Explicitly enable all UARTs

2010-03-01 Thread Sergio Aguirre
All UARTs seem physically reachable, so, enable them all. Signed-off-by: Sergio Aguirre --- arch/arm/mach-omap2/board-3630sdp.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) mode change 100755 => 100644 arch/arm/mach-omap2/board-3630sdp.c diff --git a/arch/arm/mach-omap2/bo

[RFC part2 v1][PATCH 2/4] omap3: zoom2/3 / 3630sdp: Don't init always all uarts

2010-03-01 Thread Sergio Aguirre
This is useless, since in Zoom2/3 boards, the ports aren't even physically accessible. They must be explicitly initted in the board-zoom2.c, board-zoom3.c and board-3630sdp.c files instead. Signed-off-by: Sergio Aguirre --- arch/arm/mach-omap2/board-zoom-peripherals.c |1 - 1 files ch

[RFC part2 v1][PATCH 1/4] omap2/3/4: serial: rename omap_serial_init

2010-03-01 Thread Sergio Aguirre
The name itself doesn't make clear that all UARTs of the platform are going to be initted. This is just to give more awareness of the real action being done here. Signed-off-by: Sergio Aguirre --- arch/arm/mach-omap2/board-2430sdp.c |2 +- arch/arm/mach-omap2/board-3430

[RFC part2 v1][PATCH 0/4] omap2/3/4: Some more serial work

2010-03-01 Thread Sergio Aguirre
our comments and thoughts. Regards, Sergio Detailed changelog: Sergio Aguirre (4): omap2/3/4: serial: rename omap_serial_init omap3: zoom2/3 / 3630sdp: Don't init always all uarts omap3: 3630sdp: Explicitly enable all UARTs omap3: zoom 2/3: Change debugboard serial port id arch/ar

[RFC v3][PATCH 5/6] OMAP3: PRCM: Consider UART4 for 3630 chip in prcm_setup_regs

2010-02-27 Thread Sergio Aguirre
Signed-off-by: Sergio Aguirre --- arch/arm/mach-omap2/pm34xx.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index fee2efb..81082f2 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm/mach-omap2

[RFC v3][PATCH 6/6] omap3: serial: Fix uart4 handling for 3630

2010-02-27 Thread Sergio Aguirre
This patch makes the following: - Adds missing wakeup padding register handling. - Fixes a hardcode to use PER module ONLY on UART3. - Corrects IRQ number to 80 for 3630 case. Signed-off-by: Sergio Aguirre --- arch/arm/mach-omap2/serial.c | 10 +- 1 files changed, 9 insertions

[RFC v3][PATCH 3/6] ARM: OMAP3630: PRCM: Add UART4 control bits

2010-02-27 Thread Sergio Aguirre
This bits are exclusive of omap 36xx family of chips. Signed-off-by: Sergio Aguirre --- arch/arm/mach-omap2/cm-regbits-34xx.h |2 ++ arch/arm/mach-omap2/prcm-common.h |4 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/cm-regbits-34xx.h b

[RFC v3][PATCH 0/6] OMAP3630: UART4 startup (+ new bugfix!)

2010-02-27 Thread Sergio Aguirre
on UART3 only. Indirect dependencies: - Tested with Thomas Weber's patch [2]. Thanks for Paul Walmsley and Tony Lindgreen for their initial comments. Detailed patchlist summary: Sergio Aguirre (6): OMAP3: serial: Check for zero-based physical addr omap2/3/4: serial: Remove conditio

[RFC v3][PATCH 4/6] OMAP clock: Add uart4_ick/fck definitions for 3630

2010-02-27 Thread Sergio Aguirre
This is only valid for omap 36xx family of chips. Signed-off-by: Sergio Aguirre --- arch/arm/mach-omap2/clock3xxx_data.c | 22 ++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/clock3xxx_data.c b/arch/arm/mach-omap2/clock3xxx_data.c

[RFC v3][PATCH 2/6] omap2/3/4: serial: Remove condition for getting uart4_phys

2010-02-27 Thread Sergio Aguirre
This check is invalid, since we haven't filled the omap_revision var at this point. Signed-off-by: Sergio Aguirre --- arch/arm/mach-omap2/serial.c | 14 +- 1 files changed, 1 insertions(+), 13 deletions(-) diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/ser

[RFC v3][PATCH 1/6] OMAP3: serial: Check for zero-based physical addr

2010-02-27 Thread Sergio Aguirre
This is for protecting a wrong mapping attempt of a zero-based physical address. The result is that, no serial port will be attempted to be mapped. Also add an additional protection for NULL clocks before attempting to enable them (if above condition applies) Signed-off-by: Sergio Aguirre

[RFC v2][PATCH 2/5] OMAP clock: Add UART4 autoidle bit for 3630

2010-02-26 Thread Sergio Aguirre
Signed-off-by: Sergio Aguirre --- arch/arm/mach-omap2/cm-regbits-34xx.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/cm-regbits-34xx.h b/arch/arm/mach-omap2/cm-regbits-34xx.h index a3a3ca0..834b671 100644 --- a/arch/arm/mach-omap2/cm-regbits

[RFC v2][PATCH 4/5] OMAP3: PRCM: Consider UART4 for 3630 chip in prcm_setup_regs

2010-02-26 Thread Sergio Aguirre
Signed-off-by: Sergio Aguirre --- arch/arm/mach-omap2/pm34xx.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index fee2efb..81082f2 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm/mach-omap2

[RFC v2][PATCH 5/5] omap3: serial: Add uart4 wakeup handling

2010-02-26 Thread Sergio Aguirre
Signed-off-by: Sergio Aguirre --- arch/arm/mach-omap2/serial.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c index da77930..6e1b17e 100644 --- a/arch/arm/mach-omap2/serial.c +++ b/arch/arm/mach-omap2

[RFC v2][PATCH 3/5] OMAP clock: Add uart4_ick/fck definitions for 3630

2010-02-26 Thread Sergio Aguirre
This is only valid for omap 36xx family of chips. Signed-off-by: Sergio Aguirre --- arch/arm/mach-omap2/clock3xxx_data.c | 22 ++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/clock3xxx_data.c b/arch/arm/mach-omap2/clock3xxx_data.c

[RFC v2][PATCH 1/5] ARM: OMAP3630: PRCM: Add UART4 control bits

2010-02-26 Thread Sergio Aguirre
This bits are exclusive of omap 36xx family of chips. Signed-off-by: Sergio Aguirre --- arch/arm/mach-omap2/prcm-common.h |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/prcm-common.h b/arch/arm/mach-omap2/prcm-common.h index 90f603d..c4e7bcb

[RFC v2][PATCH 0/5] OMAP3630: UART4 startup

2010-02-26 Thread Sergio Aguirre
fff1e (e3a03000) ---[ end trace 1b75b31a2719ed1c ]--- Kernel panic - not syncing: Attempted to kill init! --- LOG END --- Detailed patchlist summary: Sergio Aguirre (5): ARM: OMAP3630: PRCM: Add UART4 control bits OMAP clock: Add UART4 autoidle bit for 3630 OMAP clock: Add uart4_ick/fck defini

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

2010-02-25 Thread Sergio Aguirre
This should complements changes done in: commit e7db7b4270ed2a606b8c0b5f944a5f92ade0e84c Author: Albin Tonnerre Date: Fri Jan 8 14:42:43 2010 -0800 arm: add support for LZO-compressed kernels It missed to do the respective changes in '.gitignore' file. Signed-off-

[RFC][PATCH 3/3] omap3: serial: Add uart4 wakeup handling

2010-02-25 Thread Sergio Aguirre
Signed-off-by: Sergio Aguirre --- arch/arm/mach-omap2/serial.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c index c4a810b..1942cc8 100644 --- a/arch/arm/mach-omap2/serial.c +++ b/arch/arm/mach-omap2

[RFC][PATCH 2/3] OMAP clock: Add uart4_ick/fck definitions for 3630

2010-02-25 Thread Sergio Aguirre
This is only valid for omap 36xx family of chips. Signed-off-by: Sergio Aguirre --- arch/arm/mach-omap2/clock34xx_data.c | 22 ++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/clock34xx_data.c b/arch/arm/mach-omap2/clock34xx_data.c

[RFC][PATCH 0/3] OMAP3630: UART4 startup

2010-02-25 Thread Sergio Aguirre
changeset: Sergio Aguirre (3): ARM: OMAP3630: PRCM: Add UART4 control bits OMAP clock: Add uart4_ick/fck definitions for 3630 omap3: serial: Add uart4 wakeup handling arch/arm/mach-omap2/clock34xx_data.c | 22 ++ arch/arm/mach-omap2/prcm-common.h|4 arch/arm/

[RFC][PATCH 1/3] ARM: OMAP3630: PRCM: Add UART4 control bits

2010-02-25 Thread Sergio Aguirre
This bits are exclusive of omap 36xx family of chips. Signed-off-by: Sergio Aguirre --- arch/arm/mach-omap2/prcm-common.h |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/prcm-common.h b/arch/arm/mach-omap2/prcm-common.h index 90f603d..c4e7bcb

[PATCH] omap2/3/4: serial: Don't init UART4 for 3630 still

2010-02-24 Thread Sergio Aguirre
s patch is crucial for Zoom3 booting. Signed-off-by: Sergio Aguirre --- arch/arm/mach-omap2/serial.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c index b79bc89..c4a810b 100644 --- a/arch/arm/mach-omap2/serial.c

[PATCH] omapfb: Reorder Register_framebuffer call

2009-09-12 Thread Sergio Aguirre
This fixes the issue in which mm_lock mutex was attempted to be used without initializing previously. Thanks to the testers! - OMAP3430 SDP (Anand Gadiyar) - OMAP3530 EVM (Vaibhav Hiremath) - LogicPD's OMAP boards (Peter Brada) - Beagleboard Rev. C2 (Eric Witcher) Signed-off-by: S

<    1   2