1 .\" $NetBSD: iic.4,v 1.2 2009/06/05 09:27:47 wiz Exp $
2 .\" $OpenBSD: iic.4,v 1.74 2008/09/10 16:13:43 reyk Exp $
4 .\" Copyright (c) 2004, 2006 Alexander Yurchenko <grange@openbsd.org>
5 .\" Copyright (c) 2009 Hubert Feyrer <hubertf@NetBSD.org>
7 .\" Permission to use, copy, modify, and distribute this software for any
8 .\" purpose with or without fee is hereby granted, provided that the above
9 .\" copyright notice and this permission notice appear in all copies.
11 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
12 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
13 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
14 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
15 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
16 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
17 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
24 .Nd Inter IC (I2C) bus
27 .\" Use the following commands in (t)csh to output the list below:
28 .\" cd .../src/sys/arch
29 .\" grep -h '^iic.*at' */conf/* | sort -u -k +3 | sed -e 's,[ ][ ]*, ,g' -e 's, *#.*,,' | sh -c 'while read iic at ic ; do printf ".Cd \"$iic $at %-20s # %s\"\n" "$ic" "`grep \"iic.*at.*$ic\" */conf/* | sed \"s,/.*,,\" | sort -u | tr \"\012\" \ `" ; done' | uniq | tee /tmp/x
32 .Cd "iic* at alipm? # sparc64 "
33 .Cd "iic* at amdpm? # amd64 i386 "
34 .Cd "iic* at armadillo9iic? # evbarm "
35 .Cd "iic0 at at91twi? # evbarm "
36 .Cd "iic0 at ausmbus0 # evbmips "
37 .Cd "iic0 at cuda0 # macppc "
38 .Cd "iic0 at gpiic? # evbppc "
39 .Cd "iic* at gtiic? # evbppc "
40 .Cd "iic* at gxiic? # evbarm "
41 .Cd "iic* at ichsmb? # amd64 i386 "
42 .Cd "iic0 at iociic0 # acorn26 "
43 .Cd "iic0 at iomdiic? # acorn32 "
44 .Cd "iic0 at iopiic? # evbarm iyonix "
45 .Cd "iic* at ki2c? # macppc "
46 .Cd "iic* at nfsmb? # amd64 i386 "
47 .Cd "iic* at ociic? # sandpoint "
48 .Cd "iic* at piixpm? # amd64 i386 "
49 .Cd "iic0 at slugiic0 # evbarm "
50 .Cd "iic* at viapcib? # i386 "
53 is a two-wire bus developed by Philips used for connecting
55 It is commonly used for connecting devices such as EEPROMs,
56 temperature sensors, fan controllers, real-time clocks, tuners,
57 and other types of integrated circuits.
61 driver provides a uniform programming interface layer between
63 master controllers and various
68 master controller attaches an
70 framework; several slave devices can then be attached to the
76 slave devices are uniquely identified by the address on the bus.
77 The master accesses a particular slave device using its address.
78 .\" Devices are found on the bus using a sophisticated scanning routine
79 .\" which attempts to identify commonly available devices.
80 .\" On other machines (such as sparc64 and macppc) where the machine ROM
81 .\" supplies a list of I2C devices, that list is used instead.
83 System Management Bus (SMBus) protocol is also supported by emulating
88 A wide list of I2C masters are supported, among them
91 .\" Generate the following list with these (t)csh commands:
92 .\" cd .../src/sys/arch
93 .\" grep -h '^iic.*at' */conf/* | awk '{print $3}' | sed 's,.$,,' | sort -u | sh -c 'while read i ; do echo .It Xr $i 4; n=`grep -h ^.Nd ../../share/man/man4/$i* | sed "s,^.Nd ,,"`; if [ -n "$n" ]; then echo $n ; else echo "" ; fi ; done' | tee /tmp/x
96 .Bl -tag -width 18n -compact
98 Acer Labs M7101 SMBus controller
100 AMD768 Power Management Controller and AMD8111 System Management Controller
101 .It Xr armadillo9iic 4
105 support for CUDA microcontrollers found in many Power Macintosh and
106 and compatible computers
111 Intel ICH SMBus controller
117 NVIDIA nForce 2/3/4 SMBus controller and SMBus driver
120 Intel PIIX and compatible Power Management controller
125 A wide list of slaves are supported, among them:
127 .\" Create the following list with these commands:
128 .\" cd .../src/sys/arch
129 .\" grep -h '.* at iic.*' */conf/* | sed -e 's,^#,,' -e 's, .*,,' -e 's,.$,,' | sort -u | sh -c 'while read i ; do echo .It Xr $i 4 ; n=`grep ^.Nd ../../share/man/man4/$i* | sed "s,^.Nd ,,"` ; if [ -n "$n" ]; then echo $n ; else echo "" ; fi ; done' | tee /tmp/x
132 .Bl -tag -width 13n -compact
134 dbCool(tm) family of environmental monitors and fan controllers
136 RICOH RS5C372A and RS5C372B real-time clock
138 driver for SGS 7433 Basic Audio Processor found in some Apple machines
140 Generic Memory Module Serial Presence Detect
148 framework first appeared in
153 This manpage first appeared in
161 framework was written by
162 .An Steve C. Woodford
170 .An Alexander Yurchenko Aq grange@openbsd.org .