Re: [PATCH 3/3] gpio: mmio: Use new flag BGPIOF_NO_INPUT

From: Linus Walleij
Date: Fri Jan 27 2023 - 07:53:44 EST


On Thu, Jan 26, 2023 at 11:18 AM Niall Leonard via B4 Submission
Endpoint <devnull+nl250060.ncr.com@xxxxxxxxxx> wrote:

> From: Niall Leonard <nl250060@xxxxxxx>
>
> Use the existing shadow data register 'bgpio_data' to allow
> the last written value to be returned by the read operation
> when BGPIOF_NO_INPUT flag is set.
>
> Signed-off-by: Niall Leonard <nl250060@xxxxxxx>

Weird hardware, but given these restrictions it makes perfect sense
to have this.
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij