45 lines
948 B
Plaintext
45 lines
948 B
Plaintext
|
# 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
|