]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: meson: meson8: fix the GPIO function for the GPIOAO pins
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sun, 9 Dec 2018 19:50:50 +0000 (20:50 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 21 Dec 2018 09:58:38 +0000 (10:58 +0100)
commitd0d9d9197f1d92c824400596e738531e1cb2367e
treea13970bac1945c3a5415d3468f7e1564b2b7ed28
parent2639710be55915a6cb033d733d78f7b7297d12e8
pinctrl: meson: meson8: fix the GPIO function for the GPIOAO pins

The GPIOAO pins (as well as the two exotic GPIO_BSD_EN and GPIO_TEST_N)
only belong to the pin controller in the AO domain. With the current
definition these pins cannot be referred to in .dts files as group
(which is possible on GXBB and GXL for example).

Add a separate "gpio_aobus" function to fix the mapping between the pin
controller and the GPIO pins in the AO domain. This is similar to how
the GXBB and GXL drivers implement this functionality.

Fixes: 0cb5f5dc4fd858 ("pinctrl: amlogic: Make driver independent from two-domain configuration")
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/meson/pinctrl-meson8.c