files.i2c revision 1.36
1# $NetBSD: files.i2c,v 1.36 2011/07/11 00:30:23 jakllsch Exp $ 2 3defflag opt_i2cbus.h I2C_SCAN 4define i2cbus { } 5define i2cexec 6 7device iic { [addr = -1], [size = -1] } 8attach iic at i2cbus 9file dev/i2c/i2c.c iic | i2cbus 10file dev/i2c/i2c_exec.c iic | i2cbus | i2cexec 11 12# Common module for bit-bang'ing an I2C bus 13define i2c_bitbang 14file dev/i2c/i2c_bitbang.c i2c_bitbang 15 16# Auvitek AU8522 decoder 17define au8522: i2cexec 18file dev/i2c/au8522.c au8522 19 20# Xceive XC5000 tuner 21define xc5k: i2cexec 22file dev/i2c/xc5k.c xc5k 23 24# Generic PLL-based tuners 25define tvpll: i2cexec 26file dev/i2c/tvpll.c tvpll 27file dev/i2c/tvpll_tuners.c tvpll 28 29# Nextwave NXT200x demodulator 30define nxt2k: i2cexec 31file dev/i2c/nxt2k.c nxt2k 32 33# 34# I2C master devices 35# 36define motoi2c 37file dev/i2c/motoi2c.c motoi2c 38 39# 40# I2C client devices 41# 42 43# M41T00 Real Time Clock 44device m41trtc 45attach m41trtc at iic 46file dev/i2c/m41t00.c m41trtc 47 48# M41ST84 Real Time Clock 49device strtc 50attach strtc at iic 51file dev/i2c/m41st84.c strtc 52defflag opt_strtc.h STRTC_NO_USERRAM 53 STRTC_NO_WATCHDOG 54 55# MAX6900 Real Time Clock 56device maxrtc 57attach maxrtc at iic 58file dev/i2c/max6900.c maxrtc 59 60# NXP/Philips PCF8563 Real Time Clock 61device pcf8563rtc 62attach pcf8563rtc at iic 63file dev/i2c/pcf8563.c pcf8563rtc 64 65# Philips PCF8583 Real Time Clock 66device pcfrtc 67attach pcfrtc at iic 68file dev/i2c/pcf8583.c pcfrtc 69 70# Seiko Instruments S-xx390A Real Time Clock 71device s390rtc 72attach s390rtc at iic 73file dev/i2c/s390.c s390rtc 74 75# Atmel/Microchip 24Cxx Serial EEPROM 76define at24cxx_eeprom 77device seeprom 78attach seeprom at iic 79file dev/i2c/at24cxx.c seeprom | at24cxx_eeprom 80 needs-flag 81 82# National Semiconductor LM75 temperature sensor 83device lmtemp: sysmon_envsys 84attach lmtemp at iic 85file dev/i2c/lm75.c lmtemp 86 87# National Semiconductor LM78 temp sensor/fan controller 88attach lm at iic with lm_iic 89file dev/i2c/lm_i2c.c lm_iic 90 91# Dallas DS1307 Real Time Clock 92device dsrtc 93attach dsrtc at iic 94file dev/i2c/ds1307.c dsrtc 95 96# Xicor X1226 Real Time Clock 97device xrtc 98attach xrtc at iic 99file dev/i2c/x1226.c xrtc 100 101# Analog Devices dBCool family of thermal monitors / fan controllers 102define dbcool {} 103device dbcool: sysmon_envsys 104attach dbcool at iic 105file dev/i2c/dbcool.c dbcool 106 107# RICOH RS5C372[AB] Real Time Clock 108device rs5c372rtc 109attach rs5c372rtc at iic 110file dev/i2c/rs5c372.c rs5c372rtc 111 112# RICOH R2025S/D Real Time Clock 113device r2025rtc 114attach r2025rtc at iic 115file dev/i2c/r2025.c r2025rtc 116 117# VESA Display Data Channel 2 118device ddc 119define ddc_read_edid 120attach ddc at iic 121file dev/i2c/ddc.c ddc | ddc_read_edid 122 123# SGS TDA7433 audio mixer 124device sgsmix 125attach sgsmix at iic 126file dev/i2c/sgsmix.c sgsmix needs-flag 127defflag opt_sgsmix.h SGSMIX_DEBUG 128 129# Xbox PIC16LC System Management Controller 130device pic16lc: sysmon_envsys 131attach pic16lc at iic 132file dev/i2c/pic16lc.c pic16lc needs-flag 133 134# Xbox Serial EEPROM 135device xbseeprom 136attach xbseeprom at iic 137file dev/i2c/xbseeprom.c xbseeprom 138 139# Memory Serial Presence Detect 140attach spdmem at iic with spdmem_iic 141file dev/i2c/spdmem_i2c.c spdmem_iic 142 143# Memory Temp Sensor 144device sdtemp: sysmon_envsys 145attach sdtemp at iic 146file dev/i2c/sdtemp.c sdtemp 147 148# ADM1021 149device admtemp: sysmon_envsys 150attach admtemp at iic 151file dev/i2c/adm1021.c admtemp 152 153# SMSC LPC47M192 hardware monitor 154device smscmon: sysmon_envsys 155attach smscmon at iic 156file dev/i2c/smscmon.c smscmon 157 158# G760a FAN controller 159device g760a: sysmon_envsys 160attach g760a at iic 161file dev/i2c/g760a.c g760a 162 163# IBM Hawk Integrated Systems Management Processor 164device ibmhawk: sysmon_envsys 165attach ibmhawk at iic 166file dev/i2c/ibmhawk.c ibmhawk 167