]> git.dujemihanovic.xyz Git - u-boot.git/commit
pinctrl: meson: axg: Fix PIN and BANK offsets
authorGuillaume La Roque <glaroque@baylibre.com>
Mon, 8 Apr 2019 08:09:49 +0000 (10:09 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Wed, 10 Apr 2019 14:54:59 +0000 (16:54 +0200)
commit2c4e3cf21257f962e69264fe91ff2cc23cbd041a
treef65a7ec3f929402b9037feb4c49f670df78060d6
parentfd6b934d060bd4cab386fc9332319eadd9d95f01
pinctrl: meson: axg: Fix PIN and BANK offsets

Periphs bank offset must be applied on all pins and
PMX bank to prevent issue in meson_pinconf_set call.
Without offset on pins when a call to pinconf is done
meson_gpio_calc_reg_and_bit return wrong offset.
To avoid breaking pmx function offset is needed in pmx bank structure too.

Signed-off-by: Guillaume La Roque <glaroque@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
drivers/pinctrl/meson/pinctrl-meson-axg.c