files.i2c revision 1.54
11.54Skardel# $NetBSD: files.i2c,v 1.54 2014/05/18 11:46:23 kardel 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.54Skardel# IST-AG Humidity and Teperature sensor (P14) 1071.54Skardeldevice hythygtemp: sysmon_envsys 1081.54Skardelattach hythygtemp at iic 1091.54Skardelfile dev/i2c/hytp14.c hythygtemp 1101.54Skardel 1111.21Spgoyette# National Semiconductor LM78 temp sensor/fan controller 1121.21Spgoyetteattach lm at iic with lm_iic 1131.21Spgoyettefile dev/i2c/lm_i2c.c lm_iic 1141.21Spgoyette 1151.53Sjdc# National Semiconductor LM87 and clones system hardware monitor 1161.53Sjdcdevice lmenv: sysmon_envsys 1171.53Sjdcattach lmenv at iic 1181.53Sjdcfile dev/i2c/lm87.c lmenv 1191.53Sjdc 1201.1Sthorpej# Dallas DS1307 Real Time Clock 1211.1Sthorpejdevice dsrtc 1221.1Sthorpejattach dsrtc at iic 1231.1Sthorpejfile dev/i2c/ds1307.c dsrtc 1241.2Sshige 1251.2Sshige# Xicor X1226 Real Time Clock 1261.2Sshigedevice xrtc 1271.2Sshigeattach xrtc at iic 1281.2Sshigefile dev/i2c/x1226.c xrtc 1291.4Smacallan 1301.19Spgoyette# Analog Devices dBCool family of thermal monitors / fan controllers 1311.19Spgoyettedefine dbcool {} 1321.19Spgoyettedevice dbcool: sysmon_envsys 1331.19Spgoyetteattach dbcool at iic 1341.19Spgoyettefile dev/i2c/dbcool.c dbcool 1351.19Spgoyette 1361.5Snonaka# RICOH RS5C372[AB] Real Time Clock 1371.5Snonakadevice rs5c372rtc 1381.5Snonakaattach rs5c372rtc at iic 1391.5Snonakafile dev/i2c/rs5c372.c rs5c372rtc 1401.8Sshige 1411.8Sshige# RICOH R2025S/D Real Time Clock 1421.8Sshigedevice r2025rtc 1431.8Sshigeattach r2025rtc at iic 1441.8Sshigefile dev/i2c/r2025.c r2025rtc 1451.9Sgdamore 1461.9Sgdamore# VESA Display Data Channel 2 1471.9Sgdamoredevice ddc 1481.10Sgdamoredefine ddc_read_edid 1491.9Sgdamoreattach ddc at iic 1501.10Sgdamorefile dev/i2c/ddc.c ddc | ddc_read_edid 1511.11Sjmcneill 1521.14Smacallan# SGS TDA7433 audio mixer 1531.16Smacallandevice sgsmix 1541.16Smacallanattach sgsmix at iic 1551.14Smacallanfile dev/i2c/sgsmix.c sgsmix needs-flag 1561.16Smacallandefflag opt_sgsmix.h SGSMIX_DEBUG 1571.14Smacallan 1581.15Stnn# Memory Serial Presence Detect 1591.27Spgoyetteattach spdmem at iic with spdmem_iic 1601.27Spgoyettefile dev/i2c/spdmem_i2c.c spdmem_iic 1611.22Sjkunz 1621.24Spgoyette# Memory Temp Sensor 1631.25Spgoyettedevice sdtemp: sysmon_envsys 1641.24Spgoyetteattach sdtemp at iic 1651.24Spgoyettefile dev/i2c/sdtemp.c sdtemp 1661.24Spgoyette 1671.51Smatt# DS1672 Real Time Clock 1681.51Smattdevice ds1672rtc 1691.51Smattattach ds1672rtc at iic 1701.51Smattfile dev/i2c/ds1672.c ds1672rtc 1711.51Smatt 1721.22Sjkunz# ADM1021 1731.23Snakayamadevice admtemp: sysmon_envsys 1741.22Sjkunzattach admtemp at iic 1751.22Sjkunzfile dev/i2c/adm1021.c admtemp 1761.26Spgoyette 1771.26Spgoyette# SMSC LPC47M192 hardware monitor 1781.26Spgoyettedevice smscmon: sysmon_envsys 1791.26Spgoyetteattach smscmon at iic 1801.26Spgoyettefile dev/i2c/smscmon.c smscmon 1811.28Skiyohara 1821.28Skiyohara# G760a FAN controller 1831.28Skiyoharadevice g760a: sysmon_envsys 1841.28Skiyoharaattach g760a at iic 1851.28Skiyoharafile dev/i2c/g760a.c g760a 1861.33Shannken 1871.33Shannken# IBM Hawk Integrated Systems Management Processor 1881.33Shannkendevice ibmhawk: sysmon_envsys 1891.33Shannkenattach ibmhawk at iic 1901.33Shannkenfile dev/i2c/ibmhawk.c ibmhawk 1911.46Sjmcneill 1921.46Sjmcneill# TI TPS65950 OMAP Power Management and System Companion Device 1931.47Sjmcneilldevice tps65950pm: sysmon_wdog 1941.46Sjmcneillattach tps65950pm at iic 1951.46Sjmcneillfile dev/i2c/tps65950.c tps65950pm 1961.48Srkujawa 1971.48Srkujawa# TI TPS65217 1981.48Srkujawadevice tps65217pmic: sysmon_envsys 1991.48Srkujawaattach tps65217pmic at iic 2001.48Srkujawafile dev/i2c/tps65217pmic.c tps65217pmic 2011.48Srkujawa 2021.49Srkujawa# Microchip MCP980x 2031.49Srkujawadevice mcp980x: sysmon_envsys 2041.49Srkujawaattach mcp980x at iic 2051.49Srkujawafile dev/i2c/mcp980x.c mcp980x 2061.49Srkujawa 2071.50Ssoren# Nuvoton W83795G/ADG Hardware Monitor 2081.50Ssorendevice w83795g: gpiobus, sysmon_envsys, sysmon_wdog 2091.50Ssorenattach w83795g at iic 2101.50Ssorenfile dev/i2c/w83795g.c w83795g 2111.52Srkujawa 2121.52Srkujawa# Freescale MPL115A2 2131.52Srkujawadevice mpl115a: sysmon_envsys 2141.52Srkujawaattach mpl115a at iic 2151.52Srkujawafile dev/i2c/mpl115a.c mpl115a 2161.52Srkujawa 217