mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: <gabriel.fernandez@st.com>
To: Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>,
	Maxime Coquelin <mcoquelin.stm32@gmail.com>,
	Alexandre Torgue <alexandre.torgue@st.com>
Cc: <linux-clk@vger.kernel.org>,
	<linux-stm32@st-md-mailman.stormreply.com>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-kernel@vger.kernel.org>,
	Gabriel Fernandez <gabriel.fernandez@st.com>
Subject: [PATCH v2 4/7] clk: stm32mp1: fix mcu divider table
Date: Thu, 14 Feb 2019 11:40:44 +0100	[thread overview]
Message-ID: <20190214104047.1173-5-gabriel.fernandez@st.com> (raw)
In-Reply-To: <20190214104047.1173-1-gabriel.fernandez@st.com>

From: Gabriel Fernandez <gabriel.fernandez@st.com>

index 8: ck_mcu is divided by 256 (not 512)

Fixes: e51d297e9a92 ("clk: stm32mp1: add Sub System clocks")
Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>
---
 drivers/clk/clk-stm32mp1.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/clk-stm32mp1.c b/drivers/clk/clk-stm32mp1.c
index f9b7d5e9491d..8b4e01af4848 100644
--- a/drivers/clk/clk-stm32mp1.c
+++ b/drivers/clk/clk-stm32mp1.c
@@ -269,7 +269,7 @@ static const struct clk_div_table axi_div_table[] = {
 static const struct clk_div_table mcu_div_table[] = {
 	{ 0, 1 }, { 1, 2 }, { 2, 4 }, { 3, 8 },
 	{ 4, 16 }, { 5, 32 }, { 6, 64 }, { 7, 128 },
-	{ 8, 512 }, { 9, 512 }, { 10, 512}, { 11, 512 },
+	{ 8, 256 }, { 9, 512 }, { 10, 512}, { 11, 512 },
 	{ 12, 512 }, { 13, 512 }, { 14, 512}, { 15, 512 },
 	{ 0 },
 };
-- 
2.17.0


  parent reply	other threads:[~2019-02-14 10:41 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-14 10:40 [PATCH v2 0/7] update STM32MP1 clocks gabriel.fernandez
2019-02-14 10:40 ` [PATCH v2 1/7] clk: stm32mp1: parent clocks update gabriel.fernandez
2019-02-21 22:15   ` Stephen Boyd
2019-02-14 10:40 ` [PATCH v2 2/7] clk: stm32mp1: add CLK_SET_RATE_NO_REPARENT to Kernel clocks gabriel.fernandez
2019-02-21 22:15   ` Stephen Boyd
2019-02-14 10:40 ` [PATCH v2 3/7] clk: stm32mp1: set ck_csi as critical clock gabriel.fernandez
2019-02-21 22:15   ` Stephen Boyd
2019-02-14 10:40 ` gabriel.fernandez [this message]
2019-02-21 22:15   ` [PATCH v2 4/7] clk: stm32mp1: fix mcu divider table Stephen Boyd
2019-02-14 10:40 ` [PATCH v2 5/7] clk: stm32mp1: fix HSI divider flag gabriel.fernandez
2019-02-21 22:15   ` Stephen Boyd
2019-02-14 10:40 ` [PATCH v2 6/7] clk: stm32mp1: remove unnecessary CLK_DIVIDER_ALLOW_ZERO flag gabriel.fernandez
2019-02-21 22:15   ` Stephen Boyd
2019-02-14 10:40 ` [PATCH v2 7/7] clk: stm32mp1: fix bit width of hse_rtc divider gabriel.fernandez
2019-02-21 22:16   ` Stephen Boyd

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190214104047.1173-5-gabriel.fernandez@st.com \
    --to=gabriel.fernandez@st.com \
    --cc=alexandre.torgue@st.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-stm32@st-md-mailman.stormreply.com \
    --cc=mcoquelin.stm32@gmail.com \
    --cc=mturquette@baylibre.com \
    --cc=sboyd@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®