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
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-
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 +
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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-
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
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
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/
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
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
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
101 - 127 of 127 matches
Mail list logo