Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
schemas: Allow '#' anywhere in DT property names
Commit 0e28a44 ("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 allowed patternProperties for consistency to avoid errors like: Documentation/devicetree/bindings/tpm/ibm,vtpm.example.dtb: vtpm@30000003: 'ibm,#dma-address-cells', 'ibm,#dma-size-cells' do not match any of the regexes: '.*-names$', '.*-supply$', '^#.*-cells$', '^#[a-zA-Z0-9,+\\-._]{0,63}$', '^[a-zA-Z0-9][a-zA-Z0-9,+\\-._]{0,63}$', '^[a-zA-Z0-9][a-zA-Z0-9,+\\-._]{0,63}@[0-9a-fA-F]+(,[0-9a-fA-F]+)*$', '^__.*__$', 'pinctrl-[0-9]+' from schema $id: http://devicetree.org/schemas/dt-core.yaml# Signed-off-by: Lukas Wunner <[email protected]>
- Loading branch information