zephyr/tests
Andreas Wiesinger cb76aab9d3 dts: sensor: bosch,bmi270: Move interrupt handling to parent binding
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>
2023-09-13 16:26:24 +02:00
..
application_development tests: code_relocation: update test filters 2023-09-11 19:57:18 +02:00
arch include: arch: arm: Remove aarch32 directory 2023-09-13 10:08:05 +01:00
benchmarks kernel: move wait_q.h header to be internal 2023-09-12 12:55:36 -04:00
bluetooth bluetooth: tester: MICS Server tests 2023-09-11 16:57:12 -04:00
boards tests: boards: mec172xevb_assy6906 Add SPI driver test 2023-09-13 12:01:18 +02:00
boot test: arch: x86: update with new acpica interface 2023-09-07 09:42:38 +02:00
bsim tests: Bluetooth: split id_addr_update test 2023-09-11 19:58:16 +02:00
cmake cmake: Fix scope pollution in zephyr_get(... MERGE) 2023-08-16 15:01:57 +02:00
crypto tests: cleanup metadata and filtering 2023-06-13 09:38:27 -04:00
drivers dts: sensor: bosch,bmi270: Move interrupt handling to parent binding 2023-09-13 16:26:24 +02:00
kernel kernel: move wait_q.h header to be internal 2023-09-12 12:55:36 -04:00
lib boards: m5stack_core2: Exclude board from device tree test 2023-09-11 11:06:36 +02:00
misc tests: misc: check_init_priorities: update output 2023-09-05 10:05:50 +02:00
modules/uoscore tests: uoscore-uedhoc: add tag to match module name 2023-08-28 13:37:39 -04:00
net tests: mqtt: disable debug log level 2023-09-12 10:56:35 +02:00
posix posix: clock_nanosleep tests 2023-08-30 13:02:58 -07:00
robot Twister: Add integration with renode-test 2023-05-26 09:43:49 -04:00
subsys modem: tests: Add test case for partial matches 2023-09-12 14:50:17 +02:00
unit sys: lists: Add tests for newly-added list len functions 2023-09-13 16:19:33 +02:00
ztest tests: ztest: zexpect: include source file directly in main.cpp 2023-08-28 13:36:08 -04:00
test_config.yaml twister: add support for levels and test configuration 2023-03-07 15:49:16 +01:00