svn commit: r327668 - stable/11/share/man/man4

Ian Lepore ian at FreeBSD.org
Sun Jan 7 02:59:29 UTC 2018


Author: ian
Date: Sun Jan  7 02:59:27 2018
New Revision: 327668
URL: https://svnweb.freebsd.org/changeset/base/327668

Log:
  MFC r327220-r327221
  
  r327220:
  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.
  
  r327221:
  Complete the changing of the old "i2c-address" property to the modern "reg"
  property by updating the description text to match the updated example.
  
  This should have been part of r327220

Modified:
  stable/11/share/man/man4/lm75.4
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/share/man/man4/lm75.4
==============================================================================
--- stable/11/share/man/man4/lm75.4	Sun Jan  7 02:57:35 2018	(r327667)
+++ stable/11/share/man/man4/lm75.4	Sun Jan  7 02:59:27 2018	(r327668)
@@ -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,31 +140,28 @@ 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
 .Pp
 Where:
-.Bl -tag -width ".Va i2c-address"
+.Bl -tag -width ".Va compatible"
 .It Va compatible
 Should always be set to "national,lm75".
-.It Va i2c-address
-The
-.Va i2c-address
-property indicates which i2c address the
+.It Va reg
+Indicates which 7-bit i2c address the
 .Nm
 is wired at.
 .Nm


More information about the svn-src-all mailing list