files.i2c revision 1.53
11.53Sjdc# $NetBSD: files.i2c,v 1.53 2013/10/15 19:13:32 jdc Exp $ 21.1Sthorpej 31.43Sjmcneillobsolete defflag 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.44Sjmcneillfile dev/i2c/i2c.c iic 101.1Sthorpejfile dev/i2c/i2c_exec.c iic | i2cbus | i2cexec 111.44Sjmcneillfile dev/i2c/i2c_subr.c iic | i2cbus 121.1Sthorpej 131.1Sthorpej# Common module for bit-bang'ing an I2C bus 141.1Sthorpejdefine i2c_bitbang 151.1Sthorpejfile dev/i2c/i2c_bitbang.c i2c_bitbang 161.1Sthorpej 171.30Sjmcneill# Auvitek AU8522 decoder 181.30Sjmcneilldefine au8522: i2cexec 191.30Sjmcneillfile dev/i2c/au8522.c au8522 201.30Sjmcneill 211.37Sjmcneill# LG DT3303 decoder 221.42Sjmcneilldefine lg3303: i2cexec, dtv_math 231.37Sjmcneillfile dev/i2c/lg3303.c lg3303 241.37Sjmcneill 251.37Sjmcneill# Xceive XC3028 tuner 261.42Sjmcneilldefine xc3028: i2cexec, firmload 271.37Sjmcneillfile dev/i2c/xc3028.c xc3028 281.37Sjmcneill 291.30Sjmcneill# Xceive XC5000 tuner 301.37Sjmcneilldefine xc5k: i2cexec, firmload 311.30Sjmcneillfile dev/i2c/xc5k.c xc5k 321.30Sjmcneill 331.35Sjakllsch# Generic PLL-based tuners 341.35Sjakllschdefine tvpll: i2cexec 351.35Sjakllschfile dev/i2c/tvpll.c tvpll 361.35Sjakllschfile dev/i2c/tvpll_tuners.c tvpll 371.35Sjakllsch 381.36Sjakllsch# Nextwave NXT200x demodulator 391.38Sjmcneilldefine nxt2k: i2cexec, firmload 401.36Sjakllschfile dev/i2c/nxt2k.c nxt2k 411.36Sjakllsch 421.39Sjakllsch# Microtune MT2131 silicon tuner 431.39Sjakllschdefine mt2131: i2cexec 441.39Sjakllschfile dev/i2c/mt2131.c mt2131 451.39Sjakllsch 461.40Sjakllsch# Conexant/Samsung CX24227/S5H1409 demodulator 471.40Sjakllschdefine cx24227: i2cexec 481.40Sjakllschfile dev/i2c/cx24227.c cx24227 491.40Sjakllsch 501.1Sthorpej# 511.31Smatt# I2C master devices 521.31Smatt# 531.31Smattdefine motoi2c 541.31Smattfile dev/i2c/motoi2c.c motoi2c 551.51Smattdefine mvi2c 561.51Smattfile dev/i2c/gttwsi_core.c mvi2c 571.31Smatt 581.31Smatt# 591.1Sthorpej# I2C client devices 601.1Sthorpej# 611.1Sthorpej 621.1Sthorpej# M41T00 Real Time Clock 631.3Sbriggsdevice m41trtc 641.3Sbriggsattach m41trtc at iic 651.3Sbriggsfile dev/i2c/m41t00.c m41trtc 661.1Sthorpej 671.1Sthorpej# M41ST84 Real Time Clock 681.1Sthorpejdevice strtc 691.1Sthorpejattach strtc at iic 701.1Sthorpejfile dev/i2c/m41st84.c strtc 711.29Skiyoharadefflag opt_strtc.h STRTC_NO_USERRAM 721.29Skiyohara STRTC_NO_WATCHDOG 731.1Sthorpej 741.1Sthorpej# MAX6900 Real Time Clock 751.1Sthorpejdevice maxrtc 761.1Sthorpejattach maxrtc at iic 771.1Sthorpejfile dev/i2c/max6900.c maxrtc 781.1Sthorpej 791.32Sjakllsch# NXP/Philips PCF8563 Real Time Clock 801.32Sjakllschdevice pcf8563rtc 811.32Sjakllschattach pcf8563rtc at iic 821.32Sjakllschfile dev/i2c/pcf8563.c pcf8563rtc 831.32Sjakllsch 841.1Sthorpej# Philips PCF8583 Real Time Clock 851.1Sthorpejdevice pcfrtc 861.1Sthorpejattach pcfrtc at iic 871.1Sthorpejfile dev/i2c/pcf8583.c pcfrtc 881.1Sthorpej 891.34Sphx# Seiko Instruments S-xx390A Real Time Clock 901.34Sphxdevice s390rtc 911.34Sphxattach s390rtc at iic 921.34Sphxfile dev/i2c/s390.c s390rtc 931.34Sphx 941.1Sthorpej# Atmel/Microchip 24Cxx Serial EEPROM 951.1Sthorpejdefine at24cxx_eeprom 961.1Sthorpejdevice seeprom 971.1Sthorpejattach seeprom at iic 981.1Sthorpejfile dev/i2c/at24cxx.c seeprom | at24cxx_eeprom 991.1Sthorpej needs-flag 1001.1Sthorpej 1011.1Sthorpej# National Semiconductor LM75 temperature sensor 1021.1Sthorpejdevice lmtemp: sysmon_envsys 1031.1Sthorpejattach lmtemp at iic 1041.1Sthorpejfile dev/i2c/lm75.c lmtemp 1051.1Sthorpej 1061.21Spgoyette# National Semiconductor LM78 temp sensor/fan controller 1071.21Spgoyetteattach lm at iic with lm_iic 1081.21Spgoyettefile dev/i2c/lm_i2c.c lm_iic 1091.21Spgoyette 1101.53Sjdc# National Semiconductor LM87 and clones system hardware monitor 1111.53Sjdcdevice lmenv: sysmon_envsys 1121.53Sjdcattach lmenv at iic 1131.53Sjdcfile dev/i2c/lm87.c lmenv 1141.53Sjdc 1151.1Sthorpej# Dallas DS1307 Real Time Clock 1161.1Sthorpejdevice dsrtc 1171.1Sthorpejattach dsrtc at iic 1181.1Sthorpejfile dev/i2c/ds1307.c dsrtc 1191.2Sshige 1201.2Sshige# Xicor X1226 Real Time Clock 1211.2Sshigedevice xrtc 1221.2Sshigeattach xrtc at iic 1231.2Sshigefile dev/i2c/x1226.c xrtc 1241.4Smacallan 1251.19Spgoyette# Analog Devices dBCool family of thermal monitors / fan controllers 1261.19Spgoyettedefine dbcool {} 1271.19Spgoyettedevice dbcool: sysmon_envsys 1281.19Spgoyetteattach dbcool at iic 1291.19Spgoyettefile dev/i2c/dbcool.c dbcool 1301.19Spgoyette 1311.5Snonaka# RICOH RS5C372[AB] Real Time Clock 1321.5Snonakadevice rs5c372rtc 1331.5Snonakaattach rs5c372rtc at iic 1341.5Snonakafile dev/i2c/rs5c372.c rs5c372rtc 1351.8Sshige 1361.8Sshige# RICOH R2025S/D Real Time Clock 1371.8Sshigedevice r2025rtc 1381.8Sshigeattach r2025rtc at iic 1391.8Sshigefile dev/i2c/r2025.c r2025rtc 1401.9Sgdamore 1411.9Sgdamore# VESA Display Data Channel 2 1421.9Sgdamoredevice ddc 1431.10Sgdamoredefine ddc_read_edid 1441.9Sgdamoreattach ddc at iic 1451.10Sgdamorefile dev/i2c/ddc.c ddc | ddc_read_edid 1461.11Sjmcneill 1471.14Smacallan# SGS TDA7433 audio mixer 1481.16Smacallandevice sgsmix 1491.16Smacallanattach sgsmix at iic 1501.14Smacallanfile dev/i2c/sgsmix.c sgsmix needs-flag 1511.16Smacallandefflag opt_sgsmix.h SGSMIX_DEBUG 1521.14Smacallan 1531.15Stnn# Memory Serial Presence Detect 1541.27Spgoyetteattach spdmem at iic with spdmem_iic 1551.27Spgoyettefile dev/i2c/spdmem_i2c.c spdmem_iic 1561.22Sjkunz 1571.24Spgoyette# Memory Temp Sensor 1581.25Spgoyettedevice sdtemp: sysmon_envsys 1591.24Spgoyetteattach sdtemp at iic 1601.24Spgoyettefile dev/i2c/sdtemp.c sdtemp 1611.24Spgoyette 1621.51Smatt# DS1672 Real Time Clock 1631.51Smattdevice ds1672rtc 1641.51Smattattach ds1672rtc at iic 1651.51Smattfile dev/i2c/ds1672.c ds1672rtc 1661.51Smatt 1671.22Sjkunz# ADM1021 1681.23Snakayamadevice admtemp: sysmon_envsys 1691.22Sjkunzattach admtemp at iic 1701.22Sjkunzfile dev/i2c/adm1021.c admtemp 1711.26Spgoyette 1721.26Spgoyette# SMSC LPC47M192 hardware monitor 1731.26Spgoyettedevice smscmon: sysmon_envsys 1741.26Spgoyetteattach smscmon at iic 1751.26Spgoyettefile dev/i2c/smscmon.c smscmon 1761.28Skiyohara 1771.28Skiyohara# G760a FAN controller 1781.28Skiyoharadevice g760a: sysmon_envsys 1791.28Skiyoharaattach g760a at iic 1801.28Skiyoharafile dev/i2c/g760a.c g760a 1811.33Shannken 1821.33Shannken# IBM Hawk Integrated Systems Management Processor 1831.33Shannkendevice ibmhawk: sysmon_envsys 1841.33Shannkenattach ibmhawk at iic 1851.33Shannkenfile dev/i2c/ibmhawk.c ibmhawk 1861.46Sjmcneill 1871.46Sjmcneill# TI TPS65950 OMAP Power Management and System Companion Device 1881.47Sjmcneilldevice tps65950pm: sysmon_wdog 1891.46Sjmcneillattach tps65950pm at iic 1901.46Sjmcneillfile dev/i2c/tps65950.c tps65950pm 1911.48Srkujawa 1921.48Srkujawa# TI TPS65217 1931.48Srkujawadevice tps65217pmic: sysmon_envsys 1941.48Srkujawaattach tps65217pmic at iic 1951.48Srkujawafile dev/i2c/tps65217pmic.c tps65217pmic 1961.48Srkujawa 1971.49Srkujawa# Microchip MCP980x 1981.49Srkujawadevice mcp980x: sysmon_envsys 1991.49Srkujawaattach mcp980x at iic 2001.49Srkujawafile dev/i2c/mcp980x.c mcp980x 2011.49Srkujawa 2021.50Ssoren# Nuvoton W83795G/ADG Hardware Monitor 2031.50Ssorendevice w83795g: gpiobus, sysmon_envsys, sysmon_wdog 2041.50Ssorenattach w83795g at iic 2051.50Ssorenfile dev/i2c/w83795g.c w83795g 2061.52Srkujawa 2071.52Srkujawa# Freescale MPL115A2 2081.52Srkujawadevice mpl115a: sysmon_envsys 2091.52Srkujawaattach mpl115a at iic 2101.52Srkujawafile dev/i2c/mpl115a.c mpl115a 2111.52Srkujawa 212