Skip to content

Commit a3b5621

Browse files
committed
dt-bindings: opp: Allow hyphen in node's name
Not all OPP table names and OPP entries consist of a single word. In particular NVIDIA Tegra OPP tables use multi-word names. Allow OPP node and OPP entry name to have hyphens to silence DT checker warnings about the multi-word names separated by hyphen. Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
1 parent 97fc261 commit a3b5621

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Documentation/devicetree/bindings/opp/opp-v2-base.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ select: false
2222

2323
properties:
2424
$nodename:
25-
pattern: '^opp-table(-[a-z0-9]+)?$'
25+
pattern: '^opp-table(-[a-z0-9-]+)*$'
2626

2727
opp-shared:
2828
description:
@@ -33,7 +33,7 @@ properties:
3333
type: boolean
3434

3535
patternProperties:
36-
'^opp-?[0-9]+$':
36+
'^opp(-[0-9]+)*$':
3737
type: object
3838
description:
3939
One or more OPP nodes describing voltage-current-frequency combinations.

0 commit comments

Comments
 (0)