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

Ian Lepore ian at FreeBSD.org
Tue Dec 26 18:34:09 UTC 2017


Author: ian
Date: Tue Dec 26 18:34:07 2017
New Revision: 327220
URL: https://svnweb.freebsd.org/changeset/base/327220

Log:
  Update the FDT example for the lm75 sensor to match current devicetree
  standards and what the existing driver expects.
  
  Also change 'like' to 'such as' where the text is providing an example
  rather than a simile.

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

Modified: head/share/man/man4/lm75.4
==============================================================================
--- head/share/man/man4/lm75.4	Tue Dec 26 18:10:34 2017	(r327219)
+++ head/share/man/man4/lm75.4	Tue Dec 26 18:34:07 2017	(r327220)
@@ -24,7 +24,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd May 11, 2014
+.Dd December 26, 2017
 .Dt LM75 4
 .Os
 .Sh NAME
@@ -122,7 +122,7 @@ clones may not work reliably.
 .Pp
 On a
 .Xr device.hints 5
-based system, like
+based system, such as
 .Li MIPS ,
 these values are configurable for
 .Nm :
@@ -140,19 +140,18 @@ i2c address on the
 .Pp
 On a
 .Xr FDT 4
-based system, like
+based system, such as
 .Li ARM ,
 the DTS part for a
 .Nm
 device usually looks like:
 .Bd -literal
 i2c {
-
+	/* Properties describing the controller appear here. */
 	...
-
-	lm750 {
+	lm750 at 49 {
 		compatible = "national,lm75";
-		i2c-address = <0x49>;
+		reg = <0x49>;
 	};
 };
 .Ed


More information about the svn-src-head mailing list