zephyr/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-mcux: add support for adc16 channel multiplex 2020-10-29 13:43:24 -05:00
audio device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
bluetooth drivers: Bluetooth: rpmsg: Add missing BT_QUIRK_NO_AUTO_DLE 2020-09-16 12:02:32 +02:00
can drivers/pinmux: stm32: Provide unique API to stm32_dt_pinctrl 2020-10-20 09:09:29 -05:00
clock_control drivers: Add NXP LPC clock control driver 2020-10-15 11:17:24 -05:00
console net: ppp: Avoid wrapping each byte in muxing headers 2020-10-19 18:29:02 +02:00
counter drivers: counter: stm32: hide irrelevant options 2020-10-07 15:26:03 -05:00
crypto misc: Replace assert include and calls by sys/__assert.h equivalent 2020-10-02 11:42:40 +02:00
dac drivers/pinmux: stm32: Provide unique API to stm32_dt_pinctrl 2020-10-20 09:09:29 -05:00
debug
display drivers: display: ili9xxx: add support for ILI9488 controller 2020-11-10 15:52:12 -06:00
dma drivers: dma: Update NXP LPC driver for SPI peripheral 2020-10-21 06:26:40 -05:00
ec_host_cmd_periph ec_host_cmd_periph: add device API 2020-09-04 14:50:45 -04:00
eeprom eeprom: at2x: Add support for at24cXX 2020-10-28 17:03:47 +01:00
entropy drivers: remove unnecessary use of DEVICE_AND_API_INIT 2020-11-06 09:42:47 -06:00
espi drivers: espi: xec: Avoid flash interrupt by ROM bootloader activity 2020-11-09 16:01:16 -08:00
ethernet drivers: ethernet: stm32: Add missing net_if_set_link_addr() call 2020-11-06 10:11:10 +02:00
flash drivers/flash/nrf_qspi_nor: Add support for nRF53 Series SoCs 2020-11-10 21:01:37 +02:00
gpio device: convert DEVICE_INIT to DEVICE_DEFINE or SYS_DEVICE_DEFINE 2020-11-10 08:38:09 -06:00
hwinfo drivers: hwinfo: Add cypress psoc6 hwinfo support 2020-10-21 07:20:13 -05:00
i2c drivers: remove unnecessary use of DEVICE_AND_API_INIT 2020-11-06 09:42:47 -06:00
i2s drivers/i2s: stm32: Convert to dt based pinctrl configuration 2020-10-28 09:29:56 -05:00
ieee802154 drivers: ieee802154: cc13xx_cc26xx: sub-ghz support 2020-11-09 10:25:24 +02:00
interrupt_controller device: convert DEVICE_INIT to DEVICE_DEFINE or SYS_DEVICE_DEFINE 2020-11-10 08:38:09 -06:00
ipm soc: intel_s1000: Catch up with API skew 2020-10-21 06:38:53 -04:00
kscan dts/Kconfig: Remove HAS_DTS_I2C 2020-09-18 13:34:44 -05:00
led drivers: led: add driver for PWM LEDs 2020-10-28 10:44:46 -05:00
led_strip drivers: led_strip: APA102 use CS flags from devicetree 2020-09-14 18:35:26 -05:00
lora drivers: lora: Add CheckRfFrequency callback to SX1276 driver 2020-10-08 12:15:38 +02:00
modem device: convert DEVICE_INIT to DEVICE_DEFINE or SYS_DEVICE_DEFINE 2020-11-10 08:38:09 -06:00
net net: ppp: Avoid wrapping each byte in muxing headers 2020-10-19 18:29:02 +02:00
neural_net device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
pcie drivers: pcie_ep: iproc: clear pvm interrupts before handling 2020-11-05 10:18:20 +01:00
peci peci: driver: Ping cmd fail due to improper tx len and wait handling 2020-11-09 15:49:19 -06:00
pinmux drivers/pinmux: stm32: Deprecate SDMMC related macros 2020-11-03 11:11:04 +01:00
ps2 drivers: Manual const-ification of device driver instance 2020-09-02 13:48:13 +02:00
ptp_clock device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
pwm drivers: pwm: stm32: fix timer clock calculation 2020-11-03 11:03:54 +01:00
regulator drivers: regulator: add GPIO-controlled regulator driver 2020-10-28 15:22:53 +01:00
sensor drivers/sensor: iis2iclx: add multi-instance 2020-11-11 13:17:18 +01:00
serial doc: fix broken rST syntax in Kconfig help 2020-11-07 08:29:57 -06:00
spi drivers: remove unnecessary use of DEVICE_AND_API_INIT 2020-11-06 09:42:47 -06:00
timer sys: util: Replace MIN(MAX(a, b), c) with CLAMP 2020-11-05 12:12:17 +01:00
usb drivers: usb: Start Nordic driver workqueue at USB init. 2020-10-28 17:02:22 +01:00
video drivers: video: mcux_csi: Fix compile error 2020-09-03 18:08:08 -04:00
watchdog watchdog: Add watchdog driver 2020-10-23 12:52:13 +02:00
wifi drivers: wifi: esp: increase default RX net_pkt allocation timeout 2020-11-04 09:02:04 +02:00
CMakeLists.txt drivers: regulator: add GPIO-controlled regulator driver 2020-10-28 15:22:53 +01:00
Kconfig drivers: regulator: add GPIO-controlled regulator driver 2020-10-28 15:22:53 +01:00