aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2021-10-29 01:15:47 +0300
committerViresh Kumar <viresh.kumar@linaro.org>2021-11-02 09:25:05 +0530
commit7ca81b690e598fdf16a6c738a466247ef9be7ac7 (patch)
tree20c41d75d022b53573092a89bce67025573bb360
parentopp: Fix return in _opp_add_static_v2() (diff)
downloadwireguard-linux-7ca81b690e598fdf16a6c738a466247ef9be7ac7.tar.xz
wireguard-linux-7ca81b690e598fdf16a6c738a466247ef9be7ac7.zip
dt-bindings: opp: Allow multi-worded OPP entry name
Not all OPP entries fit into a single word. In particular NVIDIA Tegra OPP tables use multi-word names. Allow OPP entry to have multi-worded name separated by hyphen. This silences DT checker warnings about wrong naming scheme. Reviewed-by: David Heidelberg <david@ixit.cz> Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
-rw-r--r--Documentation/devicetree/bindings/opp/opp-v2-base.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/opp/opp-v2-base.yaml b/Documentation/devicetree/bindings/opp/opp-v2-base.yaml
index ae3ae4d39843..15a76bcd6d42 100644
--- a/Documentation/devicetree/bindings/opp/opp-v2-base.yaml
+++ b/Documentation/devicetree/bindings/opp/opp-v2-base.yaml
@@ -33,7 +33,7 @@ properties:
type: boolean
patternProperties:
- '^opp-?[0-9]+$':
+ '^opp(-?[0-9]+)*$':
type: object
description:
One or more OPP nodes describing voltage-current-frequency combinations.