1# Copyright (c) 2020 ITE Corporation. All Rights Reserved.
2# SPDX-License-Identifier: Apache-2.0
3
4config GPIO_ITE_IT8XXX2
5	bool "ITE IT8XXX2 GPIO driver"
6	default y
7	depends on DT_HAS_ITE_IT8XXX2_GPIO_ENABLED
8	help
9	  Enable driver for the ite GPIO controller.
10
11config GPIO_ITE_IT8XXX2_V2
12	bool "ITE IT8XXX2 GPIO driver V2"
13	default y
14	depends on DT_HAS_ITE_IT8XXX2_GPIO_V2_ENABLED
15	help
16	  Enable driver for the ite GPIO V2 controller.
17
18config GPIO_KSCAN_ITE_IT8XXX2
19	bool "ITE IT8XXX2 GPIO KSCAN driver"
20	default y
21	depends on DT_HAS_ITE_IT8XXX2_GPIOKSCAN_ENABLED
22	help
23	  Enable GPIO KSCAN driver for ITE chip it8xxx2.
24	  IT8XXX2 support 8 KSI pins and 18 KSO pins, all of them can be configured
25	  to GPIO mode.
26	  KSI[7:0] and KSO[15:0] pins are configured to GPIO mode by
27	  this GPIO_KSCAN_ITE_IT8XXX2 driver.
28	  KSO[17:16] corresponds to GPC5 and GPC3 pin, so they can be configured to
29	  gpio mode by original GPIO_ITE_IT8XXX2 driver.
30