files.i2c revision 1.54
1# $NetBSD: files.i2c,v 1.54 2014/05/18 11:46:23 kardel 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 55define mvi2c 56file dev/i2c/gttwsi_core.c mvi2c 57 58# 59# I2C client devices 60# 61 62# M41T00 Real Time Clock 63device m41trtc 64attach m41trtc at iic 65file dev/i2c/m41t00.c m41trtc 66 67# M41ST84 Real Time Clock 68device strtc 69attach strtc at iic 70file dev/i2c/m41st84.c strtc 71defflag opt_strtc.h STRTC_NO_USERRAM 72 STRTC_NO_WATCHDOG 73 74# MAX6900 Real Time Clock 75device maxrtc 76attach maxrtc at iic 77file dev/i2c/max6900.c maxrtc 78 79# NXP/Philips PCF8563 Real Time Clock 80device pcf8563rtc 81attach pcf8563rtc at iic 82file dev/i2c/pcf8563.c pcf8563rtc 83 84# Philips PCF8583 Real Time Clock 85device pcfrtc 86attach pcfrtc at iic 87file dev/i2c/pcf8583.c pcfrtc 88 89# Seiko Instruments S-xx390A Real Time Clock 90device s390rtc 91attach s390rtc at iic 92file dev/i2c/s390.c s390rtc 93 94# Atmel/Microchip 24Cxx Serial EEPROM 95define at24cxx_eeprom 96device seeprom 97attach seeprom at iic 98file dev/i2c/at24cxx.c seeprom | at24cxx_eeprom 99 needs-flag 100 101# National Semiconductor LM75 temperature sensor 102device lmtemp: sysmon_envsys 103attach lmtemp at iic 104file dev/i2c/lm75.c lmtemp 105 106# IST-AG Humidity and Teperature sensor (P14) 107device hythygtemp: sysmon_envsys 108attach hythygtemp at iic 109file dev/i2c/hytp14.c hythygtemp 110 111# National Semiconductor LM78 temp sensor/fan controller 112attach lm at iic with lm_iic 113file dev/i2c/lm_i2c.c lm_iic 114 115# National Semiconductor LM87 and clones system hardware monitor 116device lmenv: sysmon_envsys 117attach lmenv at iic 118file dev/i2c/lm87.c lmenv 119 120# Dallas DS1307 Real Time Clock 121device dsrtc 122attach dsrtc at iic 123file dev/i2c/ds1307.c dsrtc 124 125# Xicor X1226 Real Time Clock 126device xrtc 127attach xrtc at iic 128file dev/i2c/x1226.c xrtc 129 130# Analog Devices dBCool family of thermal monitors / fan controllers 131define dbcool {} 132device dbcool: sysmon_envsys 133attach dbcool at iic 134file dev/i2c/dbcool.c dbcool 135 136# RICOH RS5C372[AB] Real Time Clock 137device rs5c372rtc 138attach rs5c372rtc at iic 139file dev/i2c/rs5c372.c rs5c372rtc 140 141# RICOH R2025S/D Real Time Clock 142device r2025rtc 143attach r2025rtc at iic 144file dev/i2c/r2025.c r2025rtc 145 146# VESA Display Data Channel 2 147device ddc 148define ddc_read_edid 149attach ddc at iic 150file dev/i2c/ddc.c ddc | ddc_read_edid 151 152# SGS TDA7433 audio mixer 153device sgsmix 154attach sgsmix at iic 155file dev/i2c/sgsmix.c sgsmix needs-flag 156defflag opt_sgsmix.h SGSMIX_DEBUG 157 158# Memory Serial Presence Detect 159attach spdmem at iic with spdmem_iic 160file dev/i2c/spdmem_i2c.c spdmem_iic 161 162# Memory Temp Sensor 163device sdtemp: sysmon_envsys 164attach sdtemp at iic 165file dev/i2c/sdtemp.c sdtemp 166 167# DS1672 Real Time Clock 168device ds1672rtc 169attach ds1672rtc at iic 170file dev/i2c/ds1672.c ds1672rtc 171 172# ADM1021 173device admtemp: sysmon_envsys 174attach admtemp at iic 175file dev/i2c/adm1021.c admtemp 176 177# SMSC LPC47M192 hardware monitor 178device smscmon: sysmon_envsys 179attach smscmon at iic 180file dev/i2c/smscmon.c smscmon 181 182# G760a FAN controller 183device g760a: sysmon_envsys 184attach g760a at iic 185file dev/i2c/g760a.c g760a 186 187# IBM Hawk Integrated Systems Management Processor 188device ibmhawk: sysmon_envsys 189attach ibmhawk at iic 190file dev/i2c/ibmhawk.c ibmhawk 191 192# TI TPS65950 OMAP Power Management and System Companion Device 193device tps65950pm: sysmon_wdog 194attach tps65950pm at iic 195file dev/i2c/tps65950.c tps65950pm 196 197# TI TPS65217 198device tps65217pmic: sysmon_envsys 199attach tps65217pmic at iic 200file dev/i2c/tps65217pmic.c tps65217pmic 201 202# Microchip MCP980x 203device mcp980x: sysmon_envsys 204attach mcp980x at iic 205file dev/i2c/mcp980x.c mcp980x 206 207# Nuvoton W83795G/ADG Hardware Monitor 208device w83795g: gpiobus, sysmon_envsys, sysmon_wdog 209attach w83795g at iic 210file dev/i2c/w83795g.c w83795g 211 212# Freescale MPL115A2 213device mpl115a: sysmon_envsys 214attach mpl115a at iic 215file dev/i2c/mpl115a.c mpl115a 216 217