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