sunxi: gpio: Enable support for H6 pin controller
authorAndre Przywara <andre.przywara@arm.com>
Sun, 23 Jun 2019 14:09:47 +0000 (15:09 +0100)
committerJagan Teki <jagan@amarulasolutions.com>
Tue, 16 Jul 2019 11:43:15 +0000 (17:13 +0530)
The Allwinner H6 pin controller is not really special, at least not when
it comes to normal GPIO operation.

Add the H6 compatible strings to the list of recognised strings, to make
GPIOs work for H6 boards.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Tested-by: Corentin Labbe <clabbe.montjoie@gmail.com> # Pine-H64
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/gpio/sunxi_gpio.c

index cbed8d42b771946522cce0c17bec3a43dc4337fe..719efc2cef0c78fcca06ac2fcc4df68a106d73b5 100644 (file)
@@ -354,12 +354,14 @@ static const struct udevice_id sunxi_gpio_ids[] = {
        ID("allwinner,sun8i-v3s-pinctrl",       a_all),
        ID("allwinner,sun9i-a80-pinctrl",       a_all),
        ID("allwinner,sun50i-a64-pinctrl",      a_all),
+       ID("allwinner,sun50i-h6-pinctrl",       a_all),
        ID("allwinner,sun6i-a31-r-pinctrl",     l_2),
        ID("allwinner,sun8i-a23-r-pinctrl",     l_1),
        ID("allwinner,sun8i-a83t-r-pinctrl",    l_1),
        ID("allwinner,sun8i-h3-r-pinctrl",      l_1),
        ID("allwinner,sun9i-a80-r-pinctrl",     l_3),
        ID("allwinner,sun50i-a64-r-pinctrl",    l_1),
+       ID("allwinner,sun50i-h6-r-pinctrl",     l_2),
        { }
 };