zephyr/dts
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
..
arc/synopsys drivers: pinctrl: add pinctrl driver for ARC emsdp 2023-05-29 09:21:07 -04:00
arm drivers: counter: Add support for rpi_pico timer 2023-09-13 16:18:44 +02:00
arm64 dts: arm64: qemu: Fix invalid PCIe interrupt-map node 2023-08-18 10:13:12 +02:00
bindings dts: sensor: bosch,bmi270: Move interrupt handling to parent binding 2023-09-13 16:26:24 +02:00
common dts/arm: stm32: Add clocks nodes on stm32wb,l4 and stm32f4 series 2021-04-27 11:53:37 +02:00
nios2/intel dts: nios2: intel: nios2-qemu: add jtag interrupt 2023-01-27 14:24:43 -05:00
posix dts: posix: Add DTS support for POSIX architecture 2019-05-28 21:14:19 -04:00
riscv ITE: drivers/i2c: Channel C/i2c2 cannot use FIFO mode 2023-08-04 10:45:48 +02:00
sparc/gaisler dts/sparc/gaisler: add SoC and board compatible strings 2023-05-02 10:53:27 +02:00
x86/intel drivers: gpio: Add Intel SEDI gpio driver 2023-09-12 10:56:08 +02:00
xtensa intel_adsp: ace20_lnl: add ALH DAI support 2023-08-31 17:43:16 -04:00
binding-template.yaml doc: devicetree: overhaul bindings guide 2021-04-22 15:32:10 +02:00
Kconfig dts: Include Kconfig.dts as optional source 2022-08-15 11:10:51 -07:00