zephyr/drivers/sensor/lis2dh
Armando Visconti 1ebb708910 driver/sensors: lis2dh: Fix I2C and SPI bus communication
Add I2C and SPI bus communication routines in separate files,
and register one or the other as read/write callbacks based
on bus selection in DTS.

This commit is fixing issue #22348 as well, as the SPI part
is handling in the proper way the CS GPIO part.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2020-03-10 14:52:59 +02:00
..
CMakeLists.txt driver/sensors: lis2dh: Fix I2C and SPI bus communication 2020-03-10 14:52:59 +02:00
Kconfig kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
lis2dh_i2c.c driver/sensors: lis2dh: Fix I2C and SPI bus communication 2020-03-10 14:52:59 +02:00
lis2dh_spi.c driver/sensors: lis2dh: Fix I2C and SPI bus communication 2020-03-10 14:52:59 +02:00
lis2dh_trigger.c driver/sensors: lis2dh: Fix I2C and SPI bus communication 2020-03-10 14:52:59 +02:00
lis2dh.c driver/sensors: lis2dh: Fix I2C and SPI bus communication 2020-03-10 14:52:59 +02:00
lis2dh.h driver/sensors: lis2dh: Fix I2C and SPI bus communication 2020-03-10 14:52:59 +02:00