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

2010-02-24 Thread Sergio Aguirre
for Zoom3 booting. Signed-off-by: Sergio Aguirre saagui...@ti.com --- 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

[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 saagui...@ti.com --- 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

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

2010-02-25 Thread Sergio Aguirre
: 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/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 saagui...@ti.com --- 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

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

2010-02-25 Thread Sergio Aguirre
Signed-off-by: Sergio Aguirre saagui...@ti.com --- 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

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

2010-02-25 Thread Sergio Aguirre
' file. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/boot/compressed/.gitignore |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/arch/arm/boot/compressed/.gitignore b/arch/arm/boot/compressed/.gitignore index ab204db..bb984af 100644 --- a/arch/arm/boot

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

2010-02-26 Thread Sergio Aguirre
] (kernel_init+0x90/0x10c) [c0008578] (kernel_init+0x90/0x10c) from [c002cdbc] (kernel_thread_exit+0x0/0x8) Code: e5801004 e5831000 e5813004 e12fff1e (e3a03000) ---[ end trace 1b75b31a2719ed1c ]--- Kernel panic - not syncing: Attempted to kill init! --- LOG END --- Detailed patchlist summary: Sergio

[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 saagui...@ti.com --- 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

[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 saagui...@ti.com --- 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

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

2010-02-26 Thread Sergio Aguirre
Signed-off-by: Sergio Aguirre saagui...@ti.com --- 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

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

2010-02-26 Thread Sergio Aguirre
Signed-off-by: Sergio Aguirre saagui...@ti.com --- 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

[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 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 saagui...@ti.com --- 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

[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 condition

[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 saagui...@ti.com --- 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

[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 saagui...@ti.com --- 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

[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 saagui...@ti.com --- arch/arm/mach-omap2/serial.c | 10 +- 1 files changed, 9

[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 saagui...@ti.com --- 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

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

2010-03-01 Thread Sergio Aguirre
physically reachable. As an end result, Zoom2/3 Default uart will be ttyS0. As a side change, I'm doing a chmod to 644 of some 755 files. IMPORTANT: This changes are meant to be applied on top of [1] and [2] Please let me know your comments and thoughts. Regards, Sergio Detailed changelog: Sergio

[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 saagui...@ti.com --- arch/arm/mach-omap2/board-2430sdp.c |2 +- arch/arm/mach-omap2/board

[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 saagui...@ti.com --- arch/arm/mach-omap2/board-zoom-peripherals.c |1

[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 saagui...@ti.com --- 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 saagui...@ti.com --- 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

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

2010-03-03 Thread Sergio Aguirre
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-based

[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 03/10] ARM: OMAP3630: PRCM: Add UART4 control bits

2010-03-03 Thread Sergio Aguirre
This bits are exclusive of omap 36xx family of chips. Signed-off-by: Sergio Aguirre saagui...@ti.com --- 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

[RFC part1/2 merge][PATCH 04/10] OMAP clock: Add uart4_ick/fck definitions for 3630

2010-03-03 Thread Sergio Aguirre
This is only valid for omap 36xx family of chips. Signed-off-by: Sergio Aguirre saagui...@ti.com --- 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

[RFC part1/2 merge][PATCH 02/10] omap2/3/4: serial: Remove condition for getting uart4_phys

2010-03-03 Thread Sergio Aguirre
This check is invalid, since we haven't filled the omap_revision var at this point. Signed-off-by: Sergio Aguirre saagui...@ti.com --- 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

[RFC part1/2 merge][PATCH 07/10] omap3: zoom2/3 / 3630sdp: Don't init always all uarts

2010-03-03 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 saagui...@ti.com --- arch/arm/mach-omap2/board-zoom-peripherals.c |1

[RFC part1/2 merge][PATCH 05/10] OMAP3: PRCM: Consider UART4 for 3630 chip in prcm_setup_regs

2010-03-03 Thread Sergio Aguirre
Signed-off-by: Sergio Aguirre saagui...@ti.com --- 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

[RFC part1/2 merge][PATCH 10/10] omap3: zoom2/3: Register only 1 8250 port

2010-03-03 Thread Sergio Aguirre
There's no more serial ports available, so, doesn't make sense to create 4 device nodes. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/configs/omap_zoom2_defconfig |2 +- arch/arm/configs/omap_zoom3_defconfig |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff

[RFC part1/2 merge][PATCH 09/10] omap3: zoom 2/3: Change debugboard serial port id

2010-03-03 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 saagui...@ti.com --- arch/arm/mach-omap2/board-zoom-debugboard.c |2

[RFC part1/2 merge][PATCH 08/10] omap3: 3630sdp: Explicitly enable all UARTs

2010-03-03 Thread Sergio Aguirre
All UARTs seem physically reachable, so, enable them all. Signed-off-by: Sergio Aguirre saagui...@ti.com --- 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

[RFC part1/2 merge][PATCH 06/10] omap3: serial: Fix uart4 handling for 3630

2010-03-03 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 saagui...@ti.com --- arch/arm/mach-omap2/serial.c | 10 +- 1 files changed, 9

[PATCH] omap: Fix gpio_resume_after_retention

2010-03-03 Thread Sergio Aguirre
for multi-omap for omap4 Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/plat-omap/gpio.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/plat-omap/gpio.c b/arch/arm/plat-omap/gpio.c index 337199e..76a347b 100644 --- a/arch/arm/plat-omap/gpio.c

[RFC part1/2 merge v2][PATCH 02/11] omap2/3/4: serial: Remove condition for getting uart4_phys

2010-03-08 Thread Sergio Aguirre
This check is invalid, since we haven't filled the omap_revision var at this point. Signed-off-by: Sergio Aguirre saagui...@ti.com --- 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

[RFC part1/2 merge v2][PATCH 06/11] OMAP3: Add UART4 IRQ for 36xx chips

2010-03-08 Thread Sergio Aguirre
Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/plat-omap/include/plat/irqs.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/plat-omap/include/plat/irqs.h b/arch/arm/plat-omap/include/plat/irqs.h index b65088a..a7ae3f3 100644 --- a/arch/arm/plat

[RFC part1/2 merge v2][PATCH 05/11] OMAP3: PRCM: Consider UART4 for 3630 chip in prcm_setup_regs

2010-03-08 Thread Sergio Aguirre
Signed-off-by: Sergio Aguirre saagui...@ti.com --- 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

[RFC part1/2 merge v2][PATCH 07/11] omap3: serial: Fix uart4 handling for 3630

2010-03-08 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 saagui...@ti.com --- arch/arm/mach-omap2/serial.c |9 - 1 files changed, 8

[RFC part1/2 merge v2][PATCH 03/11] ARM: OMAP3630: PRCM: Add UART4 control bits

2010-03-08 Thread Sergio Aguirre
This bits are exclusive of omap 36xx family of chips. Signed-off-by: Sergio Aguirre saagui...@ti.com --- 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

[RFC part1/2 merge v2][PATCH 09/11] omap3: 3630sdp: Explicitly enable all UARTs

2010-03-08 Thread Sergio Aguirre
All UARTs seem physically reachable, so, enable them all. Signed-off-by: Sergio Aguirre saagui...@ti.com --- 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

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

2010-03-08 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 v2][PATCH 08/11] omap3: zoom2/3 / 3630sdp: Don't init always all uarts

2010-03-08 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 saagui...@ti.com --- arch/arm/mach-omap2/board-zoom-peripherals.c |1

[RFC part1/2 merge v2][PATCH 11/11] omap3: zoom2/3: Register only 1 8250 port

2010-03-08 Thread Sergio Aguirre
There's no more serial ports available, so, doesn't make sense to create 4 device nodes. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/configs/omap_zoom2_defconfig |2 +- arch/arm/configs/omap_zoom3_defconfig |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff

[RFC part1/2 merge v2][PATCH 04/11] OMAP clock: Add uart4_ick/fck definitions for 3630

2010-03-08 Thread Sergio Aguirre
This is only valid for omap 36xx family of chips. Signed-off-by: Sergio Aguirre saagui...@ti.com --- 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

[RFC part1/2 merge v2][PATCH 10/11] omap3: zoom 2/3: Change debugboard serial port id

2010-03-08 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 saagui...@ti.com --- arch/arm/mach-omap2/board-zoom-debugboard.c |2

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

2010-03-08 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 v2 RESEND][PATCH 04/10] OMAP clock: Add uart4_ick/fck definitions for 3630

2010-03-08 Thread Sergio Aguirre
This is only valid for omap 36xx family of chips. Signed-off-by: Sergio Aguirre saagui...@ti.com --- 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

[RFC part1/2 merge v2 RESEND][PATCH 02/10] omap2/3/4: serial: Remove condition for getting uart4_phys

2010-03-08 Thread Sergio Aguirre
This check is invalid, since we haven't filled the omap_revision var at this point. Signed-off-by: Sergio Aguirre saagui...@ti.com --- 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

[RFC part1/2 merge v2 RESEND][PATCH 08/10] omap3: 3630sdp: Explicitly enable all UARTs

2010-03-08 Thread Sergio Aguirre
All UARTs seem physically reachable, so, enable them all. Signed-off-by: Sergio Aguirre saagui...@ti.com --- 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

[RFC part1/2 merge v2 RESEND][PATCH 03/10] ARM: OMAP3630: PRCM: Add UART4 control bits

2010-03-08 Thread Sergio Aguirre
This bits are exclusive of omap 36xx family of chips. Signed-off-by: Sergio Aguirre saagui...@ti.com --- 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

[RFC part1/2 merge v2 RESEND][PATCH 10/10] omap3: zoom2/3: Register only 1 8250 port

2010-03-08 Thread Sergio Aguirre
There's no more serial ports available, so, doesn't make sense to create 4 device nodes. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/configs/omap_zoom2_defconfig |2 +- arch/arm/configs/omap_zoom3_defconfig |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff

[RFC part1/2 merge v2 RESEND][PATCH 06/10] omap3: serial: Fix uart4 handling for 3630

2010-03-08 Thread Sergio Aguirre
This patch makes the following: - Adds missing wakeup padding register handling. - Fixes a hardcode to use PER module ONLY on UART3. - Adds UART4 IRQ number define for 36xx chips. - Corrects IRQ number for 3630 case. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2

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

2010-03-08 Thread Sergio Aguirre
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-based physical addr omap2/3/4: serial

[RFC part1/2 merge v2 RESEND][PATCH 07/10] omap3: zoom2/3 / 3630sdp: Don't init always all uarts

2010-03-08 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 saagui...@ti.com --- arch/arm/mach-omap2/board-zoom-peripherals.c |1

[RFC part1/2 merge v2 RESEND][PATCH 09/10] omap3: zoom 2/3: Change debugboard serial port id

2010-03-08 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 saagui...@ti.com --- arch/arm/mach-omap2/board-zoom-debugboard.c |2

[RFC part1/2 merge v2 RESEND][PATCH 05/10] OMAP3: PRCM: Consider UART4 for 3630 chip in prcm_setup_regs

2010-03-08 Thread Sergio Aguirre
Signed-off-by: Sergio Aguirre saagui...@ti.com --- 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

[RFC part1/2 merge v3][PATCH 03/10] ARM: OMAP3630: PRCM: Add UART4 control bits

2010-03-09 Thread Sergio Aguirre
This bits are exclusive of omap 36xx family of chips. Signed-off-by: Sergio Aguirre saagui...@ti.com --- 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

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

2010-03-09 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 v3][PATCH 04/10] OMAP clock: Add uart4_ick/fck definitions for 3630

2010-03-09 Thread Sergio Aguirre
This is only valid for omap 36xx family of chips. Signed-off-by: Sergio Aguirre saagui...@ti.com --- 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

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

2010-03-09 Thread Sergio Aguirre
For the feedback recieved so far. I really appreciate it. Regards, Sergio Detailed changelog: Sergio Aguirre (10): OMAP3: serial: Check for zero-based physical addr omap2/3/4: serial: Remove condition for getting uart4_phys ARM: OMAP3630: PRCM: Add UART4 control bits OMAP clock: Add uart4_ick

[RFC part1/2 merge v3][PATCH 05/10] OMAP3: PRCM: Consider UART4 for 3630 chip in prcm_setup_regs

2010-03-09 Thread Sergio Aguirre
To standarize among other uarts (1 to 3), we shall now: - Enable uart4 autodile bit. - Enable uart4 wakeup in PER. - Allow uart4 to wakeup the MPU. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/pm34xx.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions

[RFC part1/2 merge v3][PATCH 02/10] omap2/3/4: serial: Remove condition for getting uart4_phys

2010-03-09 Thread Sergio Aguirre
This check is invalid, since we haven't filled the omap_revision var at this point. Signed-off-by: Sergio Aguirre saagui...@ti.com --- 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

[RFC part1/2 merge v3][PATCH 10/10] omap3: zoom2/3: Register only 1 8250 port

2010-03-09 Thread Sergio Aguirre
There's no more serial ports available, so, doesn't make sense to create 4 device nodes. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/configs/omap_zoom2_defconfig |2 +- arch/arm/configs/omap_zoom3_defconfig |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff

[RFC part1/2 merge v3][PATCH 08/10] omap3: 3630sdp: Explicitly enable all UARTs

2010-03-09 Thread Sergio Aguirre
All UARTs seem physically reachable, so, enable them all. Signed-off-by: Sergio Aguirre saagui...@ti.com --- 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

[RFC part1/2 merge v3][PATCH 07/10] omap3: zoom2/3 / 3630sdp: Don't init always all uarts

2010-03-09 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 saagui...@ti.com --- arch/arm/mach-omap2/board-zoom-peripherals.c |1

[RFC part1/2 merge v3][PATCH 09/10] omap3: zoom 2/3: Change debugboard serial port id

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

[RFC part1/2 merge v3][PATCH 06/10] omap3: serial: Fix uart4 handling for 3630

2010-03-09 Thread Sergio Aguirre
This patch makes the following: - Adds missing wakeup padding register handling. - Fixes a hardcode to use PER module ONLY on UART3. - Adds UART4 IRQ number define for 36xx chips. - Corrects IRQ number for 3630 case. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2

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

2010-03-10 Thread Sergio Aguirre
- Paul Walmsley - Kevin Hilman - Manjunath Kondaiah - Felipe Balbi For the feedback recieved so far. I really appreciate it. Regards, Sergio Detailed changelog: Sergio Aguirre (11): OMAP3: serial: Check for zero-based physical addr OMAP3: serial: Use dev_* macros instead of printk omap2/3/4

[RFC part1/2 merge v4][PATCH 03/11] omap2/3/4: serial: Remove condition for getting uart4_phys

2010-03-10 Thread Sergio Aguirre
This check is invalid, since we haven't filled the omap_revision var at this point. Signed-off-by: Sergio Aguirre saagui...@ti.com --- 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

[RFC part1/2 merge v4][PATCH 04/11] ARM: OMAP3630: PRCM: Add UART4 control bits

2010-03-10 Thread Sergio Aguirre
This bits are exclusive of omap 36xx family of chips. Signed-off-by: Sergio Aguirre saagui...@ti.com --- 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

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

2010-03-10 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 v4][PATCH 02/11] OMAP3: serial: Use dev_* macros instead of printk

2010-03-10 Thread Sergio Aguirre
As we have a struct device populated at the time we are printing the errors, using dev_* macros makes more sense, as could give a better idea where the error/warning came from. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/serial.c | 12 ++-- 1 files changed, 6

[RFC part1/2 merge v4][PATCH 05/11] OMAP clock: Add uart4_ick/fck definitions for 3630

2010-03-10 Thread Sergio Aguirre
This is only valid for omap 36xx family of chips. Signed-off-by: Sergio Aguirre saagui...@ti.com --- 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

[RFC part1/2 merge v4][PATCH 07/11] omap3: serial: Fix uart4 handling for 3630

2010-03-10 Thread Sergio Aguirre
This patch makes the following: - Adds missing wakeup padding register handling. - Fixes a hardcode to use PER module ONLY on UART3. - Adds UART4 IRQ number define for 36xx chips. - Corrects IRQ number for 3630 case. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2

[RFC part1/2 merge v4][PATCH 09/11] omap3: 3630sdp: Explicitly enable all UARTs

2010-03-10 Thread Sergio Aguirre
All UARTs seem physically reachable, so, enable them all. Signed-off-by: Sergio Aguirre saagui...@ti.com --- 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

[RFC part1/2 merge v4][PATCH 11/11] omap3: zoom2/3: Register only 1 8250 port

2010-03-10 Thread Sergio Aguirre
There's no more serial ports available, so, doesn't make sense to create 4 device nodes. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/configs/omap_zoom2_defconfig |2 +- arch/arm/configs/omap_zoom3_defconfig |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff

[RFC part1/2 merge v4][PATCH 10/11] omap3: zoom 2/3: Change debugboard serial port id

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

[RFC part1/2 merge v4][PATCH 06/11] OMAP3: PRCM: Consider UART4 for 3630 chip in prcm_setup_regs

2010-03-10 Thread Sergio Aguirre
To standarize among other uarts (1 to 3), we shall now: - Enable uart4 autodile bit. - Enable uart4 wakeup in PER. - Allow uart4 to wakeup the MPU. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/pm34xx.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions

[PATCH 0/7] omap3: serial code for 3630 and zoom2/3 fixes

2010-03-12 Thread Sergio Aguirre
Lindgreen For all the feedback recieved so far. Regards, Sergio Sergio Aguirre (7): OMAP3: serial: Check for zero-based physical addr OMAP3: serial: Use dev_* macros instead of printk omap2/3/4: serial: Remove condition for getting uart4_phys omap3: zoom2/3 / 3630sdp: Don't init always all

[PATCH 3/7] omap2/3/4: serial: Remove condition for getting uart4_phys

2010-03-12 Thread Sergio Aguirre
This check is invalid, since we haven't filled the omap_revision var at this point. Signed-off-by: Sergio Aguirre saagui...@ti.com --- 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

[PATCH 2/7] OMAP3: serial: Use dev_* macros instead of printk

2010-03-12 Thread Sergio Aguirre
As we have a struct device populated at the time we are printing the errors, using dev_* macros makes more sense, as could give a better idea where the error/warning came from. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/serial.c | 12 ++-- 1 files changed, 6

[PATCH 1/7] OMAP3: serial: Check for zero-based physical addr

2010-03-12 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

[PATCH 5/7] omap3: 3630sdp: Explicitly enable all UARTs

2010-03-12 Thread Sergio Aguirre
All UARTs seem physically reachable, so, enable them all. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/board-3630sdp.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-3630sdp.c b/arch/arm/mach-omap2/board-3630sdp.c

[PATCH 4/7] omap3: zoom2/3 / 3630sdp: Don't init always all uarts

2010-03-12 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 saagui...@ti.com --- arch/arm/mach-omap2/board-zoom-peripherals.c |1

[PATCH 6/7] omap3: zoom 2/3: Change debugboard serial port id

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

[PATCH 7/7] omap3: zoom2/3: Register only 1 8250 port

2010-03-12 Thread Sergio Aguirre
There's no more serial ports available, so, doesn't make sense to create 4 device nodes. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/configs/omap_zoom2_defconfig |2 +- arch/arm/configs/omap_zoom3_defconfig |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff

[PATCH 1/7] OMAP3: serial: Check for zero-based physical addr

2010-03-15 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

[PATCH 0/7] omap3: serial code for 3630 and zoom2/3 fixes

2010-03-15 Thread Sergio Aguirre
Lindgreen For all the feedback recieved so far. Regards, Sergio Detailed changelog: Sergio Aguirre (7): OMAP3: serial: Check for zero-based physical addr OMAP3: serial: Use dev_* macros instead of printk omap2/3/4: serial: Remove condition for getting uart4_phys omap3: zoom2/3 / 3630sdp

[PATCH 4/7] omap3: zoom2/3 / 3630sdp: Don't init always all uarts

2010-03-15 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 saagui...@ti.com --- arch/arm/mach-omap2/board-zoom-peripherals.c |1

[PATCH 6/7] omap3: zoom 2/3: Change debugboard serial port id

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

[PATCH 5/7] omap3: 3630sdp: Explicitly enable all UARTs

2010-03-15 Thread Sergio Aguirre
All UARTs seem physically reachable, so, enable them all. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/board-3630sdp.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-3630sdp.c b/arch/arm/mach-omap2/board-3630sdp.c

[PATCH 7/7] omap3: zoom2/3: Register only 1 8250 port

2010-03-15 Thread Sergio Aguirre
There's no more serial ports available, so, doesn't make sense to create 4 device nodes. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/configs/omap_zoom2_defconfig |2 +- arch/arm/configs/omap_zoom3_defconfig |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff

[PATCH 2/7] OMAP3: serial: Use dev_* macros instead of printk

2010-03-15 Thread Sergio Aguirre
As we have a struct device populated at the time we are printing the errors, using dev_* macros makes more sense, as could give a better idea where the error/warning came from. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/serial.c | 12 ++-- 1 files changed, 6

[PATCH 3/7] omap2/3/4: serial: Remove condition for getting uart4_phys

2010-03-15 Thread Sergio Aguirre
This check is invalid, since we haven't filled the omap_revision var at this point. Signed-off-by: Sergio Aguirre saagui...@ti.com --- 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

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

2010-05-03 Thread Sergio Aguirre
' file. Also, add vmlinux to the list, which is generated also during the build. Signed-off-by: Sergio Aguirre saagui...@ti.com Acked-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de --- arch/arm/boot/compressed/.gitignore |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git

[PATCH] omap: gpio: Fix compilation warnings

2010-05-05 Thread Sergio Aguirre
conditional in runtime, and making the compiler think they could be used uninitialized. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/plat-omap/gpio.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/plat-omap/gpio.c b/arch/arm/plat-omap/gpio.c index

[PATCH] omap_hsmmc: Remove unused state variable

2010-06-08 Thread Sergio Aguirre
: Wed May 26 14:42:08 2010 -0700 mmc: remove the state argument to mmc_suspend_host() The unique usage of this var was removed there, and missed removing the respective declaration aswell. Signed-off-by: Sergio Aguirre saagui...@ti.com --- drivers/mmc/host/omap_hsmmc.c |1 - 1 files

[RFC][PATCH] omap3: Unify omap2_set_globals_3[43,6x]x functions

2010-06-29 Thread Sergio Aguirre
-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/board-3430sdp.c|2 +- arch/arm/mach-omap2/board-3630sdp.c|2 +- arch/arm/mach-omap2/board-am3517evm.c |2 +- arch/arm/mach-omap2/board-cm-t35.c |2 +- arch/arm/mach-omap2/board-devkit8000.c

[RFC][PATCH] board-omap3beagle: Remove duplicate DVI reset gpio handling

2010-06-29 Thread Sergio Aguirre
Following commit missed to remove this: commit 044d32ffbcb4a1d400088e3575508f46c0a9face Author: Koen Kooi koen.k...@gmail.com Date: Thu Apr 22 10:23:42 2010 +0200 board-omap3-beagle: add DSS2 support Signed-off-by: Sergio Aguirre saagui...@ti.com Cc: Koen Kooi koen.k...@gmail.com

  1   2   >