[PATCH v7 5/7] gpio: aspeed: Create llops to handle hardware access

Andrew Jeffery andrew at codeconstruct.com.au
Wed Oct 9 12:57:01 AEDT 2024


On Tue, 2024-10-08 at 16:14 +0800, Billy Tsai wrote:
> Add low-level operations (llops) to abstract the register access for GPIO
> registers and the coprocessor request/release. With this abstraction
> layer, the driver can separate the hardware and software logic, making it
> easier to extend the driver to support different hardware register
> layouts.
> 
> Signed-off-by: Billy Tsai <billy_tsai at aspeedtech.com>

Reviewed-by: Andrew Jeffery <andrew at codeconstruct.com.au>

I've applied the series to here and booted it on a AST2600. I did some
brief testing with a logic analyzer and gpio{get,set} and didn't see
anything surprising, so:

Tested-by: Andrew Jeffery <andrew at codeconstruct.com.au> # AST2600

Thanks Billy!

Andrew


More information about the Linux-aspeed mailing list