summaryrefslogtreecommitdiff
path: root/sys/dev/i2c/files.i2c
blob: 43a783132802f4549839ae137be1d03cc896bfd6 (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
# $OpenBSD: files.i2c,v 1.8 2005/11/15 16:24:49 deraadt 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

# 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 Remote/Local Temperature sensor
device	maxtmp
attach	maxtmp at i2c
file	dev/i2c/maxim6690.c			maxtmp