files.i2c revision 1.19
11.19Spgoyette#	$NetBSD: files.i2c,v 1.19 2008/10/02 00:47:51 pgoyette Exp $
21.1Sthorpej
31.18Spgoyettedefflag	opt_i2cbus.h				I2C_SCAN
41.1Sthorpejdefine	i2cbus { }
51.1Sthorpejdefine	i2cexec
61.1Sthorpej
71.17Smacallandevice	iic { [addr = -1], [size = -1] }
81.1Sthorpejattach	iic at i2cbus
91.1Sthorpejfile	dev/i2c/i2c.c				iic | i2cbus
101.1Sthorpejfile	dev/i2c/i2c_exec.c			iic | i2cbus | i2cexec
111.1Sthorpej
121.1Sthorpej# Common module for bit-bang'ing an I2C bus
131.1Sthorpejdefine	i2c_bitbang
141.1Sthorpejfile	dev/i2c/i2c_bitbang.c			i2c_bitbang
151.1Sthorpej
161.1Sthorpej#
171.1Sthorpej# I2C client devices
181.1Sthorpej#
191.1Sthorpej
201.1Sthorpej# M41T00 Real Time Clock
211.3Sbriggsdevice	m41trtc
221.3Sbriggsattach	m41trtc at iic
231.3Sbriggsfile	dev/i2c/m41t00.c			m41trtc
241.1Sthorpej
251.1Sthorpej# M41ST84 Real Time Clock
261.1Sthorpejdevice	strtc
271.1Sthorpejattach	strtc at iic
281.1Sthorpejfile	dev/i2c/m41st84.c			strtc
291.1Sthorpej
301.1Sthorpej# MAX6900 Real Time Clock
311.1Sthorpejdevice	maxrtc
321.1Sthorpejattach	maxrtc at iic
331.1Sthorpejfile	dev/i2c/max6900.c			maxrtc
341.1Sthorpej
351.1Sthorpej# Philips PCF8583 Real Time Clock
361.1Sthorpejdevice	pcfrtc
371.1Sthorpejattach	pcfrtc at iic
381.1Sthorpejfile	dev/i2c/pcf8583.c			pcfrtc
391.1Sthorpej
401.1Sthorpej# Atmel/Microchip 24Cxx Serial EEPROM
411.1Sthorpejdefine	at24cxx_eeprom
421.1Sthorpejdevice	seeprom
431.1Sthorpejattach	seeprom at iic
441.1Sthorpejfile	dev/i2c/at24cxx.c			seeprom | at24cxx_eeprom
451.1Sthorpej						    needs-flag
461.1Sthorpej
471.1Sthorpej# National Semiconductor LM75 temperature sensor
481.1Sthorpejdevice	lmtemp: sysmon_envsys
491.1Sthorpejattach	lmtemp at iic
501.1Sthorpejfile	dev/i2c/lm75.c				lmtemp
511.1Sthorpej
521.1Sthorpej# Dallas DS1307 Real Time Clock
531.1Sthorpejdevice	dsrtc
541.1Sthorpejattach	dsrtc at iic
551.1Sthorpejfile	dev/i2c/ds1307.c			dsrtc
561.2Sshige
571.2Sshige# Xicor X1226 Real Time Clock
581.2Sshigedevice	xrtc
591.2Sshigeattach	xrtc at iic
601.2Sshigefile	dev/i2c/x1226.c				xrtc
611.4Smacallan
621.7Stls# Analog Devices ADT 7463 thermal monitor / fan controller
631.7Stlsdefine adt7463c {}
641.7Stlsdevice adt7463c: sysmon_envsys
651.7Stlsattach adt7463c at iic
661.7Stlsfile dev/i2c/adt7463.c			adt7463c
671.7Stls
681.4Smacallan# Analog Devices ADT 7467 thermal monitor / fan controller
691.4Smacallandefine adt7467c {}
701.4Smacallandevice adt7467c: sysmon_envsys
711.4Smacallanattach adt7467c at iic
721.4Smacallanfile dev/i2c/adt7467.c			adt7467c
731.4Smacallan
741.19Spgoyette# Analog Devices dBCool family of thermal monitors / fan controllers
751.19Spgoyettedefine dbcool {}
761.19Spgoyettedevice dbcool: sysmon_envsys
771.19Spgoyetteattach dbcool at iic
781.19Spgoyettefile dev/i2c/dbcool.c			dbcool
791.19Spgoyette
801.4Smacallan# Analog Devices ADM 1030 thermal monitor / fan controller
811.4Smacallandefine adm1030c {}
821.4Smacallandevice adm1030c: sysmon_envsys
831.4Smacallanattach adm1030c at iic
841.4Smacallanfile dev/i2c/adm1030.c			adm1030c
851.5Snonaka
861.5Snonaka# RICOH RS5C372[AB] Real Time Clock
871.5Snonakadevice	rs5c372rtc
881.5Snonakaattach	rs5c372rtc at iic
891.5Snonakafile	dev/i2c/rs5c372.c		rs5c372rtc
901.8Sshige
911.8Sshige# RICOH R2025S/D Real Time Clock
921.8Sshigedevice	r2025rtc
931.8Sshigeattach	r2025rtc at iic
941.8Sshigefile	dev/i2c/r2025.c			r2025rtc
951.9Sgdamore
961.9Sgdamore# VESA Display Data Channel 2
971.9Sgdamoredevice	ddc
981.10Sgdamoredefine	ddc_read_edid
991.9Sgdamoreattach	ddc at iic
1001.10Sgdamorefile	dev/i2c/ddc.c			ddc | ddc_read_edid
1011.11Sjmcneill
1021.14Smacallan# SGS TDA7433 audio mixer
1031.16Smacallandevice	sgsmix
1041.16Smacallanattach	sgsmix at iic
1051.14Smacallanfile	dev/i2c/sgsmix.c		sgsmix needs-flag
1061.16Smacallandefflag	opt_sgsmix.h	SGSMIX_DEBUG
1071.14Smacallan
1081.11Sjmcneill# Xbox PIC16LC System Management Controller
1091.11Sjmcneilldevice	pic16lc: sysmon_envsys
1101.11Sjmcneillattach	pic16lc at iic
1111.13Sjmcneillfile	dev/i2c/pic16lc.c		pic16lc needs-flag
1121.12Sjmcneill
1131.12Sjmcneill# Xbox Serial EEPROM
1141.12Sjmcneilldevice	xbseeprom
1151.12Sjmcneillattach	xbseeprom at iic
1161.12Sjmcneillfile	dev/i2c/xbseeprom.c		xbseeprom
1171.15Stnn
1181.15Stnn# Memory Serial Presence Detect
1191.15Stnndevice	spdmem
1201.15Stnnattach	spdmem at iic
1211.15Stnnfile	dev/i2c/spdmem.c		spdmem
122