Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Dec 2014 00:50:02 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r276049 - head/sys/arm/ti
Message-ID:  <201412220050.sBM0o22e080875@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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 */ }
 };



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412220050.sBM0o22e080875>