Author: avg Date: Tue Jul 16 15:37:38 2019 New Revision: 350036 URL: https://svnweb.freebsd.org/changeset/base/350036
Log: MFC r349406: owc.4: document how to set up the 1-wire bus on a device.hints system Modified: stable/11/share/man/man4/owc.4 Directory Properties: stable/11/ (props changed) Modified: stable/11/share/man/man4/owc.4 ============================================================================== --- stable/11/share/man/man4/owc.4 Tue Jul 16 15:36:05 2019 (r350035) +++ stable/11/share/man/man4/owc.4 Tue Jul 16 15:37:38 2019 (r350036) @@ -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/boot/fdt/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 , _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"