• Icenowy Zheng's avatar
    pinctrl: sunxi: add support for the Allwinner H6 main pin controller · c8a83090
    Icenowy Zheng authored
    
    
    The Allwinner H6 SoC has two pin controllers, one main controller
    (called CPUX-PORT in user manual) and one controller in CPUs power
    domain (called CPUS-PORT in user manual).
    
    This commit introduces support for the main pin controller on H6.
    
    The pin bank A and B are not wired out and hidden from the SoC's
    documents, however it's shown that the "ATE" (an AC200 chip
    co-packaged with the H6 die) is connected to the main SoC die via these
    pin banks. The information about these banks is just copied from the BSP
    pinctrl driver, but re-formatted to fit the mainline pinctrl driver
    format. The GPIO functions are dropped, as they're impossible to use --
    except a GPIO&IRQ only pin (PB20) which might be the IRQ of ATE.
    Signed-off-by: default avatarIcenowy Zheng <icenowy@aosc.io>
    Acked-by: default avatarRob Herring <robh@kernel.org>
    Reviewed-by: default avatarAndre Przywara <andre.przywara@arm.com>
    Acked-by: default avatarMaxime Ripard <maxime.ripard@bootlin.com>
    Signed-off-by: Linus Walleij <linus.wall...
    c8a83090
Makefile 1.08 KB