cb76aab9d3
Moved the interrupt handling code from a bus-specific binding file to the parent binding file. This modification ensures that interrupt handling, which is inherently independent of the type of BUS used (either i2c or spi), is located in the appropriate location within the code. Previously, this code was found in a bus-specific file, despite its functionality being applicable to all buses. This change ensures a more logical placement and will help to maintain coherence within the codebase. This change aligns with the existing implementation where the interrupt handling code already operates independently of the BUS type. Tested this on a nrf52840 with a bmi270 on spi bus with the sample from zephyr/samples/sensor/bmi270 by adding an interrupt handler in main.c which uses the bmi270_trigger.c implementation and verified this with breakpoints and log output. Added the irq-gpios to tests/drivers/build_all/sensor/i2c.dtsi and tests/drivers/build_all/sensor/spi.dtsi and fixed whitespace formatting. Fixes: #58843 Signed-off-by: Andreas Wiesinger <awiesing90@gmail.com> |
||
---|---|---|
.. | ||
application_development | ||
arch | ||
benchmarks | ||
bluetooth | ||
boards | ||
boot | ||
bsim | ||
cmake | ||
crypto | ||
drivers | ||
kernel | ||
lib | ||
misc | ||
modules/uoscore | ||
net | ||
posix | ||
robot | ||
subsys | ||
unit | ||
ztest | ||
test_config.yaml |