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