pinctrl: sun5i: Fix a10s pwm1 pinctrl mapping
Subsystems (2)
PATCH 1/1 pinctrl: sun5i: Fix a10s pwm1 pinctrl mapping
The comment for PG14 mux setting 3 already correctly states that this muxes PG13 to pwm1, but the text ascociated with it said uart3, fix this.
Note that we use "pwm" rather then "pwm1" to be consistent with pwm0 where the mux setting is also simply called "pwm" and to be consistent with sun4i/sun7i which do the same.
--- drivers/pinctrl/sunxi/pinctrl-sun5i-a10s.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pinctrl/sunxi/pinctrl-sun5i-a10s.c +1 -1
@@ -653,7 +653,7 @@ static const struct sunxi_desc_pin sun5i_a10s_pins[] = {SUNXI_FUNCTION (0x0 ,"gpio_in" ),SUNXI_FUNCTION (0x1 ,"gpio_out" ),SUNXI_FUNCTION (0x2 ,"spi1" ),/* CS1 */ -SUNXI_FUNCTION (0x3 ,"uart3" ),/* PWM1 */ +SUNXI_FUNCTION (0x3 ,"pwm" ),/* PWM1 */ SUNXI_FUNCTION (0x5 ,"uart2" ),/* CTS */ SUNXI_FUNCTION_IRQ(0x6, 13)), /* EINT13 */ };
Signature · 1 line
2.4.3
PATCH 1/1 pinctrl: sun5i: Fix a10s pwm1 pinctrl mapping
Quoted 8 lines · Hans de Goede
The comment for PG14 mux setting 3 already correctly states that this muxes PG13 to pwm1, but the text ascociated with it said uart3, fix this.
Note that we use "pwm" rather then "pwm1" to be consistent with pwm0 where the mux setting is also simply called "pwm" and to be consistent with sun4i/sun7i which do the same.
Signed-off-by Hans de Goede <[email protected]>
Thanks!
Maxime
Signature · 10 lines
Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150920/68a7caf5/attachment.sig>
PATCH 1/1 pinctrl: sun5i: Fix a10s pwm1 pinctrl mapping
In reply to Hans de GoedeQuoted 8 lines · Hans de Goede
The comment for PG14 mux setting 3 already correctly states that this muxes PG13 to pwm1, but the text ascociated with it said uart3, fix this.
Note that we use "pwm" rather then "pwm1" to be consistent with pwm0 where the mux setting is also simply called "pwm" and to be consistent with sun4i/sun7i which do the same.
Signed-off-by Hans de Goede <[email protected]>
Patch applied for fixes with Maxime's ACK.
Yours,
Linus Walleij