Re: SV: [PATCH RFC] gpio: new driver for a gpio simulator

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 12, 2018 at 11:27:18AM +0200, Einar Vading wrote:
> On Fri, Oct 12, 2018 at 11:06:12AM +0200, Uwe Kleine-König wrote:
> > Would it help to instanciate more than one gpio-simulator?
> 
> Hmm, I don't think that would pose a problem. With DT it would be easy to name
> the GPIOs and get then get them by name. What gpiochip they are on should not
> matter... I think.

The only downside is that you cannot atomically set GPIOs on different
chips. I didn't try to use naming, but maybe the gpio framework is good
enough that it just works.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux