]> git.itanic.dy.fi Git - linux-stable/commitdiff
dt-bindings: pinctrl: mediatek: mt7986: fix patternProperties regex
authorArınç ÜNAL <arinc.unal@arinc9.com>
Fri, 17 Mar 2023 21:30:08 +0000 (00:30 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 19 Mar 2023 20:47:26 +0000 (21:47 +0100)
Set second level patternProperties to '^.*mux.*$' and '^.*conf.*$' on
mediatek,mt7986-pinctrl.yaml to be on par with other schemas.

Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230317213011.13656-19-arinc.unal@arinc9.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/pinctrl/mediatek,mt7986-pinctrl.yaml

index 31c36689438ccb28244997ef9bdc1e65fde05150..0f615ada290a558704ae5e07a7abdbc9ed8cbf38 100644 (file)
@@ -72,7 +72,7 @@ patternProperties:
     additionalProperties: false
 
     patternProperties:
-      '.*mux.*':
+      '^.*mux.*$':
         type: object
         additionalProperties: false
         description: |
@@ -256,7 +256,7 @@ patternProperties:
                   items:
                     enum: [wf_2g, wf_5g, wf_dbdc]
                   maxItems: 3
-      '.*conf.*':
+      '^.*conf.*$':
         type: object
         additionalProperties: false
         description: