[3/9] dt-bindings: clock: stm32h7: rename USART{7,8}_CK to UART{7,8}_CK

Message ID 20250607093730.2249536-4-dario.binacchi@amarulasolutions.com
State New
Headers show
Series
  • Support stm32h747-discovery board
Related show

Commit Message

Dario Binacchi June 7, 2025, 9:37 a.m. UTC
As stated in the reference manual RM0433, the STM32H743 MCU has
USART1/2/3/6, UART4/5/7/8, and LPUART1. The patches make all the clock
macros for the serial ports consistent with the documentation.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250427074404.3278732-5-dario.binacchi@amarulasolutions.com
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>

[ upstream commit: ecab3c40fa49a2073c4c916ebff9496a6b5db7bd ]

---

 dts/upstream/include/dt-bindings/clock/stm32h7-clks.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Patrice CHOTARD June 9, 2025, 7:55 a.m. UTC | #1
On 6/7/25 11:37, Dario Binacchi wrote:
> As stated in the reference manual RM0433, the STM32H743 MCU has
> USART1/2/3/6, UART4/5/7/8, and LPUART1. The patches make all the clock
> macros for the serial ports consistent with the documentation.
> 
> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> Link: https://lore.kernel.org/r/20250427074404.3278732-5-dario.binacchi@amarulasolutions.com
> Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
> 
> [ upstream commit: ecab3c40fa49a2073c4c916ebff9496a6b5db7bd ]
> 
> ---
> 
>  dts/upstream/include/dt-bindings/clock/stm32h7-clks.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/dts/upstream/include/dt-bindings/clock/stm32h7-clks.h b/dts/upstream/include/dt-bindings/clock/stm32h7-clks.h
> index 6637272b3242..330b39c2c303 100644
> --- a/dts/upstream/include/dt-bindings/clock/stm32h7-clks.h
> +++ b/dts/upstream/include/dt-bindings/clock/stm32h7-clks.h
> @@ -126,8 +126,8 @@
>  #define ADC3_CK 128
>  #define DSI_CK 129
>  #define LTDC_CK 130
> -#define USART8_CK 131
> -#define USART7_CK 132
> +#define UART8_CK 131
> +#define UART7_CK 132
>  #define HDMICEC_CK 133
>  #define I2C3_CK 134
>  #define I2C2_CK 135
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>

Thanks
Patrice

To unsubscribe from this group and stop receiving emails from it, send an email to linux-amarula+unsubscribe@amarulasolutions.com.

Patch

diff --git a/dts/upstream/include/dt-bindings/clock/stm32h7-clks.h b/dts/upstream/include/dt-bindings/clock/stm32h7-clks.h
index 6637272b3242..330b39c2c303 100644
--- a/dts/upstream/include/dt-bindings/clock/stm32h7-clks.h
+++ b/dts/upstream/include/dt-bindings/clock/stm32h7-clks.h
@@ -126,8 +126,8 @@ 
 #define ADC3_CK 128
 #define DSI_CK 129
 #define LTDC_CK 130
-#define USART8_CK 131
-#define USART7_CK 132
+#define UART8_CK 131
+#define UART7_CK 132
 #define HDMICEC_CK 133
 #define I2C3_CK 134
 #define I2C2_CK 135