]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 7e66c30f859c8cc9a2d87307d8c16b7f8c27de3d..b8ca452e83a59b2a695a1ae87668012733b8fd3f 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