mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 20:53:53 +08:00
a1dc86ebd2
Allow the lm70 to be probed from a device tree. Signed-off-by: Rabin Vincent <rabin@rab.in> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
22 lines
355 B
Plaintext
22 lines
355 B
Plaintext
* 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>;
|
|
};
|
|
};
|