zephyr/scripts/dts/python-devicetree
Ioannis Damigos 1b1bfc9cc8 edtlib: Improve _interrupt_parent() function
According to the following comment on github
https://github.com/zephyrproject-rtos/zephyr/pull/77900/files#r1750393745
edtlib implementation is partially correct and it is missing two things:

1. If an ancestor has an interrupt-controller or interrupt-map property,
   the walk must terminate.
2. If an interrupt-parent property is found, the linked node must be a
   valid interrupt controller or nexus.

This commit add these checks.

Signed-off-by: Ioannis Damigos <ioannis.damigos.uj@renesas.com>
2025-06-27 10:57:38 +02:00
..
src/devicetree edtlib: Improve _interrupt_parent() function 2025-06-27 10:57:38 +02:00
tests scripts: dts: dtlib: improve formatting of long arrays 2025-06-05 15:18:40 -05:00
.gitignore
requirements.txt
setup.py python: Format trivial files where only newlines were missing 2024-11-21 20:10:51 +01:00
tox.ini