From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753585AbcJIBlS (ORCPT ); Sat, 8 Oct 2016 21:41:18 -0400 Received: from mail-oi0-f68.google.com ([209.85.218.68]:36643 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752236AbcJIBlQ (ORCPT ); Sat, 8 Oct 2016 21:41:16 -0400 Date: Sat, 8 Oct 2016 20:29:17 -0500 From: Rob Herring To: Viresh Kumar Cc: Rafael Wysocki , nm@ti.com, sboyd@codeaurora.org, Viresh Kumar , linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Vincent Guittot , d-gerlach@ti.com, broonie@kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH 1/8] PM / OPP: Reword binding supporting multiple regulators per device Message-ID: <20161009012917.GS18158@rob-hp-laptop> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 04, 2016 at 05:26:43PM +0530, Viresh Kumar wrote: > On certain platforms (like TI), DVFS for a single device (CPU) requires > configuring multiple power supplies. > > The OPP bindings already contains binding and example to explain this > case, but it isn't sufficient. For example, there is no way for the code > parsing these bindings to know which voltage values belong to which > power supply. Also its not possible to know the order in which the > supplies need to be configured while switching OPPs. > > This patch tries to clarify on those details and does some minor changes > as well. > > Note that the bindings do not specify the order in which the regulators > need to be programmed and the order in which the entries are added for > the supplies. > > The user of the bindings (like the kernel) shall know these details > already and the DT is responsible to supply only the readings for the > regulators. > > Cc: Mark Brown > Cc: devicetree@vger.kernel.org > Signed-off-by: Viresh Kumar > --- > Documentation/devicetree/bindings/opp/opp.txt | 25 +++++++++++++++++-------- > 1 file changed, 17 insertions(+), 8 deletions(-) Acked-by: Rob Herring