All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] ARM: dts: stm32: add pull-up to USART3 and UART7 RX pins on DKx boards
@ 2021-10-20 15:03 ` Erwan Le Ray
  0 siblings, 0 replies; 4+ messages in thread
From: Erwan Le Ray @ 2021-10-20 15:03 UTC (permalink / raw)
  To: Maxime Coquelin, Alexandre Torgue, Rob Herring
  Cc: linux-stm32, linux-arm-kernel, devicetree, linux-kernel,
	Erwan Le Ray, Fabrice Gasnier, Valentin Caron, Amelie Delaunay

Add pull-up to USART3 and UART7 RX pins to allow loop tests between USART3
and UART7 on stm32mp15 DKx boards.

Signed-off-by: Erwan Le Ray <erwan.leray@foss.st.com>

diff --git a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
index e13c2a9762b8..fe6e6f50151d 100644
--- a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
@@ -1816,7 +1816,7 @@
 		};
 		pins2 {
 			pinmux = <STM32_PINMUX('E', 7, AF7)>; /* UART7_RX */
-			bias-disable;
+			bias-pull-up;
 		};
 	};
 
@@ -1826,7 +1826,7 @@
 		};
 		pins2 {
 			pinmux = <STM32_PINMUX('E', 7, AF7)>; /* UART7_RX */
-			bias-disable;
+			bias-pull-up;
 		};
 	};
 
@@ -1971,7 +1971,7 @@
 		pins2 {
 			pinmux = <STM32_PINMUX('B', 12, AF8)>, /* USART3_RX */
 				 <STM32_PINMUX('I', 10, AF8)>; /* USART3_CTS_NSS */
-			bias-disable;
+			bias-pull-up;
 		};
 	};
 
@@ -1988,7 +1988,7 @@
 		};
 		pins3 {
 			pinmux = <STM32_PINMUX('B', 12, AF8)>; /* USART3_RX */
-			bias-disable;
+			bias-pull-up;
 		};
 	};
 
@@ -2012,7 +2012,7 @@
 		pins2 {
 			pinmux = <STM32_PINMUX('B', 12, AF8)>, /* USART3_RX */
 				 <STM32_PINMUX('B', 13, AF7)>; /* USART3_CTS_NSS */
-			bias-disable;
+			bias-pull-up;
 		};
 	};
 
@@ -2029,7 +2029,7 @@
 		};
 		pins3 {
 			pinmux = <STM32_PINMUX('B', 12, AF8)>; /* USART3_RX */
-			bias-disable;
+			bias-pull-up;
 		};
 	};
 
-- 
2.17.1


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

* [PATCH 1/1] ARM: dts: stm32: add pull-up to USART3 and UART7 RX pins on DKx boards
@ 2021-10-20 15:03 ` Erwan Le Ray
  0 siblings, 0 replies; 4+ messages in thread
From: Erwan Le Ray @ 2021-10-20 15:03 UTC (permalink / raw)
  To: Maxime Coquelin, Alexandre Torgue, Rob Herring
  Cc: linux-stm32, linux-arm-kernel, devicetree, linux-kernel,
	Erwan Le Ray, Fabrice Gasnier, Valentin Caron, Amelie Delaunay

Add pull-up to USART3 and UART7 RX pins to allow loop tests between USART3
and UART7 on stm32mp15 DKx boards.

Signed-off-by: Erwan Le Ray <erwan.leray@foss.st.com>

diff --git a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
index e13c2a9762b8..fe6e6f50151d 100644
--- a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
@@ -1816,7 +1816,7 @@
 		};
 		pins2 {
 			pinmux = <STM32_PINMUX('E', 7, AF7)>; /* UART7_RX */
-			bias-disable;
+			bias-pull-up;
 		};
 	};
 
@@ -1826,7 +1826,7 @@
 		};
 		pins2 {
 			pinmux = <STM32_PINMUX('E', 7, AF7)>; /* UART7_RX */
-			bias-disable;
+			bias-pull-up;
 		};
 	};
 
@@ -1971,7 +1971,7 @@
 		pins2 {
 			pinmux = <STM32_PINMUX('B', 12, AF8)>, /* USART3_RX */
 				 <STM32_PINMUX('I', 10, AF8)>; /* USART3_CTS_NSS */
-			bias-disable;
+			bias-pull-up;
 		};
 	};
 
@@ -1988,7 +1988,7 @@
 		};
 		pins3 {
 			pinmux = <STM32_PINMUX('B', 12, AF8)>; /* USART3_RX */
-			bias-disable;
+			bias-pull-up;
 		};
 	};
 
@@ -2012,7 +2012,7 @@
 		pins2 {
 			pinmux = <STM32_PINMUX('B', 12, AF8)>, /* USART3_RX */
 				 <STM32_PINMUX('B', 13, AF7)>; /* USART3_CTS_NSS */
-			bias-disable;
+			bias-pull-up;
 		};
 	};
 
@@ -2029,7 +2029,7 @@
 		};
 		pins3 {
 			pinmux = <STM32_PINMUX('B', 12, AF8)>; /* USART3_RX */
-			bias-disable;
+			bias-pull-up;
 		};
 	};
 
-- 
2.17.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] 4+ messages in thread

* Re: [PATCH 1/1] ARM: dts: stm32: add pull-up to USART3 and UART7 RX pins on DKx boards
  2021-10-20 15:03 ` Erwan Le Ray
@ 2021-11-25 15:10   ` Alexandre TORGUE
  -1 siblings, 0 replies; 4+ messages in thread
From: Alexandre TORGUE @ 2021-11-25 15:10 UTC (permalink / raw)
  To: Erwan Le Ray, Maxime Coquelin, Rob Herring
  Cc: linux-stm32, linux-arm-kernel, devicetree, linux-kernel,
	Fabrice Gasnier, Valentin Caron, Amelie Delaunay

