svn commit: r276049 - head/sys/arm/ti

Ian Lepore ian at FreeBSD.org
Mon Dec 22 00:50:02 UTC 2014


Author: ian
Date: Mon Dec 22 00:50:01 2014
New Revision: 276049
URL: https://svnweb.freebsd.org/changeset/base/276049

Log:
  Replace the clock divisor terms with values that also result in a 1 MHz
  clock, but actually work on real hardware, unlike the original set of
  values I chose.
  
  PR:		195009
  Submitted by:	Scott Ellis <jumpnowtek at gmail.com>

Modified:
  head/sys/arm/ti/ti_i2c.c

Modified: head/sys/arm/ti/ti_i2c.c
==============================================================================
--- head/sys/arm/ti/ti_i2c.c	Mon Dec 22 00:21:24 2014	(r276048)
+++ head/sys/arm/ti/ti_i2c.c	Mon Dec 22 00:50:01 2014	(r276049)
@@ -119,7 +119,7 @@ struct ti_i2c_clock_config
 static struct ti_i2c_clock_config ti_omap4_i2c_clock_configs[] = {
 	{  100000, 23,  13,  15,  0,  0},
 	{  400000,  9,   5,   7,  0,  0},
-	{ 1000000,  5,   1,   3,  0,  0},
+	{ 1000000,  3,   5,   7,  0,  0},
 /*	{ 3200000,  1, 113, 115,  7, 10}, - HS mode */
 	{       0 /* Table terminator */ }
 };


More information about the svn-src-all mailing list