1 # $NetBSD: files.i2c,v 1.24 2009/05/09 15:04:25 pgoyette Exp $
3 defflag opt_i2cbus.h I2C_SCAN
7 device iic { [addr = -1], [size = -1] }
9 file dev/i2c/i2c.c iic | i2cbus
10 file dev/i2c/i2c_exec.c iic | i2cbus | i2cexec
12 # Common module for bit-bang'ing an I2C bus
14 file dev/i2c/i2c_bitbang.c i2c_bitbang
20 # M41T00 Real Time Clock
23 file dev/i2c/m41t00.c m41trtc
25 # M41ST84 Real Time Clock
28 file dev/i2c/m41st84.c strtc
30 # MAX6900 Real Time Clock
33 file dev/i2c/max6900.c maxrtc
35 # Philips PCF8583 Real Time Clock
38 file dev/i2c/pcf8583.c pcfrtc
40 # Atmel/Microchip 24Cxx Serial EEPROM
44 file dev/i2c/at24cxx.c seeprom | at24cxx_eeprom
47 # National Semiconductor LM75 temperature sensor
48 device lmtemp: sysmon_envsys
50 file dev/i2c/lm75.c lmtemp
52 # National Semiconductor LM78 temp sensor/fan controller
53 attach lm at iic with lm_iic
54 file dev/i2c/lm_i2c.c lm_iic
56 # Dallas DS1307 Real Time Clock
59 file dev/i2c/ds1307.c dsrtc
61 # Xicor X1226 Real Time Clock
64 file dev/i2c/x1226.c xrtc
66 # Analog Devices dBCool family of thermal monitors / fan controllers
68 device dbcool: sysmon_envsys
70 file dev/i2c/dbcool.c dbcool
72 # RICOH RS5C372[AB] Real Time Clock
74 attach rs5c372rtc at iic
75 file dev/i2c/rs5c372.c rs5c372rtc
77 # RICOH R2025S/D Real Time Clock
79 attach r2025rtc at iic
80 file dev/i2c/r2025.c r2025rtc
82 # VESA Display Data Channel 2
86 file dev/i2c/ddc.c ddc | ddc_read_edid
88 # SGS TDA7433 audio mixer
91 file dev/i2c/sgsmix.c sgsmix needs-flag
92 defflag opt_sgsmix.h SGSMIX_DEBUG
94 # Xbox PIC16LC System Management Controller
95 device pic16lc: sysmon_envsys
97 file dev/i2c/pic16lc.c pic16lc needs-flag
101 attach xbseeprom at iic
102 file dev/i2c/xbseeprom.c xbseeprom
104 # Memory Serial Presence Detect
107 file dev/i2c/spdmem.c spdmem
110 device sdtemp: sysmon_envsys
112 file dev/i2c/sdtemp.c sdtemp
115 device admtemp: sysmon_envsys
116 attach admtemp at iic
117 file dev/i2c/adm1021.c admtemp