files.i2c revision 1.5
11.5Snonaka#	$NetBSD: files.i2c,v 1.5 2005/08/16 11:09:12 nonaka Exp $
21.1Sthorpej
31.1Sthorpejdefine	i2cbus { }
41.1Sthorpejdefine	i2cexec
51.1Sthorpej
61.1Sthorpejdevice	iic { addr, [size = -1] }
71.1Sthorpejattach	iic at i2cbus
81.1Sthorpejfile	dev/i2c/i2c.c				iic | i2cbus
91.1Sthorpejfile	dev/i2c/i2c_exec.c			iic | i2cbus | i2cexec
101.1Sthorpej
111.1Sthorpej# Common module for bit-bang'ing an I2C bus
121.1Sthorpejdefine	i2c_bitbang
131.1Sthorpejfile	dev/i2c/i2c_bitbang.c			i2c_bitbang
141.1Sthorpej
151.1Sthorpej#
161.1Sthorpej# I2C client devices
171.1Sthorpej#
181.1Sthorpej
191.1Sthorpej# M41T00 Real Time Clock
201.3Sbriggsdevice	m41trtc
211.3Sbriggsattach	m41trtc at iic
221.3Sbriggsfile	dev/i2c/m41t00.c			m41trtc
231.1Sthorpej
241.1Sthorpej# M41ST84 Real Time Clock
251.1Sthorpejdevice	strtc
261.1Sthorpejattach	strtc at iic
271.1Sthorpejfile	dev/i2c/m41st84.c			strtc
281.1Sthorpej
291.1Sthorpej# MAX6900 Real Time Clock
301.1Sthorpejdevice	maxrtc
311.1Sthorpejattach	maxrtc at iic
321.1Sthorpejfile	dev/i2c/max6900.c			maxrtc
331.1Sthorpej
341.1Sthorpej# Philips PCF8583 Real Time Clock
351.1Sthorpejdevice	pcfrtc
361.1Sthorpejattach	pcfrtc at iic
371.1Sthorpejfile	dev/i2c/pcf8583.c			pcfrtc
381.1Sthorpej
391.1Sthorpej# Atmel/Microchip 24Cxx Serial EEPROM
401.1Sthorpejdefine	at24cxx_eeprom
411.1Sthorpejdevice	seeprom
421.1Sthorpejattach	seeprom at iic
431.1Sthorpejfile	dev/i2c/at24cxx.c			seeprom | at24cxx_eeprom
441.1Sthorpej						    needs-flag
451.1Sthorpej
461.1Sthorpej# National Semiconductor LM75 temperature sensor
471.1Sthorpejdevice	lmtemp: sysmon_envsys
481.1Sthorpejattach	lmtemp at iic
491.1Sthorpejfile	dev/i2c/lm75.c				lmtemp
501.1Sthorpej
511.1Sthorpej# Dallas DS1307 Real Time Clock
521.1Sthorpejdevice	dsrtc
531.1Sthorpejattach	dsrtc at iic
541.1Sthorpejfile	dev/i2c/ds1307.c			dsrtc
551.2Sshige
561.2Sshige# Xicor X1226 Real Time Clock
571.2Sshigedevice	xrtc
581.2Sshigeattach	xrtc at iic
591.2Sshigefile	dev/i2c/x1226.c				xrtc
601.4Smacallan
611.4Smacallan# Analog Devices ADT 7467 thermal monitor / fan controller
621.4Smacallandefine adt7467c {}
631.4Smacallandevice adt7467c: sysmon_envsys
641.4Smacallanattach adt7467c at iic
651.4Smacallanfile dev/i2c/adt7467.c			adt7467c
661.4Smacallan
671.4Smacallan# Analog Devices ADM 1030 thermal monitor / fan controller
681.4Smacallandefine adm1030c {}
691.4Smacallandevice adm1030c: sysmon_envsys
701.4Smacallanattach adm1030c at iic
711.4Smacallanfile dev/i2c/adm1030.c			adm1030c
721.5Snonaka
731.5Snonaka# RICOH RS5C372[AB] Real Time Clock
741.5Snonakadevice	rs5c372rtc
751.5Snonakaattach	rs5c372rtc at iic
761.5Snonakafile	dev/i2c/rs5c372.c		rs5c372rtc
77