blob: eac961559a2002f2a006b67a3f64008684ce1e97 [file] [log] [blame]
# Kconfig.sx1509b - SX1509B GPIO configuration options
#
#
# Copyright (c) 2018 Aapo Vienamo
#
# SPDX-License-Identifier: Apache-2.0
#
menuconfig GPIO_SX1509B
bool "SX1509B I2C GPIO chip"
depends on I2C
select HAS_DTS_GPIO
help
Enable driver for SX1509B I2C GPIO chip.
config GPIO_SX1509B_INIT_PRIORITY
int "Init priority"
depends on GPIO_SX1509B
default 70
help
Device driver initialization priority.
if !HAS_DTS_I2C
config GPIO_SX1509B_DEV_NAME
string "SX1509B GPIO chip Device Name"
depends on GPIO_SX1509B
default "GPIO_P0"
help
Specify the device name for the SX1509B I2C GPIO chip.
config GPIO_SX1509B_I2C_ADDR
hex "SX1509B GPIO chip I2C slave address"
depends on GPIO_SX1509B
default 0x3e
help
Specify the I2C slave address for the SX1509B I2C GPIO chip.
config GPIO_SX1509B_I2C_MASTER_DEV_NAME
string "I2C Master to which SX1509B GPIO chip is connected"
depends on GPIO_SX1509B
help
Specify the device name of the I2C master device to which SX1509B
chip is binded.
endif