arm64: dts: uDPU: correct temperature sensors
authorRobert Marko <robert.marko@sartura.hr>
Tue, 22 Mar 2022 10:58:57 +0000 (11:58 +0100)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Mon, 9 May 2022 08:46:33 +0000 (10:46 +0200)
uDPU has a pair of NCT375 temperature sensors, which are TMP75C compatible
as far as the driver is concerned.

The current LM75 compatible worked as all of the LM75 compatible sensors
are backwards compatible with the original part, but it meant that lower
resolution and incorrect sample rate was being used.

The "lm75" compatible has been deprecated anyway and is meant as fallback
in order to keep older DTS-es working.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Reviewed-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts

index ac64949bb53e611d9bf4e3f27c8ff7df065a47d2..1f534c0c65f7387f98fbbec5e51980a8d6da8dc6 100644 (file)
        scl-gpios = <&gpionb 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
        sda-gpios = <&gpionb 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
 
-       lm75@48 {
+       nct375@48 {
                status = "okay";
-               compatible = "lm75";
+               compatible = "ti,tmp75c";
                reg = <0x48>;
        };
 
-       lm75@49 {
+       nct375@49 {
                status = "okay";
-               compatible = "lm75";
+               compatible = "ti,tmp75c";
                reg = <0x49>;
        };
 };