Skip to contentSkip to conversation

clk: starfive-jh7100: Fix duplicate numbers

PATCH Applied Geert Uytterhoeven 3 participants 3 messages Jun 24, 2021 – Jun 25, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clk: starfive-jh7100: Fix duplicate numbers

Fixes 6f92e74e5b94d8e6 ("clk: add initial StarFive clock support")

---
Completely untested.

 include/dt-bindings/clock/starfive-jh7100.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/dt-bindings/clock/starfive-jh7100.h +2 -2
index 9ad5e7f9bfd5f655..2512bb810ec45c8b 100644
@@ -42,9 +42,9 @@
 #define CLK_U74_CORE1		33
 #define CLK_U74_AXI		34
 #define CLK_U74RTC_TOGGLE	35
-#define CLK_SGDMA2P_AXI		35
+#define CLK_SGDMA2P_AXI		36
 #define CLK_DMA2PNOC_AXI	37
-#define CLK_SGDMA2P_AHB		37
+#define CLK_SGDMA2P_AHB		38
 #define CLK_DLA_BUS		39
 #define CLK_DLA_AXI		40
 #define CLK_DLANOC_AXI		41
Signature · 7 lines
2.25.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Tested-by on v1 1/1
#1 lore raw

Hello Geert,

Quoted 4 lines · Geert Uytterhoeven
Fixes 6f92e74e5b94d8e6 ("clk: add initial StarFive clock support")

---
Completely untested.

Thanks for catching!
Gave it a run and it[1] still boots to shell:

[1]: https://github.com/a3f/barebox/tree/beaglev

Quoted 21 lines
 include/dt-bindings/clock/starfive-jh7100.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/dt-bindings/clock/starfive-jh7100.h +2 -2
index 9ad5e7f9bfd5f655..2512bb810ec45c8b 100644
@@ -42,9 +42,9 @@
 #define CLK_U74_CORE1		33
 #define CLK_U74_AXI		34
 #define CLK_U74RTC_TOGGLE	35
-#define CLK_SGDMA2P_AXI		35
+#define CLK_SGDMA2P_AXI		36
 #define CLK_DMA2PNOC_AXI	37
-#define CLK_SGDMA2P_AHB		37
+#define CLK_SGDMA2P_AHB		38
 #define CLK_DLA_BUS		39
 #define CLK_DLA_AXI		40
 #define CLK_DLANOC_AXI		41
Signature · 9 lines
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#2 lore raw
In reply to Geert Uytterhoeven
Quoted 7 lines · Geert Uytterhoeven
Fixes 6f92e74e5b94d8e6 ("clk: add initial StarFive clock support")

---
Completely untested.

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

Applied, thanks

Sascha

Quoted 26 lines
include/dt-bindings/clock/starfive-jh7100.h +2 -2
index 9ad5e7f9bfd5f655..2512bb810ec45c8b 100644
@@ -42,9 +42,9 @@
 #define CLK_U74_CORE1		33
 #define CLK_U74_AXI		34
 #define CLK_U74RTC_TOGGLE	35
-#define CLK_SGDMA2P_AXI		35
+#define CLK_SGDMA2P_AXI		36
 #define CLK_DMA2PNOC_AXI	37
-#define CLK_SGDMA2P_AHB		37
+#define CLK_SGDMA2P_AHB		38
 #define CLK_DLA_BUS		39
 #define CLK_DLA_AXI		40
 #define CLK_DLANOC_AXI		41
Signature · 7 lines
2.25.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox