[PATCH 1/2] pinctrl: meson-g12a: add pwm_d option
Theo Debrouwere
theo.debrouwere at gmail.com
Thu Sep 5 08:29:50 PDT 2024
Add missing PWM_D pin muxing for GPIOA_4.
Signed-off-by: Theo Debrouwere <theo.debrouwere at faytech.de>
---
drivers/pinctrl/meson/pinctrl-meson-g12a.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/pinctrl/meson/pinctrl-meson-g12a.c b/drivers/pinctrl/meson/pinctrl-meson-g12a.c
index 32830269a5b4..6d927abbf8d0 100644
--- a/drivers/pinctrl/meson/pinctrl-meson-g12a.c
+++ b/drivers/pinctrl/meson/pinctrl-meson-g12a.c
@@ -277,6 +277,7 @@ static const unsigned int pwm_c_x5_pins[] = { GPIOX_5 };
static const unsigned int pwm_c_x8_pins[] = { GPIOX_8 };
/* pwm_d */
+static const unsigned int pwm_d_a4_pins[] = { GPIOA_4 };
static const unsigned int pwm_d_x3_pins[] = { GPIOX_3 };
static const unsigned int pwm_d_x6_pins[] = { GPIOX_6 };
@@ -773,6 +774,7 @@ static struct meson_pmx_group meson_g12a_periphs_groups[] = {
GROUP(mclk0_a, 1),
GROUP(mclk1_a, 2),
GROUP(pwm_f_a, 3),
+ GROUP(pwm_d_a4, 3),
};
/* uart_ao_a */
@@ -1066,7 +1068,7 @@ static const char * const pwm_c_groups[] = {
};
static const char * const pwm_d_groups[] = {
- "pwm_d_x3", "pwm_d_x6",
+ "pwm_d_x3", "pwm_d_x6", "pwm_d_a4",
};
static const char * const pwm_e_groups[] = {
--
2.45.2
More information about the linux-amlogic
mailing list