files.i2c revision 1.86
11.86Smacallan#	$NetBSD: files.i2c,v 1.86 2018/03/09 20:16:54 macallan Exp $
21.1Sthorpej
31.43Sjmcneillobsolete defflag	opt_i2cbus.h		I2C_SCAN
41.1Sthorpejdefine	i2cbus { }
51.1Sthorpejdefine	i2cexec
61.1Sthorpej
71.71Spgoyettedevice	iic { [addr = -1], [size = -1] } : i2c_bitbang
81.1Sthorpejattach	iic at i2cbus
91.44Sjmcneillfile	dev/i2c/i2c.c				iic
101.1Sthorpejfile	dev/i2c/i2c_exec.c			iic | i2cbus | i2cexec
111.70Spgoyettefile	dev/i2c/i2c_subr.c			i2cbus
121.59Sjmcneilldefparam opt_i2c.h				I2C_MAX_ADDR
131.1Sthorpej
141.1Sthorpej# Common module for bit-bang'ing an I2C bus
151.1Sthorpejdefine	i2c_bitbang
161.1Sthorpejfile	dev/i2c/i2c_bitbang.c			i2c_bitbang
171.1Sthorpej
181.30Sjmcneill# Auvitek AU8522 decoder
191.30Sjmcneilldefine	au8522: i2cexec
201.30Sjmcneillfile	dev/i2c/au8522.c			au8522
211.30Sjmcneill
221.37Sjmcneill# LG DT3303 decoder
231.42Sjmcneilldefine	lg3303: i2cexec, dtv_math
241.37Sjmcneillfile	dev/i2c/lg3303.c			lg3303
251.37Sjmcneill
261.37Sjmcneill# Xceive XC3028 tuner
271.42Sjmcneilldefine	xc3028: i2cexec, firmload
281.37Sjmcneillfile	dev/i2c/xc3028.c			xc3028
291.37Sjmcneill
301.30Sjmcneill# Xceive XC5000 tuner
311.37Sjmcneilldefine	xc5k: i2cexec, firmload
321.30Sjmcneillfile	dev/i2c/xc5k.c				xc5k
331.30Sjmcneill
341.35Sjakllsch# Generic PLL-based tuners
351.35Sjakllschdefine	tvpll: i2cexec
361.35Sjakllschfile	dev/i2c/tvpll.c				tvpll
371.35Sjakllschfile	dev/i2c/tvpll_tuners.c			tvpll
381.35Sjakllsch
391.36Sjakllsch# Nextwave NXT200x demodulator
401.38Sjmcneilldefine	nxt2k: i2cexec, firmload
411.36Sjakllschfile	dev/i2c/nxt2k.c				nxt2k
421.36Sjakllsch
431.39Sjakllsch# Microtune MT2131 silicon tuner
441.39Sjakllschdefine	mt2131: i2cexec
451.39Sjakllschfile	dev/i2c/mt2131.c			mt2131
461.39Sjakllsch
471.40Sjakllsch# Conexant/Samsung CX24227/S5H1409 demodulator
481.40Sjakllschdefine	cx24227: i2cexec
491.40Sjakllschfile	dev/i2c/cx24227.c			cx24227
501.40Sjakllsch
511.1Sthorpej#
521.31Smatt# I2C master devices
531.31Smatt#
541.31Smattdefine	motoi2c
551.31Smattfile	dev/i2c/motoi2c.c			motoi2c
561.51Smattdefine	mvi2c
571.51Smattfile	dev/i2c/gttwsi_core.c			mvi2c
581.55Sjmcneilldefflag opt_gttwsi.h				GTTWSI_ALLWINNER
591.31Smatt
601.31Smatt#
611.1Sthorpej# I2C client devices
621.1Sthorpej#
631.1Sthorpej
641.1Sthorpej# M41T00 Real Time Clock
651.3Sbriggsdevice	m41trtc
661.3Sbriggsattach	m41trtc at iic
671.3Sbriggsfile	dev/i2c/m41t00.c			m41trtc
681.1Sthorpej
691.1Sthorpej# M41ST84 Real Time Clock
701.1Sthorpejdevice	strtc
711.1Sthorpejattach	strtc at iic
721.1Sthorpejfile	dev/i2c/m41st84.c			strtc
731.29Skiyoharadefflag	opt_strtc.h				STRTC_NO_USERRAM
741.29Skiyohara						STRTC_NO_WATCHDOG
751.1Sthorpej
761.1Sthorpej# MAX6900 Real Time Clock
771.1Sthorpejdevice	maxrtc
781.1Sthorpejattach	maxrtc at iic
791.1Sthorpejfile	dev/i2c/max6900.c			maxrtc
801.1Sthorpej
811.32Sjakllsch# NXP/Philips PCF8563 Real Time Clock
821.32Sjakllschdevice	pcf8563rtc
831.32Sjakllschattach	pcf8563rtc at iic
841.32Sjakllschfile	dev/i2c/pcf8563.c			pcf8563rtc
851.32Sjakllsch
861.1Sthorpej# Philips PCF8583 Real Time Clock
871.1Sthorpejdevice	pcfrtc
881.1Sthorpejattach	pcfrtc at iic
891.1Sthorpejfile	dev/i2c/pcf8583.c			pcfrtc
901.1Sthorpej
911.34Sphx# Seiko Instruments S-xx390A Real Time Clock
921.34Sphxdevice	s390rtc
931.34Sphxattach	s390rtc at iic
941.34Sphxfile	dev/i2c/s390.c				s390rtc
951.34Sphx
961.1Sthorpej# Atmel/Microchip 24Cxx Serial EEPROM
971.1Sthorpejdefine	at24cxx_eeprom
981.1Sthorpejdevice	seeprom
991.1Sthorpejattach	seeprom at iic
1001.1Sthorpejfile	dev/i2c/at24cxx.c			seeprom | at24cxx_eeprom
1011.1Sthorpej						    needs-flag
1021.1Sthorpej
1031.1Sthorpej# National Semiconductor LM75 temperature sensor
1041.1Sthorpejdevice	lmtemp: sysmon_envsys
1051.1Sthorpejattach	lmtemp at iic
1061.1Sthorpejfile	dev/i2c/lm75.c				lmtemp
1071.1Sthorpej
1081.54Skardel# IST-AG Humidity and Teperature sensor (P14)
1091.54Skardeldevice	hythygtemp: sysmon_envsys
1101.54Skardelattach	hythygtemp at iic
1111.54Skardelfile	dev/i2c/hytp14.c			hythygtemp
1121.54Skardel
1131.21Spgoyette# National Semiconductor LM78 temp sensor/fan controller
1141.21Spgoyetteattach	lm at iic with lm_iic
1151.21Spgoyettefile	dev/i2c/lm_i2c.c			lm_iic
1161.21Spgoyette
1171.53Sjdc# National Semiconductor LM87 and clones system hardware monitor
1181.53Sjdcdevice	lmenv: sysmon_envsys
1191.53Sjdcattach	lmenv at iic
1201.53Sjdcfile	dev/i2c/lm87.c				lmenv
1211.53Sjdc
1221.1Sthorpej# Dallas DS1307 Real Time Clock
1231.58Suebayasidevice	dsrtc: sysmon_envsys
1241.1Sthorpejattach	dsrtc at iic
1251.1Sthorpejfile	dev/i2c/ds1307.c			dsrtc
1261.2Sshige
1271.2Sshige# Xicor X1226 Real Time Clock
1281.2Sshigedevice	xrtc
1291.2Sshigeattach	xrtc at iic
1301.2Sshigefile	dev/i2c/x1226.c				xrtc
1311.4Smacallan
1321.19Spgoyette# Analog Devices dBCool family of thermal monitors / fan controllers
1331.19Spgoyettedevice dbcool: sysmon_envsys
1341.19Spgoyetteattach dbcool at iic
1351.19Spgoyettefile dev/i2c/dbcool.c			dbcool
1361.19Spgoyette
1371.5Snonaka# RICOH RS5C372[AB] Real Time Clock
1381.5Snonakadevice	rs5c372rtc
1391.5Snonakaattach	rs5c372rtc at iic
1401.5Snonakafile	dev/i2c/rs5c372.c		rs5c372rtc
1411.8Sshige
1421.8Sshige# RICOH R2025S/D Real Time Clock
1431.8Sshigedevice	r2025rtc
1441.8Sshigeattach	r2025rtc at iic
1451.8Sshigefile	dev/i2c/r2025.c			r2025rtc
1461.9Sgdamore
1471.9Sgdamore# VESA Display Data Channel 2
1481.9Sgdamoredevice	ddc
1491.10Sgdamoredefine	ddc_read_edid
1501.9Sgdamoreattach	ddc at iic
1511.10Sgdamorefile	dev/i2c/ddc.c			ddc | ddc_read_edid
1521.11Sjmcneill
1531.14Smacallan# SGS TDA7433 audio mixer
1541.16Smacallandevice	sgsmix
1551.16Smacallanattach	sgsmix at iic
1561.14Smacallanfile	dev/i2c/sgsmix.c		sgsmix needs-flag
1571.16Smacallandefflag	opt_sgsmix.h	SGSMIX_DEBUG
1581.14Smacallan
1591.15Stnn# Memory Serial Presence Detect
1601.27Spgoyetteattach	spdmem at iic with spdmem_iic
1611.27Spgoyettefile	dev/i2c/spdmem_i2c.c		spdmem_iic
1621.22Sjkunz
1631.24Spgoyette# Memory Temp Sensor
1641.25Spgoyettedevice	sdtemp: sysmon_envsys
1651.24Spgoyetteattach	sdtemp at iic
1661.24Spgoyettefile	dev/i2c/sdtemp.c		sdtemp
1671.24Spgoyette
1681.51Smatt# DS1672 Real Time Clock
1691.51Smattdevice	ds1672rtc
1701.51Smattattach	ds1672rtc at iic
1711.51Smattfile	dev/i2c/ds1672.c		ds1672rtc
1721.51Smatt
1731.22Sjkunz# ADM1021
1741.23Snakayamadevice	admtemp: sysmon_envsys
1751.22Sjkunzattach	admtemp at iic
1761.22Sjkunzfile	dev/i2c/adm1021.c		admtemp
1771.26Spgoyette
1781.69Sjdc# ADM1026 hardware monitor
1791.69Sjdcdevice	adm1026hm: sysmon_envsys
1801.69Sjdcattach	adm1026hm at iic
1811.69Sjdcfile	dev/i2c/adm1026.c		adm1026hm
1821.69Sjdc
1831.26Spgoyette# SMSC LPC47M192 hardware monitor
1841.26Spgoyettedevice	smscmon: sysmon_envsys
1851.26Spgoyetteattach	smscmon at iic
1861.26Spgoyettefile	dev/i2c/smscmon.c		smscmon
1871.28Skiyohara
1881.28Skiyohara# G760a FAN controller
1891.28Skiyoharadevice	g760a: sysmon_envsys
1901.28Skiyoharaattach	g760a at iic
1911.28Skiyoharafile	dev/i2c/g760a.c			g760a
1921.33Shannken
1931.33Shannken# IBM Hawk Integrated Systems Management Processor
1941.33Shannkendevice	ibmhawk: sysmon_envsys
1951.33Shannkenattach	ibmhawk at iic
1961.33Shannkenfile	dev/i2c/ibmhawk.c		ibmhawk
1971.46Sjmcneill
1981.46Sjmcneill# TI TPS65950 OMAP Power Management and System Companion Device
1991.47Sjmcneilldevice	tps65950pm: sysmon_wdog
2001.46Sjmcneillattach	tps65950pm at iic
2011.46Sjmcneillfile	dev/i2c/tps65950.c		tps65950pm
2021.48Srkujawa
2031.48Srkujawa# TI TPS65217
2041.48Srkujawadevice	tps65217pmic: sysmon_envsys
2051.48Srkujawaattach	tps65217pmic at iic
2061.72Skiyoharafile	dev/i2c/tps65217pmic.c 		tps65217pmic	needs-flag
2071.48Srkujawa
2081.49Srkujawa# Microchip MCP980x
2091.49Srkujawadevice	mcp980x: sysmon_envsys
2101.49Srkujawaattach	mcp980x at iic
2111.49Srkujawafile	dev/i2c/mcp980x.c 		mcp980x
2121.49Srkujawa
2131.50Ssoren# Nuvoton W83795G/ADG Hardware Monitor
2141.50Ssorendevice	w83795g: gpiobus, sysmon_envsys, sysmon_wdog
2151.50Ssorenattach	w83795g at iic
2161.50Ssorenfile	dev/i2c/w83795g.c 		w83795g
2171.52Srkujawa
2181.52Srkujawa# Freescale MPL115A2
2191.52Srkujawadevice  mpl115a: sysmon_envsys
2201.52Srkujawaattach  mpl115a at iic
2211.52Srkujawafile    dev/i2c/mpl115a.c		mpl115a
2221.52Srkujawa
2231.56Sjmcneill# AXP20x Power Management Unit
2241.78Sjmcneilldevice	axp20x { }: sysmon_envsys
2251.78Sjmcneilldevice	axp20xreg: axp20x
2261.56Sjmcneillattach	axp20x at iic
2271.78Sjmcneillattach	axp20xreg at axp20x
2281.66Sjmcneillfile	dev/i2c/axp20x.c			axp20x		needs-flag
2291.57Sjmcneill
2301.57Sjmcneill# AXP22x Power Management Unit
2311.57Sjmcneilldevice	axp22x: sysmon_envsys
2321.57Sjmcneillattach	axp22x at iic
2331.57Sjmcneillfile	dev/i2c/axp22x.c			axp22x
2341.60Sjmcneill
2351.60Sjmcneill# AXP806 Power Management Unit
2361.60Sjmcneilldevice	axp806pm
2371.60Sjmcneillattach	axp806pm at iic
2381.60Sjmcneillfile	dev/i2c/axp806.c			axp806pm	needs-flag
2391.60Sjmcneill
2401.60Sjmcneill# AXP809 Power Management Unit
2411.60Sjmcneilldevice	axp809pm
2421.60Sjmcneillattach	axp809pm at iic
2431.60Sjmcneillfile	dev/i2c/axp809.c			axp809pm	needs-flag
2441.61Sjmcneill
2451.61Sjmcneill# AC100 integrated audio codec and RTC
2461.61Sjmcneilldevice	ac100ic
2471.61Sjmcneillattach	ac100ic at iic
2481.61Sjmcneillfile	dev/i2c/ac100.c				ac100ic		needs-flag
2491.62Sjmcneill
2501.62Sjmcneill# ACT8846 Power Management Unit
2511.62Sjmcneilldevice	act8846pm
2521.62Sjmcneillattach	act8846pm at iic
2531.62Sjmcneillfile	dev/i2c/act8846.c			act8846pm	needs-flag
2541.65Sjmcneill
2551.65Sjmcneill# Texas Instruments TMP451 Temperature Sensor
2561.65Sjmcneilldevice	titemp: sysmon_envsys
2571.65Sjmcneillattach	titemp at iic
2581.65Sjmcneillfile	dev/i2c/titemp.c			titemp
2591.67Sjmcneill
2601.67Sjmcneill# AMS AS3722 Power Management IC
2611.73Sjmcneilldevice	as3722pmic { }: sysmon_wdog
2621.73Sjmcneilldevice	as3722reg: as3722pmic
2631.67Sjmcneillattach	as3722pmic at iic
2641.73Sjmcneillattach	as3722reg at as3722pmic
2651.67Sjmcneillfile	dev/i2c/as3722.c			as3722pmic	needs-flag
2661.74Sjmcneill
2671.74Sjmcneill# Texas Instruments TCA8418 Keypad Scan IC
2681.75Sjmcneilldevice	tcakp: wskbddev, linux_keymap
2691.74Sjmcneillattach	tcakp at iic
2701.74Sjmcneillfile	dev/i2c/tcakp.c				tcakp
2711.76Sjmcneill
2721.76Sjmcneill# MAXIM MAX77620 Power Management IC
2731.76Sjmcneilldevice	max77620pmic
2741.76Sjmcneillattach	max77620pmic at iic
2751.76Sjmcneillfile	dev/i2c/max77620.c			max77620pmic
2761.76Sjmcneill
2771.76Sjmcneill# Texas Instruments TCA9539 I/O Expander
2781.76Sjmcneilldevice	tcagpio
2791.76Sjmcneillattach	tcagpio at iic
2801.76Sjmcneillfile	dev/i2c/tcagpio.c			tcagpio
2811.77Sjmcneill
2821.80Schristos# Silicon Lab SI7013/SI7020/SI7021 Temperature and Humidity sensor
2831.80Schristosdevice si70xxtemp
2841.80Schristosattach si70xxtemp at iic
2851.80Schristosfile dev/i2c/si70xx.c				si70xxtemp
2861.80Schristos
2871.80Schristos# Aosong AM2315 Temperature and Humidity sensor
2881.80Schristosdevice am2315temp
2891.80Schristosattach am2315temp at iic
2901.80Schristosfile dev/i2c/am2315.c				am2315temp
2911.80Schristos
2921.77Sjmcneill# Silergy SY8106A regulator
2931.77Sjmcneilldevice	sy8106a
2941.77Sjmcneillattach	sy8106a at iic
2951.77Sjmcneillfile	dev/i2c/sy8106a.c			sy8106a
2961.79Sbouyer
2971.82Smacallan# Maxim DS1631 High-Precision Digital Thermometer and Thermostat
2981.82Smacallandevice	dstemp: sysmon_envsys
2991.82Smacallanattach	dstemp at iic
3001.82Smacallanfile	dev/i2c/dstemp.c			dstemp
3011.82Smacallan
3021.81Suwe# EM3027 Real Time Clock and Temperature Sensor
3031.81Suwedevice	em3027rtc: sysmon_envsys
3041.81Suweattach	em3027rtc at iic
3051.81Suwefile	dev/i2c/em3027.c			em3027rtc
3061.81Suwe
3071.85Smacallan# Apple Fan Control Unit found in some G5
3081.85Smacallandevice	fcu: sysmon_envsys
3091.85Smacallanattach	fcu at iic
3101.85Smacallanfile	dev/i2c/fcu.c				fcu
3111.85Smacallan
3121.86Smacallan# Analog Devices AD7417 thermometer and ADC
3131.86Smacallandevice	adadc: sysmon_envsys
3141.86Smacallanattach	adadc at iic
3151.86Smacallanfile	dev/i2c/adadc.c				adadc
3161.86Smacallan
3171.79Sbouyer# HID over i2c
3181.79Sbouyer# HID "bus"
3191.79Sbouyerdefine  ihidbus {[ reportid = -1 ]}
3201.79Sbouyer
3211.79Sbouyer# HID root device for multiple report IDs
3221.79Sbouyerdevice  ihidev: hid, ihidbus
3231.79Sbouyerattach  ihidev at iic
3241.79Sbouyerfile    dev/i2c/ihidev.c			ihidev
3251.79Sbouyer
3261.79Sbouyer#HID mice
3271.79Sbouyerdevice	ims: hid, hidms, wsmousedev
3281.79Sbouyerattach	ims at ihidbus
3291.79Sbouyerfile	dev/i2c/ims.c				ims
3301.79Sbouyer
3311.79Sbouyer#HID multitouch
3321.79Sbouyerdevice	imt: hid, hidmt, wsmousedev
3331.79Sbouyerattach	imt at ihidbus
3341.79Sbouyerfile	dev/i2c/imt.c				imt
335