files.i2c revision 1.31
1# $NetBSD: files.i2c,v 1.31 2011/01/04 01:24:56 matt 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# 25# I2C master devices 26# 27define motoi2c 28file dev/i2c/motoi2c.c motoi2c 29 30# 31# I2C client devices 32# 33 34# M41T00 Real Time Clock 35device m41trtc 36attach m41trtc at iic 37file dev/i2c/m41t00.c m41trtc 38 39# M41ST84 Real Time Clock 40device strtc 41attach strtc at iic 42file dev/i2c/m41st84.c strtc 43defflag opt_strtc.h STRTC_NO_USERRAM 44 STRTC_NO_WATCHDOG 45 46# MAX6900 Real Time Clock 47device maxrtc 48attach maxrtc at iic 49file dev/i2c/max6900.c maxrtc 50 51# Philips PCF8583 Real Time Clock 52device pcfrtc 53attach pcfrtc at iic 54file dev/i2c/pcf8583.c pcfrtc 55 56# Atmel/Microchip 24Cxx Serial EEPROM 57define at24cxx_eeprom 58device seeprom 59attach seeprom at iic 60file dev/i2c/at24cxx.c seeprom | at24cxx_eeprom 61 needs-flag 62 63# National Semiconductor LM75 temperature sensor 64device lmtemp: sysmon_envsys 65attach lmtemp at iic 66file dev/i2c/lm75.c lmtemp 67 68# National Semiconductor LM78 temp sensor/fan controller 69attach lm at iic with lm_iic 70file dev/i2c/lm_i2c.c lm_iic 71 72# Dallas DS1307 Real Time Clock 73device dsrtc 74attach dsrtc at iic 75file dev/i2c/ds1307.c dsrtc 76 77# Xicor X1226 Real Time Clock 78device xrtc 79attach xrtc at iic 80file dev/i2c/x1226.c xrtc 81 82# Analog Devices dBCool family of thermal monitors / fan controllers 83define dbcool {} 84device dbcool: sysmon_envsys 85attach dbcool at iic 86file dev/i2c/dbcool.c dbcool 87 88# RICOH RS5C372[AB] Real Time Clock 89device rs5c372rtc 90attach rs5c372rtc at iic 91file dev/i2c/rs5c372.c rs5c372rtc 92 93# RICOH R2025S/D Real Time Clock 94device r2025rtc 95attach r2025rtc at iic 96file dev/i2c/r2025.c r2025rtc 97 98# VESA Display Data Channel 2 99device ddc 100define ddc_read_edid 101attach ddc at iic 102file dev/i2c/ddc.c ddc | ddc_read_edid 103 104# SGS TDA7433 audio mixer 105device sgsmix 106attach sgsmix at iic 107file dev/i2c/sgsmix.c sgsmix needs-flag 108defflag opt_sgsmix.h SGSMIX_DEBUG 109 110# Xbox PIC16LC System Management Controller 111device pic16lc: sysmon_envsys 112attach pic16lc at iic 113file dev/i2c/pic16lc.c pic16lc needs-flag 114 115# Xbox Serial EEPROM 116device xbseeprom 117attach xbseeprom at iic 118file dev/i2c/xbseeprom.c xbseeprom 119 120# Memory Serial Presence Detect 121attach spdmem at iic with spdmem_iic 122file dev/i2c/spdmem_i2c.c spdmem_iic 123 124# Memory Temp Sensor 125device sdtemp: sysmon_envsys 126attach sdtemp at iic 127file dev/i2c/sdtemp.c sdtemp 128 129# ADM1021 130device admtemp: sysmon_envsys 131attach admtemp at iic 132file dev/i2c/adm1021.c admtemp 133 134# SMSC LPC47M192 hardware monitor 135device smscmon: sysmon_envsys 136attach smscmon at iic 137file dev/i2c/smscmon.c smscmon 138 139# G760a FAN controller 140device g760a: sysmon_envsys 141attach g760a at iic 142file dev/i2c/g760a.c g760a 143