zephyr/drivers/sensor
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
..
adt7420
adxl345
adxl362
adxl372
ak8975
amg88xx
ams_iAQcore
apds9960 drivers: remove unnecessary use of DEVICE_AND_API_INIT 2020-11-06 09:42:47 -06:00
bma280
bmc150_magn
bme280
bme680
bmg160
bmi160 drivers: sensor: bmi160: Add support for I2C 2020-10-27 16:41:30 +01:00
bmm150
bq274xx
ccs811
dht
dps310
ens210
fxas21002
fxos8700
grove
hmc5883l
hp206c
hts221
iis2dh
iis2dlpc
iis2iclx drivers/sensor: iis2iclx: add multi-instance 2020-11-11 13:17:18 +01:00
iis2mdc
iis3dhhc
isl29035
ism330dhcx
lis2dh
lis2ds12
lis2dw12
lis2mdl
lis3mdl
lps22hb
lps22hh
lps25hb
lsm6ds0
lsm6dsl drivers/sensor: iis2iclx: add multi-instance 2020-11-11 13:17:18 +01:00
lsm6dso
lsm9ds0_gyro
lsm9ds0_mfd
lsm303dlhc_magn
max17055
max30101
max44009
mchp_tach_xec
mcp9808
mpr
mpu6050
ms5607
ms5837
nrf5
nxp_kinetis_temp
opt3001
pms7003
qdec_nrfx
sht3xd
si7006
si7055
si7060
sm351lt
stts751
sx9500
th02
ti_hdc
tmp007
tmp112
tmp116
vcnl4040 drivers: remove unnecessary use of DEVICE_AND_API_INIT 2020-11-06 09:42:47 -06:00
vl53l0x
wsen_itds
CMakeLists.txt
Kconfig
sensor_handlers.c
sensor_shell.c sensor_shell: added missing sensor channel. 2020-11-02 09:52:54 -06:00
shell_battery.c