]> git.baikalelectronics.ru Git - uboot.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)
commitfde509fdf5d37d6ba8bfebfa0682d33bdb4a03e0
treef65a7ec3f929402b9037feb4c49f670df78060d6
parentd31944350f9cb7149e180abba476d0e070f60850
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