Re: GPIO: Performance sensitive applications, gpiochip-level locking

From: Mark Brown
Date: Fri Oct 04 2013 - 11:09:20 EST


On Mon, Sep 30, 2013 at 10:29:26AM -0700, Darren Hart wrote:

> Is there a best practice for dealing with this kind of configuration?

> If not, would it make sense to add optional gpiochip-level lock/unlock
> and lockless direction and value operations to the gpiochip function
> block?

Another thing people keep suggesting for this is a block GPIO set
operation - something that will let you configure multiple GPIOs with a
single call. That maps nicely onto hardware which has a single register
for multiple GPIOs but there's been abstraction problems implementing
it.

Attachment: signature.asc
Description: Digital signature