Thread (24 messages) 24 messages, 6 authors, 2021-08-05

[PATCH v6 9/9] gpio: gpio-aspeed-sgpio: Return error if ngpios is not multiple of 8.

From: Linus Walleij <hidden>
Date: 2021-07-23 10:00:45
Also in: linux-arm-kernel, linux-devicetree, linux-gpio, lkml

On Mon, Jul 12, 2021 at 12:04 PM Steven Lee [off-list ref] wrote:
Add an else-if condition in the probe function to check whether ngpios is
multiple of 8.
Per AST datasheet, numbers of available serial GPIO pins in Serial GPIO
Configuration Register must be n bytes. For instance, if n = 1, it means
AST SoC supports 8 GPIO pins.

Signed-off-by: Steven Lee <redacted>
Reviewed-by: Andrew Jeffery <redacted>
Reviewed-by: Linus Walleij <redacted>

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help