Commit 47eed112 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Linus Walleij

dt-bindings: pinctrl: amlogic: narrow regex for unit address to hex numbers

Regular expression used to match the unit address part should not allow
non-hex numbers.
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20240123083511.21063-1-krzysztof.kozlowski@linaro.orgSigned-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent f6f62a9a
......@@ -24,7 +24,7 @@ required:
- compatible
patternProperties:
"^bank@[0-9a-z]+$":
"^bank@[0-9a-f]+$":
$ref: amlogic,meson-pinctrl-common.yaml#/$defs/meson-gpio
unevaluatedProperties: false
......
......@@ -21,7 +21,7 @@ required:
- compatible
patternProperties:
"^bank@[0-9a-z]+$":
"^bank@[0-9a-f]+$":
$ref: amlogic,meson-pinctrl-common.yaml#/$defs/meson-gpio
unevaluatedProperties: false
......
......@@ -21,7 +21,7 @@ required:
- compatible
patternProperties:
"^bank@[0-9a-z]+$":
"^bank@[0-9a-f]+$":
$ref: amlogic,meson-pinctrl-common.yaml#/$defs/meson-gpio
unevaluatedProperties: false
......
......@@ -29,7 +29,7 @@ required:
- compatible
patternProperties:
"^bank@[0-9a-z]+$":
"^bank@[0-9a-f]+$":
$ref: amlogic,meson-pinctrl-common.yaml#/$defs/meson-gpio
unevaluatedProperties: false
......
......@@ -29,7 +29,7 @@ required:
- compatible
patternProperties:
"^bank@[0-9a-z]+$":
"^bank@[0-9a-f]+$":
$ref: amlogic,meson-pinctrl-common.yaml#/$defs/meson-gpio
unevaluatedProperties: false
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment