Commit 46f34189 authored by Gary Bisson's avatar Gary Bisson Committed by Linus Walleij

pinctrl: meson-g12a: add more pwm_f options

Add missing PWM_F pin muxing for GPIOA_11 and GPIOZ_12.
Signed-off-by: default avatarGary Bisson <gary.bisson@boundarydevices.com>
Reviewed-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
Link: https://lore.kernel.org/r/20220112211642.2248901-2-gary.bisson@boundarydevices.comSigned-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 768f8d8e
...@@ -283,6 +283,8 @@ static const unsigned int pwm_d_x6_pins[] = { GPIOX_6 }; ...@@ -283,6 +283,8 @@ static const unsigned int pwm_d_x6_pins[] = { GPIOX_6 };
static const unsigned int pwm_e_pins[] = { GPIOX_16 }; static const unsigned int pwm_e_pins[] = { GPIOX_16 };
/* pwm_f */ /* pwm_f */
static const unsigned int pwm_f_z_pins[] = { GPIOZ_12 };
static const unsigned int pwm_f_a_pins[] = { GPIOA_11 };
static const unsigned int pwm_f_x_pins[] = { GPIOX_7 }; static const unsigned int pwm_f_x_pins[] = { GPIOX_7 };
static const unsigned int pwm_f_h_pins[] = { GPIOH_5 }; static const unsigned int pwm_f_h_pins[] = { GPIOH_5 };
...@@ -618,6 +620,7 @@ static struct meson_pmx_group meson_g12a_periphs_groups[] = { ...@@ -618,6 +620,7 @@ static struct meson_pmx_group meson_g12a_periphs_groups[] = {
GROUP(tdm_c_dout2_z, 4), GROUP(tdm_c_dout2_z, 4),
GROUP(tdm_c_dout3_z, 4), GROUP(tdm_c_dout3_z, 4),
GROUP(mclk1_z, 4), GROUP(mclk1_z, 4),
GROUP(pwm_f_z, 5),
/* bank GPIOX */ /* bank GPIOX */
GROUP(sdio_d0, 1), GROUP(sdio_d0, 1),
...@@ -768,6 +771,7 @@ static struct meson_pmx_group meson_g12a_periphs_groups[] = { ...@@ -768,6 +771,7 @@ static struct meson_pmx_group meson_g12a_periphs_groups[] = {
GROUP(tdm_c_dout3_a, 2), GROUP(tdm_c_dout3_a, 2),
GROUP(mclk0_a, 1), GROUP(mclk0_a, 1),
GROUP(mclk1_a, 2), GROUP(mclk1_a, 2),
GROUP(pwm_f_a, 3),
}; };
/* uart_ao_a */ /* uart_ao_a */
...@@ -1069,7 +1073,7 @@ static const char * const pwm_e_groups[] = { ...@@ -1069,7 +1073,7 @@ static const char * const pwm_e_groups[] = {
}; };
static const char * const pwm_f_groups[] = { static const char * const pwm_f_groups[] = {
"pwm_f_x", "pwm_f_h", "pwm_f_z", "pwm_f_a", "pwm_f_x", "pwm_f_h",
}; };
static const char * const cec_ao_a_h_groups[] = { static const char * const cec_ao_a_h_groups[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment