From owner-freebsd-embedded@FreeBSD.ORG Sun Dec 14 14:58:11 2008 Return-Path: Delivered-To: freebsd-embedded@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AAA871065678 for ; Sun, 14 Dec 2008 14:58:11 +0000 (UTC) (envelope-from brix@FreeBSD.org) Received: from solow.pil.dk (relay.pil.dk [195.41.47.164]) by mx1.freebsd.org (Postfix) with ESMTP id 6ACCD8FC18 for ; Sun, 14 Dec 2008 14:58:11 +0000 (UTC) (envelope-from brix@FreeBSD.org) Received: from tirith.brixandersen.dk (0x55534f5f.adsl.cybercity.dk [85.83.79.95]) by solow.pil.dk (Postfix) with ESMTPA id ABEDC1CC17E for ; Sun, 14 Dec 2008 15:58:09 +0100 (CET) Received: by tirith.brixandersen.dk (Postfix, from userid 1001) id 787F71141D; Sun, 14 Dec 2008 15:58:08 +0100 (CET) Date: Sun, 14 Dec 2008 15:58:08 +0100 From: Henrik Brix Andersen To: freebsd-embedded@FreeBSD.org Message-ID: <20081214145807.GA18293@tirith.brixandersen.dk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wac7ysb48OaltWcw" Content-Disposition: inline X-PGP-Key: http://www.brixandersen.dk/files/HenrikBrixAndersen.asc User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Subject: iicbus(4) speed selection X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Dec 2008 14:58:11 -0000 --wac7ysb48OaltWcw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, One of the parameters to our iicbus_reset method is a speed selection, which can be either IIC_SLOW, IIC_FAST or IIC_FASTEST. Both arm/at91/at91_twi.c and dev/pcf/pcf.c interpret these as 1.5kb/s, 45kb/s and 90kb/s respectively, which has me wondering. Knowing I2C, I would have expected something like 10kb/s, 100kb/s and 400kb/s. Does anybody know why these speeds were selected when implementing the above mentioned drivers? Are new drivers required to match these speeds? Brix --=20 Henrik Brix Andersen --wac7ysb48OaltWcw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) Comment: GnuPG signed iEYEARECAAYFAklFHv4ACgkQv+Q4flTiePhnJwCeMnf1C8YQa3q56s6iRnb+AYwo yncAn2buMNAyqgDN5QyFzazJUkT6yyrz =rvMV -----END PGP SIGNATURE----- --wac7ysb48OaltWcw--