mbox series

[0/5] Another batch of dtc checks

Message ID 20171117144515.10870-1-robh@kernel.org
Headers show
Series Another batch of dtc checks | expand

Message

Rob Herring Nov. 17, 2017, 2:45 p.m. UTC
Here's another batch of dtc checks. The first 3 patches are pretty
straightforward. The last 2 patches are a bit more subjective.

For aliases, I would like to see them restricted to a documented list of
names. There are some platforms I've seen that seem to just define
aliases for many devices and most are not needed. The main use of
aliases in the Linux kernel is to provide fixed device numbers to
userspace, but this is an anti-goal of in the kernel.

Rob

Rob Herring (5):
  checks: add a string checks for label, bootargs and stdout-path
  checks: add string list check
  checks: add string list check for *-names properties
  checks: check for #{size,address}-cells without child nodes
  checks: add aliases node checks

 checks.c                   | 123 +++++++++++++++++++++++++++++++++++++++++++++
 tests/bad-string-props.dts |  11 ++++
 tests/run_tests.sh         |   2 +-
 3 files changed, 135 insertions(+), 1 deletion(-)

-- 
2.14.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html