Re: [PATCH v4 1/2] GPIO: add single-register GPIO via CREG driver

From: Linus Walleij
Date: Wed Oct 10 2018 - 03:21:56 EST


On Fri, Sep 28, 2018 at 3:15 PM Eugeniy Paltsev
<Eugeniy.Paltsev@xxxxxxxxxxxx> wrote:

> Add single-register MMIO GPIO driver for complex cases where
> only several fields in register belong to GPIO lines and each GPIO
> line owns a field with different length and on/off value.
>
> Such CREG GPIOs are used in Synopsys AXS10x and HSDK boards.
>
> Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@xxxxxxxxxxxx>
> ---
> Changes v3->v4:
> * Cleanup 'include' section.
> * Get rid of 'of_mm_gpio_chip' using.
> * Get rid of custom 'creg_gpio_xlate' function.
> * Get rid of dummy 'creg_gpio_get_direction' function.
> * Small fixies.

Patch applied.

Yours,
Linus Walleij