]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: meson: meson8b: fix the GPIO function for the GPIOAO pins
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sun, 9 Dec 2018 19:50:51 +0000 (20:50 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 21 Dec 2018 09:59:03 +0000 (10:59 +0100)
commitb2c0b9f5316e4c9bf6d3a16e544adc68efe9aaa4
tree571c75fa5463b824e779020a3c6ee9175096b012
parentd0d9d9197f1d92c824400596e738531e1cb2367e
pinctrl: meson: meson8b: 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-meson8b.c