zephyr/boards/arm/efr32mg_sltb004a
Peter Bigot 11c923cfc8 boards: efr32mg_sltb004a: rework sensor power enable infrastructure
There are three groups of sensors on this board, each of which
requires a different I2C bus configuration and a different power
supply.  Currently only the CCS811 is supported.

Change the board configuration to pull the necessary information about
the CCS811 supply switch from devicetree, and to supply power based on
whether the device is enabled in devicetree (rather than whether a
driver is selected).  The implementation is designed to support
additional supply switches (there are at least six on the board, most
of which are dedicated).

Also document the I2C configuration necessary for the other sensors.
There is currently no way to select alternative configurations without
editing the devicetree binding, but at least they're available for use
in overlays.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2020-12-15 11:19:26 +01:00
..
doc
board.c boards: efr32mg_sltb004a: rework sensor power enable infrastructure 2020-12-15 11:19:26 +01:00
board.cmake
CMakeLists.txt
efr32mg_sltb004a_defconfig
efr32mg_sltb004a.dts boards: efr32mg_sltb004a: rework sensor power enable infrastructure 2020-12-15 11:19:26 +01:00
efr32mg_sltb004a.yaml
Kconfig
Kconfig.board
Kconfig.defconfig