diff options
author | Samuel Holland <[email protected]> | 2022-07-12 21:52:32 -0500 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2022-07-18 11:39:33 +0200 |
commit | 622b681ef9d9e7d636108cda4e45a2a7695ebe92 (patch) | |
tree | c55fd5e6388deb1ef966c72214e6470158a8ce2c /lib/mpi/mpi-sub-ui.c | |
parent | 0bb95ae2672f9e00f471598a515bf4e9c2005046 (diff) |
pinctrl: sunxi: Make some layout parameters dynamic
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.
Reviewed-by: Jernej Skrabec <[email protected]>
Reviewed-by: Heiko Stuebner <[email protected]>
Tested-by: Heiko Stuebner <[email protected]>
Signed-off-by: Samuel Holland <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions