diff mbox series

[1/2] pinctrl: meson-g12a: add pwm_d option

Message ID 20240905152951.83481-1-theo.debrouwere@faytech.de (mailing list archive)
State New
Headers show
Series [1/2] pinctrl: meson-g12a: add pwm_d option | expand

Commit Message

Theo Debrouwere Sept. 5, 2024, 3:29 p.m. UTC
Add missing PWM_D pin muxing for GPIOA_4.

Signed-off-by: Theo Debrouwere <theo.debrouwere@faytech.de>
---
 drivers/pinctrl/meson/pinctrl-meson-g12a.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Martin Blumenstingl Sept. 9, 2024, 8:31 p.m. UTC | #1
On Thu, Sep 5, 2024 at 6:46 PM Theo Debrouwere
<theo.debrouwere@gmail.com> wrote:
>
> Add missing PWM_D pin muxing for GPIOA_4.
>
> Signed-off-by: Theo Debrouwere <theo.debrouwere@faytech.de>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
diff mbox series

Patch

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[] = {