From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Herring Subject: Re: [PATCH v4 2/6] dt-bindings: power: Add qcom rpm power domain driver bindings Date: Thu, 20 Sep 2018 11:51:35 -0700 Message-ID: References: <20180627045234.27403-1-rnayak@codeaurora.org> <20180627045234.27403-3-rnayak@codeaurora.org> <20180703223554.GA32313@rob-hp-laptop> <20180704055757.4li26b6poxllmh2k@vireshk-i7> <1463d24b-481d-eecd-9e44-e7a5a993e5fc@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: In-Reply-To: <1463d24b-481d-eecd-9e44-e7a5a993e5fc@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org To: Rajendra Nayak Cc: Viresh Kumar , Stephen Boyd , Andy Gross , Ulf Hansson , David Collins , Matthias Kaehlcke , devicetree@vger.kernel.org, linux-arm-msm , "linux-kernel@vger.kernel.org" List-Id: linux-arm-msm@vger.kernel.org On Wed, Aug 29, 2018 at 11:31 PM Rajendra Nayak wrote: > > > > On 7/4/2018 11:27 AM, Viresh Kumar wrote: > > On 03-07-18, 16:35, Rob Herring wrote: > >>> +qcom,level values specified in the OPP tables for RPMh power domains > >>> +should use the RPMH_REGULATOR_LEVEL_* constants from > >>> + > >>> + > >>> + rpmhpd: power-controller { > >>> + compatible = "qcom,sdm845-rpmhpd"; > >>> + #power-domain-cells = <1>; > >>> + operating-points-v2 = <&rpmhpd_opp_table>; > >>> + }; > >>> + > >>> + rpmhpd_opp_table: opp-table { > >>> + compatible = "operating-points-v2-qcom-level"; > >>> + > >>> + rpmhpd_opp_ret: opp1 { > >>> + qcom,level = ; > >>> + }; > >> > >> I don't see the point in using the OPP binding here when you aren't > >> using *any* of the properties from it. > > > > Yeah, that's the case for now. But there are cases (as Stephen > > mentioned earlier [1]) where the voltage values (and maybe other > > values like current, etc) would be known and filled in DT. And that's > > why we all agreed to use OPP tables for PM domains as well, as these > > are really "operating performance points" of these PM domains. > > Rob, are you fine with these bindings then? Okay, my only thought is whether we should just use 'reg' here, or do we need 'level' for anything else and should make it common? Rob