Skip to contentSkip to conversation

clk: mvebu: Core Divider fix for v3.15-rc1

PATCH New Ezequiel Garcia 2 participants 3 messages Mar 12, 2014 – Mar 13, 2014

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

cover clk: mvebu: Core Divider fix for v3.15-rc1

Hi Mike, Jason:

While working on the Core Divider clock for A380, I spotted a small bug introduced during the Armada 375 core divider clock submission.

The clock ratio register offset is set at 0x8, but the correct value for this SoC is 0x4.

It's a tiny fix, but given v3.15-rc1 is just around the corner, I think we can prepare it to be pushed for v3.15-rc2.

Thanks!

Ezequiel Garcia (1):
clk: mvebu: Fix ratio register offset on A375 SoC

 drivers/clk/mvebu/clk-corediv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
1.9.0
#1 lore raw

PATCH 1/1 clk: mvebu: Fix ratio register offset on A375 SoC

This commit fixes the ratio register offset which is 0x4, as per the Armada 375 SoC specification.

---
 drivers/clk/mvebu/clk-corediv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/mvebu/clk-corediv.c +1 -1
index 4da6076..4af33ba 100644
@@ -213,7 +213,7 @@ static const struct clk_corediv_soc_desc armada375_corediv_soc = {
 		.set_rate = clk_corediv_set_rate,
 	},
 	.ratio_reload = BIT(8),
-	.ratio_offset = 0x8,
+	.ratio_offset = 0x4,
 };
 
 static void __init
Signature · 1 line
1.9.0
Applied
#2 lore raw

PATCH 1/1 clk: mvebu: Fix ratio register offset on A375 SoC

Quoted 7 lines · Ezequiel Garcia

This commit fixes the ratio register offset which is 0x4, as per the Armada 375 SoC specification.

---
 drivers/clk/mvebu/clk-corediv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to mvebu/clk-3xx

thx,

Jason.