All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RESEND] clk: socfpga: stratix10: fix divider entry for the emac clocks
@ 2019-06-25 13:55 Dinh Nguyen
  2019-06-25 21:39 ` Stephen Boyd
  0 siblings, 1 reply; 2+ messages in thread
From: Dinh Nguyen @ 2019-06-25 13:55 UTC (permalink / raw)
  To: sboyd; +Cc: dinguyen, mturquette, linux-clk, linux-kernel

The fixed dividers for the emac clocks should be 2 not 4.

Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
---
 drivers/clk/socfpga/clk-s10.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/clk/socfpga/clk-s10.c b/drivers/clk/socfpga/clk-s10.c
index 8281dfbf38c2..5bed36e12951 100644
--- a/drivers/clk/socfpga/clk-s10.c
+++ b/drivers/clk/socfpga/clk-s10.c
@@ -103,9 +103,9 @@ static const struct stratix10_perip_cnt_clock s10_main_perip_cnt_clks[] = {
 	{ STRATIX10_NOC_CLK, "noc_clk", NULL, noc_mux, ARRAY_SIZE(noc_mux),
 	  0, 0, 0, 0x3C, 1},
 	{ STRATIX10_EMAC_A_FREE_CLK, "emaca_free_clk", NULL, emaca_free_mux, ARRAY_SIZE(emaca_free_mux),
-	  0, 0, 4, 0xB0, 0},
+	  0, 0, 2, 0xB0, 0},
 	{ STRATIX10_EMAC_B_FREE_CLK, "emacb_free_clk", NULL, emacb_free_mux, ARRAY_SIZE(emacb_free_mux),
-	  0, 0, 4, 0xB0, 1},
+	  0, 0, 2, 0xB0, 1},
 	{ STRATIX10_EMAC_PTP_FREE_CLK, "emac_ptp_free_clk", NULL, emac_ptp_free_mux,
 	  ARRAY_SIZE(emac_ptp_free_mux), 0, 0, 4, 0xB0, 2},
 	{ STRATIX10_GPIO_DB_FREE_CLK, "gpio_db_free_clk", NULL, gpio_db_free_mux,
-- 
2.20.0


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

* Re: [PATCH RESEND] clk: socfpga: stratix10: fix divider entry for the emac clocks
  2019-06-25 13:55 [PATCH RESEND] clk: socfpga: stratix10: fix divider entry for the emac clocks Dinh Nguyen
@ 2019-06-25 21:39 ` Stephen Boyd
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Boyd @ 2019-06-25 21:39 UTC (permalink / raw)
  To: Dinh Nguyen; +Cc: dinguyen, mturquette, linux-clk, linux-kernel

Quoting Dinh Nguyen (2019-06-25 06:55:35)
> The fixed dividers for the emac clocks should be 2 not 4.
> 
> Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
> ---

Applied to clk-next


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

end of thread, other threads:[~2019-06-25 21:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-25 13:55 [PATCH RESEND] clk: socfpga: stratix10: fix divider entry for the emac clocks Dinh Nguyen
2019-06-25 21:39 ` Stephen Boyd

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.