2009-05-14 17:22:26 +04:00
|
|
|
# $NetBSD: files.i2c,v 1.25 2009/05/14 13:22:26 pgoyette Exp $
|
2003-09-30 04:35:30 +04:00
|
|
|
|
2008-09-12 00:48:50 +04:00
|
|
|
defflag opt_i2cbus.h I2C_SCAN
|
2003-09-30 04:35:30 +04:00
|
|
|
define i2cbus { }
|
|
|
|
define i2cexec
|
|
|
|
|
2008-08-26 20:29:14 +04:00
|
|
|
device iic { [addr = -1], [size = -1] }
|
2003-09-30 04:35:30 +04:00
|
|
|
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
|
|
|
|
|
|
|
|
#
|
|
|
|
# I2C client devices
|
|
|
|
#
|
|
|
|
|
|
|
|
# M41T00 Real Time Clock
|
2003-10-20 20:24:10 +04:00
|
|
|
device m41trtc
|
|
|
|
attach m41trtc at iic
|
|
|
|
file dev/i2c/m41t00.c m41trtc
|
2003-09-30 04:35:30 +04:00
|
|
|
|
|
|
|
# M41ST84 Real Time Clock
|
|
|
|
device strtc
|
|
|
|
attach strtc at iic
|
|
|
|
file dev/i2c/m41st84.c strtc
|
|
|
|
|
|
|
|
# MAX6900 Real Time Clock
|
|
|
|
device maxrtc
|
|
|
|
attach maxrtc at iic
|
|
|
|
file dev/i2c/max6900.c maxrtc
|
|
|
|
|
|
|
|
# Philips PCF8583 Real Time Clock
|
|
|
|
device pcfrtc
|
|
|
|
attach pcfrtc at iic
|
|
|
|
file dev/i2c/pcf8583.c pcfrtc
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2008-10-12 17:17:28 +04:00
|
|
|
# National Semiconductor LM78 temp sensor/fan controller
|
|
|
|
attach lm at iic with lm_iic
|
|
|
|
file dev/i2c/lm_i2c.c lm_iic
|
|
|
|
|
2003-09-30 04:35:30 +04:00
|
|
|
# Dallas DS1307 Real Time Clock
|
|
|
|
device dsrtc
|
|
|
|
attach dsrtc at iic
|
|
|
|
file dev/i2c/ds1307.c dsrtc
|
2003-10-06 22:02:54 +04:00
|
|
|
|
|
|
|
# Xicor X1226 Real Time Clock
|
|
|
|
device xrtc
|
|
|
|
attach xrtc at iic
|
|
|
|
file dev/i2c/x1226.c xrtc
|
2005-08-10 18:18:28 +04:00
|
|
|
|
Add new driver for dbCool(tm) family of Thermal Monitor and Fan Controller.
Supported chips: ADM1027, ADM1030, ADT7463, ADT7466, ADT7467, ADT7468,
ADT7473, ADT7475, and ADT7476. Notably missing is the ADT7490, and fan
controller support on the ADT7466 is still on the to-do list.
Tested by myself and njoly@
Reviewed by garbled@
Commit approved by christos@, bouyer@, cube@, and matt@
2008-10-02 04:47:51 +04:00
|
|
|
# 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
|
|
|
|
|
2005-08-16 15:09:12 +04:00
|
|
|
# RICOH RS5C372[AB] Real Time Clock
|
|
|
|
device rs5c372rtc
|
|
|
|
attach rs5c372rtc at iic
|
|
|
|
file dev/i2c/rs5c372.c rs5c372rtc
|
2006-03-06 23:29:06 +03:00
|
|
|
|
|
|
|
# RICOH R2025S/D Real Time Clock
|
|
|
|
device r2025rtc
|
|
|
|
attach r2025rtc at iic
|
|
|
|
file dev/i2c/r2025.c r2025rtc
|
2006-04-26 01:18:16 +04:00
|
|
|
|
|
|
|
# VESA Display Data Channel 2
|
|
|
|
device ddc
|
2006-04-26 10:52:09 +04:00
|
|
|
define ddc_read_edid
|
2006-04-26 01:18:16 +04:00
|
|
|
attach ddc at iic
|
2006-04-26 10:52:09 +04:00
|
|
|
file dev/i2c/ddc.c ddc | ddc_read_edid
|
2007-01-06 05:44:16 +03:00
|
|
|
|
2007-01-18 02:33:23 +03:00
|
|
|
# SGS TDA7433 audio mixer
|
2007-09-02 05:40:46 +04:00
|
|
|
device sgsmix
|
|
|
|
attach sgsmix at iic
|
2007-01-18 02:33:23 +03:00
|
|
|
file dev/i2c/sgsmix.c sgsmix needs-flag
|
2007-09-02 05:40:46 +04:00
|
|
|
defflag opt_sgsmix.h SGSMIX_DEBUG
|
2007-01-18 02:33:23 +03:00
|
|
|
|
2007-01-06 05:44:16 +03:00
|
|
|
# Xbox PIC16LC System Management Controller
|
|
|
|
device pic16lc: sysmon_envsys
|
|
|
|
attach pic16lc at iic
|
2007-01-06 21:38:28 +03:00
|
|
|
file dev/i2c/pic16lc.c pic16lc needs-flag
|
2007-01-06 21:04:53 +03:00
|
|
|
|
|
|
|
# Xbox Serial EEPROM
|
|
|
|
device xbseeprom
|
|
|
|
attach xbseeprom at iic
|
|
|
|
file dev/i2c/xbseeprom.c xbseeprom
|
2007-08-18 15:26:35 +04:00
|
|
|
|
|
|
|
# Memory Serial Presence Detect
|
|
|
|
device spdmem
|
|
|
|
attach spdmem at iic
|
|
|
|
file dev/i2c/spdmem.c spdmem
|
2008-10-29 20:26:56 +03:00
|
|
|
|
2009-05-09 19:04:25 +04:00
|
|
|
# Memory Temp Sensor
|
2009-05-14 17:22:26 +04:00
|
|
|
device sdtemp: sysmon_envsys
|
2009-05-09 19:04:25 +04:00
|
|
|
attach sdtemp at iic
|
|
|
|
file dev/i2c/sdtemp.c sdtemp
|
|
|
|
|
2008-10-29 20:26:56 +03:00
|
|
|
# ADM1021
|
2008-10-30 15:52:46 +03:00
|
|
|
device admtemp: sysmon_envsys
|
2008-10-29 20:26:56 +03:00
|
|
|
attach admtemp at iic
|
|
|
|
file dev/i2c/adm1021.c admtemp
|