zephyr/drivers/gpio/Kconfig.sx1509b

42 lines
917 B
Plaintext
Raw Normal View History

# 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 GPIO && I2C
help
Enable driver for SX1509B I2C GPIO chip.
config GPIO_SX1509B_INIT_PRIORITY
int "Init priority"
default 70
help
Device driver initialization priority.
if !HAS_DTS_I2C_DEVICE
config GPIO_SX1509B_DEV_NAME
string "SX1509B GPIO chip Device Name"
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"
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"
help
Specify the device name of the I2C master device to which SX1509B
chip is binded.
endif