From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752923AbcHQPld (ORCPT ); Wed, 17 Aug 2016 11:41:33 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:53986 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752106AbcHQPlb (ORCPT ); Wed, 17 Aug 2016 11:41:31 -0400 Date: Wed, 17 Aug 2016 16:41:20 +0100 From: Mark Brown To: Fabio Estevam Cc: festevam@gmail.com, linux-kernel@vger.kernel.org Message-ID: <20160817154120.GL9347@sirena.org.uk> References: <1471437381-1752-1-git-send-email-fabio.estevam@nxp.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="uff7bI5xB/HT0T5d" Content-Disposition: inline In-Reply-To: <1471437381-1752-1-git-send-email-fabio.estevam@nxp.com> X-Cookie: I can't drive 55. User-Agent: Mutt/1.6.0 (2016-04-01) X-SA-Exim-Connect-IP: 2a01:348:6:8808:fab::3 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [PATCH] regulator: pfuze100: Allow pfuze3000 to not go to low power mode X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: No (on mezzanine.sirena.org.uk); Unknown failure Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --uff7bI5xB/HT0T5d Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 17, 2016 at 09:36:21AM -0300, Fabio Estevam wrote: > On a imx6ul-pico board, after issuing a "echo mem > /sys/power/state" > the board goes trough a POR reset instead of going into suspend. > This happens because the pfuze3000 goes to low power by default when the > system goes to suspend. > This behaviour is controlled by the STBY_LOWPOWER_B bit of register > LDOGCTL as explained in the pfuze3000 datasheet: > "When STBY_LOWPOWER_B bit is set to 1, the front-end LDO does not enter= =20 > in low-power mode during IC standby mode." > Introduce a "fsl,low-power-mode-disabled" property that allows the > pfuze3000 to not enter low-power mode during system standby. We already have suspend mode configuration for regulators, shouldn't this just be done via that interface? --uff7bI5xB/HT0T5d Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJXtIWfAAoJECTWi3JdVIfQnKsH/0VZncaUNak3bbHa5+oNhUnO fyY4Pg0vDVaqRw0EJ8oz/5MVYtRHjmQkzYti/9Q53pjSatj0586YPx/ukEqmK7zf pIID5YQjyykNpihG9PpfpR1rqSBr906j6dKFjZmK5xxFpCrhMOwmy6jM13fAQv0s tWzCbhPEHy9ete65oe37fHCC740f4VfsIqmxiH8D6dlyEJq3HmlNzl3rlk8NAR// 0h4SyEGu4jmqWA+niGtNaRuZHOG8+p6jq8dLD4UFMqlSXzY9NsKoQTw6HEcEfzFW ByheElSyNUVbKiDyxrKQOTlUjasMK3XiBLaDBDZQ1Ogg+PKngDH7klkdj4jsCuU= =bUZG -----END PGP SIGNATURE----- --uff7bI5xB/HT0T5d--