[PATCH 4/4] gpio: aspeed: Add interfaces for co-processor to grab GPIOs
Benjamin Herrenschmidt
benh at kernel.crashing.org
Fri Jun 29 09:53:11 AEST 2018
On Thu, 2018-06-28 at 15:42 +0200, Linus Walleij wrote:
>
> Aha I see, you need that because while normally the gpiolib
> does the conversion of desc -> offset this is needed here
> in a driver.
>
> Maybe we should just name it gpiod_to_offset() or something
> and make it a public API.
>
> But this is actually OK, you definately need it here, toss in some
> comment or so about what is going on and why this is included
> so we know in the future.
Ok, I'll spin a v4 with the interface addition I need to pass the
offsets to the coprocessor and will add that comment some time today.
Cheers,
Ben.
More information about the Linux-aspeed
mailing list