* [PATCH] ARM: dts: stm32: use RCC macro for CRC node on stm32f746
@ 2023-05-16 8:52 Dario Binacchi
2023-05-16 14:31 ` Alexandre TORGUE
0 siblings, 1 reply; 2+ messages in thread
From: Dario Binacchi @ 2023-05-16 8:52 UTC (permalink / raw)
To: linux-kernel
Cc: Dario Binacchi, Alexandre Torgue, Conor Dooley,
Krzysztof Kozlowski, Maxime Coquelin, Rob Herring, devicetree,
linux-arm-kernel, linux-stm32
The patch replaces the number 12 with the appropriate numerical constant
already defined in the file stm32f7-rcc.h.
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
arch/arm/boot/dts/stm32f746.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/stm32f746.dtsi b/arch/arm/boot/dts/stm32f746.dtsi
index dc868e6da40e..e3564b74a779 100644
--- a/arch/arm/boot/dts/stm32f746.dtsi
+++ b/arch/arm/boot/dts/stm32f746.dtsi
@@ -515,7 +515,7 @@ pwrcfg: power-config@40007000 {
crc: crc@40023000 {
compatible = "st,stm32f7-crc";
reg = <0x40023000 0x400>;
- clocks = <&rcc 0 12>;
+ clocks = <&rcc 0 STM32F7_AHB1_CLOCK(CRC)>;
status = "disabled";
};
--
2.32.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: dts: stm32: use RCC macro for CRC node on stm32f746
2023-05-16 8:52 [PATCH] ARM: dts: stm32: use RCC macro for CRC node on stm32f746 Dario Binacchi
@ 2023-05-16 14:31 ` Alexandre TORGUE
0 siblings, 0 replies; 2+ messages in thread
From: Alexandre TORGUE @ 2023-05-16 14:31 UTC (permalink / raw)
To: Dario Binacchi, linux-kernel
Cc: Conor Dooley, Krzysztof Kozlowski, Maxime Coquelin, Rob Herring,
devicetree, linux-arm-kernel, linux-stm32
hi Dario
On 5/16/23 10:52, Dario Binacchi wrote:
> The patch replaces the number 12 with the appropriate numerical constant
> already defined in the file stm32f7-rcc.h.
>
> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
> ---
>
> arch/arm/boot/dts/stm32f746.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/stm32f746.dtsi b/arch/arm/boot/dts/stm32f746.dtsi
> index dc868e6da40e..e3564b74a779 100644
> --- a/arch/arm/boot/dts/stm32f746.dtsi
> +++ b/arch/arm/boot/dts/stm32f746.dtsi
> @@ -515,7 +515,7 @@ pwrcfg: power-config@40007000 {
> crc: crc@40023000 {
> compatible = "st,stm32f7-crc";
> reg = <0x40023000 0x400>;
> - clocks = <&rcc 0 12>;
> + clocks = <&rcc 0 STM32F7_AHB1_CLOCK(CRC)>;
> status = "disabled";
> };
>
Applied on stm32-next.
Thanks.
Alex
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-05-16 14:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-16 8:52 [PATCH] ARM: dts: stm32: use RCC macro for CRC node on stm32f746 Dario Binacchi
2023-05-16 14:31 ` Alexandre TORGUE
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).