commit | 17c15ff1826832b7ac81235dfe33cb5653bfd5d9 | [log] [tgz] |
---|---|---|
author | Armando Visconti <armando.visconti@st.com> | Fri Apr 20 14:54:40 2018 +0200 |
committer | Maureen Helm <maureen.helm@nxp.com> | Fri May 18 13:10:33 2018 -0500 |
tree | 508a213288bdf5b496d6bed0774fcd15aabc7b3d | |
parent | 36b0c321a7c78753dcfeb53df0732d31d3c36172 [diff] |
boards: stm32: argonkey: Add dts support to sensors This patch adds dts support to lps22hb/hts221/vl53l0x I2C sensors as well as lsm6dsl SPI sensor. Since some info, like gpio for irq triggering or SPI bus characteristics, may be provided through dts, they need to be made optional in the LSM6DSL driver by usage of macros like HAS_DTS_SPI_PINS or HAS_DTS_SPI_DEVICE. Signed-off-by: Armando Visconti <armando.visconti@st.com>