pinctrl: sunxi: Add the A64 PWM pinmux
authorSamuel Holland <samuel@sholland.org>
Sat, 28 Aug 2021 20:52:52 +0000 (15:52 -0500)
committerAndre Przywara <andre.przywara@arm.com>
Mon, 4 Apr 2022 22:24:17 +0000 (23:24 +0100)
This is the only possible mux setting for the A64's PWM peripheral.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
drivers/pinctrl/sunxi/pinctrl-sunxi.c

index 7e66c30..b8ca452 100644 (file)
@@ -581,6 +581,7 @@ static const struct sunxi_pinctrl_function sun50i_a64_pinctrl_functions[] = {
        { "mmc0",       2 },    /* PF0-PF5 */
        { "mmc1",       2 },    /* PG0-PG5 */
        { "mmc2",       3 },    /* PC1-PC16 */
+       { "pwm",        2 },    /* PD22 */
 #if IS_ENABLED(CONFIG_UART0_PORT_F)
        { "uart0",      3 },    /* PF2-PF4 */
 #else