Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752458AbbHSGT6 (ORCPT ); Wed, 19 Aug 2015 02:19:58 -0400 Received: from gloria.sntech.de ([95.129.55.99]:50764 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751524AbbHSGTz (ORCPT ); Wed, 19 Aug 2015 02:19:55 -0400 From: Heiko Stuebner To: Brian Norris Cc: linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Brian Norris , devicetree@vger.kernel.org, Alexandru M Stan , Douglas Anderson Subject: Re: [PATCH 2/2] ARM: dts: rockchip: correct regulator PM properties Date: Wed, 19 Aug 2015 08:19:47 +0200 Message-ID: <10828643.SSUS2EOuvv@phil> User-Agent: KMail/4.14.1 (Linux/4.1.0-1-amd64; KDE/4.14.2; x86_64; ; ) In-Reply-To: <20150818232806.GC140911@google.com> References: <1439923455-109818-1-git-send-email-briannorris@chromium.org> <20150818224831.GA140911@google.com> <20150818232806.GC140911@google.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2088 Lines: 53 Am Dienstag, 18. August 2015, 16:28:06 schrieb Brian Norris: > Now that I'm looking a little closer, it seems like other existing DTS's > are broken too, then. Jerry looks like it was converted to the > regulator-state-mem node binding, but the conversion doesn't seem to > make sense when I compare the chromium DTS sources with the for-next > source I see in your tree. > > In -next: > > regulators { > mic_vcc: LDO_REG2 { > regulator-name = "mic_vcc"; > regulator-always-on; > regulator-boot-on; > regulator-min-microvolt = <1800000>; > regulator-max-microvolt = <1800000>; > regulator-state-mem { > regulator-on-in-suspend; > }; > }; > }; > > But chromium had: > > regulators { > mic_vcc: LDO_REG2 { > regulator-always-on; > regulator-boot-on; > regulator-min-microvolt = <1800000>; > regulator-max-microvolt = <1800000>; > regulator-name = "mic_vcc"; > regulator-suspend-mem-disabled; > }; > }; > > So I guess I'll make the proper conversion for all the veyron variants I > see. great, just take into account the deep vs. shallow suspend modes :-) The original regulator-state changes did happen when we had this suspend instability (counter and gpioint stuff) and I did go with the values similar to the rk3288-evb, as this was the only one resuming at all at the time. So I guess I never looked to closesly what it did, as long as the system came out of suspend sucessfully again :-) Heiko -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/