dt-bindings: memory-controllers: narrow regex for unit address to hex numbers
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 23 Jan 2024 08:35:17 +0000 (09:35 +0100)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 25 Jan 2024 11:04:09 +0000 (12:04 +0100)
Regular expression used to match the unit address part should not allow
non-hex numbers.

Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://lore.kernel.org/r/20240123083517.21091-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Documentation/devicetree/bindings/memory-controllers/nvidia,tegra20-emc.yaml

index f54e553e6c0e6a6e4c0d56e485f567f814dcaf12..71896cb10692630a78c21bf9fdb81491680cdd31 100644 (file)
@@ -145,7 +145,7 @@ patternProperties:
   "^emc-table@[0-9]+$":
     $ref: "#/$defs/emc-table"
 
-  "^emc-tables@[a-z0-9-]+$":
+  "^emc-tables@[a-f0-9-]+$":
     type: object
     properties:
       reg: