1# SX1509B GPIO configuration options 2 3# Copyright (c) 2018 Aapo Vienamo 4# SPDX-License-Identifier: Apache-2.0 5 6menuconfig GPIO_SX1509B 7 bool "SX1509B I2C GPIO chip" 8 default y 9 depends on DT_HAS_SEMTECH_SX1509B_ENABLED 10 select I2C 11 help 12 Enable driver for SX1509B I2C GPIO chip. 13 14if GPIO_SX1509B 15 16config GPIO_SX1509B_INIT_PRIORITY 17 int "Init priority" 18 default 70 19 help 20 Device driver initialization priority. 21 22config GPIO_SX1509B_INTERRUPT 23 bool "Interrupt enable" 24 help 25 Enable support for interrupts on GPIO pins. 26 27config GPIO_SX1509B_DEBOUNCE_TIME 28 int "Debounce time interval" 29 range 0 7 30 default 0 31 help 32 Debounce time interval when debounce enabled. 33 34 A value V produces a multiplier of 0.5 ms * 2^V, which is 35 then scaled by 2 MHz / fOSC. See the datasheet for details. 36 37endif # GPIO_SX1509B 38