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