drivers/sensor: Add basic Silabs Si7210 support

This adds basic support for the Silabs Si7210 hall effect magnetic
position and temperature sensor. It is able to get magnetic field and
temperature in the default scale of the sensor (depending on the
variant). It also supports going into sleep mode without measurements
through the device power management infrastructure.

It is most notably missing support for scale change, measurement
averaging and filtering, and alert pin configuration (threshold,
hysteris, tamper).

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
Aurelien Jarno 2021-08-07 18:48:25 +02:00 committed by Maureen Helm
commit 698a28663c
8 changed files with 575 additions and 0 deletions

View file

@ -200,6 +200,8 @@ source "drivers/sensor/si7055/Kconfig"
source "drivers/sensor/si7060/Kconfig"
source "drivers/sensor/si7210/Kconfig"
source "drivers/sensor/sm351lt/Kconfig"
source "drivers/sensor/stm32_temp/Kconfig"