All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] ARM: dts: stm32: Fix SPI2 pinmux pin comments
@ 2022-06-26  0:15 Marek Vasut
  2022-06-30 16:25 ` Alexandre TORGUE
  0 siblings, 1 reply; 2+ messages in thread
From: Marek Vasut @ 2022-06-26  0:15 UTC (permalink / raw)
  To: linux-arm-kernel; +Cc: Marek Vasut, Alexandre Torgue, linux-stm32

Those pin comments refer to SPI2 pins, not SPI1 pins, update the comments.
No functional change.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: linux-stm32@st-md-mailman.stormreply.com
To: linux-arm-kernel@lists.infradead.org
---
V2: Drop the spi2_pins_b, this came from soon to be V3
    https://patchwork.kernel.org/project/linux-arm-kernel/patch/20220618232915.542616-4-marex@denx.de/
---
 arch/arm/boot/dts/stm32mp15-pinctrl.dtsi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
index 9816331e4bb7d..3c77234b51ac3 100644
--- a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
@@ -1846,15 +1846,15 @@ pins {
 
 	spi2_pins_a: spi2-0 {
 		pins1 {
-			pinmux = <STM32_PINMUX('B', 10, AF5)>, /* SPI1_SCK */
-				 <STM32_PINMUX('I', 3, AF5)>; /* SPI1_MOSI */
+			pinmux = <STM32_PINMUX('B', 10, AF5)>, /* SPI2_SCK */
+				 <STM32_PINMUX('I', 3, AF5)>; /* SPI2_MOSI */
 			bias-disable;
 			drive-push-pull;
 			slew-rate = <1>;
 		};
 
 		pins2 {
-			pinmux = <STM32_PINMUX('I', 2, AF5)>; /* SPI1_MISO */
+			pinmux = <STM32_PINMUX('I', 2, AF5)>; /* SPI2_MISO */
 			bias-disable;
 		};
 	};
-- 
2.35.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] ARM: dts: stm32: Fix SPI2 pinmux pin comments
  2022-06-26  0:15 [PATCH v2] ARM: dts: stm32: Fix SPI2 pinmux pin comments Marek Vasut
@ 2022-06-30 16:25 ` Alexandre TORGUE
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre TORGUE @ 2022-06-30 16:25 UTC (permalink / raw)
  To: Marek Vasut, linux-arm-kernel; +Cc: linux-stm32

On 6/26/22 02:15, Marek Vasut wrote:
> Those pin comments refer to SPI2 pins, not SPI1 pins, update the comments.
> No functional change.
> 
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
> Cc: linux-stm32@st-md-mailman.stormreply.com
> To: linux-arm-kernel@lists.infradead.org
> ---
> V2: Drop the spi2_pins_b, this came from soon to be V3
>      https://patchwork.kernel.org/project/linux-arm-kernel/patch/20220618232915.542616-4-marex@denx.de/
> ---
>   arch/arm/boot/dts/stm32mp15-pinctrl.dtsi | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
> index 9816331e4bb7d..3c77234b51ac3 100644
> --- a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
> +++ b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
> @@ -1846,15 +1846,15 @@ pins {
>   
>   	spi2_pins_a: spi2-0 {
>   		pins1 {
> -			pinmux = <STM32_PINMUX('B', 10, AF5)>, /* SPI1_SCK */
> -				 <STM32_PINMUX('I', 3, AF5)>; /* SPI1_MOSI */
> +			pinmux = <STM32_PINMUX('B', 10, AF5)>, /* SPI2_SCK */
> +				 <STM32_PINMUX('I', 3, AF5)>; /* SPI2_MOSI */
>   			bias-disable;
>   			drive-push-pull;
>   			slew-rate = <1>;
>   		};
>   
>   		pins2 {
> -			pinmux = <STM32_PINMUX('I', 2, AF5)>; /* SPI1_MISO */
> +			pinmux = <STM32_PINMUX('I', 2, AF5)>; /* SPI2_MISO */
>   			bias-disable;
>   		};
>   	};

Applied on stm32-next.

Thanks.
Alex

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-30 16:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-26  0:15 [PATCH v2] ARM: dts: stm32: Fix SPI2 pinmux pin comments Marek Vasut
2022-06-30 16:25 ` Alexandre TORGUE

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.