mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-27 06:34:11 +08:00
pinctrl: meson-g12a: add pwm_a on GPIOE_2 pinmux
Add the missing pinmux for the pwm_a function on the GPIOE_2 pin. Reviewed-by: Kevin Hilman <khilman@baylibre.com> Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Link: https://lore.kernel.org/r/20190729125838.6498-1-narmstrong@baylibre.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
87e1ee238e
commit
726e8d8137
@ -801,6 +801,9 @@ static const unsigned int remote_ao_input_pins[] = { GPIOAO_5 };
|
|||||||
/* ir_out */
|
/* ir_out */
|
||||||
static const unsigned int remote_ao_out_pins[] = { GPIOAO_4 };
|
static const unsigned int remote_ao_out_pins[] = { GPIOAO_4 };
|
||||||
|
|
||||||
|
/* pwm_a_e */
|
||||||
|
static const unsigned int pwm_a_e_pins[] = { GPIOE_2 };
|
||||||
|
|
||||||
/* pwm_ao_a */
|
/* pwm_ao_a */
|
||||||
static const unsigned int pwm_ao_a_pins[] = { GPIOAO_11 };
|
static const unsigned int pwm_ao_a_pins[] = { GPIOAO_11 };
|
||||||
static const unsigned int pwm_ao_a_hiz_pins[] = { GPIOAO_11 };
|
static const unsigned int pwm_ao_a_hiz_pins[] = { GPIOAO_11 };
|
||||||
@ -888,6 +891,7 @@ static struct meson_pmx_group meson_g12a_aobus_groups[] = {
|
|||||||
GROUP(i2c_ao_slave_sda, 3),
|
GROUP(i2c_ao_slave_sda, 3),
|
||||||
GROUP(remote_ao_input, 1),
|
GROUP(remote_ao_input, 1),
|
||||||
GROUP(remote_ao_out, 1),
|
GROUP(remote_ao_out, 1),
|
||||||
|
GROUP(pwm_a_e, 3),
|
||||||
GROUP(pwm_ao_a, 3),
|
GROUP(pwm_ao_a, 3),
|
||||||
GROUP(pwm_ao_a_hiz, 2),
|
GROUP(pwm_ao_a_hiz, 2),
|
||||||
GROUP(pwm_ao_b, 3),
|
GROUP(pwm_ao_b, 3),
|
||||||
@ -1192,6 +1196,10 @@ static const char * const remote_ao_out_groups[] = {
|
|||||||
"remote_ao_out",
|
"remote_ao_out",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static const char * const pwm_a_e_groups[] = {
|
||||||
|
"pwm_a_e",
|
||||||
|
};
|
||||||
|
|
||||||
static const char * const pwm_ao_a_groups[] = {
|
static const char * const pwm_ao_a_groups[] = {
|
||||||
"pwm_ao_a", "pwm_ao_a_hiz",
|
"pwm_ao_a", "pwm_ao_a_hiz",
|
||||||
};
|
};
|
||||||
@ -1290,6 +1298,7 @@ static struct meson_pmx_func meson_g12a_aobus_functions[] = {
|
|||||||
FUNCTION(i2c_ao_slave),
|
FUNCTION(i2c_ao_slave),
|
||||||
FUNCTION(remote_ao_input),
|
FUNCTION(remote_ao_input),
|
||||||
FUNCTION(remote_ao_out),
|
FUNCTION(remote_ao_out),
|
||||||
|
FUNCTION(pwm_a_e),
|
||||||
FUNCTION(pwm_ao_a),
|
FUNCTION(pwm_ao_a),
|
||||||
FUNCTION(pwm_ao_b),
|
FUNCTION(pwm_ao_b),
|
||||||
FUNCTION(pwm_ao_c),
|
FUNCTION(pwm_ao_c),
|
||||||
|
Loading…
Reference in New Issue
Block a user