blob: d978aa5f88bd110e05861033bf54514b6687b780 [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 GPIO && I2C
default n
help
Enable driver for SX1509B I2C GPIO chip.
config GPIO_SX1509B_INIT_PRIORITY
int
default 70
prompt "Init priority"
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"
default ""
help
Specify the device name of the I2C master device to which SX1509B
chip is binded.
endif