Skip to contentSkip to conversation

arm: socfpga: stratix10: Fix incorrect CLKMGR_S10_PERPLL_BYPASS offset

PATCH New Ley Foon Tan 3 participants 3 messages Apr 20, 2020 – Apr 27, 2020

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

PATCH 1/1 arm: socfpga: stratix10: Fix incorrect CLKMGR_S10_PERPLL_BYPASS offset

Offset value for CLKMGR_S10_PERPLL_BYPASS should be 0xb0, fix it.

---
 arch/arm/mach-socfpga/include/mach/clock_manager_s10.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-socfpga/include/mach/clock_manager_s10.h +1 -1
index e710aa2f94f0..9d2b3bababe2 100644
@@ -85,7 +85,7 @@ void cm_basic_init(const struct cm_config * const cfg);
 #define CLKMGR_S10_MAINPLL_VCOCALIB			0x8c
 /* Periphpll group */
 #define CLKMGR_S10_PERPLL_EN				0xa4
-#define CLKMGR_S10_PERPLL_BYPASS			0xac
+#define CLKMGR_S10_PERPLL_BYPASS			0xb0
 #define CLKMGR_S10_PERPLL_CNTR2CLK			0xbc
 #define CLKMGR_S10_PERPLL_CNTR3CLK			0xc0
 #define CLKMGR_S10_PERPLL_CNTR4CLK			0xc4
Signature · 1 line
2.19.0
#1 lore raw

PATCH 1/1 arm: socfpga: stratix10: Fix incorrect CLKMGR_S10_PERPLL_BYPASS offset

Quoted 27 lines

-----Original Message-----
From: Tan, Ley Foon <[email protected]>
Sent: Monday, April 20, 2020 4:17 PM
To: u-boot at lists.denx.de
Cc: Marek Vasut <[email protected]>; Ley Foon Tan <[email protected]>; See, Chin Liang <[email protected]>; Simon Goldschmidt <[email protected]>; Ang, Chee Hong <[email protected]>; Tan, Ley Foon <[email protected]>
Subject: [PATCH] arm: socfpga: stratix10: Fix incorrect CLKMGR_S10_PERPLL_BYPASS offset

Offset value for CLKMGR_S10_PERPLL_BYPASS should be 0xb0, fix it.

---
 arch/arm/mach-socfpga/include/mach/clock_manager_s10.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-socfpga/include/mach/clock_manager_s10.h +0 -0
index e710aa2f94f0..9d2b3bababe2 100644

arch/arm/mach-socfpga/include/mach/clock_manager_s10.h void cm_basic_init(const struct cm_config * const cfg);

Quoted 9 lines
arch/arm/mach-socfpga/include/mach/clock_manager_s10.h +1 -2
@@ -85,7 +85,7 @@ void cm_basic_init(const struct cm_config * const cfg);
 #define CLKMGR_S10_MAINPLL_VCOCALIB			0x8c
 /* Periphpll group */
 #define CLKMGR_S10_PERPLL_EN				0xa4
-#define CLKMGR_S10_PERPLL_BYPASS			0xac
+#define CLKMGR_S10_PERPLL_BYPASS			0xb0
 #define CLKMGR_S10_PERPLL_CNTR2CLK			0xbc
 #define CLKMGR_S10_PERPLL_CNTR3CLK			0xc0
 #define CLKMGR_S10_PERPLL_CNTR4CLK			0xc4
--

Any comment on this patch?

Thanks.

Regards
Ley Foon

Applied
#2 lore raw

PATCH 1/1 arm: socfpga: stratix10: Fix incorrect CLKMGR_S10_PERPLL_BYPASS offset

Quoted 21 lines · Ley Foon
Quoted 21 lines

-----Original Message-----
From: Tan, Ley Foon <[email protected]>
Sent: Monday, April 20, 2020 4:17 PM
To: u-boot at lists.denx.de
Cc: Marek Vasut <[email protected]>; Ley Foon Tan <[email protected]>; See, Chin Liang <[email protected]>; Simon Goldschmidt <[email protected]>; Ang, Chee Hong <[email protected]>; Tan, Ley Foon <[email protected]>
Subject: [PATCH] arm: socfpga: stratix10: Fix incorrect CLKMGR_S10_PERPLL_BYPASS offset

Offset value for CLKMGR_S10_PERPLL_BYPASS should be 0xb0, fix it.

---
 arch/arm/mach-socfpga/include/mach/clock_manager_s10.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 16 lines
Quoted 6 lines
arch/arm/mach-socfpga/include/mach/clock_manager_s10.h +0 -0
index e710aa2f94f0..9d2b3bababe2 100644

arch/arm/mach-socfpga/include/mach/clock_manager_s10.h void cm_basic_init(const struct cm_config * const cfg);

Quoted 9 lines
arch/arm/mach-socfpga/include/mach/clock_manager_s10.h +1 -2
@@ -85,7 +85,7 @@ void cm_basic_init(const struct cm_config * const cfg);
 #define CLKMGR_S10_MAINPLL_VCOCALIB			0x8c
 /* Periphpll group */
 #define CLKMGR_S10_PERPLL_EN				0xa4
-#define CLKMGR_S10_PERPLL_BYPASS			0xac
+#define CLKMGR_S10_PERPLL_BYPASS			0xb0
 #define CLKMGR_S10_PERPLL_CNTR2CLK			0xbc
 #define CLKMGR_S10_PERPLL_CNTR3CLK			0xc0
 #define CLKMGR_S10_PERPLL_CNTR4CLK			0xc4
--

Any comment on this patch?

Applied, thanks.