Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp695639imm; Thu, 4 Oct 2018 01:37:42 -0700 (PDT) X-Google-Smtp-Source: ACcGV631nOOQD0jPyJBnbnhf65yWxdV4nPiDG5jdFojHOriIppW4jrw1OpS31SJFq6TYXcJFhRaT X-Received: by 2002:a63:89c1:: with SMTP id v184-v6mr4650703pgd.79.1538642262832; Thu, 04 Oct 2018 01:37:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538642262; cv=none; d=google.com; s=arc-20160816; b=dxKZK+fHrJd1b+4zBVq09MH5RNvDW2sH67VXhj6LERKHZgOHgQx87X6XU+2Mz/9K/i 2HA2/Q02kfHAljl3gKdeCV2dus0VWLMSlArqT5UOSdISd3NdpgEGHcHw3yD89+PIxksW 5pFWmi+/kZpdrGJSEKK65zcCsTzsY5gXk0/N49CT3aqhj+sss3mYcgX0xUKlBdssy87X gSvkPXoZbaho5WYIMOO8YI7wz0l+RQUvsALvRAYLZxmg0FOWHekgMnILXAnItbPmavvP EKGGYp6hAla23KbcTtCh37AnwR84oG71oABzHmi7Pa6/Wom5Ee6fKLKw6wmp0t4seIoh IFmA== 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; bh=vf5szHRTiYd5p8iO8+8KCHUjRmsNBiKPK1lNrizeXNo=; b=jEWOMEzKGBSMs1QTG1LHQ4qhJQD8ZhnLUyjHsCIhMC5J6UoNIK+8bmBVp4FBASErvP wt6dtAkDGL6QrpHSUpMBU+PlWbeB7mcyhA9NTKVgJn1XXOckKtGHYli2DSwTkTeegZ/e uLMRFT0Z5IJbpMA0yUSR3E1hk6EjiCXwbQxZb3zqOJ9dXKFjRj7uk9wv9ln89vqffn2p qdFJ+dacfFrxwR8bXhuFGOAqbMFurVgrwvLn2BACa+ZI0YNzeF7QutttDQSvQb0bExhE 5GFSxiLaVV+E1Mh8IyXcRC8Uzi1sXv6yKIhfsu7jVnIRxUiMd4mUexKAyUQyLTiL2VG9 tr3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JAoAUOAt; 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 x24-v6si4289611pll.184.2018.10.04.01.37.26; Thu, 04 Oct 2018 01:37:42 -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=JAoAUOAt; 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 S1727733AbeJDP2u (ORCPT + 99 others); Thu, 4 Oct 2018 11:28:50 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:44145 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727190AbeJDP2u (ORCPT ); Thu, 4 Oct 2018 11:28:50 -0400 Received: by mail-pg1-f195.google.com with SMTP id g2-v6so2809804pgu.11 for ; Thu, 04 Oct 2018 01:36:41 -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=vf5szHRTiYd5p8iO8+8KCHUjRmsNBiKPK1lNrizeXNo=; b=JAoAUOAt45GlXTsaSTAaUTZWJwrsNKC3rTtDJCsPajH1LQnYgS9b1R7pfkcsQjRVfh 4932VUs14FU8Wn8c34xRJtTh9XKPiR0XxJrRmgXxKR+Yowat7YFi6t9H8bt0eb+UPgit pM9fGGFXEUKtR07Ep4voahZoCfKwIClLsu9aY= 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=vf5szHRTiYd5p8iO8+8KCHUjRmsNBiKPK1lNrizeXNo=; b=obDJxrPy1jlLvAugoxznnwkwupHRSncaHYGBqA5LJjO824jR1ktViLEDkdSM7hLD9s y5HS8d/RKd0lU1tycrL3jWNn0wzCDd0NPRn/cyLMLA5L2DSEOiqi3sab2+7DbrejLp4g 4H5HJ9s2UkRM5n4pIBZh52B9g6tlnhPbliMn0m+NJ/X5T9w8QQm+t4bscxJrVKJWWvtJ Bhjyl2IbumkXELYKl/81KEQkQ2Zjn0ZAo7iDgpqiGjZeG5fzwPp4oJ6es2tR0wyONGcx s9RzAEqLXVZ27AludlknQbpXbR6vOsB6sOa/t5uWUU+wkXZ4oYOvFXW/5FRiuQ/433aj SEAA== X-Gm-Message-State: ABuFfoi+EfOfW2cpXJqnxjjVtwxmLunbOM0CxEYaizIM7tPFmEhnYGSt e7kdQux+EkLM+W95M6NZHfUAzQ== X-Received: by 2002:a62:2fc1:: with SMTP id v184-v6mr5668754pfv.115.1538642200507; Thu, 04 Oct 2018 01:36:40 -0700 (PDT) Received: from localhost ([122.172.76.11]) by smtp.gmail.com with ESMTPSA id 68-v6sm9016703pfg.136.2018.10.04.01.36.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Oct 2018 01:36:39 -0700 (PDT) Date: Thu, 4 Oct 2018 14:06:37 +0530 From: Viresh Kumar To: Rob Herring Cc: Rajendra Nayak , Stephen Boyd , Andy Gross , Ulf Hansson , David Collins , Matthias Kaehlcke , devicetree@vger.kernel.org, linux-arm-msm , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v4 2/6] dt-bindings: power: Add qcom rpm power domain driver bindings Message-ID: <20181004083637.xlz26rpn4qtsvdk7@vireshk-i7> 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> <271db7b1-f65b-f42d-b00b-9362429b3749@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 25-09-18, 14:43, Rob Herring wrote: > On Tue, Sep 25, 2018 at 5:25 AM Rajendra Nayak wrote: > > > > Hi Rob, > > > > []... > > >>>>> + 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? > > > > I am not quite sure I understood what you are suggesting here :( > > You could use the 'reg' property instead of 'qcom,level'. Any reason > not to do that? They can use any property which uniquely identifies the OPP nodes in the table. Though I never thought we can use 'reg' property in such a way. I always thought it must be related to registers somehow :) Yeah, CPU is one of the examples where 'reg' has a special meaning. > Alternatively, would 'level' be something useful in other situations > and should not be QCom specific? It is too early to say that. The only platform which needs this is Qcom right now, lets see what the requirements from other users are. -- viresh