Blackfin arch: make sure we include the fix for SPORT hysteresis when reprogramming clocks

Previous thread: Blackfin arch: Fix bogus str_ident check in gpio code by Linux Kernel Mailing List on Monday, October 13, 2008 - 11:22 am. (1 message)

Next thread: vfs: Use const for kernel parser table by Linux Kernel Mailing List on Monday, October 13, 2008 - 11:22 am. (1 message)
From: Linux Kernel Mailing List
Date: Monday, October 13, 2008 - 11:22 am

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=71de1f...
Commit:     71de1f8a6365ea65346881e526132563d93696d1
Parent:     e9fae189caae7c1cf306e30f5b67c6d226ed69cf
Author:     Robin Getz <rgetz@blackfin.uclinux.org>
AuthorDate: Mon Oct 13 11:37:34 2008 +0800
Committer:  Bryan Wu <cooloney@kernel.org>
CommitDate: Mon Oct 13 11:37:34 2008 +0800

    Blackfin arch: make sure we include the fix for SPORT hysteresis when reprogramming clocks
    
    As pointed out by Appalayagari Sreedhar, make sure we include the fix
    for SPORT hysteresis when reprogramming clocks.
    
    Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>
---
 arch/blackfin/mach-bf527/head.S |    3 +++
 arch/blackfin/mach-bf533/head.S |    3 +++
 arch/blackfin/mach-bf537/head.S |    3 +++
 arch/blackfin/mach-bf548/head.S |    3 +++
 arch/blackfin/mach-bf561/head.S |    3 +++
 5 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/arch/blackfin/mach-bf527/head.S b/arch/blackfin/mach-bf527/head.S
index 28c4861..6588170 100644
--- a/arch/blackfin/mach-bf527/head.S
+++ b/arch/blackfin/mach-bf527/head.S
@@ -87,6 +87,9 @@ ENTRY(_start_dma_code)
 	r1 = PLL_BYPASS;                 /* Bypass the PLL?                 */
 	r1 = r1 << 8;                    /* Shift it over                   */
 	r0 = r1 | r0;                    /* add them all together           */
+#ifdef ANOMALY_05000265
+	r0 = BITSET(r0, 15);             /* Add 250 mV of hysteresis to SPORT input pins */
+#endif
 
 	p0.h = hi(PLL_CTL);
 	p0.l = lo(PLL_CTL);              /* Load the address                */
diff --git a/arch/blackfin/mach-bf533/head.S b/arch/blackfin/mach-bf533/head.S
index 01b2b7e..619685b 100644
--- a/arch/blackfin/mach-bf533/head.S
+++ b/arch/blackfin/mach-bf533/head.S
@@ -78,6 +78,9 @@ ENTRY(_start_dma_code)
 	r1 = PLL_BYPASS;                 /* Bypass the PLL?                 */
 	r1 ...
Previous thread: Blackfin arch: Fix bogus str_ident check in gpio code by Linux Kernel Mailing List on Monday, October 13, 2008 - 11:22 am. (1 message)

Next thread: vfs: Use const for kernel parser table by Linux Kernel Mailing List on Monday, October 13, 2008 - 11:22 am. (1 message)