Skip to content

Commit 647181a

Browse files
committed
schemas: i2c: Allow for 'i2c-.*' node names
Commit 57138f5 ("schemas: i2c: Avoid extra characters in i2c nodename pattern") tightened up the allowed node names for I2C controller nodes, but failed to allow 'i2c-.*' which there are numerous occurrences. Signed-off-by: Rob Herring (Arm) <[email protected]>
1 parent 57138f5 commit 647181a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dtschema/schemas/i2c/i2c-controller.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ maintainers:
1414

1515
properties:
1616
$nodename:
17-
pattern: "^i2c(@.*)?$"
17+
pattern: "^i2c(@.+|-[a-z0-9]+)?$"
1818

1919
i2c-bus:
2020
type: object

0 commit comments

Comments
 (0)