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