From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Boyd Subject: Re: [PATCH v3 02/13] PM / Domains: Add DT bindings for power-on/off latencies Date: Fri, 26 Sep 2014 08:28:35 -0700 Message-ID: <20140926152835.GK10233@codeaurora.org> References: <1411662520-22795-1-git-send-email-geert+renesas@glider.be> <1411662520-22795-3-git-send-email-geert+renesas@glider.be> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-pm-owner@vger.kernel.org To: Ulf Hansson Cc: Geert Uytterhoeven , "Rafael J. Wysocki" , Simon Horman , Magnus Damm , Tomasz Figa , Philipp Zabel , Grygorii Strashko , Kevin Hilman , Linux-sh list , "linux-pm@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" List-Id: devicetree@vger.kernel.org > On 25 September 2014 18:28, Geert Uytterhoeven wrote: > > +Optional properties: > > + - power-on-latency: Power-on latency of the PM domain, in ns, > > + - power-off-latency: Power-off latency of the PM domain, in ns. > > + > > Example: > > > > power: power-controller@12340000 { > > compatible = "foo,power-controller"; > > reg = <0x12340000 0x1000>; > > #power-domain-cells = <1>; > > + power-on-latency = <250000>; > > + power-off-latency = <250000>; This assumes every power domain within a power controller has the same latencies? That isn't always true. This should be an array of values corresponding to the number of power domains if #power-domain-cells is 1, or just one value if the cell count is 0. -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation