[RFC PATCH 20/23] pinctrl: sunxi: a64: Add the PWM pinmux

Samuel Holland samuel at sholland.org
Thu Oct 21 06:55:37 CEST 2021


This is the only possible mux setting for the PWM peripheral.

Signed-off-by: Samuel Holland <samuel at sholland.org>
---

 drivers/pinctrl/sunxi/pinctrl-sun50i-a64.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pinctrl/sunxi/pinctrl-sun50i-a64.c b/drivers/pinctrl/sunxi/pinctrl-sun50i-a64.c
index 59afa04e2f..dae155cd13 100644
--- a/drivers/pinctrl/sunxi/pinctrl-sun50i-a64.c
+++ b/drivers/pinctrl/sunxi/pinctrl-sun50i-a64.c
@@ -15,6 +15,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
-- 
2.32.0



More information about the U-Boot mailing list