zephyr/dts
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
..
arc dts: remove incorrect use of mmio-sram compatible 2020-07-28 07:31:01 -05:00
arm boards: nrf5340dk_nrf5340: Add dts node for MX25R64 flash on QSPI 2020-11-10 21:01:37 +02:00
bindings drivers/sensor: iis2iclx: add multi-instance 2020-11-11 13:17:18 +01:00
common
nios2 dts: Fix altera vendor prefix 2020-10-21 12:48:34 -04:00
posix
riscv drivers: i2s: Add LiteX I2S controller driver 2020-08-26 08:17:42 -04:00
x86
xtensa soc/xtensa: Misc. checkpatch fixups 2020-10-21 06:38:53 -04:00
binding-template.yaml scripts: edtlib: Add support for 'deprecated' 2020-10-29 11:06:32 -05:00
Kconfig dts/Kconfig: Remove HAS_DTS_I2C 2020-09-18 13:34:44 -05:00