files.i2c revision 1.53
1# $NetBSD: files.i2c,v 1.53 2013/10/15 19:13:32 jdc 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# National Semiconductor LM78 temp sensor/fan controller 107attach lm at iic with lm_iic 108file dev/i2c/lm_i2c.c lm_iic 109 110# National Semiconductor LM87 and clones system hardware monitor 111device lmenv: sysmon_envsys 112attach lmenv at iic 113file dev/i2c/lm87.c lmenv 114 115# Dallas DS1307 Real Time Clock 116device dsrtc 117attach dsrtc at iic 118file dev/i2c/ds1307.c dsrtc 119 120# Xicor X1226 Real Time Clock 121device xrtc 122attach xrtc at iic 123file dev/i2c/x1226.c xrtc 124 125# Analog Devices dBCool family of thermal monitors / fan controllers 126define dbcool {} 127device dbcool: sysmon_envsys 128attach dbcool at iic 129file dev/i2c/dbcool.c dbcool 130 131# RICOH RS5C372[AB] Real Time Clock 132device rs5c372rtc 133attach rs5c372rtc at iic 134file dev/i2c/rs5c372.c rs5c372rtc 135 136# RICOH R2025S/D Real Time Clock 137device r2025rtc 138attach r2025rtc at iic 139file dev/i2c/r2025.c r2025rtc 140 141# VESA Display Data Channel 2 142device ddc 143define ddc_read_edid 144attach ddc at iic 145file dev/i2c/ddc.c ddc | ddc_read_edid 146 147# SGS TDA7433 audio mixer 148device sgsmix 149attach sgsmix at iic 150file dev/i2c/sgsmix.c sgsmix needs-flag 151defflag opt_sgsmix.h SGSMIX_DEBUG 152 153# Memory Serial Presence Detect 154attach spdmem at iic with spdmem_iic 155file dev/i2c/spdmem_i2c.c spdmem_iic 156 157# Memory Temp Sensor 158device sdtemp: sysmon_envsys 159attach sdtemp at iic 160file dev/i2c/sdtemp.c sdtemp 161 162# DS1672 Real Time Clock 163device ds1672rtc 164attach ds1672rtc at iic 165file dev/i2c/ds1672.c ds1672rtc 166 167# ADM1021 168device admtemp: sysmon_envsys 169attach admtemp at iic 170file dev/i2c/adm1021.c admtemp 171 172# SMSC LPC47M192 hardware monitor 173device smscmon: sysmon_envsys 174attach smscmon at iic 175file dev/i2c/smscmon.c smscmon 176 177# G760a FAN controller 178device g760a: sysmon_envsys 179attach g760a at iic 180file dev/i2c/g760a.c g760a 181 182# IBM Hawk Integrated Systems Management Processor 183device ibmhawk: sysmon_envsys 184attach ibmhawk at iic 185file dev/i2c/ibmhawk.c ibmhawk 186 187# TI TPS65950 OMAP Power Management and System Companion Device 188device tps65950pm: sysmon_wdog 189attach tps65950pm at iic 190file dev/i2c/tps65950.c tps65950pm 191 192# TI TPS65217 193device tps65217pmic: sysmon_envsys 194attach tps65217pmic at iic 195file dev/i2c/tps65217pmic.c tps65217pmic 196 197# Microchip MCP980x 198device mcp980x: sysmon_envsys 199attach mcp980x at iic 200file dev/i2c/mcp980x.c mcp980x 201 202# Nuvoton W83795G/ADG Hardware Monitor 203device w83795g: gpiobus, sysmon_envsys, sysmon_wdog 204attach w83795g at iic 205file dev/i2c/w83795g.c w83795g 206 207# Freescale MPL115A2 208device mpl115a: sysmon_envsys 209attach mpl115a at iic 210file dev/i2c/mpl115a.c mpl115a 211 212