Skip to content

Commit

Permalink
sunxi: gpio: Enable support for H6 pin controller
Browse files Browse the repository at this point in the history
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 <[email protected]>
Tested-by: Corentin Labbe <[email protected]> # Pine-H64
Reviewed-by: Jagan Teki <[email protected]>
  • Loading branch information
Andre-ARM authored and openedev committed Jul 16, 2019
1 parent 10cfbaa commit 0d3c77f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/gpio/sunxi_gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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),
{ }
};

Expand Down

0 comments on commit 0d3c77f

Please sign in to comment.