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