From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Herring Subject: Re: [PATCH v4 09/12] dt-bindings: PM / OPP: add opp-throttlers property Date: Mon, 25 Jun 2018 09:33:41 -0600 Message-ID: <20180625153341.GB23270@rob-hp-laptop> References: <20180621015237.100100-1-mka@chromium.org> <20180621015237.100100-10-mka@chromium.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20180621015237.100100-10-mka@chromium.org> Sender: linux-kernel-owner@vger.kernel.org To: Matthias Kaehlcke Cc: MyungJoo Ham , Kyungmin Park , Chanwoo Choi , Arnd Bergmann , Greg Kroah-Hartman , Mark Rutland , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Brian Norris , Douglas Anderson , Enric Balletbo i Serra , "Rafael J . Wysocki" , Viresh Kumar , Lee Jones , Benson Leung , Olof Johansson List-Id: devicetree@vger.kernel.org On Wed, Jun 20, 2018 at 06:52:34PM -0700, Matthias Kaehlcke wrote: > The optional opp-throttlers property is used to configure the throttlers > (see drivers/misc/throttler/*) that use a given OPP to throttle the > corresponding device(s). > > Signed-off-by: Matthias Kaehlcke > Reviewed-by: Brian Norris > --- > Changes in v4: > - added 'Reviewed-by: Brian Norris ' tag > > Changes in v3: > - none > > Changes in v2: > - patch added to series > --- > Documentation/devicetree/bindings/opp/opp.txt | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Documentation/devicetree/bindings/opp/opp.txt b/Documentation/devicetree/bindings/opp/opp.txt > index c396c4c0af92..747e79740c75 100644 > --- a/Documentation/devicetree/bindings/opp/opp.txt > +++ b/Documentation/devicetree/bindings/opp/opp.txt > @@ -170,6 +170,9 @@ Optional properties: > functioning of the current device at the current OPP (where this property is > present). > > +- opp-throttlers: Array with phandles of throttlers that use this OPP to > + throttle the corresponding device(s). > + I think it would be better to make this a boolean for each OPP entry and then add "operating-points-v2" property to the EC node to point to the OPP table. Unless there is some need for a different throttler for each OPP entry? Rob