svn commit: r350035 - stable/12/share/man/man4
Andriy Gapon
avg at FreeBSD.org
Tue Jul 16 15:36:06 UTC 2019
Author: avg
Date: Tue Jul 16 15:36:05 2019
New Revision: 350035
URL: https://svnweb.freebsd.org/changeset/base/350035
Log:
MFC r349406: owc.4: document how to set up the 1-wire bus on a device.hints system
Modified:
stable/12/share/man/man4/owc.4
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/share/man/man4/owc.4
==============================================================================
--- stable/12/share/man/man4/owc.4 Tue Jul 16 15:28:41 2019 (r350034)
+++ stable/12/share/man/man4/owc.4 Tue Jul 16 15:36:05 2019 (r350035)
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd July 20, 2015
+.Dd June 26, 2019
.Dt OWC 4
.Os
.Sh NAME
@@ -69,6 +69,24 @@ For more details about the
.Va gpios
property, please consult
.Pa /usr/src/sys/dts/bindings-gpio.txt .
+.Pp
+On a
+.Xr device.hints 5
+based system these values are required for the
+.Nm :
+.Bl -tag -width ".Va hint.owc.%d.atXXX"
+.It Va hint.owc.%d.at
+The
+.Nm gpiobus
+you are attaching to.
+.It Va hint.owc.%d.pins
+This is a bitmask that defines a pin on the
+.Nm gpiobus
+that is to be used for the 1-Wire bus.
+For instance, to configure pin 10, use the bitmask of 0x400.
+Please note that this mask should have only one bit set
+(any other bits - i.e., pins - will be ignored).
+.El
.Sh SEE ALSO
.Xr gpiobus 4 ,
.Xr ow 4 ,
More information about the svn-src-all
mailing list