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