Skip to content
Commit fcb09533 authored by Armando Visconti's avatar Armando Visconti Committed by Kumar Gala
Browse files

drivers/sensor: lis2mdl: Add multi-instance support



Add multi-instance support and make use of the stmemsc i2c/spi
read/write routine that has been introduced to simplify the ST
sensor drivers code.

Moreover, move spi-full-duplex property from Kconfig inside Device
Tree, so that each LIS2MDL instance can be configured selectively
in accordance to how it is used in h/w.

Signed-off-by: default avatarArmando Visconti <armando.visconti@st.com>
parent 34fb892f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment