From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 561EC1011AD for ; Fri, 6 Nov 2009 01:11:40 +1100 (EST) Subject: Re: [PATCH 4/7] powerpc/85xx/86xx: Add suspend/resume support Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes From: Kumar Gala In-Reply-To: <20090915214357.GD24821@oksana.dev.rtsoft.ru> Date: Thu, 5 Nov 2009 08:11:35 -0600 Message-Id: References: <20090915214321.GA19377@oksana.dev.rtsoft.ru> <20090915214357.GD24821@oksana.dev.rtsoft.ru> To: Anton Vorontsov Cc: Scott Wood , linuxppc-dev@ozlabs.org, Timur Tabi List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Sep 15, 2009, at 4:43 PM, Anton Vorontsov wrote: > This patch adds suspend/resume support for MPC8540 and MPC8641D- > compatible CPUs. To reach sleep state, we just write the SLP bit > into the PM control and status register. > > So far we don't support Deep Sleep mode as found in newer MPC85xx > CPUs (i.e. MPC8536). It can be relatively easy implemented though, > and for it we reserve 'mem' suspend type. > > Signed-off-by: Anton Vorontsov > Acked-by: Scott Wood > --- > arch/powerpc/Kconfig | 11 +++++- > arch/powerpc/sysdev/Makefile | 1 + > arch/powerpc/sysdev/fsl_pmc.c | 88 ++++++++++++++++++++++++++++++++ > +++++++++ > 3 files changed, 99 insertions(+), 1 deletions(-) > create mode 100644 arch/powerpc/sysdev/fsl_pmc.c applied to next - k