files.i2c revision 1.18
1# $NetBSD: files.i2c,v 1.18 2008/09/11 20:48:50 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 ADT 7463 thermal monitor / fan controller 63define adt7463c {} 64device adt7463c: sysmon_envsys 65attach adt7463c at iic 66file dev/i2c/adt7463.c adt7463c 67 68# Analog Devices ADT 7467 thermal monitor / fan controller 69define adt7467c {} 70device adt7467c: sysmon_envsys 71attach adt7467c at iic 72file dev/i2c/adt7467.c adt7467c 73 74# Analog Devices ADM 1030 thermal monitor / fan controller 75define adm1030c {} 76device adm1030c: sysmon_envsys 77attach adm1030c at iic 78file dev/i2c/adm1030.c adm1030c 79 80# RICOH RS5C372[AB] Real Time Clock 81device rs5c372rtc 82attach rs5c372rtc at iic 83file dev/i2c/rs5c372.c rs5c372rtc 84 85# RICOH R2025S/D Real Time Clock 86device r2025rtc 87attach r2025rtc at iic 88file dev/i2c/r2025.c r2025rtc 89 90# VESA Display Data Channel 2 91device ddc 92define ddc_read_edid 93attach ddc at iic 94file dev/i2c/ddc.c ddc | ddc_read_edid 95 96# SGS TDA7433 audio mixer 97device sgsmix 98attach sgsmix at iic 99file dev/i2c/sgsmix.c sgsmix needs-flag 100defflag opt_sgsmix.h SGSMIX_DEBUG 101 102# Xbox PIC16LC System Management Controller 103device pic16lc: sysmon_envsys 104attach pic16lc at iic 105file dev/i2c/pic16lc.c pic16lc needs-flag 106 107# Xbox Serial EEPROM 108device xbseeprom 109attach xbseeprom at iic 110file dev/i2c/xbseeprom.c xbseeprom 111 112# Memory Serial Presence Detect 113device spdmem 114attach spdmem at iic 115file dev/i2c/spdmem.c spdmem 116