Skip to content

Commit

Permalink
pinctrl: meson: fix meson8 ao pull register bits
Browse files Browse the repository at this point in the history
AO pull register definition is inverted between pull (up/down) and
pull enable. Fixing this allows to properly apply bias setting
through pinconf

Fixes: 6ac7309 ("pinctrl: add driver for Amlogic Meson SoCs")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
Jerome Brunet authored and Linus Walleij committed Nov 5, 2018
1 parent ed3a2b7 commit e91b162
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pinctrl/meson/pinctrl-meson8.c
Original file line number Diff line number Diff line change
Expand Up @@ -1053,7 +1053,7 @@ static struct meson_bank meson8_cbus_banks[] = {

static struct meson_bank meson8_aobus_banks[] = {
/* name first last irq pullen pull dir out in */
BANK("AO", GPIOAO_0, GPIO_TEST_N, 0, 13, 0, 0, 0, 16, 0, 0, 0, 16, 1, 0),
BANK("AO", GPIOAO_0, GPIO_TEST_N, 0, 13, 0, 16, 0, 0, 0, 0, 0, 16, 1, 0),
};

static struct meson_pinctrl_data meson8_cbus_pinctrl_data = {
Expand Down

0 comments on commit e91b162

Please sign in to comment.