]> asedeno.scripts.mit.edu Git - linux.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)
commit42f9b48cc5402be11d2364275eb18c257d2a79e8
treea13970bac1945c3a5415d3468f7e1564b2b7ed28
parent9b4924da4711674e62d97d4f5360446cc78337af
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: 9dab1868ec0db4 ("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