files.i2c revision 1.19
1# $NetBSD: files.i2c,v 1.19 2008/10/02 00:47:51 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 dBCool family of thermal monitors / fan controllers 75define dbcool {} 76device dbcool: sysmon_envsys 77attach dbcool at iic 78file dev/i2c/dbcool.c dbcool 79 80# Analog Devices ADM 1030 thermal monitor / fan controller 81define adm1030c {} 82device adm1030c: sysmon_envsys 83attach adm1030c at iic 84file dev/i2c/adm1030.c adm1030c 85 86# RICOH RS5C372[AB] Real Time Clock 87device rs5c372rtc 88attach rs5c372rtc at iic 89file dev/i2c/rs5c372.c rs5c372rtc 90 91# RICOH R2025S/D Real Time Clock 92device r2025rtc 93attach r2025rtc at iic 94file dev/i2c/r2025.c r2025rtc 95 96# VESA Display Data Channel 2 97device ddc 98define ddc_read_edid 99attach ddc at iic 100file dev/i2c/ddc.c ddc | ddc_read_edid 101 102# SGS TDA7433 audio mixer 103device sgsmix 104attach sgsmix at iic 105file dev/i2c/sgsmix.c sgsmix needs-flag 106defflag opt_sgsmix.h SGSMIX_DEBUG 107 108# Xbox PIC16LC System Management Controller 109device pic16lc: sysmon_envsys 110attach pic16lc at iic 111file dev/i2c/pic16lc.c pic16lc needs-flag 112 113# Xbox Serial EEPROM 114device xbseeprom 115attach xbseeprom at iic 116file dev/i2c/xbseeprom.c xbseeprom 117 118# Memory Serial Presence Detect 119device spdmem 120attach spdmem at iic 121file dev/i2c/spdmem.c spdmem 122