1# $OpenBSD: files.i2c,v 1.46 2008/04/21 04:48:25 deraadt Exp $ 2# $NetBSD: files.i2c,v 1.3 2003/10/20 16:24:10 briggs Exp $ 3 4define i2c {[addr = -1], [size = -1]} 5define i2c_bitbang 6device iic: i2c 7attach iic at i2cbus 8file dev/i2c/i2c.c iic | i2cbus 9file dev/i2c/i2c_exec.c iic | i2cbus 10file dev/i2c/i2c_scan.c iic | i2cbus 11file dev/i2c/i2c_bitbang.c i2c_bitbang 12 13# 14# I2C client devices 15# 16 17# National Semiconductor LM75/LM77 temperature sensor 18device lmtemp 19attach lmtemp at i2c 20file dev/i2c/lm75.c lmtemp 21 22# National Semiconductor LM93 sensor 23device lmn 24attach lmn at i2c 25file dev/i2c/lm93.c lmn 26 27# National Semiconductor LM87 sensor 28device lmenv 29attach lmenv at i2c 30file dev/i2c/lm87.c lmenv 31 32# Maxim MAX6690 Remote/Local Temperature sensor 33device maxtmp 34attach maxtmp at i2c 35file dev/i2c/maxim6690.c maxtmp 36 37# Analog Devices AD741x Temperature sensor + 4-channel ADC 38device adc 39attach adc at i2c 40file dev/i2c/ad741x.c adc 41 42# TAOS TSL2560/61 light-to-digital converter 43device tsl 44attach tsl at i2c 45file dev/i2c/tsl2560.c tsl 46 47# ADM1021 48device admtemp 49attach admtemp at i2c 50file dev/i2c/adm1021.c admtemp 51 52# ADM1024 53device admlc 54attach admlc at i2c 55file dev/i2c/adm1024.c admlc 56 57# ADM1025 58device admtm 59attach admtm at i2c 60file dev/i2c/adm1025.c admtm 61 62# ADM1030 63device admtmp 64attach admtmp at i2c 65file dev/i2c/adm1030.c admtmp 66 67# ADM1031 68device admtt 69attach admtt at i2c 70file dev/i2c/adm1031.c admtt 71 72# PCA9554 73device pcagpio: gpiobus 74attach pcagpio at i2c 75file dev/i2c/pca9554.c pcagpio 76 77# Maxim DS1631 78device maxds 79attach maxds at i2c 80file dev/i2c/ds1631.c maxds 81 82# Apple FCU 83device fcu 84attach fcu at i2c 85file dev/i2c/fcu.c fcu 86 87# Apple ADT 88device adt 89attach adt at i2c 90file dev/i2c/adt7460.c adt 91 92# National Semiconductor LM78/79/81 and compatible hardware monitors 93attach lm at i2c with lm_i2c 94file dev/i2c/lm78_i2c.c lm_i2c 95 96# ADM1026 97device admcts 98attach admcts at i2c 99file dev/i2c/adm1026.c admcts 100 101# ASB100 102device asbtm 103attach asbtm at i2c 104file dev/i2c/asb100.c asbtm 105 106# Winbond W83L784R/W83L875R/W83L785TS-L 107device wbenv 108attach wbenv at i2c 109file dev/i2c/w83l784r.c wbenv 110 111# Winbond W83793G 112device wbng 113attach wbng at i2c 114file dev/i2c/w83793g.c wbng 115 116# Genesys Logic GL518SM 117device glenv 118attach glenv at i2c 119file dev/i2c/gl518sm.c glenv 120 121# RICOH RS5C372[AB] Real Time Clock 122device ricohrtc 123attach ricohrtc at i2c 124file dev/i2c/rs5c372.c ricohrtc 125 126# Fintek F75375 127device fintek 128attach fintek at i2c 129file dev/i2c/fintek.c fintek 130 131# Philips Semiconductor PCA9532 132device pcaled: gpiobus 133attach pcaled at i2c 134file dev/i2c/pca9532.c pcaled 135 136# Andigilog aSC7621 137device adl 138attach adl at i2c 139file dev/i2c/asc7621.c adl 140 141# Andigilog aSC7611 142device andl 143attach andl at i2c 144file dev/i2c/asc7611.c andl 145 146# TI TMHC50 / Analog ADM1022 147device thmc 148attach thmc at i2c 149file dev/i2c/thmc50.c thmc 150 151# SPD Memory EEPROM 152device spdmem 153attach spdmem at i2c 154file dev/i2c/spdmem.c spdmem 155 156# SO-DIMM (JC-42.4) temperature sensor 157device sdtemp 158attach sdtemp at i2c 159file dev/i2c/sdtemp.c sdtemp 160 161device adtfsm 162attach adtfsm at i2c 163file dev/i2c/adt7462.c adtfsm 164