Re: [PATCH V2 3/3] gpio: modepin: Add driver support for modepin GPIO controller

From: Linus Walleij
Date: Wed Aug 11 2021 - 11:12:48 EST


On Thu, Aug 5, 2021 at 7:43 PM Piyush Mehta <piyush.mehta@xxxxxxxxxx> wrote:

> This patch adds driver support for the zynqmp modepin GPIO controller.
> GPIO modepin driver set and get the value and status of the PS_MODE pin,
> based on device-tree pin configuration. These four mode pins are
> configurable as input/output. The mode pin has a control register, which
> have lower four-bits [0:3] are configurable as input/output, next four-bits
> can be used for reading the data as input[4:7], and next setting the
> output pin state output[8:11].
>
> Signed-off-by: Piyush Mehta <piyush.mehta@xxxxxxxxxx>
> ---
> Changes in v2:

After discussion with Michal:
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij