files.i2c revision 1.26
11.26Spgoyette#	$NetBSD: files.i2c,v 1.26 2010/02/22 03:50:56 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.21Spgoyette# National Semiconductor LM78 temp sensor/fan controller
531.21Spgoyetteattach	lm at iic with lm_iic
541.21Spgoyettefile	dev/i2c/lm_i2c.c			lm_iic
551.21Spgoyette
561.1Sthorpej# Dallas DS1307 Real Time Clock
571.1Sthorpejdevice	dsrtc
581.1Sthorpejattach	dsrtc at iic
591.1Sthorpejfile	dev/i2c/ds1307.c			dsrtc
601.2Sshige
611.2Sshige# Xicor X1226 Real Time Clock
621.2Sshigedevice	xrtc
631.2Sshigeattach	xrtc at iic
641.2Sshigefile	dev/i2c/x1226.c				xrtc
651.4Smacallan
661.19Spgoyette# Analog Devices dBCool family of thermal monitors / fan controllers
671.19Spgoyettedefine dbcool {}
681.19Spgoyettedevice dbcool: sysmon_envsys
691.19Spgoyetteattach dbcool at iic
701.19Spgoyettefile dev/i2c/dbcool.c			dbcool
711.19Spgoyette
721.5Snonaka# RICOH RS5C372[AB] Real Time Clock
731.5Snonakadevice	rs5c372rtc
741.5Snonakaattach	rs5c372rtc at iic
751.5Snonakafile	dev/i2c/rs5c372.c		rs5c372rtc
761.8Sshige
771.8Sshige# RICOH R2025S/D Real Time Clock
781.8Sshigedevice	r2025rtc
791.8Sshigeattach	r2025rtc at iic
801.8Sshigefile	dev/i2c/r2025.c			r2025rtc
811.9Sgdamore
821.9Sgdamore# VESA Display Data Channel 2
831.9Sgdamoredevice	ddc
841.10Sgdamoredefine	ddc_read_edid
851.9Sgdamoreattach	ddc at iic
861.10Sgdamorefile	dev/i2c/ddc.c			ddc | ddc_read_edid
871.11Sjmcneill
881.14Smacallan# SGS TDA7433 audio mixer
891.16Smacallandevice	sgsmix
901.16Smacallanattach	sgsmix at iic
911.14Smacallanfile	dev/i2c/sgsmix.c		sgsmix needs-flag
921.16Smacallandefflag	opt_sgsmix.h	SGSMIX_DEBUG
931.14Smacallan
941.11Sjmcneill# Xbox PIC16LC System Management Controller
951.11Sjmcneilldevice	pic16lc: sysmon_envsys
961.11Sjmcneillattach	pic16lc at iic
971.13Sjmcneillfile	dev/i2c/pic16lc.c		pic16lc needs-flag
981.12Sjmcneill
991.12Sjmcneill# Xbox Serial EEPROM
1001.12Sjmcneilldevice	xbseeprom
1011.12Sjmcneillattach	xbseeprom at iic
1021.12Sjmcneillfile	dev/i2c/xbseeprom.c		xbseeprom
1031.15Stnn
1041.15Stnn# Memory Serial Presence Detect
1051.15Stnndevice	spdmem
1061.15Stnnattach	spdmem at iic
1071.15Stnnfile	dev/i2c/spdmem.c		spdmem
1081.22Sjkunz
1091.24Spgoyette# Memory Temp Sensor
1101.25Spgoyettedevice	sdtemp: sysmon_envsys
1111.24Spgoyetteattach	sdtemp at iic
1121.24Spgoyettefile	dev/i2c/sdtemp.c		sdtemp
1131.24Spgoyette
1141.22Sjkunz# ADM1021
1151.23Snakayamadevice	admtemp: sysmon_envsys
1161.22Sjkunzattach	admtemp at iic
1171.22Sjkunzfile	dev/i2c/adm1021.c		admtemp
1181.26Spgoyette
1191.26Spgoyette# SMSC LPC47M192 hardware monitor
1201.26Spgoyettedevice	smscmon: sysmon_envsys
1211.26Spgoyetteattach	smscmon at iic
1221.26Spgoyettefile	dev/i2c/smscmon.c		smscmon
123