svn commit: r349406 - head/share/man/man4

Andriy Gapon avg at FreeBSD.org
Wed Jun 26 06:40:32 UTC 2019


Author: avg
Date: Wed Jun 26 06:40:30 2019
New Revision: 349406
URL: https://svnweb.freebsd.org/changeset/base/349406

Log:
  owc.4: document how to set up the 1-wire bus on a device.hints system
  
  MFC after:	1 week

Modified:
  head/share/man/man4/owc.4

Modified: head/share/man/man4/owc.4
==============================================================================
--- head/share/man/man4/owc.4	Wed Jun 26 03:12:57 2019	(r349405)
+++ head/share/man/man4/owc.4	Wed Jun 26 06:40:30 2019	(r349406)
@@ -24,7 +24,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd July 20, 2015
+.Dd June 26, 2019
 .Dt OWC 4
 .Os
 .Sh NAME
@@ -69,6 +69,23 @@ 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).
 .Sh SEE ALSO
 .Xr gpiobus 4 ,
 .Xr ow 4 ,


More information about the svn-src-head mailing list