]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
dt-bindings: arm: Limit cpus schema to only check Arm 'cpu' nodes
authorRob Herring <robh@kernel.org>
Wed, 26 Jun 2019 22:27:21 +0000 (16:27 -0600)
committerRob Herring <robh@kernel.org>
Fri, 28 Jun 2019 20:29:56 +0000 (14:29 -0600)
commit9ea6b821cef405a915bb5904627005fca8f01462
tree9a46fd0cff2a3861a7fca77e1aa314a34869b2b9
parentef4db28c1f45cda6989bc8a8e45294894786d947
dt-bindings: arm: Limit cpus schema to only check Arm 'cpu' nodes

Matching on the 'cpus' node was a bad choice because the schema is
incorrectly applied to non-Arm cpus nodes. As we now have a common cpus
schema which checks the general structure, it is also redundant to do so
in the Arm CPU schema.

The downside is one could conceivably mix different architecture's cpu
nodes or have typos in the compatible string. The latter problem pretty
much exists for every schema.

Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/arm/cpus.yaml