Thread (31 messages) 31 messages, 5 authors, 2021-06-16

Re: [PATCH v5 10/10] gpio: gpio-aspeed-sgpio: Return error if ngpios is not multiple of 8.

From: Andrew Jeffery <hidden>
Date: 2021-06-09 00:56:34
Also in: linux-arm-kernel, linux-devicetree, linux-gpio, lkml


On Tue, 8 Jun 2021, at 19:55, Steven Lee 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>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help