2022-05-03 18:54:04 +08:00
|
|
|
# Copyright (c) 2022 Matthias Freese
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
config GPIO_SN74HC595
|
|
|
|
bool "SN74HC595 shift register as GPIO extender"
|
2022-07-21 01:07:47 +08:00
|
|
|
default y
|
|
|
|
depends on DT_HAS_TI_SN74HC595_ENABLED
|
2022-05-03 18:54:04 +08:00
|
|
|
depends on SPI
|
|
|
|
help
|
|
|
|
Use SN74HC595 as GPIO extender
|
|
|
|
|
|
|
|
if GPIO_SN74HC595
|
|
|
|
|
|
|
|
config GPIO_SN74HC595_INIT_PRIORITY
|
|
|
|
int "Init priority"
|
|
|
|
default 71
|
|
|
|
help
|
|
|
|
Device driver initialization priority.
|
|
|
|
|
|
|
|
endif
|