commit | fcb0953309fb4cbb0f47fa533a34157128f4db80 | [log] [tgz] |
---|---|---|
author | Armando Visconti <armando.visconti@st.com> | Wed May 05 14:20:52 2021 +0200 |
committer | Kumar Gala <kumar.gala@gmail.com> | Fri Jun 04 16:29:45 2021 -0500 |
tree | 9976a2a3fa73427c0f7101fe3819f795845c7146 | |
parent | 34fb892fb5ed66a2a031b8f24e06dcb9eb8b486a [diff] |
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: Armando Visconti <armando.visconti@st.com>