diff mbox series

[v2] ARM: dts: stm32: Fix SPI2 pinmux pin comments

Message ID 20220626001559.198689-1-marex@denx.de (mailing list archive)
State New, archived
Headers show
Series [v2] ARM: dts: stm32: Fix SPI2 pinmux pin comments | expand

Commit Message

Marek Vasut June 26, 2022, 12:15 a.m. UTC
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(-)

Comments

Alexandre TORGUE June 30, 2022, 4:25 p.m. UTC | #1
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
diff mbox series

Patch

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;
 		};
 	};