files.i2c revision 1.35
11.35Sjakllsch# $NetBSD: files.i2c,v 1.35 2011/07/11 00:01:51 jakllsch 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.30Sjmcneill# Auvitek AU8522 decoder 171.30Sjmcneilldefine au8522: i2cexec 181.30Sjmcneillfile dev/i2c/au8522.c au8522 191.30Sjmcneill 201.30Sjmcneill# Xceive XC5000 tuner 211.30Sjmcneilldefine xc5k: i2cexec 221.30Sjmcneillfile dev/i2c/xc5k.c xc5k 231.30Sjmcneill 241.35Sjakllsch# Generic PLL-based tuners 251.35Sjakllschdefine tvpll: i2cexec 261.35Sjakllschfile dev/i2c/tvpll.c tvpll 271.35Sjakllschfile dev/i2c/tvpll_tuners.c tvpll 281.35Sjakllsch 291.1Sthorpej# 301.31Smatt# I2C master devices 311.31Smatt# 321.31Smattdefine motoi2c 331.31Smattfile dev/i2c/motoi2c.c motoi2c 341.31Smatt 351.31Smatt# 361.1Sthorpej# I2C client devices 371.1Sthorpej# 381.1Sthorpej 391.1Sthorpej# M41T00 Real Time Clock 401.3Sbriggsdevice m41trtc 411.3Sbriggsattach m41trtc at iic 421.3Sbriggsfile dev/i2c/m41t00.c m41trtc 431.1Sthorpej 441.1Sthorpej# M41ST84 Real Time Clock 451.1Sthorpejdevice strtc 461.1Sthorpejattach strtc at iic 471.1Sthorpejfile dev/i2c/m41st84.c strtc 481.29Skiyoharadefflag opt_strtc.h STRTC_NO_USERRAM 491.29Skiyohara STRTC_NO_WATCHDOG 501.1Sthorpej 511.1Sthorpej# MAX6900 Real Time Clock 521.1Sthorpejdevice maxrtc 531.1Sthorpejattach maxrtc at iic 541.1Sthorpejfile dev/i2c/max6900.c maxrtc 551.1Sthorpej 561.32Sjakllsch# NXP/Philips PCF8563 Real Time Clock 571.32Sjakllschdevice pcf8563rtc 581.32Sjakllschattach pcf8563rtc at iic 591.32Sjakllschfile dev/i2c/pcf8563.c pcf8563rtc 601.32Sjakllsch 611.1Sthorpej# Philips PCF8583 Real Time Clock 621.1Sthorpejdevice pcfrtc 631.1Sthorpejattach pcfrtc at iic 641.1Sthorpejfile dev/i2c/pcf8583.c pcfrtc 651.1Sthorpej 661.34Sphx# Seiko Instruments S-xx390A Real Time Clock 671.34Sphxdevice s390rtc 681.34Sphxattach s390rtc at iic 691.34Sphxfile dev/i2c/s390.c s390rtc 701.34Sphx 711.1Sthorpej# Atmel/Microchip 24Cxx Serial EEPROM 721.1Sthorpejdefine at24cxx_eeprom 731.1Sthorpejdevice seeprom 741.1Sthorpejattach seeprom at iic 751.1Sthorpejfile dev/i2c/at24cxx.c seeprom | at24cxx_eeprom 761.1Sthorpej needs-flag 771.1Sthorpej 781.1Sthorpej# National Semiconductor LM75 temperature sensor 791.1Sthorpejdevice lmtemp: sysmon_envsys 801.1Sthorpejattach lmtemp at iic 811.1Sthorpejfile dev/i2c/lm75.c lmtemp 821.1Sthorpej 831.21Spgoyette# National Semiconductor LM78 temp sensor/fan controller 841.21Spgoyetteattach lm at iic with lm_iic 851.21Spgoyettefile dev/i2c/lm_i2c.c lm_iic 861.21Spgoyette 871.1Sthorpej# Dallas DS1307 Real Time Clock 881.1Sthorpejdevice dsrtc 891.1Sthorpejattach dsrtc at iic 901.1Sthorpejfile dev/i2c/ds1307.c dsrtc 911.2Sshige 921.2Sshige# Xicor X1226 Real Time Clock 931.2Sshigedevice xrtc 941.2Sshigeattach xrtc at iic 951.2Sshigefile dev/i2c/x1226.c xrtc 961.4Smacallan 971.19Spgoyette# Analog Devices dBCool family of thermal monitors / fan controllers 981.19Spgoyettedefine dbcool {} 991.19Spgoyettedevice dbcool: sysmon_envsys 1001.19Spgoyetteattach dbcool at iic 1011.19Spgoyettefile dev/i2c/dbcool.c dbcool 1021.19Spgoyette 1031.5Snonaka# RICOH RS5C372[AB] Real Time Clock 1041.5Snonakadevice rs5c372rtc 1051.5Snonakaattach rs5c372rtc at iic 1061.5Snonakafile dev/i2c/rs5c372.c rs5c372rtc 1071.8Sshige 1081.8Sshige# RICOH R2025S/D Real Time Clock 1091.8Sshigedevice r2025rtc 1101.8Sshigeattach r2025rtc at iic 1111.8Sshigefile dev/i2c/r2025.c r2025rtc 1121.9Sgdamore 1131.9Sgdamore# VESA Display Data Channel 2 1141.9Sgdamoredevice ddc 1151.10Sgdamoredefine ddc_read_edid 1161.9Sgdamoreattach ddc at iic 1171.10Sgdamorefile dev/i2c/ddc.c ddc | ddc_read_edid 1181.11Sjmcneill 1191.14Smacallan# SGS TDA7433 audio mixer 1201.16Smacallandevice sgsmix 1211.16Smacallanattach sgsmix at iic 1221.14Smacallanfile dev/i2c/sgsmix.c sgsmix needs-flag 1231.16Smacallandefflag opt_sgsmix.h SGSMIX_DEBUG 1241.14Smacallan 1251.11Sjmcneill# Xbox PIC16LC System Management Controller 1261.11Sjmcneilldevice pic16lc: sysmon_envsys 1271.11Sjmcneillattach pic16lc at iic 1281.13Sjmcneillfile dev/i2c/pic16lc.c pic16lc needs-flag 1291.12Sjmcneill 1301.12Sjmcneill# Xbox Serial EEPROM 1311.12Sjmcneilldevice xbseeprom 1321.12Sjmcneillattach xbseeprom at iic 1331.12Sjmcneillfile dev/i2c/xbseeprom.c xbseeprom 1341.15Stnn 1351.15Stnn# Memory Serial Presence Detect 1361.27Spgoyetteattach spdmem at iic with spdmem_iic 1371.27Spgoyettefile dev/i2c/spdmem_i2c.c spdmem_iic 1381.22Sjkunz 1391.24Spgoyette# Memory Temp Sensor 1401.25Spgoyettedevice sdtemp: sysmon_envsys 1411.24Spgoyetteattach sdtemp at iic 1421.24Spgoyettefile dev/i2c/sdtemp.c sdtemp 1431.24Spgoyette 1441.22Sjkunz# ADM1021 1451.23Snakayamadevice admtemp: sysmon_envsys 1461.22Sjkunzattach admtemp at iic 1471.22Sjkunzfile dev/i2c/adm1021.c admtemp 1481.26Spgoyette 1491.26Spgoyette# SMSC LPC47M192 hardware monitor 1501.26Spgoyettedevice smscmon: sysmon_envsys 1511.26Spgoyetteattach smscmon at iic 1521.26Spgoyettefile dev/i2c/smscmon.c smscmon 1531.28Skiyohara 1541.28Skiyohara# G760a FAN controller 1551.28Skiyoharadevice g760a: sysmon_envsys 1561.28Skiyoharaattach g760a at iic 1571.28Skiyoharafile dev/i2c/g760a.c g760a 1581.33Shannken 1591.33Shannken# IBM Hawk Integrated Systems Management Processor 1601.33Shannkendevice ibmhawk: sysmon_envsys 1611.33Shannkenattach ibmhawk at iic 1621.33Shannkenfile dev/i2c/ibmhawk.c ibmhawk 163