1# NPCX GPIO driver configuration options 2 3# Copyright (c) 2021 Nuvoton Technology Corporation. 4# SPDX-License-Identifier: Apache-2.0 5 6config GPIO_NCT38XX 7 bool "NCT38XX I2C-based GPIO chip" 8 default y 9 depends on DT_HAS_NUVOTON_NCT38XX_GPIO_PORT_ENABLED 10 depends on I2C 11 help 12 Enable driver for NCT38XX I2C-based GPIO chip. 13 14if GPIO_NCT38XX 15 16config GPIO_NCT38XX_INIT_PRIORITY 17 int "NCT38XX GPIO init priority" 18 default 30 19 help 20 Device driver initialization priority. The priority should be lower 21 than I2C device. 22 23config GPIO_NCT38XX_PORT_INIT_PRIORITY 24 int "NCT38XX GPIO port init priority" 25 default 40 26 help 27 Device driver initialization priority. The priority should be lower 28 than I2C & GPIO_NCT38XX_INIT_PRIORITY device. 29 30config GPIO_NCT38XX_INTERRUPT 31 bool "NCT38XX GPIO interrupt" 32 help 33 Enable interrupt support in NCT38XX driver. 34 35config GPIO_NCT38XX_ALERT_INIT_PRIORITY 36 int "NCT38XX GPIO alert handler init priority" 37 default 40 38 depends on GPIO_NCT38XX_INTERRUPT 39 help 40 NCT38XX alert handler initialization priority. This initialization 41 must take place after the alert GPIO device is initialized. 42 43endif # GPIO_NCT38XX 44