]> git.ipfire.org Git - people/arne_f/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Feb 2019 18:47:16 +0000 (19:47 +0100)
commita41cd69e4408db958b88fc9aca970d36cdeed3ad
treed9c1575bbf4b9961fe7dae209cca616f219ce7bd
parent098fa489721388ffce46c24dea941bdbf7b1ccac
pinctrl: meson: meson8b: fix the GPIO function for the GPIOAO pins

[ Upstream commit 2b745ac3cceb8fc1d9985990c8241a821ea97e53 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/pinctrl/meson/pinctrl-meson8b.c