# Kconfig - CCS811 Digital Gas sensor configuration options

#
# Copyright (c) 2018 Linaro Ltd.
#
# SPDX-License-Identifier: Apache-2.0
#

menuconfig CCS811
	bool "CCS811 Digital Gas Sensor"
	depends on I2C && HAS_DTS_I2C
	help
	  Enable driver for CCS811 Gas sensors.

if CCS811

config CCS811_GPIO_DEV_NAME
	string "GPIO device"
	default "GPIOC"
	help
	  The device name of the GPIO device to which the CCS811 WAKE
	  pin is connected.

config CCS811_GPIO_WAKEUP
	bool "Enable GPIO Wakeup for CCS811"
	help
	  Enable GPIO Wakeup support for CCS811

config CCS811_GPIO_WAKEUP_PIN_NUM
	int "GPIO Wakeup pin number"
	default 0
	depends on CCS811_GPIO_WAKEUP
	help
	  The number of the GPIO pin on which the WAKE pin of CCS811
	  is connected

config CCS811_GPIO_RESET
	bool "Enable GPIO Reset for CCS811"
	help
	  Enable GPIO Reset support for CCS811

config CCS811_GPIO_RESET_PIN_NUM
	int "GPIO Reset pin number"
	default 0
	depends on CCS811_GPIO_RESET
	help
	  The number of the GPIO pin on which the RESET pin of CCS811
	  is connected

endif # CCS811
