Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2359934imm; Thu, 20 Sep 2018 11:52:10 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYugBouO3PGbuU3Te26nXck3pkr81o74OBYPP5T2kSoXdnaG0iRAvuxzQ974DhcHXCvl3F9 X-Received: by 2002:a17:902:e00b:: with SMTP id ca11-v6mr39898580plb.224.1537469530349; Thu, 20 Sep 2018 11:52:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537469530; cv=none; d=google.com; s=arc-20160816; b=cfy/0MvO5Ej+Vvcv0uI6qGvkujp2pW6lR61HmlnWCBH/PkwoUpYmyMhzgDyodSqWGa hFEpLlL3Ya0vvL1I6ItEtEGqirsAEbVSVQLoLbU/G9bsZpzIcJNm7DdsAK3eDM+U/jUP bbAbBlVaAawjn3reUPi0f9dFCSUD+ELD3Np95xRA410OHFhbAUWJvoQkFxXUiZ8hqUeA JAvZ5lJP897DjAj64zvyEAdWm1Gw0ViXxKYEKlq6qgNXLfLZhBfssusEakMmM6lr8Lk7 oMDiHVDzBBF0GB+SPVDhb3v5/cUJdggmwc5dsv+mkYuc4TmD4+1lUBKzBBGxkfEH7qOv In7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=vjfntGJdyrA7e/F5k+wf7GhIsHssAMvVbcVndxXy3wY=; b=d14IqMLoErGmlB8F1Bx0WGIvtDBdzdTObFzyaAwm+41YpGD+9AWNUjzk4pQTXqN1mC y05aRjUve+IaYf1SekGp1xE5J5L9hgEpnIAv/Vrm7gjEuFh6YmDydA16BsArKQ9rJ0ev dvqDX+xSec+m46npI2XwGufGsjHLBDNWUbhSCf1/O5i5YT7mPn98VxjywpMlodApLNUV CmxwSi9qs/RNivy9SFV48hhUZhEddo2CMzUC+Nj38JlrZtSUzmqP7NbPquQKJX77WKTO yHpxyPShkFpHuSepC8Q7miv8yTrCAWCgprn2udx8JBKn6XV0vjCp1Ndv0mDfHlPjohZ7 HUKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=v7IapQr6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v6-v6si24271196plo.264.2018.09.20.11.51.53; Thu, 20 Sep 2018 11:52:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=v7IapQr6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388121AbeIUAgk (ORCPT + 99 others); Thu, 20 Sep 2018 20:36:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:58420 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727171AbeIUAgj (ORCPT ); Thu, 20 Sep 2018 20:36:39 -0400 Received: from mail-qk1-f172.google.com (mail-qk1-f172.google.com [209.85.222.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E72FA214C2; Thu, 20 Sep 2018 18:51:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1537469508; bh=Yvu/N1EKlA/F38VY/EkNz9Vl8IT6XPTnue0an1ho8Kc=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=v7IapQr6xJMV0Gas5Ev8CJYLMVdsBiDci8EFgADeTLFsKKIHUFkCo0idhSFY3wKnY lAdK1C4CEcfJaxkpf9v3ibfeybb0YXTqEFyZccSChdE8/3ya6DxqEy5b0XRZxQQeMf 90cNHIgUX8iAlv4t33J0pIvkKOdXu1E0l9jKsoLM= Received: by mail-qk1-f172.google.com with SMTP id z78-v6so6136626qka.0; Thu, 20 Sep 2018 11:51:47 -0700 (PDT) X-Gm-Message-State: APzg51C6GSe/fxTjDx+8CyUDMbqljGdz4tsfV8I5EwxwdKW6Kr2CGUk+ OVXmUEa2PgKvqwMBchNi2Kxn5QZ2tLAcbKREPQ== X-Received: by 2002:a37:ddcf:: with SMTP id u76-v6mr8470135qku.184.1537469507132; Thu, 20 Sep 2018 11:51:47 -0700 (PDT) MIME-Version: 1.0 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> In-Reply-To: <1463d24b-481d-eecd-9e44-e7a5a993e5fc@codeaurora.org> From: Rob Herring Date: Thu, 20 Sep 2018 11:51:35 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v4 2/6] dt-bindings: power: Add qcom rpm power domain driver bindings 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" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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