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