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

From: Heiko Stuebner
Date: Fri Jul 01 2022 - 09:09:30 EST


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@xxxxxxxxxxxx>

On a D1-Nezha
Tested-by: Heiko Stuebner <heiko@xxxxxxxxx>

Reviewed-by: Heiko Stuebner <heiko@xxxxxxxxx>