From: Nicola Mazzucato <nicola.mazzucato@arm.com>
To: Viresh Kumar <viresh.kumar@linaro.org>
Cc: linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org,
devicetree@vger.kernel.org, sudeep.holla@arm.com,
rjw@rjwysocki.net, vireshk@kernel.org, robh+dt@kernel.org,
sboyd@kernel.org, nm@ti.com, daniel.lezcano@linaro.org,
morten.rasmussen@arm.com, chris.redpath@arm.com
Subject: Re: [PATCH v4 1/4] dt-bindings/opp: Update documentation for opp-shared
Date: Tue, 8 Dec 2020 07:15:30 +0000 [thread overview]
Message-ID: <bfb6a380-645e-d721-4610-be73ab4f2dcd@arm.com> (raw)
In-Reply-To: <20201208042924.kv7tqsbstoanqham@vireshk-i7>
Hi Viresh,
thanks for your comments. I will update subject and content as you suggested.
Regards,
Nicola
On 12/8/20 4:29 AM, Viresh Kumar wrote:
> Subject should rather be:
>
> dt-bindings: opp: Allow empty OPP tables
>
> On 02-12-20, 17:23, Nicola Mazzucato wrote:
>> Currently the optional property opp-shared is used within an opp table
>> to tell that a set of devices share their clock/voltage lines (and the
>> opp points).
>> It is therefore possible to use an empty opp table to convey only that
>> information, useful in situations where the opp points are provided via
>> other means (hardware. firmware, etc).
>>
>> Update the documentation to remark this additional case and provide an
>> example.
>>
>> Signed-off-by: Nicola Mazzucato <nicola.mazzucato@arm.com>
>> ---
>> Documentation/devicetree/bindings/opp/opp.txt | 53 +++++++++++++++++++
>> 1 file changed, 53 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/opp/opp.txt b/Documentation/devicetree/bindings/opp/opp.txt
>> index 9847dfeeffcb..a5f1f993eab9 100644
>> --- a/Documentation/devicetree/bindings/opp/opp.txt
>> +++ b/Documentation/devicetree/bindings/opp/opp.txt
>> @@ -72,6 +72,9 @@ Optional properties:
>> switch their DVFS state together, i.e. they share clock/voltage/current lines.
>> Missing property means devices have independent clock/voltage/current lines,
>> but they share OPP tables.
>> + This optional property can be used without any OPP nodes when its only purpose
>> + is to describe a dependency of clock/voltage/current lines among a set of
>> + devices.
>
> And instead of this, we should rather update "OPP nodes:" section like
> this:
>
> diff --git a/Documentation/devicetree/bindings/opp/opp.txt b/Documentation/devicetree/bindings/opp/opp.txt
> index 9847dfeeffcb..28077ce3a845 100644
> --- a/Documentation/devicetree/bindings/opp/opp.txt
> +++ b/Documentation/devicetree/bindings/opp/opp.txt
> @@ -63,11 +63,13 @@ This describes the OPPs belonging to a device. This node can have following
> - compatible: Allow OPPs to express their compatibility. It should be:
> "operating-points-v2".
>
> +Optional properties:
> - OPP nodes: One or more OPP nodes describing voltage-current-frequency
> combinations. Their name isn't significant but their phandle can be used to
> - reference an OPP.
> + reference an OPP. These are mandatory except for the case where the OPP table
> + is present only to indicate dependency between devices using the opp-shared
> + property.
>
> -Optional properties:
> - opp-shared: Indicates that device nodes using this OPP Table Node's phandle
> switch their DVFS state together, i.e. they share clock/voltage/current lines.
> Missing property means devices have independent clock/voltage/current lines,
>
next prev parent reply other threads:[~2020-12-08 7:14 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-02 17:23 [PATCH v4 0/4] CPUFreq: Add support for opp-sharing cpus Nicola Mazzucato
2020-12-02 17:23 ` [PATCH v4 1/4] dt-bindings/opp: Update documentation for opp-shared Nicola Mazzucato
2020-12-08 4:29 ` Viresh Kumar
2020-12-08 7:15 ` Nicola Mazzucato [this message]
2020-12-02 17:23 ` [PATCH v4 2/4] opp/of: Allow empty opp-table with opp-shared Nicola Mazzucato
2020-12-02 17:23 ` [PATCH v4 3/4] scmi-cpufreq: get opp_shared_cpus from opp-v2 for EM Nicola Mazzucato
2020-12-08 5:50 ` Viresh Kumar
2020-12-08 7:22 ` Nicola Mazzucato
2020-12-08 7:26 ` Viresh Kumar
2020-12-08 10:58 ` Nicola Mazzucato
2020-12-08 11:01 ` Viresh Kumar
2020-12-08 11:21 ` Sudeep Holla
2020-12-08 11:20 ` Sudeep Holla
2020-12-08 11:34 ` Lukasz Luba
2020-12-08 12:22 ` Sudeep Holla
2020-12-08 13:17 ` Nicola Mazzucato
2020-12-09 5:45 ` Viresh Kumar
2020-12-09 9:20 ` Nicola Mazzucato
2020-12-09 9:41 ` Sudeep Holla
2020-12-02 17:23 ` [PATCH v4 4/4] cpufreq: blacklist Arm Vexpress platforms in cpufreq-dt-platdev Nicola Mazzucato
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bfb6a380-645e-d721-4610-be73ab4f2dcd@arm.com \
--to=nicola.mazzucato@arm.com \
--cc=chris.redpath@arm.com \
--cc=daniel.lezcano@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=morten.rasmussen@arm.com \
--cc=nm@ti.com \
--cc=rjw@rjwysocki.net \
--cc=robh+dt@kernel.org \
--cc=sboyd@kernel.org \
--cc=sudeep.holla@arm.com \
--cc=viresh.kumar@linaro.org \
--cc=vireshk@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox