[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1269450986-3714-1-git-send-email-manuel.lauss@gmail.com>
Date: Wed, 24 Mar 2010 18:16:24 +0100
From: Manuel Lauss <manuel.lauss@...glemail.com>
To: linux-serial@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: linux-mips@...ux-mips.org, Manuel Lauss <manuel.lauss@...il.com>
Subject: [RFC PATCH 0/2] serial 8250 platform PM hooks
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
using the new hook.
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 | 32 --------------------------------
drivers/serial/8250.c | 31 ++++++++++++++++++++++++++++---
include/linux/serial_8250.h | 6 ++++++
4 files changed, 51 insertions(+), 35 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists