summaryrefslogtreecommitdiff
path: root/sys/dev/i2c/files.i2c
blob: e24892cb76184e20da77e14a0a930e7f82e925e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# $OpenBSD: files.i2c,v 1.22 2005/12/27 20:47:00 kettenis Exp $
#	$NetBSD: files.i2c,v 1.3 2003/10/20 16:24:10 briggs Exp $

define	i2c {[addr = -1], [size = -1]}
device	iic: i2c
attach	iic at i2cbus
file	dev/i2c/i2c.c				iic | i2cbus
file	dev/i2c/i2c_exec.c			iic | i2cbus | i2cexec
file	dev/i2c/i2c_scan.c			iic | i2cbus | i2cexec

# Common module for bit-bang'ing an I2C bus
file	dev/i2c/i2c_bitbang.c			i2c_bitbang

#
# I2C client devices
#

# National Semiconductor LM75/LM77 temperature sensor
device	lmtemp
attach	lmtemp at i2c
file	dev/i2c/lm75.c				lmtemp

# National Semiconductor LM87 sensor
device	lmenv
attach	lmenv at i2c
file	dev/i2c/lm87.c				lmenv

# Maxim MAX6690 Remote/Local Temperature sensor
device	maxtmp
attach	maxtmp at i2c
file	dev/i2c/maxim6690.c			maxtmp

# Analog Devices AD741x Temperature sensor + 4-channel ADC
device	adc
attach	adc at i2c
file	dev/i2c/ad741x.c			adc

# TAOS TSL2560/61 light-to-digital converter
device	tsl
attach	tsl at i2c
file	dev/i2c/tsl2560.c			tsl

# ADM1021
device	admtemp
attach	admtemp at i2c
file	dev/i2c/adm1021.c			admtemp

# ADM1024
device	admlc
attach	admlc at i2c
file	dev/i2c/adm1024.c			admlc

# ADM1025
device	admtm
attach	admtm at i2c
file	dev/i2c/adm1025.c			admtm

# ADM1030
device	admtmp
attach	admtmp at i2c
file	dev/i2c/adm1030.c			admtmp

# ADM1031
device	admtt
attach	admtt at i2c
file	dev/i2c/adm1031.c			admtt

# PCA9554
device	pcagpio: gpiobus
attach	pcagpio at i2c
file	dev/i2c/pca9554.c			pcagpio

# Maxim DS1631
device	maxds: gpiobus
attach	maxds at i2c
file	dev/i2c/ds1631.c			maxds

# Apple FCU
device	fcu: gpiobus
attach	fcu at i2c
file	dev/i2c/fcu.c				fcu

# Apple ADT
device	adt: gpiobus
attach	adt at i2c
file	dev/i2c/adt7460.c			adt

# National Semiconductor LM7[89] and compatible hardware monitors
attach lm at i2c with lm_i2c
file	dev/i2c/lm_i2c.c			lm_i2c