f0441fba58
Update sensor drivers to use DT_HAS_<compat>_ENABLED Kconfig symbol to expose the driver and enable it by default based on devicetree. Signed-off-by: Kumar Gala <galak@kernel.org>
11 lines
261 B
Plaintext
11 lines
261 B
Plaintext
# Copyright (c) 2021 G-Technologies Sdn. Bhd.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config MHZ19B
|
|
bool "Winsen CO2 sensor"
|
|
default y
|
|
depends on DT_HAS_WINSEN_MHZ19B_ENABLED
|
|
depends on UART_INTERRUPT_DRIVEN
|
|
help
|
|
Enable driver for the MHZ19B CO2 Sensor.
|