mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Jan Weitzel <j.weitzel@phytec.de>
To: barebox@lists.infradead.org
Subject: [PATCH] OMAP4: Use default clock source for mcbsp
Date: Tue, 28 May 2013 13:51:40 +0200	[thread overview]
Message-ID: <1369741903-24988-2-git-send-email-j.weitzel@phytec.de> (raw)

In omap4_enable_all_clocks we not only enable the mcbsp clocks, but also
change the source from ABE_24M_FCLK to 24M_FCLK. Revert this and default
to the reset state.

Signed-off-by: Jan Weitzel <j.weitzel@phytec.de>
---
 arch/arm/mach-omap/omap4_clock.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/mach-omap/omap4_clock.c b/arch/arm/mach-omap/omap4_clock.c
index 0621fd3..889d1f9 100644
--- a/arch/arm/mach-omap/omap4_clock.c
+++ b/arch/arm/mach-omap/omap4_clock.c
@@ -253,9 +253,9 @@ void omap4_enable_all_clocks(void)
 	sr32(CM1_ABE_PDM_CLKCTRL, 0, 32, 0x2);
 	sr32(CM1_ABE_DMIC_CLKCTRL, 0, 32, 0x2);
 	sr32(CM1_ABE_MCASP_CLKCTRL, 0, 32, 0x2);
-	sr32(CM1_ABE_MCBSP1_CLKCTRL, 0, 32, 0x08000002);
-	sr32(CM1_ABE_MCBSP2_CLKCTRL, 0, 32, 0x08000002);
-	sr32(CM1_ABE_MCBSP3_CLKCTRL, 0, 32, 0x08000002);
+	sr32(CM1_ABE_MCBSP1_CLKCTRL, 0, 32, 0x2);
+	sr32(CM1_ABE_MCBSP2_CLKCTRL, 0, 32, 0x2);
+	sr32(CM1_ABE_MCBSP3_CLKCTRL, 0, 32, 0x2);
 	sr32(CM1_ABE_SLIMBUS_CLKCTRL, 0, 32, 0xf02);
 	sr32(CM1_ABE_TIMER5_CLKCTRL, 0, 32, 0x2);
 	sr32(CM1_ABE_TIMER6_CLKCTRL, 0, 32, 0x2);
-- 
1.7.0.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2013-05-28 11:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-28 11:51 Jan Weitzel [this message]
2013-06-04 14:53 ` Sascha Hauer
2013-06-05 10:56   ` Jan Weitzel
2013-06-05 20:50     ` vj
2013-06-08 13:13 ` Sascha Hauer
2013-06-12  7:14   ` Jan Weitzel
2013-06-17  7:14     ` Sascha Hauer
2013-06-17  8:00       ` Jan Weitzel

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=1369741903-24988-2-git-send-email-j.weitzel@phytec.de \
    --to=j.weitzel@phytec.de \
    --cc=barebox@lists.infradead.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