On 10/20/21 5:03 PM, Erwan Le Ray wrote:
> Add pull-up to USART3 and UART7 RX pins to allow loop tests between USART3
> and UART7 on stm32mp15 DKx boards.
> 
> Signed-off-by: Erwan Le Ray <erwan.leray@foss.st.com>

Applied on stm32-next.

thanks
Alex


> 
> diff --git a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
> index e13c2a9762b8..fe6e6f50151d 100644
> --- a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
> +++ b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
> @@ -1816,7 +1816,7 @@
>   		};
>   		pins2 {
>   			pinmux = <STM32_PINMUX('E', 7, AF7)>; /* UART7_RX */
> -			bias-disable;
> +			bias-pull-up;
>   		};
>   	};
>   
> @@ -1826,7 +1826,7 @@
>   		};
>   		pins2 {
>   			pinmux = <STM32_PINMUX('E', 7, AF7)>; /* UART7_RX */
> -			bias-disable;
> +			bias-pull-up;
>   		};
>   	};
>   
> @@ -1971,7 +1971,7 @@
>   		pins2 {
>   			pinmux = <STM32_PINMUX('B', 12, AF8)>, /* USART3_RX */
>   				 <STM32_PINMUX('I', 10, AF8)>; /* USART3_CTS_NSS */
> -			bias-disable;
> +			bias-pull-up;
>   		};
>   	};
>   
> @@ -1988,7 +1988,7 @@
>   		};
>   		pins3 {
>   			pinmux = <STM32_PINMUX('B', 12, AF8)>; /* USART3_RX */
> -			bias-disable;
> +			bias-pull-up;
>   		};
>   	};
>   
> @@ -2012,7 +2012,7 @@
>   		pins2 {
>   			pinmux = <STM32_PINMUX('B', 12, AF8)>, /* USART3_RX */
>   				 <STM32_PINMUX('B', 13, AF7)>; /* USART3_CTS_NSS */
> -			bias-disable;
> +			bias-pull-up;
>   		};
>   	};
>   
> @@ -2029,7 +2029,7 @@
>   		};
>   		pins3 {
>   			pinmux = <STM32_PINMUX('B', 12, AF8)>; /* USART3_RX */
> -			bias-disable;
> +			bias-pull-up;
>   		};
>   	};
>   
> 


_______________________________________________
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] 4+ messages in thread

* Re: [PATCH 1/1] ARM: dts: stm32: add pull-up to USART3 and UART7 RX pins on DKx boards
@ 2021-11-25 15:10   ` Alexandre TORGUE
  0 siblings, 0 replies; 4+ messages in thread
From: Alexandre TORGUE @ 2021-11-25 15:10 UTC (permalink / raw)
  To: Erwan Le Ray, Maxime Coquelin, Rob Herring
  Cc: linux-stm32, linux-arm-kernel, devicetree, linux-kernel,
	Fabrice Gasnier, Valentin Caron, Amelie Delaunay

On 10/20/21 5:03 PM, Erwan Le Ray wrote:
> Add pull-up to USART3 and UART7 RX pins to allow loop tests between USART3
> and UART7 on stm32mp15 DKx boards.
> 
> Signed-off-by: Erwan Le Ray <erwan.leray@foss.st.com>

Applied on stm32-next.

thanks
Alex


> 
> diff --git a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
> index e13c2a9762b8..fe6e6f50151d 100644
> --- a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
> +++ b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
> @@ -1816,7 +1816,7 @@
>   		};
>   		pins2 {
>   			pinmux = <STM32_PINMUX('E', 7, AF7)>; /* UART7_RX */
> -			bias-disable;
> +			bias-pull-up;
>   		};
>   	};
>   
> @@ -1826,7 +1826,7 @@
>   		};
>   		pins2 {
>   			pinmux = <STM32_PINMUX('E', 7, AF7)>; /* UART7_RX */
> -			bias-disable;
> +			bias-pull-up;
>   		};
>   	};
>   
> @@ -1971,7 +1971,7 @@
>   		pins2 {
>   			pinmux = <STM32_PINMUX('B', 12, AF8)>, /* USART3_RX */
>   				 <STM32_PINMUX('I', 10, AF8)>; /* USART3_CTS_NSS */
> -			bias-disable;
> +			bias-pull-up;
>   		};
>   	};
>   
> @@ -1988,7 +1988,7 @@
>   		};
>   		pins3 {
>   			pinmux = <STM32_PINMUX('B', 12, AF8)>; /* USART3_RX */
> -			bias-disable;
> +			bias-pull-up;
>   		};
>   	};
>   
> @@ -2012,7 +2012,7 @@
>   		pins2 {
>   			pinmux = <STM32_PINMUX('B', 12, AF8)>, /* USART3_RX */
>   				 <STM32_PINMUX('B', 13, AF7)>; /* USART3_CTS_NSS */
> -			bias-disable;
> +			bias-pull-up;
>   		};
>   	};
>   
> @@ -2029,7 +2029,7 @@
>   		};
>   		pins3 {
>   			pinmux = <STM32_PINMUX('B', 12, AF8)>; /* USART3_RX */
> -			bias-disable;
> +			bias-pull-up;
>   		};
>   	};
>   
> 


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

end of thread, other threads:[~2021-11-25 15:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-20 15:03 [PATCH 1/1] ARM: dts: stm32: add pull-up to USART3 and UART7 RX pins on DKx boards Erwan Le Ray
2021-10-20 15:03 ` Erwan Le Ray
2021-11-25 15:10 ` Alexandre TORGUE
2021-11-25 15:10   ` 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.