]> 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)
commitb187195ca009a80bd2651fefab62ff84c5da3ada
tree4b4c240c5f8f2d099a3434d368e2dd789e5ada48
parent43bce07d1058ad1caaf8e798b85e63fb1508f860
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]