zephyr/tests/drivers
Armando Visconti c380142920 drivers/sensor: iis2iclx: add multi-instance
Make this driver multi-instance and use the new API.

Notes for sensorhub mode:
In case of multiples devices it is possible that some of them
has i2c slaves attached to it (sensorhub mode) but not the
others. Since the driver is configured in the same way for
all the instances (CONFIG_SENSORHUB=y), the routine that initialize
the sensorhub part does not fail anymore in case no slaves
are found for a particular instance. Instead, those non-sensorhub
driver instances will set the shub_inited flag to false and
will totally ignore the feature.

Notes for triggers:
In case of multiples devices the device pin the interrupt wire is
attached to can be different (INT1 or INT2 pin). So, this
information has been moved in DTS and then stored in the
specific instance config structure.
Currently the driver is able to handle a sngle interrupt line
at a time attached to either INT1 or INT2.
MOreover, the interrupt initialization for a driver instance proceed
only if the drdy has been configured in its DT, else it returns ok.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2020-11-11 13:17:18 +01:00
..
adc/adc_api tests: drivers: adc: fix NUCLEO-H743ZI ADC channel 2020-10-16 09:59:16 +02:00
build_all drivers/sensor: iis2iclx: add multi-instance 2020-11-11 13:17:18 +01:00
can
clock_control tests: drivers: clock_control: Change errno in the test 2020-10-14 14:06:56 +02:00
console
counter
dac
dma
eeprom
entropy/api
flash
flash_simulator
gpio tests: gpio: gpio_port_set_masked_raw overwrite check 2020-10-14 15:21:34 -05:00
hwinfo/api
i2c tests: drivers: sensor: Add an BMI160 accelerometer test 2020-10-05 15:33:00 -04:00
i2s
ipm device: convert DEVICE_INIT to DEVICE_DEFINE or SYS_DEVICE_DEFINE 2020-11-10 08:38:09 -06:00
kscan/kscan_api
led/led_api
pwm/pwm_api
regulator/fixed tests: drivers: regulator: add test for fixed regulator 2020-10-28 15:22:53 +01:00
sensor tests: fix accel abstraction violation 2020-10-29 14:04:26 -04:00
spi/spi_loopback tests: spi: Update LPC55S69 to enable DMA 2020-10-21 06:26:40 -05:00
uart tests: uart_async_api: Catch extra RX_RDY events in test_single_read 2020-10-21 17:55:18 +02:00
watchdog/wdt_basic_api watchdog: Add watchdog driver 2020-10-23 12:52:13 +02:00