forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hwmon: (lm70) add device tree support
Allow the lm70 to be probed from a device tree. Signed-off-by: Rabin Vincent <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
- Loading branch information
Showing
2 changed files
with
54 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
* LM70/TMP121/LM71/LM74 thermometer. | ||
|
||
Required properties: | ||
- compatible: one of | ||
"ti,lm70" | ||
"ti,tmp121" | ||
"ti,lm71" | ||
"ti,lm74" | ||
|
||
See Documentation/devicetree/bindings/spi/spi-bus.txt for more required and | ||
optional properties. | ||
|
||
Example: | ||
|
||
spi_master { | ||
temperature-sensor@0 { | ||
compatible = "ti,lm70"; | ||
reg = <0>; | ||
spi-max-frequency = <1000000>; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters