files.i2c revision 1.20
1# $NetBSD: files.i2c,v 1.20 2008/10/07 19:32:30 pgoyette 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# 17# I2C client devices 18# 19 20# M41T00 Real Time Clock 21device m41trtc 22attach m41trtc at iic 23file dev/i2c/m41t00.c m41trtc 24 25# M41ST84 Real Time Clock 26device strtc 27attach strtc at iic 28file dev/i2c/m41st84.c strtc 29 30# MAX6900 Real Time Clock 31device maxrtc 32attach maxrtc at iic 33file dev/i2c/max6900.c maxrtc 34 35# Philips PCF8583 Real Time Clock 36device pcfrtc 37attach pcfrtc at iic 38file dev/i2c/pcf8583.c pcfrtc 39 40# Atmel/Microchip 24Cxx Serial EEPROM 41define at24cxx_eeprom 42device seeprom 43attach seeprom at iic 44file dev/i2c/at24cxx.c seeprom | at24cxx_eeprom 45 needs-flag 46 47# National Semiconductor LM75 temperature sensor 48device lmtemp: sysmon_envsys 49attach lmtemp at iic 50file dev/i2c/lm75.c lmtemp 51 52# Dallas DS1307 Real Time Clock 53device dsrtc 54attach dsrtc at iic 55file dev/i2c/ds1307.c dsrtc 56 57# Xicor X1226 Real Time Clock 58device xrtc 59attach xrtc at iic 60file dev/i2c/x1226.c xrtc 61 62# Analog Devices dBCool family of thermal monitors / fan controllers 63define dbcool {} 64device dbcool: sysmon_envsys 65attach dbcool at iic 66file dev/i2c/dbcool.c dbcool 67 68# RICOH RS5C372[AB] Real Time Clock 69device rs5c372rtc 70attach rs5c372rtc at iic 71file dev/i2c/rs5c372.c rs5c372rtc 72 73# RICOH R2025S/D Real Time Clock 74device r2025rtc 75attach r2025rtc at iic 76file dev/i2c/r2025.c r2025rtc 77 78# VESA Display Data Channel 2 79device ddc 80define ddc_read_edid 81attach ddc at iic 82file dev/i2c/ddc.c ddc | ddc_read_edid 83 84# SGS TDA7433 audio mixer 85device sgsmix 86attach sgsmix at iic 87file dev/i2c/sgsmix.c sgsmix needs-flag 88defflag opt_sgsmix.h SGSMIX_DEBUG 89 90# Xbox PIC16LC System Management Controller 91device pic16lc: sysmon_envsys 92attach pic16lc at iic 93file dev/i2c/pic16lc.c pic16lc needs-flag 94 95# Xbox Serial EEPROM 96device xbseeprom 97attach xbseeprom at iic 98file dev/i2c/xbseeprom.c xbseeprom 99 100# Memory Serial Presence Detect 101device spdmem 102attach spdmem at iic 103file dev/i2c/spdmem.c spdmem 104