Skip to content

Commit e4fde76

Browse files
robimarkogclement
authored andcommitted
arm64: dts: uDPU: correct temperature sensors
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>
1 parent 5e9b59b commit e4fde76

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,15 +153,15 @@
153153
scl-gpios = <&gpionb 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
154154
sda-gpios = <&gpionb 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
155155

156-
lm75@48 {
156+
nct375@48 {
157157
status = "okay";
158-
compatible = "lm75";
158+
compatible = "ti,tmp75c";
159159
reg = <0x48>;
160160
};
161161

162-
lm75@49 {
162+
nct375@49 {
163163
status = "okay";
164-
compatible = "lm75";
164+
compatible = "ti,tmp75c";
165165
reg = <0x49>;
166166
};
167167
};

0 commit comments

Comments
 (0)