dt-bindings: opp: Allow opp-supported-hw to contain multiple versions
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 26 Aug 2020 09:39:16 +0000 (15:09 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Wed, 16 Sep 2020 08:32:33 +0000 (14:02 +0530)
commit4461269572e6fc216b63e2254c83035d1bc21eb7
tree279668ba583bc2b2e9c2722f51876ff27136db77
parent2c59138c22f17c1da027d3c90dbcdd6995c77414
dt-bindings: opp: Allow opp-supported-hw to contain multiple versions

A single list of versions for a hierarchy of hardware levels is not
sufficient in some cases. For example, if the hardware version has two
levels, i.e. X.Y and we want an OPP to support only version 2.1 and 1.2,
we will set the property as:

opp-supported-hw = <0x00000003 0x00000003>;

What this also does is enable hardware versions 2.2 and 1.1, which we
don't want.

Extend the property to accept multiple versions, so we can define the
property as:

opp-supported-hw = <0x00000002 0x00000001>, <0x00000001 0x00000002>;

While at it, also reword the property description.

Reported-by: Stephan Gerhold <stephan@gerhold.net>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Documentation/devicetree/bindings/opp/opp.txt