dt-bindings: Convert vendor prefixes to json-schema
authorRob Herring <robh@kernel.org>
Fri, 10 May 2019 18:51:11 +0000 (13:51 -0500)
committerRob Herring <robh@kernel.org>
Thu, 16 May 2019 20:27:21 +0000 (15:27 -0500)
commit8122de54602e30f0a73228ab6459a3654e652b92
tree4b4c240c5f8f2d099a3434d368e2dd789e5ada48
parent01be377c62210a8d8fef35be906f9349591bb7cd
dt-bindings: Convert vendor prefixes to json-schema

Convert the vendor prefix registry to a schema. This will enable checking
that new vendor prefixes are added (in addition to the less than perfect
checkpatch.pl check) and will also check against adding other prefixes
which are not vendors.

Converted vendor-prefixes.txt using the following sed script:

sed -e 's/\([a-zA-Z0-9\-]*\)[[:space:]]*\([a-zA-Z0-9].*\)/  "^\1,\.\*\":\n    description: \2/'

Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/vendor-prefixes.txt [deleted file]
Documentation/devicetree/bindings/vendor-prefixes.yaml [new file with mode: 0644]