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