Commit 951778f1 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Guenter Roeck
Browse files

dt-bindings: hwmon: lm70: move to trivial devices



The lm70 thermometer bindings are trivial, so like many other I2C/SPI
temperature sensors can be integrated into trivial devices bindings.

Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20210920182114.339419-1-krzysztof.kozlowski@canonical.com


Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 3e0ce526
Loading
Loading
Loading
Loading
+0 −22
Original line number Diff line number Diff line
* LM70/TMP121/LM71/LM74 thermometer.

Required properties:
- compatible: one of
		"ti,lm70"
		"ti,tmp121"
		"ti,tmp122"
		"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>;
	};
};
+8 −0
Original line number Diff line number Diff line
@@ -303,8 +303,13 @@ properties:
          - ti,hdc1050
            # Temperature and humidity sensor with i2c interface
          - ti,hdc1080
            # Thermometer with SPI interface
          - ti,lm70
          - ti,lm71
            # Temperature sensor with 2-wire interface
          - ti,lm73
            # Thermometer with SPI interface
          - ti,lm74
            # Temperature sensor with integrated fan control
          - ti,lm96000
            # I2C Touch-Screen Controller
@@ -313,6 +318,9 @@ properties:
          - ti,tmp102
            # Low Power Digital Temperature Sensor with SMBUS/Two Wire Serial Interface
          - ti,tmp103
            # Thermometer with SPI interface
          - ti,tmp121
          - ti,tmp122
            # Digital Temperature Sensor
          - ti,tmp275
            # TI Dual channel DCAP+ multiphase controller TPS53676 with AVSBus