| To: | Linux Serial <linux-serial@vger.kernel.org> |
|---|---|
| Subject: | [RFC PATCH 0/2] serial 8250 platform PM hooks |
| From: | Manuel Lauss <manuel.lauss@googlemail.com> |
| Date: | Tue, 23 Feb 2010 19:22:25 +0100 |
| Cc: | Linux-MIPS <linux-mips@linux-mips.org>, Manuel Lauss <manuel.lauss@gmail.com> |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=IVc3FI2PkNBvEf8PW4ddcYSg17ojnKgaRcjAsUrA+fU=; b=UPggQ6g2MtIAomAjZVPBHer2JF78Q6FkeF8WT1tZNACypBtgg+0dFpWLFAvBK7bzoO /Ml3OFxl6+4s5Vrm1f9sd1baRucZgoFygvPzR4dxLFyFQT0ogBZGLi9Ai8m/gpACv030 lJ/21crN0iXhTCeVRlJUUr6YoEn3sBcmPidn4= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=ls4YkoxleD6+3FTue82El4TpMYtF5rxEME7YL7aXWmX7oQ/QoiJ6f6hwI7hVPTbHFz +wE7+pvSz7E/j9bNs3sqqmP/RRmLktfigb7KCWXbEIjOmJxgraE+2p8f1CkIh6kpwVkR rUx5rSqVTeAfOosbxLfkgbKf5eQplVcByXwaI= |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
The following 2 patches implement a PM hook for platform 8250
UARTs and a sample PM implementation for a MIPS SoC.
Patch #1 hooks a new .pm callback in struct plat_serial8250_port to
the rest of serial_core's PM infrastructure,
Patch #2 implements uart power gating for Alchemy line of mips socs.
With these 2 patches serial console on my test system survives
suspend/resume cycles without having to resort to platform-specific
hacks in the PM code.
Thanks,
Manuel Lauss
Manuel Lauss (2):
8250: allow platform uarts to install PM callback.
Alchemy: UART PM through serial framework.
arch/mips/alchemy/common/platform.c | 17 +++++++++++++++++
arch/mips/alchemy/common/power.c | 35 -----------------------------------
drivers/serial/8250.c | 31 ++++++++++++++++++++++++++++---
include/linux/serial_8250.h | 6 ++++++
4 files changed, 51 insertions(+), 38 deletions(-)
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] MIPS: Give Octeon+ CPUs their own __cpu_name, David Daney |
|---|---|
| Next by Date: | [RFC PATCH 1/2] 8250: allow platform uarts to install PM callback., Manuel Lauss |
| Previous by Thread: | [PATCH] MIPS: Give Octeon+ CPUs their own __cpu_name, David Daney |
| Next by Thread: | [RFC PATCH 1/2] 8250: allow platform uarts to install PM callback., Manuel Lauss |
| Indexes: | [Date] [Thread] [Top] [All Lists] |