From: "Govindraj.R"
The commit (bce492c0 ARM: OMAP2+: UART: Fix incorrect population of
default uart pads) removed default uart pads that where getting populated
and which was making rx pin wakeup capable. If uart pads were used in
different mode by any other module then it would fail
From: "Govindraj.R"
The commit (bce492c0 ARM: OMAP2+: UART: Fix incorrect population of
default uart pads) removed default uart pads that where getting populated
and which was making rx pin wakeup capable. If uart pads was used in
different mode by any other module then it would fail
From: "Govindraj.R"
On 24xx/34xx/36xx Module level wakeup events are enabled/disabled using
PM_WKEN1_CORE/PM_WKEN_PER regs.
Add soc specific api to control the module level wakeup mechanism in hwmod
layer. omap_hwmod_enable/disable_wakeup is used from serial.c which should
configu
From: "Govindraj.R"
The uart module level wakeups enabling and disabling
are now handled from uart driver itself remove the uart module
level configurations from pm code.
Cc: Paul Walmsley
Cc: Kevin Hilman
Cc: Benoit Cousson
Cc: Tony Lindgren
Cc: Tero Kristo
Cc: Rajendra Nayak
C
From: "Govindraj.R"
On omap2/3 module level wakeup is handled using PM_WKEN registers.
Expand the hwmod framework to handle the module level wakeup enable
registers.
Patch series based on:
git://git.pwsan.com/linux-2.6 hwmod_soc_conditional_cleanup_3.5
Tested on Beagle-xm by en
From: "Govindraj.R"
On 24xx/34xx/36xx Module level wakeup events are enabled/disabled using
PM_WKEN1_CORE/PM_WKEN_PER regs.
Add api to control the module level wakeup mechanism from info provided from
hwmod data.
omap_hwmod_enable/disable_wakeup is used from serial.c which should
From: "Govindraj.R"
On omap2/3 module level wakeup is handled using PM_WKEN registers.
Expand the hwmod framework to handle the module level wakeup enable
registers.
Tested on Beagle-xm by enabling and disabling uart wakeups from sysfs
Series depends on following patches for tes
From: "Govindraj.R"
The uart module level wakeups enabling and disabling
are now handled from uart driver itself remove the uart module
level configurations from pm code.
Cc: Paul Walmsley
Cc: Kevin Hilman
Cc: Benoit Cousson
Cc: Tony Lindgren
Cc: Tero Kristo
Cc: Rajendra Nayak
C
From: "Govindraj.R"
On 24xx/34xx/36xx Module level wakeup events are enabled/disabled using
PM_WKEN1_CORE/PM_WKEN_PER regs.
Add api to control the module level wakeup mechanism from info provided from
hwmod data.
omap_hwmod_enable/disable_wakeup is used from serial.c which should
From: "Govindraj.R"
With set_wakeup port ops availability from serial_core layer
which will be called when port is opened with state as true
indicating the wakeups can be enabled for this port and state
as false while port shutdown where we can disable the wakeups.
But wakeup c
From: "Govindraj.R"
With set_wakeup port ops availability from serial_core layer
which will be called when port is opened with state as true
indicating the wakeups can be enabled for this port and state
as false while port shutdown where we can disable the wakeups.
But wakeup c
From: "Govindraj.R"
Currently all low level uart driver register to serial_core layer
this core layer exposes various serial uart ops.
Whenever port is opened the low level platform specific wakeup
capability can be enabled use the already available set_wakeup uart ops
to config
From: "Govindraj.R"
The uart module level wakeups enabling and disabling
are now handled from uart driver itself remove the uart module
level configurations from pm code.
Cc: Paul Walmsley
Cc: Kevin Hilman
Cc: Benoit Cousson
Cc: Tero Kristo
Signed-off-by: Govindraj.R
---
arc
From: "Govindraj.R"
On 24xx/34xx/36xx Module level wakeup events are enabled/disabled using
PM_WKEN1_CORE/PM_WKEN_PER regs.
Add api to control the module level wakeup mechanism from info provided from
hwmod data. If module level wakeups are available from hwmod data then they
have to
From: "Govindraj.R"
On 24xx/34xx/36xx Module level wakeup events are enabled/disabled using
PM_WKEN1_CORE/PM_WKEN_PER regs. The module level wakeups are enabled by
default, by PRM soft reset default value of PM_WKEN reg is all one's which means
all module level wakeups are enable
From: "Govindraj.R"
On omap2/3 module level wakeup is handled using PM_WKEN registers.
Expand the hwmod framework to handle the module level wakeup enable
registers.
Tested on Beagle-xm by enabling and disabling uart wakeups from sysfs
Series depends on following patch for tes
From: "Govindraj.R"
Currently all low level uart driver register to serial_core layer
this core layer exposes various serial uart ops.
Currently the core layer provides startup and shutdown hooks
to low level driver, but in port suspend case the shutdown gets called
from uart_suspend
From: "Govindraj.R"
On 24xx/34xx/36xx Module level wakeup events are enabled/disabled using
PM_WKEN1_CORE/PM_WKEN_PER regs. The module level wakeups are enabled by
default from bootloader, however the wakeups can be enabled/disabled
using sysfs entry example for uart:
echo disab
From: "Govindraj.R"
On omap2/3 module level wakeup is handled using PM_WKEN registers.
Expand the hwmod framework to handle the module level wakeup enable
registers.
Tested on Beagle-xm by enabling and disabling uart wakeups from sysfs
Series depends on following patch for tes
From: "Govindraj.R"
On 24xx/34xx/36xx Module level wakeup events are enabled/disabled using
PM_WKEN1_CORE/PM_WKEN_PER regs.
Add api to control the module level wakeup mechanism from info provided from
hwmod data. If module level wakeups are available from hwmod data then they
have to
From: "Govindraj.R"
The wakeups can be left enabled by default and should be disabled
only when disabled from sysfs and while entering suspend.
Thanks to Kevin Hilman for suggesting this.
Discussion References:
http://www.spinics.net/lists/linux-omap/msg67764.html
http://www.spinics
From: "Govindraj.R"
Default pad populating procedure should first probe whether the uart
pins are available as uart tx/rx pins if yes then we can configure them
and use rx pin for wakeup capability.
Utilise the mux api available to probe the availability of mux pins
in uart mode.
From: "Govindraj.R"
We populating default uart mux pins if no mux data is provided
by board files. But were not probing the availability of uart pins
in tx/rx mode i.e. mux mode0. If particular pin is used for any other
purpose then default pads were breaking those peripherals e.g. uar
From: "Govindraj.R"
The following commit:
(7496ba3 ARM: OMAP2+: UART: Add default mux for all uarts)
added default pads for all uarts. But not all boards tend to
use all uarts and most of unused uart pins are muxed for
other purpose. This commit breaks the modules which where try
,
Govindraj.R
The following changes since commit 0034102808e0dbbf3a2394b82b1bb40b5778de9e:
Linux 3.4-rc2 (2012-04-07 18:30:41 -0700)
are available in the git repository at:
git://gitorious.org/linux-3-x/omap-serial.git for_3.4/uart_fixes
for you to fetch changes up to
From: "Govindraj.R"
Currently the errata is populated based on cpu checks this can
be removed and replaced with module version check of uart ip block.
MVR reg is provided within the uart reg map use the same
to populate the errata and thus now errata population and handling
can be mana
From: "Govindraj.R"
Currently the errata is populated based on cpu checks this can
be removed and replaced with module version check of uart ip block.
MVR reg is provided within the uart reg map use the same
to populate the errata and thus now errata population and handling
can be mana
From: "Govindraj.R"
Fix the compilation break observed on latest mainline.
Fixes below compilation break:
arch/arm/mach-omap2/pm.c: In function 'omap_pm_begin':
arch/arm/mach-omap2/pm.c:239: error: implicit declaration of function
'disable_hlt'
arch/ar
From: "Govindraj.R"
>From omap36xx onwards the module wakeup enable reg
wer has TX wakeup bit available enable the same
by populating the necessary tx wakeup flag for the
applicable module ip blocks and use the same
while configuaring wer reg.
Also wer is not context restored, res
From: "Govindraj.R"
Minor cleanup, replace all omap34xx/omap44xx cpu checks with
cpu is not omap24xx check.
Cc: Paul Walmsley
Cc: Felipe Balbi
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/serial.c |5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git
From: "Govindraj.R"
Currently the errata is populated based on cpu checks this can
be removed and replaced with module version check of uart ip block.
MVR reg is provided within the uart reg map use the same
to populate the errata and thus now errata population and handling
can be mana
From: "Govindraj.R"
Based on Linux-OMAP tree uart branch.
(git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git
remotes/origin/uart)
* Removes the cpu checks wherever possible and use version reg
for populating features and errata's
* enable tx wakeup available
From: "Govindraj.R"
The following commit:
(7496ba3 ARM: OMAP2+: UART: Add default mux for all uarts)
added default pads for all uarts. But not all boards tend to
use all uarts and most of unused uart pins are muxed for
other purpose. This commit breaks the modules which where try
From: "Govindraj.R"
Some modules doesn't have SYSC_HAS_ENAWAKEUP bit available
(ex: usb host uhh module) in absence of this flag
omap_hwmod_enable/disable_wakeup avoids configuring
pad mux wakeup capability.
Configure sysc if SYSC_HAS_ENAWAKEUP is available and for other cas
From: "Govindraj.R"
All beagle boards rev > AX/BX have external usb hubs connected to ehci
interface, external hub/peripheral uses a nreset sequence for which
uart2_rx.gpio_147 pin in mux mode4(USB2HS_nRST) is used on all beagle
boards expect rev Ax/BX.
(Reference to all beag
From: "Govindraj.R"
On beagle some of uart mux lines are used for other
purpose so init only uart3.
Uart2 rx line clashes with gpio_147 used for usb ehci
phy reset. Initializing uart2 pad_mux lines can break
ehci module on beagle xm.
(gpio_147 is available on uart2_rx in mode4
From: "Govindraj.R"
There could be possible race condition where the host dev's
are alloced and added to platform dev just before usbhs_init.
Just move usbhs_init before adding child dev.
CC: Felipe Balbi
CC: Alan Stern
Signed-off-by: Govindraj.R
---
drivers/mfd/omap-us
From: "Govindraj.R"
Remove the hardcoded magic values for dma mask and use the dma
mask macros available.
CC: Felipe Balbi
CC: Alan Stern
Signed-off-by: Govindraj.R
---
drivers/mfd/omap-usb-host.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/driver
From: "Govindraj.R"
Minor fixes, boot tested on panda with ehci enabled.
Patches based on 3.3-rc3
Govindraj.R (2):
mfd: omap-usb-host: Remove magic numbers for dev dma mask
mfd: omap-usb-host: Move usbhs init before allocing child dev
drivers/mfd/omap-usb-host.c |7 +++---
From: "Govindraj.R"
On omap3630 onwards uart wer reg has bit 7
for tx wakeup enable.
Without this bit set some uart sluggishness might be seen
while printing data on console, response is better when
enabling this bit.
Tested with Beagle XM (OMAP3630)
Cc: Kevin Hilman
Cc: Paul Walmsl
d complete any pending qos jobs in work queue while suspending.
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/cpuidle34xx.c |5 ---
arch/arm/mach-omap2/pm24xx.c |2 -
arch/arm/mach-omap2/pm34xx.c | 10 ---
arch/arm/mach-omap
spend.
omap_device_disable_idle_on_suspend API was used on all uarts since the uart
driver was not runtime adapted, now with runtime adaptation we can re-use this
API only for no_console_suspend use cases.
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/serial.c |8 +++-
1 files changed, 7 inser
abled either by adding debug word in bootarg or by setting
loglevel=10
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/serial.c | 11 ++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c
index 5d910ef..a5d9c9c
value can be optimised for power savings.
Acked-by: Kevin Hilman
Signed-off-by: Jon Hunter
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/serial.c |5 -
arch/arm/plat-omap/include/plat/omap-serial.h |3 ++-
drivers/tty/serial/omap-serial.c | 15
bootup and then enable
them back and reset pm_latency ops to default ops.
Thanks to Kevin Hilman for suggesting
this approach.
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/serial.c | 86 +
1 files changed, 61 insertions(+), 25 deletions(-)
diff
Reuse the num_uarts variable itself to count number of uarts.
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/serial.c |7 ++-
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c
index 5c6c48f..4d65d00 100644
ff-by: Jon Hunter
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/board-n8x0.c |6 +-
arch/arm/mach-omap2/serial.c | 56 -
arch/arm/plat-omap/include/plat/omap-serial.h |7 ++-
arch/arm/plat-omap/include/plat/serial.h |5 ++
With runtime adaptation done remove clock_enable/disbale API's
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/serial.c | 36
1 files changed, 0 insertions(+), 36 deletions(-)
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/ser
in serial.c which was handling PM_WKST reg.
Irq_chaing(PRM_DRIVER) is used to wakeup uart after uart clocks are gated
using pad wakeup mechanism.
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/serial.c | 96 +++-
arch/arm/plat-omap/include/plat/o
.
Corrected errata id from chapter reference 2.15 to errata id i291.
Removed errata and dma_enabled fields from omap_uart_state struct
as they are no more needed with errata handling done within omap-serial.
Acked-by: Alan Cox
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/serial.c
Avoid unconditional context restore every time we gate uart
clocks. Check whether context loss happened based on which
we can context restore uart regs from uart_port structure.
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/serial.c |2 ++
arch/arm/plat-omap/include
emove is_suspending check used to acquire
console_lock.
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/pm24xx.c | 18
arch/arm/mach-omap2/pm34xx.c | 32 ---
arch/arm/mach-omap2/serial.c | 65 --
arch/arm
runtime.
Acked-by: Alan Cox
Signed-off-by: Govindraj.R
---
drivers/tty/serial/omap-serial.c | 122 ++
1 files changed, 109 insertions(+), 13 deletions(-)
diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c
index 31f0cbf..f16ef
e and use the default pads
from serial.c file.
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/board-3430sdp.c| 100 +
arch/arm/mach-omap2/board-4430sdp.c| 68 +--
arch/arm/mach-omap2/board-omap4panda.c | 68 +--
arch/arm/mach-omap2/ser
serial.c and had no info on uart state
thus we needed context save and restore in serial.c
With runtime conversion and clock gating done within uart driver
context restore can be done from regs value available from uart_omap_port
structure.
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/serial.c
Remove the uart reset function which is configuring the
TX empty irq which can now be handled within omap-serial driver.
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/serial.c | 14 --
arch/arm/plat-omap/include/plat/omap-serial.h |2 ++
drivers/tty
locks.
Removes the following:
* timer related info from local uart_state struct
* the code used to set timeout value from sysfs.
* irqflags used to set shared irq handler.
* un-used function omap_uart_check_wakeup.
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/serial.c |
Add missing uart regs to uart_port structure which can be used in
context restore. Store dll, dlh, mdr1, scr, efr, lcr, mcr reg values
into uart_port structure while configuring individual port in termios
function.
Signed-off-by: Govindraj.R
---
arch/arm/plat-omap/include/plat/omap-serial.h
needed for
8250 autoconf.
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/serial.c | 97 --
1 files changed, 0 insertions(+), 97 deletions(-)
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c
index 8254067..8499f06 100644
--- a/arch
The mapbase (start_address), membase(io_remap cookie) part of
pdata struct omap_uart_port_info are removed as this should be
derived within driver.
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/serial.c |2 --
arch/arm/plat-omap/include/plat/omap-serial.h |2
-uart3
[Also tested with uart3 as console uart and pm-ret checked]
BeagleBoard XM Rev C(3630):
retention, off_mode, system_wide suspend is tested.
Deepak K (1):
OMAP2+: UART: Allow UART parameters to be configured from board file.
Govindraj.R (18):
OMAP2+: UART: cleanup + remove uart pm specific
When cpuidle pm is selected the following compilation break is seen
fix the same.
arch/arm/mach-omap2/cpuidle34xx.c:312: error: 'THIS_MODULE' undeclared here
(not in a function)
make[1]: *** [arch/arm/mach-omap2/cpuidle34xx.o] Error 1
Signed-off-by: Govindraj.R
---
arch/arm/
Fix below compilation failure on mainline kernel 3.2-rc1
when omap_l3_noc.c is built as module.
arch/arm/mach-omap2/omap_l3_noc.c:240: error: expected ',' or ';' before
'MODULE_DEVICE_TABLE'
Signed-off-by: Govindraj.R
Acked-by: Santosh Shilimkar
---
arch/arm/m
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/omap_l3_noc.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/omap_l3_noc.c
b/arch/arm/mach-omap2/omap_l3_noc.c
index c8b1bef..c2cc196 100644
--- a/arch/arm/mach-omap2/omap_l3_noc.c
+++ b/arch/arm/
'...' before string constant
arch/arm/plat-omap/dmtimer.c:749: warning: data definition has no type or
storage class
arch/arm/plat-omap/dmtimer.c:749: warning: type defaults to 'int' in
declaration of 'MODULE_AUTHOR'
arch/arm/plat-omap/dmtimer.c:749: warning: function
value can be optimised for power savings.
Acked-by: Kevin Hilman
Signed-off-by: Jon Hunter
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/serial.c |5 -
arch/arm/plat-omap/include/plat/omap-serial.h |3 ++-
drivers/tty/serial/omap-serial.c | 15
The custom hwmod activate and deactivate funcs does hwmod_enable
and idle same can be done with omap_device generic API's.
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/serial.c | 18 ++
1 files changed, 2 insertions(+), 16 deletions(-)
diff --git a/arch/arm/mach-
spend.
omap_device_disable_idle_on_suspend API was used on all uarts since the uart
driver was not runtime adapted, now with runtime adaptation we can re-use this
API only for no_console_suspend use cases.
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/serial.c |9 -
1 files changed, 8 inser
igned-off-by: Govindraj.R
---
arch/arm/mach-omap2/serial.c | 11 ++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c
index 5e3bbce..e83951a 100644
--- a/arch/arm/mach-omap2/serial.c
+++ b/arch/arm/mach-omap2/serial.c
@@
bootup and then enable
them back and reset pm_latency ops to default ops.
Thanks to Kevin Hilman for suggesting
this approach.
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/serial.c | 79 -
1 files changed, 54 insertions(+), 25 deletions(-)
diff
Reuse the num_uarts variable itself to count number of uarts.
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/serial.c |7 ++-
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c
index 55ce950..e1eba7f 100644
queue to avoid warn on slow path warning while using qos
API's from runtime callbacks. Flush_sync any pending qos jobs
in work queue while suspending.
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/cpuidle34xx.c |5 ---
arch/arm/mach-omap2/pm24xx.c |
ff-by: Jon Hunter
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/board-n8x0.c |6 +-
arch/arm/mach-omap2/serial.c | 56 -
arch/arm/plat-omap/include/plat/omap-serial.h |7 ++-
arch/arm/plat-omap/include/plat/serial.h |5 ++
Add missing uart regs to uart_port structure which can be used in
context restore. Store dll, dlh, mdr1, scr, efr, lcr, mcr reg values
into uart_port structure while configuring individual port in termios
function.
Signed-off-by: Govindraj.R
---
arch/arm/plat-omap/include/plat/omap-serial.h
With runtime adaptation done remove clock_enable/disbale API's
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/serial.c | 36
1 files changed, 0 insertions(+), 36 deletions(-)
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/ser
in serial.c which was handling PM_WKST reg.
Irq_chaing(PRM_DRIVER) is used to wakeup uart after uart clocks are gated
using pad wakeup mechanism.
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/serial.c | 96 +++-
arch/arm/plat-omap/include/plat/o
.
Corrected errata id from chapter reference 2.15 to errata id i291.
Removed errata and dma_enabled feilds from omap_uart_state struct
as they are no more needed with errata handling done within omap-serial.
Acked-by: Alan Cox
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/serial.c
n be autoidled by setting autosuspendi delay from sysfs.
echo 3000 > /sys/devices/platform/omap/omap_uart.X/power/autosuspend_delay_ms
X=0,1,2,3 for UART1/2/3/4. Number of uarts available may vary across omap_soc.
Acked-by: Alan Cox
Signed-off-by: Govindraj.R
---
drivers/tty
Avoid unconditional context restore every time we gate uart
clocks. Check whether context loss happened based on which
we can context restore uart regs from uart_port structure.
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/serial.c |2 ++
arch/arm/plat-omap/include
Remove the uart reset function which is configuring the
TX empty irq which can now be handled within omap-serial driver.
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/serial.c | 14 --
arch/arm/plat-omap/include/plat/omap-serial.h |2 ++
drivers/tty
serial.c and had no info on uart state
thus we needed context save and restore in serial.c
With runtime conversion and clock gating done within uart driver
context restore can be done from regs value available from uart_omap_port
structure.
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/serial.c
e and use the default pads
from serial.c file.
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/board-3430sdp.c| 100 +
arch/arm/mach-omap2/board-4430sdp.c| 68 +--
arch/arm/mach-omap2/board-omap4panda.c | 68 +--
arch/arm/mach-omap2/ser
needed for
8250 autoconf.
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/serial.c | 97 --
1 files changed, 0 insertions(+), 97 deletions(-)
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c
index 62d15ad..61b260a 100644
--- a/arch
d-off-by: Govindraj.R
---
arch/arm/mach-omap2/pm24xx.c | 18
arch/arm/mach-omap2/pm34xx.c | 23 --
arch/arm/mach-omap2/serial.c | 65 --
arch/arm/plat-omap/include/plat/serial.h |4 --
4 files changed, 0 inser
The mapbase (start_address), membase(io_remap cookie) part of
pdata struct omap_uart_port_info are removed as this should be
derived within driver.
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/serial.c |2 --
arch/arm/plat-omap/include/plat/omap-serial.h |2
locks.
Removes the following:
* timer related info from local uart_state struct
* the code used to set timeout value from sysfs.
* irqflags used to set shared irq handler.
* un-used function omap_uart_check_wakeup.
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/serial.c |
checked with quart/omap-uart3
[Also tested with uart3 as console uart and pm-ret checked]
BeagleBoard XM Rev C(3630):
retention, off_mode, system_wide suspend is tested.
Deepak K (1):
OMAP2+: UART: Allow UART parameters to be configured from board file.
Govindraj.R (19):
OMAP2+: UART: cleanup +
ff-by: Jon Hunter
Signed-off-by: Govindraj.R
---
This patch is derived and reworked from a custom 2.6.35 kernel
Available here:
http://git.omapzoom.org/?p=kernel/omap.git;
a=commitdiff;h=584ef316542f77312be7ba96a0f3013c8f64852b;
hp=7233a76cb362c0fc603f773274159adff91d3513
arch/arm/mach-omap2/bo
.
Corrected errata id from chapter reference 2.15 to errata id i291.
Acked-by: Alan Cox
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/serial.c | 78 +
arch/arm/plat-omap/include/plat/omap-serial.h |5 ++
drivers/tty/serial/omap-serial.c
value can be optimised for power savings.
Acked-by: Kevin Hilman
Signed-off-by: Jon Hunter
Signed-off-by: Govindraj.R
---
This patch is derived from a custom 2.6.35 kernel
Available here:
http://git.omapzoom.org/?p=kernel/omap.git;a=commitdiff;
h=b47839fb84e68333ea29a327cf5aa694b71be7d6;
hp
igned-off-by: Govindraj.R
---
More details on this topic and experiments done listed here:
http://www.spinics.net/lists/linux-serial/msg04128.html
arch/arm/mach-omap2/serial.c | 19 ++-
1 files changed, 18 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-omap2/serial.c b/a
UART.
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/serial.c | 26
arch/arm/plat-omap/include/plat/omap-serial.h |1 +
drivers/tty/serial/omap-serial.c |1 +
3 files changed, 11 insertions(+), 17 deletions(-)
diff --git a/arch/arm
if omap console is defined.
omap-serial can be built as module without console support.
Signed-off-by: Govindraj.R
---
arch/arm/plat-omap/include/plat/omap-serial.h |1 +
drivers/tty/serial/omap-serial.c | 20 ++--
2 files changed, 19 insertions(+), 2 deletions
can be auto gated
this can make response on uart slower. This behaviour was observed
only on some of OMAP3 boards(beagleboard xm rev c).
Reported-by: Tero Kristo
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/serial.c | 21 +
1 files changed, 9 insertions(+), 12
e
the code used to set timeout value from sysfs. Remove un-used function
omap_uart_check_wakeup.
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/serial.c | 116 +
arch/arm/plat-omap/include/plat/omap-serial.h |1 -
arch/arm/plat-omap/include/plat/ser
necessary to support 8250 support
and remove all config bindings done to keep 8250 backward compatibility
while adding omap-serial driver. Remove omap_uart_reset needed for
8250 autoconf.
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/serial.c | 111
p_soc.
Acked-by: Alan Cox
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/serial.c | 206 ++--
arch/arm/plat-omap/include/plat/omap-serial.h |5 +
drivers/tty/serial/omap-serial.c | 169 +++--
3 files changed, 179 inserti
board file
are same as the default pad values populated in serial.c. Remove pad values
from 3430sdp/4430sdp/omap4panda board file and use the default pads
from serial.c file.
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/board-3430sdp.c| 100 +
arch/arm/mach-omap2/board-4430
are removed as this is handled within
driver. Errata field is also moved to pdata. These changes are done
to cleanup serial.c file and prepare for runtime changes.
Signed-off-by: Govindraj.R
---
arch/arm/mach-omap2/serial.c | 132 +---
arch/arm/plat-omap
d-off-by: Govindraj.R
---
arch/arm/mach-omap2/pm24xx.c | 18
arch/arm/mach-omap2/pm34xx.c | 23 --
arch/arm/mach-omap2/serial.c | 65 --
arch/arm/plat-omap/include/plat/serial.h |4 --
4 files changed, 0 inser
1 - 100 of 322 matches
Mail list logo