Commit 7ff0bcb2 authored by Chen-Yu Tsai's avatar Chen-Yu Tsai Committed by Greg Kroah-Hartman
Browse files

pinctrl: sunxi: a83t: Fix IRQ offset typo for PH11

commit 478b6767 upstream.

Pin PH11 is used on various A83T board to detect a change in the OTG
port's ID pin, as in when an OTG host cable is plugged in.

The incorrect offset meant the gpiochip/irqchip was activating the wrong
pin for interrupts.

Fixes: 4730f33f

 ("pinctrl: sunxi: add allwinner A83T PIO controller support")
Cc: <>
Signed-off-by: default avatarChen-Yu Tsai <>
Acked-by: Maxime Ripard's avatarMaxime Ripard <>
Signed-off-by: default avatarLinus Walleij <>
Signed-off-by: default avatarGreg Kroah-Hartman <>
parent 30c64b5a
......@@ -568,7 +568,7 @@ static const struct sunxi_desc_pin sun8i_a83t_pins[] = {
SUNXI_FUNCTION(0x0, "gpio_in"),
SUNXI_FUNCTION(0x1, "gpio_out"),
SUNXI_FUNCTION_IRQ_BANK(0x6, 2, 1)), /* PH_EINT11 */
SUNXI_FUNCTION_IRQ_BANK(0x6, 2, 11)), /* PH_EINT11 */
static const struct sunxi_pinctrl_desc sun8i_a83t_pinctrl_data = {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment