Linux clock framework development
 help / color / mirror / Atom feed
* [PATCH 0/8] Support STM32h747i-disco board
@ 2025-04-27  7:43 Dario Binacchi
  2025-04-27  7:43 ` [PATCH 4/8] clk: stm32h7: rename USART{7,8}_CK to UART{7,8}_CK Dario Binacchi
  2025-04-30  7:21 ` [PATCH 0/8] Support STM32h747i-disco board Alexandre TORGUE
  0 siblings, 2 replies; 4+ messages in thread
From: Dario Binacchi @ 2025-04-27  7:43 UTC (permalink / raw)
  To: linux-kernel
  Cc: Alexandre Torgue, linux-amarula, Dario Binacchi, Amelie Delaunay,
	Conor Dooley, David Jander, Krzysztof Kozlowski,
	Leonard Göhrs, Marc Kleine-Budde, Marek Vasut,
	Maxime Coquelin, Michael Turquette, Oleksij Rempel, Roan van Dijk,
	Rob Herring, Russell King, Stephen Boyd, devicetree,
	linux-arm-kernel, linux-clk, linux-stm32

The series adds support for STM32h747i-disco board

The board includes an STM32H747XI SoC with the following resources:
 - 2 Mbytes Flash
 - 1 Mbyte SRAM
 - LCD-TFT controller
 - MIPI-DSI interface
 - FD-CAN
 - USB 2.0 high-speed/full-speed
 - Ethernet MAC
 - camera interface

Detailed information can be found at:
https://www.st.com/en/evaluation-tools/stm32h747i-disco.html


Dario Binacchi (8):
  ARM: dts: stm32h7-pinctrl: add _a suffix to u[s]art_pins phandles
  dt-bindings: arm: stm32: add compatible for stm32h747i-disco board
  ARM: stm32: add a new SoC - STM32H747
  clk: stm32h7: rename USART{7,8}_CK to UART{7,8}_CK
  ARM: dts: stm32: add uart8 node for stm32h743 MCU
  ARM: dts: stm32: add pin map for UART8 controller on stm32h743
  ARM: dts: stm32: add an extra pin map for USART1 on stm32h743
  ARM: dts: stm32: support STM32h747i-disco board

 .../devicetree/bindings/arm/stm32/stm32.yaml  |   4 +
 arch/arm/boot/dts/st/Makefile                 |   1 +
 arch/arm/boot/dts/st/stm32h7-pinctrl.dtsi     |  34 ++++-
 arch/arm/boot/dts/st/stm32h743.dtsi           |   8 ++
 arch/arm/boot/dts/st/stm32h743i-disco.dts     |   2 +-
 arch/arm/boot/dts/st/stm32h743i-eval.dts      |   2 +-
 arch/arm/boot/dts/st/stm32h747i-disco.dts     | 136 ++++++++++++++++++
 arch/arm/boot/dts/st/stm32h750i-art-pi.dts    |   6 +-
 arch/arm/mach-stm32/board-dt.c                |   1 +
 include/dt-bindings/clock/stm32h7-clks.h      |   4 +-
 10 files changed, 187 insertions(+), 11 deletions(-)
 create mode 100644 arch/arm/boot/dts/st/stm32h747i-disco.dts

-- 
2.43.0


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

* [PATCH 4/8] clk: stm32h7: rename USART{7,8}_CK to UART{7,8}_CK
  2025-04-27  7:43 [PATCH 0/8] Support STM32h747i-disco board Dario Binacchi
@ 2025-04-27  7:43 ` Dario Binacchi
  2025-04-28  9:17   ` Krzysztof Kozlowski
  2025-04-30  7:21 ` [PATCH 0/8] Support STM32h747i-disco board Alexandre TORGUE
  1 sibling, 1 reply; 4+ messages in thread
From: Dario Binacchi @ 2025-04-27  7:43 UTC (permalink / raw)
  To: linux-kernel
  Cc: Alexandre Torgue, linux-amarula, Dario Binacchi, Conor Dooley,
	Krzysztof Kozlowski, Maxime Coquelin, Michael Turquette,
	Rob Herring, Stephen Boyd, devicetree, linux-arm-kernel,
	linux-clk, linux-stm32

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

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

diff --git a/include/dt-bindings/clock/stm32h7-clks.h b/include/dt-bindings/clock/stm32h7-clks.h
index 6637272b3242..330b39c2c303 100644
--- a/include/dt-bindings/clock/stm32h7-clks.h
+++ b/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
-- 
2.43.0


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

* Re: [PATCH 4/8] clk: stm32h7: rename USART{7,8}_CK to UART{7,8}_CK
  2025-04-27  7:43 ` [PATCH 4/8] clk: stm32h7: rename USART{7,8}_CK to UART{7,8}_CK Dario Binacchi
@ 2025-04-28  9:17   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2025-04-28  9:17 UTC (permalink / raw)
  To: Dario Binacchi
  Cc: linux-kernel, Alexandre Torgue, linux-amarula, Conor Dooley,
	Krzysztof Kozlowski, Maxime Coquelin, Michael Turquette,
	Rob Herring, Stephen Boyd, devicetree, linux-arm-kernel,
	linux-clk, linux-stm32

On Sun, Apr 27, 2025 at 09:43:23AM GMT, 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>
> ---
> 
>  include/dt-bindings/clock/stm32h7-clks.h | 4 ++--

dt-bindings subject prefix

Please use subject prefixes matching the subsystem. You can get them for
example with 'git log --oneline -- DIRECTORY_OR_FILE' on the directory
your patch is touching. For bindings, the preferred subjects are
explained here:
https://www.kernel.org/doc/html/latest/devicetree/bindings/submitting-patches.html#i-for-patch-submitters

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof


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

* Re: [PATCH 0/8] Support STM32h747i-disco board
  2025-04-27  7:43 [PATCH 0/8] Support STM32h747i-disco board Dario Binacchi
  2025-04-27  7:43 ` [PATCH 4/8] clk: stm32h7: rename USART{7,8}_CK to UART{7,8}_CK Dario Binacchi
@ 2025-04-30  7:21 ` Alexandre TORGUE
  1 sibling, 0 replies; 4+ messages in thread
From: Alexandre TORGUE @ 2025-04-30  7:21 UTC (permalink / raw)
  To: Dario Binacchi, linux-kernel
  Cc: linux-amarula, Amelie Delaunay, Conor Dooley, David Jander,
	Krzysztof Kozlowski, Leonard Göhrs, Marc Kleine-Budde,
	Marek Vasut, Maxime Coquelin, Michael Turquette, Oleksij Rempel,
	Roan van Dijk, Rob Herring, Russell King, Stephen Boyd,
	devicetree, linux-arm-kernel, linux-clk, linux-stm32

Hi Dario

On 4/27/25 09:43, Dario Binacchi wrote:
> The series adds support for STM32h747i-disco board
> 
> The board includes an STM32H747XI SoC with the following resources:
>   - 2 Mbytes Flash
>   - 1 Mbyte SRAM
>   - LCD-TFT controller
>   - MIPI-DSI interface
>   - FD-CAN
>   - USB 2.0 high-speed/full-speed
>   - Ethernet MAC
>   - camera interface
> 
> Detailed information can be found at:
> https://www.st.com/en/evaluation-tools/stm32h747i-disco.html
> 
> 
> Dario Binacchi (8):
>    ARM: dts: stm32h7-pinctrl: add _a suffix to u[s]art_pins phandles
>    dt-bindings: arm: stm32: add compatible for stm32h747i-disco board
>    ARM: stm32: add a new SoC - STM32H747
>    clk: stm32h7: rename USART{7,8}_CK to UART{7,8}_CK
>    ARM: dts: stm32: add uart8 node for stm32h743 MCU
>    ARM: dts: stm32: add pin map for UART8 controller on stm32h743
>    ARM: dts: stm32: add an extra pin map for USART1 on stm32h743
>    ARM: dts: stm32: support STM32h747i-disco board
> 
>   .../devicetree/bindings/arm/stm32/stm32.yaml  |   4 +
>   arch/arm/boot/dts/st/Makefile                 |   1 +
>   arch/arm/boot/dts/st/stm32h7-pinctrl.dtsi     |  34 ++++-
>   arch/arm/boot/dts/st/stm32h743.dtsi           |   8 ++
>   arch/arm/boot/dts/st/stm32h743i-disco.dts     |   2 +-
>   arch/arm/boot/dts/st/stm32h743i-eval.dts      |   2 +-
>   arch/arm/boot/dts/st/stm32h747i-disco.dts     | 136 ++++++++++++++++++
>   arch/arm/boot/dts/st/stm32h750i-art-pi.dts    |   6 +-
>   arch/arm/mach-stm32/board-dt.c                |   1 +
>   include/dt-bindings/clock/stm32h7-clks.h      |   4 +-
>   10 files changed, 187 insertions(+), 11 deletions(-)
>   create mode 100644 arch/arm/boot/dts/st/stm32h747i-disco.dts
> 

Series applied on stm32-next. I changed patch 4 commit title according 
to Krzysztof comment.

Cheers
Alex

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

end of thread, other threads:[~2025-04-30  7:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-27  7:43 [PATCH 0/8] Support STM32h747i-disco board Dario Binacchi
2025-04-27  7:43 ` [PATCH 4/8] clk: stm32h7: rename USART{7,8}_CK to UART{7,8}_CK Dario Binacchi
2025-04-28  9:17   ` Krzysztof Kozlowski
2025-04-30  7:21 ` [PATCH 0/8] Support STM32h747i-disco board Alexandre TORGUE

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox