Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jun 2019 06:40:30 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r349406 - head/share/man/man4
Message-ID:  <201906260640.x5Q6eUNM037863@repo.freebsd.org>

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



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