Skip to content

dtc: checks for phandle with arg properties

Rob Herring devicetree-compiler 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 3 repliesIn review
  2. v23 patches 10 repliesSuperseded
  3. v12 patches 11 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3checks: add phandle with arg property checkschecks.c dtc.h livetree.c +2 more+145 -00 replies
2/3checks: add gpio binding properties checkchecks.c tests/bad-gpio.dts tests/run_tests.sh+88 -00 replies
3/3checks: add interrupts property checkchecks.c tests/bad-interrupt-cells.dts tests/run_tests.sh+94 -00 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchDavid Gibson
1/3
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] dtc: checks for phandle with arg properties

David,

Here's a new version of checks for phandle with arg style properties. This checks interrupt and gpio bindings and other common bindings which follow the same phandle plus args pattern.

This generates ~200 warnings building the ARM dts files in the kernel.

Rob

Rob Herring (3):
checks: add phandle with arg property checks
checks: add gpio binding properties check
checks: add interrupts property check

 checks.c                      | 280 ++++++++++++++++++++++++++++++++++++++++++
 dtc.h                         |   1 +
 livetree.c                    |   6 +
 tests/bad-gpio.dts            |  13 ++
 tests/bad-interrupt-cells.dts |  12 ++
 tests/bad-phandle-cells.dts   |  11 ++
 tests/run_tests.sh            |   4 +
 7 files changed, 327 insertions(+)
 create mode 100644 tests/bad-gpio.dts
 create mode 100644 tests/bad-interrupt-cells.dts
 create mode 100644 tests/bad-phandle-cells.dts
Signature · 1 line
2.11.0