158 lines
3.4 KiB
Plaintext
158 lines
3.4 KiB
Plaintext
# $NetBSD: files.i2c,v 1.34 2011/04/04 17:58:40 phx Exp $
|
|
|
|
defflag opt_i2cbus.h I2C_SCAN
|
|
define i2cbus { }
|
|
define i2cexec
|
|
|
|
device iic { [addr = -1], [size = -1] }
|
|
attach iic at i2cbus
|
|
file dev/i2c/i2c.c iic | i2cbus
|
|
file dev/i2c/i2c_exec.c iic | i2cbus | i2cexec
|
|
|
|
# Common module for bit-bang'ing an I2C bus
|
|
define i2c_bitbang
|
|
file dev/i2c/i2c_bitbang.c i2c_bitbang
|
|
|
|
# Auvitek AU8522 decoder
|
|
define au8522: i2cexec
|
|
file dev/i2c/au8522.c au8522
|
|
|
|
# Xceive XC5000 tuner
|
|
define xc5k: i2cexec
|
|
file dev/i2c/xc5k.c xc5k
|
|
|
|
#
|
|
# I2C master devices
|
|
#
|
|
define motoi2c
|
|
file dev/i2c/motoi2c.c motoi2c
|
|
|
|
#
|
|
# I2C client devices
|
|
#
|
|
|
|
# M41T00 Real Time Clock
|
|
device m41trtc
|
|
attach m41trtc at iic
|
|
file dev/i2c/m41t00.c m41trtc
|
|
|
|
# M41ST84 Real Time Clock
|
|
device strtc
|
|
attach strtc at iic
|
|
file dev/i2c/m41st84.c strtc
|
|
defflag opt_strtc.h STRTC_NO_USERRAM
|
|
STRTC_NO_WATCHDOG
|
|
|
|
# MAX6900 Real Time Clock
|
|
device maxrtc
|
|
attach maxrtc at iic
|
|
file dev/i2c/max6900.c maxrtc
|
|
|
|
# NXP/Philips PCF8563 Real Time Clock
|
|
device pcf8563rtc
|
|
attach pcf8563rtc at iic
|
|
file dev/i2c/pcf8563.c pcf8563rtc
|
|
|
|
# Philips PCF8583 Real Time Clock
|
|
device pcfrtc
|
|
attach pcfrtc at iic
|
|
file dev/i2c/pcf8583.c pcfrtc
|
|
|
|
# Seiko Instruments S-xx390A Real Time Clock
|
|
device s390rtc
|
|
attach s390rtc at iic
|
|
file dev/i2c/s390.c s390rtc
|
|
|
|
# Atmel/Microchip 24Cxx Serial EEPROM
|
|
define at24cxx_eeprom
|
|
device seeprom
|
|
attach seeprom at iic
|
|
file dev/i2c/at24cxx.c seeprom | at24cxx_eeprom
|
|
needs-flag
|
|
|
|
# National Semiconductor LM75 temperature sensor
|
|
device lmtemp: sysmon_envsys
|
|
attach lmtemp at iic
|
|
file dev/i2c/lm75.c lmtemp
|
|
|
|
# National Semiconductor LM78 temp sensor/fan controller
|
|
attach lm at iic with lm_iic
|
|
file dev/i2c/lm_i2c.c lm_iic
|
|
|
|
# Dallas DS1307 Real Time Clock
|
|
device dsrtc
|
|
attach dsrtc at iic
|
|
file dev/i2c/ds1307.c dsrtc
|
|
|
|
# Xicor X1226 Real Time Clock
|
|
device xrtc
|
|
attach xrtc at iic
|
|
file dev/i2c/x1226.c xrtc
|
|
|
|
# Analog Devices dBCool family of thermal monitors / fan controllers
|
|
define dbcool {}
|
|
device dbcool: sysmon_envsys
|
|
attach dbcool at iic
|
|
file dev/i2c/dbcool.c dbcool
|
|
|
|
# RICOH RS5C372[AB] Real Time Clock
|
|
device rs5c372rtc
|
|
attach rs5c372rtc at iic
|
|
file dev/i2c/rs5c372.c rs5c372rtc
|
|
|
|
# RICOH R2025S/D Real Time Clock
|
|
device r2025rtc
|
|
attach r2025rtc at iic
|
|
file dev/i2c/r2025.c r2025rtc
|
|
|
|
# VESA Display Data Channel 2
|
|
device ddc
|
|
define ddc_read_edid
|
|
attach ddc at iic
|
|
file dev/i2c/ddc.c ddc | ddc_read_edid
|
|
|
|
# SGS TDA7433 audio mixer
|
|
device sgsmix
|
|
attach sgsmix at iic
|
|
file dev/i2c/sgsmix.c sgsmix needs-flag
|
|
defflag opt_sgsmix.h SGSMIX_DEBUG
|
|
|
|
# Xbox PIC16LC System Management Controller
|
|
device pic16lc: sysmon_envsys
|
|
attach pic16lc at iic
|
|
file dev/i2c/pic16lc.c pic16lc needs-flag
|
|
|
|
# Xbox Serial EEPROM
|
|
device xbseeprom
|
|
attach xbseeprom at iic
|
|
file dev/i2c/xbseeprom.c xbseeprom
|
|
|
|
# Memory Serial Presence Detect
|
|
attach spdmem at iic with spdmem_iic
|
|
file dev/i2c/spdmem_i2c.c spdmem_iic
|
|
|
|
# Memory Temp Sensor
|
|
device sdtemp: sysmon_envsys
|
|
attach sdtemp at iic
|
|
file dev/i2c/sdtemp.c sdtemp
|
|
|
|
# ADM1021
|
|
device admtemp: sysmon_envsys
|
|
attach admtemp at iic
|
|
file dev/i2c/adm1021.c admtemp
|
|
|
|
# SMSC LPC47M192 hardware monitor
|
|
device smscmon: sysmon_envsys
|
|
attach smscmon at iic
|
|
file dev/i2c/smscmon.c smscmon
|
|
|
|
# G760a FAN controller
|
|
device g760a: sysmon_envsys
|
|
attach g760a at iic
|
|
file dev/i2c/g760a.c g760a
|
|
|
|
# IBM Hawk Integrated Systems Management Processor
|
|
device ibmhawk: sysmon_envsys
|
|
attach ibmhawk at iic
|
|
file dev/i2c/ibmhawk.c ibmhawk
|