Skip to contentSkip to conversation

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

PATCH In review Andre Przywara 3 participants 3 messages May 4, 2022 – May 13, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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

The manual describes function 0x6 of pin PA2 as "SPI1_CLK", so change the comment to reflect that.

---
 drivers/pinctrl/sunxi/pinctrl-suniv-f1c100s.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pinctrl/sunxi/pinctrl-suniv-f1c100s.c +1 -1
index 2801ca7062732..8109efac341e2 100644
@@ -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"),
Signature · 1 line
2.25.1
maintainer Acked-by on v1 1/1
#1 lore raw

Dne sreda, 04. maj 2022 ob 19:07:36 CEST je Andre Przywara napisal(a):

Quoted 4 lines

The manual describes function 0x6 of pin PA2 as "SPI1_CLK", so change the comment to reflect that.

Best regards,
Jernej

drivers/pinctrl/

Quoted 5 lines
---
 drivers/pinctrl/sunxi/pinctrl-suniv-f1c100s.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pinctrl/ renamed from drivers/pinctrl/sunxi/pinctrl-suniv-f1c100s.c +0 -0

sunxi/pinctrl-suniv-f1c100s.c

drivers/pinctrl/sunxi/pinctrl-suniv-f1c100s.c static const struct sunxi_desc_pin suniv_f1c100s_pins[] =

Quoted 4 lines

index 2801ca7062732..8109efac341e2 100644

drivers/pinctrl/sunxi/pinctrl-suniv-f1c100s.c +0 -0
@@ -51,7 +51,7 @@ static const struct sunxi_desc_pin suniv_f1c100s_pins[] = 

{

drivers/pinctrl/sunxi/pinctrl-suniv-f1c100s.c static const struct sunxi_desc_pin suniv_f1c100s_pins[] = · line 51

Quoted 1 line
drivers/pinctrl/sunxi/pinctrl-suniv-f1c100s.c +0 -0
 		  SUNXI_FUNCTION(0x3, "pwm0"),		/* PWM0 

*/

drivers/pinctrl/sunxi/pinctrl-suniv-f1c100s.c static const struct sunxi_desc_pin suniv_f1c100s_pins[] = {

Quoted 3 lines
drivers/pinctrl/sunxi/pinctrl-suniv-f1c100s.c +0 -1
 		  SUNXI_FUNCTION(0x4, "i2s"),		/* IN */
 		  SUNXI_FUNCTION(0x5, "uart1"),		/* RX */
-		  SUNXI_FUNCTION(0x6, "spi1")),		/* MOSI 

*/

drivers/pinctrl/sunxi/pinctrl-suniv-f1c100s.c static const struct sunxi_desc_pin suniv_f1c100s_pins[] = · line 54

Quoted 1 line
drivers/pinctrl/sunxi/pinctrl-suniv-f1c100s.c +1 -0
+		  SUNXI_FUNCTION(0x6, "spi1")),		/* CLK 

*/

Quoted 7 lines
drivers/pinctrl/sunxi/pinctrl-suniv-f1c100s.c +0 -0
 	SUNXI_PIN(SUNXI_PINCTRL_PIN(A, 3),
 		  SUNXI_FUNCTION(0x0, "gpio_in"),
 		  SUNXI_FUNCTION(0x1, "gpio_out"),
Signature · 1 line
2.25.1