Re: [PATCH] drivers: gpio: add virtio-gpio guest driver

From: Randy Dunlap
Date: Fri Nov 27 2020 - 13:49:19 EST


On 11/27/20 10:30 AM, Enrico Weigelt, metux IT consult wrote:
> diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
> index 5d4de5cd6759..e8414d82cf75 100644
> --- a/drivers/gpio/Kconfig
> +++ b/drivers/gpio/Kconfig
> @@ -1613,4 +1613,13 @@ config GPIO_MOCKUP
> tools/testing/selftests/gpio/gpio-mockup.sh. Reference the usage in
> it.
>
> +config GPIO_VIRTIO
> + tristate "VirtIO GPIO support"
> + depends on VIRTIO
> + help
> + Say Y here to enable guest support for virtio based GPIOs.

virtio-based

> +
> + These virtual gpios can be routed to real GPIOs or attached to

GPIOs

> + simulators on the host (qemu).
> +
> endif


--
~Randy