diff mbox series

pinctrl: sunxi: f1c100s: Fix signal name comment for PA2 SPI pin

Message ID 20220504170736.2669595-1-andre.przywara@arm.com
State Accepted
Commit e199975b775a37750903025915f7bc0ccda829e5
Headers show
Series pinctrl: sunxi: f1c100s: Fix signal name comment for PA2 SPI pin | expand

Commit Message

Andre Przywara May 4, 2022, 5:07 p.m. UTC
The manual describes function 0x6 of pin PA2 as "SPI1_CLK", so change
the comment to reflect that.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
---
 drivers/pinctrl/sunxi/pinctrl-suniv-f1c100s.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jernej Škrabec May 4, 2022, 5:16 p.m. UTC | #1
Dne sreda, 04. maj 2022 ob 19:07:36 CEST je Andre Przywara napisal(a):
> The manual describes function 0x6 of pin PA2 as "SPI1_CLK", so change
> the comment to reflect that.
> 
> Signed-off-by: Andre Przywara <andre.przywara@arm.com>

Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>

Best regards,
Jernej

> ---
>  drivers/pinctrl/sunxi/pinctrl-suniv-f1c100s.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/pinctrl/sunxi/pinctrl-suniv-f1c100s.c b/drivers/pinctrl/
sunxi/pinctrl-suniv-f1c100s.c
> index 2801ca7062732..8109efac341e2 100644
> --- a/drivers/pinctrl/sunxi/pinctrl-suniv-f1c100s.c
> +++ b/drivers/pinctrl/sunxi/pinctrl-suniv-f1c100s.c
> @@ -51,7 +51,7 @@ static const struct sunxi_desc_pin suniv_f1c100s_pins[] = 
{
>  		  SUNXI_FUNCTION(0x3, "pwm0"),		/* PWM0 
*/
>  		  SUNXI_FUNCTION(0x4, "i2s"),		/* IN */
>  		  SUNXI_FUNCTION(0x5, "uart1"),		/* RX */
> -		  SUNXI_FUNCTION(0x6, "spi1")),		/* MOSI 
*/
> +		  SUNXI_FUNCTION(0x6, "spi1")),		/* CLK 
*/
>  	SUNXI_PIN(SUNXI_PINCTRL_PIN(A, 3),
>  		  SUNXI_FUNCTION(0x0, "gpio_in"),
>  		  SUNXI_FUNCTION(0x1, "gpio_out"),
> -- 
> 2.25.1
> 
>
Linus Walleij May 13, 2022, 11:07 p.m. UTC | #2
On Wed, May 4, 2022 at 7:07 PM Andre Przywara <andre.przywara@arm.com> wrote:

> The manual describes function 0x6 of pin PA2 as "SPI1_CLK", so change
> the comment to reflect that.
>
> Signed-off-by: Andre Przywara <andre.przywara@arm.com>

Patch applied, thanks Andre!

Yours,
Linus Walleij
diff mbox series

Patch

diff --git a/drivers/pinctrl/sunxi/pinctrl-suniv-f1c100s.c b/drivers/pinctrl/sunxi/pinctrl-suniv-f1c100s.c
index 2801ca7062732..8109efac341e2 100644
--- a/drivers/pinctrl/sunxi/pinctrl-suniv-f1c100s.c
+++ b/drivers/pinctrl/sunxi/pinctrl-suniv-f1c100s.c
@@ -51,7 +51,7 @@  static const struct sunxi_desc_pin suniv_f1c100s_pins[] = {
 		  SUNXI_FUNCTION(0x3, "pwm0"),		/* PWM0 */
 		  SUNXI_FUNCTION(0x4, "i2s"),		/* IN */
 		  SUNXI_FUNCTION(0x5, "uart1"),		/* RX */
-		  SUNXI_FUNCTION(0x6, "spi1")),		/* MOSI */
+		  SUNXI_FUNCTION(0x6, "spi1")),		/* CLK */
 	SUNXI_PIN(SUNXI_PINCTRL_PIN(A, 3),
 		  SUNXI_FUNCTION(0x0, "gpio_in"),
 		  SUNXI_FUNCTION(0x1, "gpio_out"),