]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: riscv: Limit cpus schema to only check RiscV 'cpu' nodes
authorRob Herring <robh@kernel.org>
Wed, 26 Jun 2019 23:57:59 +0000 (17:57 -0600)
committerRob Herring <robh@kernel.org>
Sun, 21 Jul 2019 02:28:52 +0000 (20:28 -0600)
commit7b5a2e9afba49315b3dba3bd0961995d398207e4
treea18df49f4904cd820cd473eaebaa908c77528a7a
parent5207e761f98cfecff54c0a857c35b7e106c94e33
dt-bindings: riscv: Limit cpus schema to only check RiscV 'cpu' nodes

Matching on the 'cpus' node was a bad choice because the schema is
incorrectly applied to non-RiscV cpus nodes. As we now have a common cpus
schema which checks the general structure, it is also redundant to do so
in the Risc-V 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.

Acked-by: Paul Walmsley <paul.walmsley@sifive.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/riscv/cpus.yaml