From mboxrd@z Thu Jan 1 00:00:00 1970 From: lost.distance@yahoo.com (Paul Parsons) Date: Mon, 27 Feb 2012 02:32:49 +0000 (GMT) Subject: [PATCH] pxa/hx4700: Fix basic suspend/resume In-Reply-To: Message-ID: <1330309969.41933.YahooMailClassic@web29005.mail.ird.yahoo.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hello Haojian, > > What you want here is to keep the SPI chip select > deasserted (high) > > during suspend, so I think that should be DRIVE_HIGH > instead. > > > > Otherwise, > > Acked-by: Philipp Zabel > > > This patch keeps a lot of devices in power-on mode (not > reset mode). > Is it necessary? No, of course not. This patch is just a first step to get hx4700 suspend mode working; currently it does not work at all. The suspend mode disposition of devices and GPIOs still needs to be reviewed at some point. For example, someone else discovered that the two Bluetooth outputs (GPIO43, GPIO45) account for approximately one third of the suspend mode power consumption! Correcting that will be my next patch. Regards, Paul