]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb5f07b7d9fa776a5f1f30b4335e6f72dd10f8d5b
tree4b4c240c5f8f2d099a3434d368e2dd789e5ada48
parent789da3076652a7048b969c08d1963f6807561f00
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]