On 08/08/2013 12:56 AM, Wei Ni wrote:
Add OF document for lm90 in Documentation/devicetree/.
quoted hunk ↗ jump to hunk
diff --git a/Documentation/devicetree/bindings/hwmon/lm90.txt b/Documentation/devicetree/bindings/hwmon/lm90.txt
+Required node properties:
+- compatible: manufacture and chip name,
+ which are listed in the Documentation/hwmon/lm90
You need to specify the exact values here. DT binding documentations
should be OS-agnostic, and hence can't depend on Linux-specific
documentation or other details.
+Optional properties:
+- vdd-supply: vdd regulator for the supply voltage. If this is not set,
s/set/present/.
+- interrupts: lm90 can support interrupt mode, you can set interrupt here.
You might want to mention that a single entry ("specifier") is expected
in the list.