Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1262627

Re: [PATCH 1/3] PM / OPP: Add "opp-supported-hw" binding

From Stephen Boyd <sboyd@codeaurora.org>
Newsgroups linux.kernel
Subject Re: [PATCH 1/3] PM / OPP: Add "opp-supported-hw" binding
Date 2015-11-04 23:10 +0100
Message-ID <qrepI-6lw-9@gated-at.bofh.it> (permalink)
References <qp6FY-7Nj-7@gated-at.bofh.it> <qp6FY-7Nj-11@gated-at.bofh.it> <qpqbE-30S-17@gated-at.bofh.it> <qqzFT-50z-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 11/03, Viresh Kumar wrote:
> On 30-10-15, 15:18, Stephen Boyd wrote:
> > A side-note. I wonder if it would be better style to have the
> > node name be:
> > 
> > 		opp@600000000 {
> > 
> > At least it seems that the assumption is we can store all the
> > possible combinations of OPP values for a particular frequency in
> > the same node. Following this style would make dt compilation
> > fail if two nodes have the same frequency.
> 
> From: Viresh Kumar <viresh.kumar@linaro.org>
> Date: Tue, 3 Nov 2015 07:51:09 +0530
> Subject: [PATCH] PM / OPP: Rename OPP nodes as opp@<opp-hz>
> 
> It would be better to name OPP nodes as opp@<opp-hz> as that will ensure
> that multiple DT nodes don't contain the same frequency. Of course we
> expect the writer to name the node with its opp-hz frequency and not any
> other frequency.
> 
> And that will let the compile error out if multiple nodes are using the
> same opp-hz frequency.
> 
> Suggested-by: Stephen Boyd <sboyd@codeaurora.org>
> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
> ---

Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH 1/3] PM / OPP: Add "opp-supported-hw" binding Viresh Kumar <viresh.kumar@linaro.org> - 2015-11-03 03:40 +0100
  Re: [PATCH 1/3] PM / OPP: Add "opp-supported-hw" binding Stephen Boyd <sboyd@codeaurora.org> - 2015-11-04 23:10 +0100

csiph-web