--- zzzz-none-000/linux-4.4.271/drivers/gpio/Kconfig 2021-06-03 06:22:09.000000000 +0000 +++ hawkeye-5590-750/linux-4.4.271/drivers/gpio/Kconfig 2023-04-19 10:22:28.000000000 +0000 @@ -992,7 +992,6 @@ config GPIO_74X164 tristate "74x164 serial-in/parallel-out 8-bits shift register" - depends on OF help Driver for 74x164 compatible serial-in/parallel-out 8-outputs shift registers. This driver can be used to provide access @@ -1041,4 +1040,33 @@ endmenu +menu "Virtual GPIO drivers" + +config GPIO_AGGREGATOR + tristate "GPIO Aggregator" + help + Say yes here to enable the GPIO Aggregator, which provides a way to + aggregate existing GPIO lines into a new virtual GPIO chip. + This can serve the following purposes: + - Assign permissions for a collection of GPIO lines to a user, + - Export a collection of GPIO lines to a virtual machine, + - Provide a generic driver for a GPIO-operated device in an + industrial control context, to be operated from userspace using + the GPIO chardev interface. + +endmenu + +comment "Other GPIO expanders" + +config GPIO_NXP_74HC153 + tristate "NXP 74HC153 Dual 4-input multiplexer" + help + Platform driver for NXP 74HC153 Dual 4-input Multiplexer. This + provides a GPIO interface supporting input mode only. + +config GPIO_LATCH + tristate "GPIO latch driver" + help + Say yes here to enable a GPIO latch driver. + endif