devicetree-org / dt-schema

Devicetree schema tools
http://www.devicetree.org
BSD 2-Clause "Simplified" License
67 stars 64 forks source link

meta-schemas: Allow '#' anywhere in required DT property names #116

Closed l1k closed 9 months ago

l1k commented 10 months ago

Commit 0e28a44059a6 ("meta-schemas: Allow '#' anywhere is DT property names") amended the propertyNames regex to allow names such as marvell,#interrupts.

Make the same amendment to the required regex for consistency to avoid errors like:

  Documentation/devicetree/bindings/security/tpm/ibm,vtpm.yaml: required:4: 'ibm,#dma-address-cells' does not match '^([a-zA-Z#][a-zA-Z0-9,+\\-._@]{0,63}|\\$nodename)$'
  hint: 'required' must be valid DT property or node names
  from schema $id: http://devicetree.org/meta-schemas/keywords.yaml#