Annotation of src/sys/dev/i2c/files.i2c, Revision 1.86
1.86 ! macallan 1: # $NetBSD: files.i2c,v 1.85 2018/03/08 23:25:56 macallan Exp $
1.1 thorpej 2:
1.43 jmcneill 3: obsolete defflag opt_i2cbus.h I2C_SCAN
1.1 thorpej 4: define i2cbus { }
5: define i2cexec
6:
1.71 pgoyette 7: device iic { [addr = -1], [size = -1] } : i2c_bitbang
1.1 thorpej 8: attach iic at i2cbus
1.44 jmcneill 9: file dev/i2c/i2c.c iic
1.1 thorpej 10: file dev/i2c/i2c_exec.c iic | i2cbus | i2cexec
1.70 pgoyette 11: file dev/i2c/i2c_subr.c i2cbus
1.59 jmcneill 12: defparam opt_i2c.h I2C_MAX_ADDR
1.1 thorpej 13:
14: # Common module for bit-bang'ing an I2C bus
15: define i2c_bitbang
16: file dev/i2c/i2c_bitbang.c i2c_bitbang
17:
1.30 jmcneill 18: # Auvitek AU8522 decoder
19: define au8522: i2cexec
20: file dev/i2c/au8522.c au8522
21:
1.37 jmcneill 22: # LG DT3303 decoder
1.42 jmcneill 23: define lg3303: i2cexec, dtv_math
1.37 jmcneill 24: file dev/i2c/lg3303.c lg3303
25:
26: # Xceive XC3028 tuner
1.42 jmcneill 27: define xc3028: i2cexec, firmload
1.37 jmcneill 28: file dev/i2c/xc3028.c xc3028
29:
1.30 jmcneill 30: # Xceive XC5000 tuner
1.37 jmcneill 31: define xc5k: i2cexec, firmload
1.30 jmcneill 32: file dev/i2c/xc5k.c xc5k
33:
1.35 jakllsch 34: # Generic PLL-based tuners
35: define tvpll: i2cexec
36: file dev/i2c/tvpll.c tvpll
37: file dev/i2c/tvpll_tuners.c tvpll
38:
1.36 jakllsch 39: # Nextwave NXT200x demodulator
1.38 jmcneill 40: define nxt2k: i2cexec, firmload
1.36 jakllsch 41: file dev/i2c/nxt2k.c nxt2k
42:
1.39 jakllsch 43: # Microtune MT2131 silicon tuner
44: define mt2131: i2cexec
45: file dev/i2c/mt2131.c mt2131
46:
1.40 jakllsch 47: # Conexant/Samsung CX24227/S5H1409 demodulator
48: define cx24227: i2cexec
49: file dev/i2c/cx24227.c cx24227
50:
1.1 thorpej 51: #
1.31 matt 52: # I2C master devices
53: #
54: define motoi2c
55: file dev/i2c/motoi2c.c motoi2c
1.51 matt 56: define mvi2c
57: file dev/i2c/gttwsi_core.c mvi2c
1.55 jmcneill 58: defflag opt_gttwsi.h GTTWSI_ALLWINNER
1.31 matt 59:
60: #
1.1 thorpej 61: # I2C client devices
62: #
63:
64: # M41T00 Real Time Clock
1.3 briggs 65: device m41trtc
66: attach m41trtc at iic
67: file dev/i2c/m41t00.c m41trtc
1.1 thorpej 68:
69: # M41ST84 Real Time Clock
70: device strtc
71: attach strtc at iic
72: file dev/i2c/m41st84.c strtc
1.29 kiyohara 73: defflag opt_strtc.h STRTC_NO_USERRAM
74: STRTC_NO_WATCHDOG
1.1 thorpej 75:
76: # MAX6900 Real Time Clock
77: device maxrtc
78: attach maxrtc at iic
79: file dev/i2c/max6900.c maxrtc
80:
1.32 jakllsch 81: # NXP/Philips PCF8563 Real Time Clock
82: device pcf8563rtc
83: attach pcf8563rtc at iic
84: file dev/i2c/pcf8563.c pcf8563rtc
85:
1.1 thorpej 86: # Philips PCF8583 Real Time Clock
87: device pcfrtc
88: attach pcfrtc at iic
89: file dev/i2c/pcf8583.c pcfrtc
90:
1.34 phx 91: # Seiko Instruments S-xx390A Real Time Clock
92: device s390rtc
93: attach s390rtc at iic
94: file dev/i2c/s390.c s390rtc
95:
1.1 thorpej 96: # Atmel/Microchip 24Cxx Serial EEPROM
97: define at24cxx_eeprom
98: device seeprom
99: attach seeprom at iic
100: file dev/i2c/at24cxx.c seeprom | at24cxx_eeprom
101: needs-flag
102:
103: # National Semiconductor LM75 temperature sensor
104: device lmtemp: sysmon_envsys
105: attach lmtemp at iic
106: file dev/i2c/lm75.c lmtemp
107:
1.54 kardel 108: # IST-AG Humidity and Teperature sensor (P14)
109: device hythygtemp: sysmon_envsys
110: attach hythygtemp at iic
111: file dev/i2c/hytp14.c hythygtemp
112:
1.21 pgoyette 113: # National Semiconductor LM78 temp sensor/fan controller
114: attach lm at iic with lm_iic
115: file dev/i2c/lm_i2c.c lm_iic
116:
1.53 jdc 117: # National Semiconductor LM87 and clones system hardware monitor
118: device lmenv: sysmon_envsys
119: attach lmenv at iic
120: file dev/i2c/lm87.c lmenv
121:
1.1 thorpej 122: # Dallas DS1307 Real Time Clock
1.58 uebayasi 123: device dsrtc: sysmon_envsys
1.1 thorpej 124: attach dsrtc at iic
125: file dev/i2c/ds1307.c dsrtc
1.2 shige 126:
127: # Xicor X1226 Real Time Clock
128: device xrtc
129: attach xrtc at iic
130: file dev/i2c/x1226.c xrtc
1.4 macallan 131:
1.19 pgoyette 132: # Analog Devices dBCool family of thermal monitors / fan controllers
133: device dbcool: sysmon_envsys
134: attach dbcool at iic
135: file dev/i2c/dbcool.c dbcool
136:
1.5 nonaka 137: # RICOH RS5C372[AB] Real Time Clock
138: device rs5c372rtc
139: attach rs5c372rtc at iic
140: file dev/i2c/rs5c372.c rs5c372rtc
1.8 shige 141:
142: # RICOH R2025S/D Real Time Clock
143: device r2025rtc
144: attach r2025rtc at iic
145: file dev/i2c/r2025.c r2025rtc
1.9 gdamore 146:
147: # VESA Display Data Channel 2
148: device ddc
1.10 gdamore 149: define ddc_read_edid
1.9 gdamore 150: attach ddc at iic
1.10 gdamore 151: file dev/i2c/ddc.c ddc | ddc_read_edid
1.11 jmcneill 152:
1.14 macallan 153: # SGS TDA7433 audio mixer
1.16 macallan 154: device sgsmix
155: attach sgsmix at iic
1.14 macallan 156: file dev/i2c/sgsmix.c sgsmix needs-flag
1.16 macallan 157: defflag opt_sgsmix.h SGSMIX_DEBUG
1.14 macallan 158:
1.15 tnn 159: # Memory Serial Presence Detect
1.27 pgoyette 160: attach spdmem at iic with spdmem_iic
161: file dev/i2c/spdmem_i2c.c spdmem_iic
1.22 jkunz 162:
1.24 pgoyette 163: # Memory Temp Sensor
1.25 pgoyette 164: device sdtemp: sysmon_envsys
1.24 pgoyette 165: attach sdtemp at iic
166: file dev/i2c/sdtemp.c sdtemp
167:
1.51 matt 168: # DS1672 Real Time Clock
169: device ds1672rtc
170: attach ds1672rtc at iic
171: file dev/i2c/ds1672.c ds1672rtc
172:
1.22 jkunz 173: # ADM1021
1.23 nakayama 174: device admtemp: sysmon_envsys
1.22 jkunz 175: attach admtemp at iic
176: file dev/i2c/adm1021.c admtemp
1.26 pgoyette 177:
1.69 jdc 178: # ADM1026 hardware monitor
179: device adm1026hm: sysmon_envsys
180: attach adm1026hm at iic
181: file dev/i2c/adm1026.c adm1026hm
182:
1.26 pgoyette 183: # SMSC LPC47M192 hardware monitor
184: device smscmon: sysmon_envsys
185: attach smscmon at iic
186: file dev/i2c/smscmon.c smscmon
1.28 kiyohara 187:
188: # G760a FAN controller
189: device g760a: sysmon_envsys
190: attach g760a at iic
191: file dev/i2c/g760a.c g760a
1.33 hannken 192:
193: # IBM Hawk Integrated Systems Management Processor
194: device ibmhawk: sysmon_envsys
195: attach ibmhawk at iic
196: file dev/i2c/ibmhawk.c ibmhawk
1.46 jmcneill 197:
198: # TI TPS65950 OMAP Power Management and System Companion Device
1.47 jmcneill 199: device tps65950pm: sysmon_wdog
1.46 jmcneill 200: attach tps65950pm at iic
201: file dev/i2c/tps65950.c tps65950pm
1.48 rkujawa 202:
203: # TI TPS65217
204: device tps65217pmic: sysmon_envsys
205: attach tps65217pmic at iic
1.72 kiyohara 206: file dev/i2c/tps65217pmic.c tps65217pmic needs-flag
1.48 rkujawa 207:
1.49 rkujawa 208: # Microchip MCP980x
209: device mcp980x: sysmon_envsys
210: attach mcp980x at iic
211: file dev/i2c/mcp980x.c mcp980x
212:
1.50 soren 213: # Nuvoton W83795G/ADG Hardware Monitor
214: device w83795g: gpiobus, sysmon_envsys, sysmon_wdog
215: attach w83795g at iic
216: file dev/i2c/w83795g.c w83795g
1.52 rkujawa 217:
218: # Freescale MPL115A2
219: device mpl115a: sysmon_envsys
220: attach mpl115a at iic
221: file dev/i2c/mpl115a.c mpl115a
222:
1.56 jmcneill 223: # AXP20x Power Management Unit
1.78 jmcneill 224: device axp20x { }: sysmon_envsys
225: device axp20xreg: axp20x
1.56 jmcneill 226: attach axp20x at iic
1.78 jmcneill 227: attach axp20xreg at axp20x
1.66 jmcneill 228: file dev/i2c/axp20x.c axp20x needs-flag
1.57 jmcneill 229:
230: # AXP22x Power Management Unit
231: device axp22x: sysmon_envsys
232: attach axp22x at iic
233: file dev/i2c/axp22x.c axp22x
1.60 jmcneill 234:
235: # AXP806 Power Management Unit
236: device axp806pm
237: attach axp806pm at iic
238: file dev/i2c/axp806.c axp806pm needs-flag
239:
240: # AXP809 Power Management Unit
241: device axp809pm
242: attach axp809pm at iic
243: file dev/i2c/axp809.c axp809pm needs-flag
1.61 jmcneill 244:
245: # AC100 integrated audio codec and RTC
246: device ac100ic
247: attach ac100ic at iic
248: file dev/i2c/ac100.c ac100ic needs-flag
1.62 jmcneill 249:
250: # ACT8846 Power Management Unit
251: device act8846pm
252: attach act8846pm at iic
253: file dev/i2c/act8846.c act8846pm needs-flag
1.65 jmcneill 254:
255: # Texas Instruments TMP451 Temperature Sensor
256: device titemp: sysmon_envsys
257: attach titemp at iic
258: file dev/i2c/titemp.c titemp
1.67 jmcneill 259:
260: # AMS AS3722 Power Management IC
1.73 jmcneill 261: device as3722pmic { }: sysmon_wdog
262: device as3722reg: as3722pmic
1.67 jmcneill 263: attach as3722pmic at iic
1.73 jmcneill 264: attach as3722reg at as3722pmic
1.67 jmcneill 265: file dev/i2c/as3722.c as3722pmic needs-flag
1.74 jmcneill 266:
267: # Texas Instruments TCA8418 Keypad Scan IC
1.75 jmcneill 268: device tcakp: wskbddev, linux_keymap
1.74 jmcneill 269: attach tcakp at iic
270: file dev/i2c/tcakp.c tcakp
1.76 jmcneill 271:
272: # MAXIM MAX77620 Power Management IC
273: device max77620pmic
274: attach max77620pmic at iic
275: file dev/i2c/max77620.c max77620pmic
276:
277: # Texas Instruments TCA9539 I/O Expander
278: device tcagpio
279: attach tcagpio at iic
280: file dev/i2c/tcagpio.c tcagpio
1.77 jmcneill 281:
1.80 christos 282: # Silicon Lab SI7013/SI7020/SI7021 Temperature and Humidity sensor
283: device si70xxtemp
284: attach si70xxtemp at iic
285: file dev/i2c/si70xx.c si70xxtemp
286:
287: # Aosong AM2315 Temperature and Humidity sensor
288: device am2315temp
289: attach am2315temp at iic
290: file dev/i2c/am2315.c am2315temp
291:
1.77 jmcneill 292: # Silergy SY8106A regulator
293: device sy8106a
294: attach sy8106a at iic
295: file dev/i2c/sy8106a.c sy8106a
1.79 bouyer 296:
1.82 macallan 297: # Maxim DS1631 High-Precision Digital Thermometer and Thermostat
298: device dstemp: sysmon_envsys
299: attach dstemp at iic
300: file dev/i2c/dstemp.c dstemp
301:
1.81 uwe 302: # EM3027 Real Time Clock and Temperature Sensor
303: device em3027rtc: sysmon_envsys
304: attach em3027rtc at iic
305: file dev/i2c/em3027.c em3027rtc
306:
1.85 macallan 307: # Apple Fan Control Unit found in some G5
308: device fcu: sysmon_envsys
309: attach fcu at iic
310: file dev/i2c/fcu.c fcu
311:
1.86 ! macallan 312: # Analog Devices AD7417 thermometer and ADC
! 313: device adadc: sysmon_envsys
! 314: attach adadc at iic
! 315: file dev/i2c/adadc.c adadc
! 316:
1.79 bouyer 317: # HID over i2c
318: # HID "bus"
319: define ihidbus {[ reportid = -1 ]}
320:
321: # HID root device for multiple report IDs
322: device ihidev: hid, ihidbus
323: attach ihidev at iic
324: file dev/i2c/ihidev.c ihidev
325:
326: #HID mice
327: device ims: hid, hidms, wsmousedev
328: attach ims at ihidbus
329: file dev/i2c/ims.c ims
330:
331: #HID multitouch
332: device imt: hid, hidmt, wsmousedev
333: attach imt at ihidbus
334: file dev/i2c/imt.c imt
CVSweb <webmaster@jp.NetBSD.org>