Re: [PATCH V3 1/3] gpio: Add virtio-gpio driver

From
Geert Uytterhoeven <geert@linux-m68k.org>
Date
2021-06-15 11:37:50
Also in
linux-gpio, lkml
Reply to
Viresh Kumar, 2021-06-15
Hi Viresh,

On Tue, Jun 15, 2021 at 1:15 PM Viresh Kumar [off-list ref] wrote:
On 11-06-21, 10:22, Geert Uytterhoeven wrote:
quoted
The same reasoning can apply to your backend daemon, so when using
the GPIO aggregator, you can just control a full gpiochip, without
having to implement access control on individual GPIO lines.
I tried to look at it and it surely looks very temping and may fit
well and reduce size of my backend :)

I am now wondering how interrupts can be made to work here. Do you
have anything in mind for that ?

GPIO sysfs already supports interrupts, just that you need to register
irq for the specific GPIO pins inside the aggregator ?
So far I hadn't considered interrupts.
Will think about it...

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
Thread (15 messages) 15 messages, 4 authors, last reply 2021-06-16
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help