2020-11-27 19:24:51

by Randy Dunlap

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

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


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

On 27.11.20 19:45, Randy Dunlap wrote:
> 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

thx. fixed in v2.


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

--
---
Hinweis: unverschlüsselte E-Mails können leicht abgehört und manipuliert
werden ! Für eine vertrauliche Kommunikation senden Sie bitte ihren
GPG/PGP-Schlüssel zu.
---
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
[email protected] -- +49-151-27565287