1# RT1718S driver configuration options
2
3# Copyright 2022 Google LLC
4# SPDX-License-Identifier: Apache-2.0
5
6menuconfig GPIO_RT1718S
7	bool "RT1718S I2C-based TCPC chip with GPIOs"
8	default y
9	depends on DT_HAS_RICHTEK_RT1718S_GPIO_PORT_ENABLED
10	help
11	  Enable driver GPIO for RT1718S I2C-based TCPC chip.
12
13if GPIO_RT1718S
14
15config RT1718S_INIT_PRIORITY
16	int "RT1718S GPIO init priority"
17	default 60
18	help
19	  RT1718S device driver initialization priority. The priority should be
20	  lower than I2C device.
21
22config GPIO_RT1718S_PORT_INIT_PRIORITY
23	int "RT1718S GPIO port init priority"
24	default 61
25	help
26	  RT1718S GPIO driver initialization priority. The priority should be lower
27	  than I2C & RT1718S_INIT_PRIORITY device.
28
29config GPIO_RT1718S_INTERRUPT
30	bool "RT1718S alert handler"
31	help
32	  Enable support for handling RT1718S Alert with a GPIO interrupt connected
33	  from the chip.
34
35endif # GPIO_RT1718S
36