Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp428530imm; Tue, 3 Jul 2018 22:59:04 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcrjXSzRwiakwADzw0JpyhGdgrBZ2k1HR5i55ERkNvMh71cByWDqncqRyVD2uMVmvfO4fpo X-Received: by 2002:a63:a70f:: with SMTP id d15-v6mr659126pgf.168.1530683944222; Tue, 03 Jul 2018 22:59:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530683944; cv=none; d=google.com; s=arc-20160816; b=JLNNN/DfXJ2VSlr+TIT47TAZF5G+zCYFhQq0As2lpCguM2J2u8anGce3wxo/df96mO UM7eTWhIVWglYH5C8UTXg6GjXaeGsbcSTccucypctUDtFl82dlMxR5pFsOgWsgQ9UMtm 5TZsg5cE4xLSEwFcWkl65fBtbNIFhGJzxdo8BSM5Pxa5vb7JXleGRBm0TQHAq5CarzFz 22+UKBeelu5Ro706c4IPbbQLkU9h22P77lLMiH4Xt5rs1DqQFupNZ7cfRQSWm8Qby4Nn N3ubwy5oe4LPMKdIHJcYIdONFTKUBWEUk58WdGGAkHuiDFCDiP3td+fzesjVLNrI1ZyI QR7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=LTO85y6E1kJ+yyo7R+aYS7m//pmWOYhISXDKuw5xFZ0=; b=YRRSS3kEMN6i9dHx48b0tszWqQ+5HdrZmWQ821pzwWL04vw+3Ez3iAcf62TmxqAn2y +QutMXDXNIS1G0mFV59ve9BRkFvGUozJw/4p8F65A+fenJ7LKexAJsvqm6GUdeddbxK3 +TdTS4ixYAq5s8wFeHcs4KUVhRRDcnxR2wLIf+ElCneKPSGQJszxLILz8lCkeQi5fbIX IhXcM9J+zckztZ8d9rbu6M7Z2gQpeyDoIUOxa30hRTymDRb6Uj0DHEnrbOFWI0QnvPYq POb1W1swoP8Lz4Bd/DH9hIxgMaX5DXKD1FZlSlKAN4YLqj2LAHIqmyOXGnrNnCw7l7on QgEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jvKuIYRj; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k5-v6si2654396plt.178.2018.07.03.22.58.50; Tue, 03 Jul 2018 22:59:04 -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=@linaro.org header.s=google header.b=jvKuIYRj; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753657AbeGDF6H (ORCPT + 99 others); Wed, 4 Jul 2018 01:58:07 -0400 Received: from mail-pl0-f68.google.com ([209.85.160.68]:41518 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753533AbeGDF6B (ORCPT ); Wed, 4 Jul 2018 01:58:01 -0400 Received: by mail-pl0-f68.google.com with SMTP id w8-v6so2143123ply.8 for ; Tue, 03 Jul 2018 22:58:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=LTO85y6E1kJ+yyo7R+aYS7m//pmWOYhISXDKuw5xFZ0=; b=jvKuIYRj8G30a8UyChBqmWqz4Pfp/cmQP512lQL8Hts1iqCdrYjGi2rzY+fkoLr318 J8ohuKMBZdE9+RHBVL7sG0pVjh+HL3XXhKOWzzc7yGRNxo5dTWIjswNod9G4avHJynQd /3KtCCO95U8//byNjFfq4qsaI+h4Gv7lE2SHg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=LTO85y6E1kJ+yyo7R+aYS7m//pmWOYhISXDKuw5xFZ0=; b=EKYvjF7NXKNYXEN2vPq+/DqrqOpdNNICmXkUSydaYzWR+987PiEptjSPjit0zlypVG LSzhpEmtd5jtSIi/hu/83H0pF01Uw4ukewoIo+cq/u+RqKHXDADQOVUKHDnMGzfpfFpG YSwrQ9xIT9ChLEqFiRIp/xtWm42FlnMDD2uUDNV3D8RaG8tq3CK2B1aMIuTl4gc+5T+U aYLm9nQVR3mRe3KArR0avc05RDgsOy2K4l8Zh2iEbCcR0iwFZOGrbky+rNkM3wRe104E o1HI+Etfa8AIGYgn21Gje/P4vDvDGC0p287MsfWG9c3UbWN+ug7M70tw/PVomiDCaVNy /U9w== X-Gm-Message-State: APt69E2ZwnQ/2aD4eB64JLXkaWK+2Cu4g4io1090SarMt7Q1Z4uWNRJO tzTdPv2zeVr5Gvb8ZQfCmGavBw== X-Received: by 2002:a17:902:88:: with SMTP id a8-v6mr718926pla.156.1530683881126; Tue, 03 Jul 2018 22:58:01 -0700 (PDT) Received: from localhost ([122.172.117.17]) by smtp.gmail.com with ESMTPSA id u8-v6sm4869816pfl.105.2018.07.03.22.57.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Jul 2018 22:57:59 -0700 (PDT) Date: Wed, 4 Jul 2018 11:27:57 +0530 From: Viresh Kumar To: Rob Herring Cc: Rajendra Nayak , sboyd@kernel.org, andy.gross@linaro.org, ulf.hansson@linaro.org, collinsd@codeaurora.org, mka@chromium.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 2/6] dt-bindings: power: Add qcom rpm power domain driver bindings Message-ID: <20180704055757.4li26b6poxllmh2k@vireshk-i7> References: <20180627045234.27403-1-rnayak@codeaurora.org> <20180627045234.27403-3-rnayak@codeaurora.org> <20180703223554.GA32313@rob-hp-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180703223554.GA32313@rob-hp-laptop> User-Agent: NeoMutt/20180323-120-3dd1ac Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -- viresh [1] lkml.kernel.org/r/20180110025454.GG21040@codeaurora.org