Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jul 2019 15:36:06 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r350035 - stable/12/share/man/man4
Message-ID:  <201907161536.x6GFa6iN001073@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 ,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907161536.x6GFa6iN001073>