summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2015-08-27 23:33:38 +0000
committerimp <imp@FreeBSD.org>2015-08-27 23:33:38 +0000
commit05c9f26dff59dbf912171e997071d42c9f2c866e (patch)
tree12bf0a866f497ef802ae3d9eb17b80d76cb085ae /sys/conf
parent4ccf42e0ef431c29d97b7225534352fc1a517a98 (diff)
downloadFreeBSD-src-05c9f26dff59dbf912171e997071d42c9f2c866e.zip
FreeBSD-src-05c9f26dff59dbf912171e997071d42c9f2c866e.tar.gz
New 1-Wire bus implementation. 1-Wire controller is abstracted, though
only gpiobus configured via FDT is supported. Bus enumeration is supported. Devices are created for each device found. 1-Wire temperature controllers are supported, but other drivers could be written. Temperatures are polled and reported via a sysctl. Errors are reported via sysctl counters. Mis-wired bus detection is included for more trouble shooting. See ow(4), owc(4) and ow_temp(4) for details of what's supported and known issues. This has been tested on Raspberry Pi-B, Pi2 and Beagle Bone Black with up to 7 devices. Differential Revision: https://reviews.freebsd.org/D2956 Relnotes: yes MFC after: 2 weeks Reviewed by: loos@ (with many insightful comments)
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/files7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/conf/files b/sys/conf/files
index 7462906..280f6a6 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -2088,6 +2088,13 @@ dev/ofw/ofw_iicbus.c optional fdt iicbus
dev/ofw/ofwbus.c optional fdt
dev/ofw/openfirm.c optional fdt
dev/ofw/openfirmio.c optional fdt
+dev/ow/ow.c optional ow \
+ dependency "owll_if.h" \
+ dependency "own_if.h"
+dev/ow/owll_if.m optional ow
+dev/ow/own_if.m optional ow
+dev/ow/ow_temp.c optional ow_temp
+dev/ow/owc_gpiobus.c optional owc gpio
dev/patm/if_patm.c optional patm pci
dev/patm/if_patm_attach.c optional patm pci
dev/patm/if_patm_intr.c optional patm pci
OpenPOWER on IntegriCloud