summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorloos <loos@FreeBSD.org>2014-05-10 12:19:02 +0000
committerloos <loos@FreeBSD.org>2014-05-10 12:19:02 +0000
commit1e481e96a449c37aa010f03c6f83a74e6959d477 (patch)
tree6e489f72b0f5afb41ca6948e1ed5c66f8e0b6cce /sys/conf
parent285d10d30fde5f9481231c167d17c61e724df490 (diff)
downloadFreeBSD-src-1e481e96a449c37aa010f03c6f83a74e6959d477.zip
FreeBSD-src-1e481e96a449c37aa010f03c6f83a74e6959d477.tar.gz
Add the lm75 i2c digital temperature sensor driver.
This driver supports the low and high precision models (9 and 11 bits) and it will auto-detect the both variants. The driver expose the temperature registers (actual temperature, shutdown and hysteresys temperature) and also the configuration register. It was tested on FDT systems: RPi, BBB and on non-FDT systems: AR71xx, with both, hardware i2c controllers (when available) and gpioiic(4). This provides a simple and cheap way for verifying the i2c bus on embedded systems.
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/files1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/files b/sys/conf/files
index d11faa9..38afd9d 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -1444,6 +1444,7 @@ dev/iicbus/iiconf.c optional iicbus
dev/iicbus/iicsmb.c optional iicsmb \
dependency "iicbus_if.h"
dev/iicbus/iicoc.c optional iicoc
+dev/iicbus/lm75.c optional lm75
dev/iicbus/pcf8563.c optional pcf8563
dev/iicbus/s35390a.c optional s35390a
dev/iir/iir.c optional iir
OpenPOWER on IntegriCloud