files.i2c revision 1.34
1# $NetBSD: files.i2c,v 1.34 2011/04/04 17:58:40 phx 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# NXP/Philips PCF8563 Real Time Clock 52device pcf8563rtc 53attach pcf8563rtc at iic 54file dev/i2c/pcf8563.c pcf8563rtc 55 56# Philips PCF8583 Real Time Clock 57device pcfrtc 58attach pcfrtc at iic 59file dev/i2c/pcf8583.c pcfrtc 60 61# Seiko Instruments S-xx390A Real Time Clock 62device s390rtc 63attach s390rtc at iic 64file dev/i2c/s390.c s390rtc 65 66# Atmel/Microchip 24Cxx Serial EEPROM 67define at24cxx_eeprom 68device seeprom 69attach seeprom at iic 70file dev/i2c/at24cxx.c seeprom | at24cxx_eeprom 71 needs-flag 72 73# National Semiconductor LM75 temperature sensor 74device lmtemp: sysmon_envsys 75attach lmtemp at iic 76file dev/i2c/lm75.c lmtemp 77 78# National Semiconductor LM78 temp sensor/fan controller 79attach lm at iic with lm_iic 80file dev/i2c/lm_i2c.c lm_iic 81 82# Dallas DS1307 Real Time Clock 83device dsrtc 84attach dsrtc at iic 85file dev/i2c/ds1307.c dsrtc 86 87# Xicor X1226 Real Time Clock 88device xrtc 89attach xrtc at iic 90file dev/i2c/x1226.c xrtc 91 92# Analog Devices dBCool family of thermal monitors / fan controllers 93define dbcool {} 94device dbcool: sysmon_envsys 95attach dbcool at iic 96file dev/i2c/dbcool.c dbcool 97 98# RICOH RS5C372[AB] Real Time Clock 99device rs5c372rtc 100attach rs5c372rtc at iic 101file dev/i2c/rs5c372.c rs5c372rtc 102 103# RICOH R2025S/D Real Time Clock 104device r2025rtc 105attach r2025rtc at iic 106file dev/i2c/r2025.c r2025rtc 107 108# VESA Display Data Channel 2 109device ddc 110define ddc_read_edid 111attach ddc at iic 112file dev/i2c/ddc.c ddc | ddc_read_edid 113 114# SGS TDA7433 audio mixer 115device sgsmix 116attach sgsmix at iic 117file dev/i2c/sgsmix.c sgsmix needs-flag 118defflag opt_sgsmix.h SGSMIX_DEBUG 119 120# Xbox PIC16LC System Management Controller 121device pic16lc: sysmon_envsys 122attach pic16lc at iic 123file dev/i2c/pic16lc.c pic16lc needs-flag 124 125# Xbox Serial EEPROM 126device xbseeprom 127attach xbseeprom at iic 128file dev/i2c/xbseeprom.c xbseeprom 129 130# Memory Serial Presence Detect 131attach spdmem at iic with spdmem_iic 132file dev/i2c/spdmem_i2c.c spdmem_iic 133 134# Memory Temp Sensor 135device sdtemp: sysmon_envsys 136attach sdtemp at iic 137file dev/i2c/sdtemp.c sdtemp 138 139# ADM1021 140device admtemp: sysmon_envsys 141attach admtemp at iic 142file dev/i2c/adm1021.c admtemp 143 144# SMSC LPC47M192 hardware monitor 145device smscmon: sysmon_envsys 146attach smscmon at iic 147file dev/i2c/smscmon.c smscmon 148 149# G760a FAN controller 150device g760a: sysmon_envsys 151attach g760a at iic 152file dev/i2c/g760a.c g760a 153 154# IBM Hawk Integrated Systems Management Processor 155device ibmhawk: sysmon_envsys 156attach ibmhawk at iic 157file dev/i2c/ibmhawk.c ibmhawk 158