[PATCH 5/6] pinctrl: sunxi: Make some layout parameters dynamic

Heiko Stuebner heiko at sntech.de
Fri Jul 1 06:09:18 PDT 2022


Am Sonntag, 26. Juni 2022, 04:11:46 CEST schrieb Samuel Holland:
> Starting with the D1/D1s/T113 SoC, Allwinner changed the layout of the
> pinctrl registers. This new layout widens the drive level field, which
> affects the pull register offset and the overall bank size.
> 
> In order to support multiple register layouts, some of the layout
> parameters need to be set based on the pinctrl variant. This requires
> passing the pinctrl struct pointer to the register/offset calculation
> functions.
> 
> Signed-off-by: Samuel Holland <samuel at sholland.org>

On a D1-Nezha
Tested-by: Heiko Stuebner <heiko at sntech.de>

Reviewed-by: Heiko Stuebner <heiko at sntech.de>





More information about the linux-arm-kernel mailing list