[PATCH 3/5] gpio: aspeed-sgpio: Create llops to handle hardware access

Andrew Lunn andrew at lunn.ch
Mon Jan 19 06:20:39 PST 2026


> We did consider regmap. However, llops is intended to abstract not only
> register
> 
> access but also layout-specific bit mapping, which is difficult to express
> 
> cleanly with a flat regmap interface.

O.K. I was just thinking, if you can swap to regmap, you could maybe
then go one step further and use gpio_regmap_register(). But if you
have extra logic in here, that will not work.

     Andrew



More information about the linux-arm-kernel mailing list