All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] OMAP2+: UART: Fix usage of default mux pads
@ 2012-04-10 13:40 ` Govindraj.R
  0 siblings, 0 replies; 38+ messages in thread
From: Govindraj.R @ 2012-04-10 13:40 UTC (permalink / raw)
  To: linux-omap
  Cc: linux-arm-kernel, Felipe Balbi, Kevin Hilman, Russ Dill,
	Tony Lindgren, Govindraj.R

From: "Govindraj.R" <govindraj.raja@ti.com>

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. uart2
pin was used as gpio nreset pin ehci on beagle board.

So remove the default adding procedure and probe the pins before
using them as uart pins. Determine if uart pins are used in uart mux_mode0
then configure rx pin for wakeup capability.

Testing updates:
Boot tested on 3430SDP
Tested on beagle-xm with ehci module which needs uart pin muxed as gpio
line for nreset sequence.

RX pad wakeup after enabling off mode in cpu_idle path and suspend path
tested - 3430SDP & Beagle-XM

Govindraj.R (2):
  OMAP2+: UART: Fix incorrect population of default uart pads
  OMAP2+: UART: Add mechanism to probe uart pins and configure rx
    wakeup

 arch/arm/mach-omap2/mux.c    |    3 +-
 arch/arm/mach-omap2/mux.h    |   10 +++
 arch/arm/mach-omap2/serial.c |  164 +++++++++++++-----------------------------
 3 files changed, 61 insertions(+), 116 deletions(-)

-- 
1.7.9


^ permalink raw reply	[flat|nested] 38+ messages in thread

end of thread, other threads:[~2012-05-07 17:54 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-10 13:40 [PATCH 0/2] OMAP2+: UART: Fix usage of default mux pads Govindraj.R
2012-04-10 13:40 ` Govindraj.R
2012-04-10 13:40 ` [PATCH 1/2] OMAP2+: UART: Fix incorrect population of default uart pads Govindraj.R
2012-04-10 13:40   ` Govindraj.R
2012-04-11 20:14   ` Russ Dill
2012-04-11 20:14     ` Russ Dill
2012-04-13 23:14   ` Russ Dill
2012-04-13 23:14     ` Russ Dill
2012-04-17 17:50     ` Tony Lindgren
2012-04-17 17:50       ` Tony Lindgren
2012-04-23 23:45   ` Kevin Hilman
2012-04-23 23:45     ` Kevin Hilman
2012-04-24  8:38     ` Raja, Govindraj
2012-04-24  8:38       ` Raja, Govindraj
2012-05-04 17:24       ` Tony Lindgren
2012-05-04 17:24         ` Tony Lindgren
2012-05-07 17:39         ` Kevin Hilman
2012-05-07 17:39           ` Kevin Hilman
2012-05-07 17:54           ` Tony Lindgren
2012-05-07 17:54             ` Tony Lindgren
2012-04-10 13:40 ` [PATCH 2/2] OMAP2+: UART: Add mechanism to probe uart pins and configure rx wakeup Govindraj.R
2012-04-10 13:40   ` Govindraj.R
2012-04-10 16:11   ` Tony Lindgren
2012-04-10 16:11     ` Tony Lindgren
2012-04-10 16:40     ` Russ Dill
2012-04-10 16:40       ` Russ Dill
2012-04-11 11:50     ` Raja, Govindraj
2012-04-11 11:50       ` Raja, Govindraj
2012-04-11 20:16       ` Russ Dill
2012-04-11 20:16         ` Russ Dill
2012-04-13 23:39       ` Russ Dill
2012-04-13 23:39         ` Russ Dill
2012-04-17  1:41       ` Tony Lindgren
2012-04-17  1:41         ` Tony Lindgren
2012-04-17 12:47         ` Raja, Govindraj
2012-04-17 12:47           ` Raja, Govindraj
2012-04-17 17:47           ` Tony Lindgren
2012-04-17 17:47             ` Tony Lindgren

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.