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