Match on the Armada 380 temperature sensor, which works the same as the
authorjmatthew <jmatthew@openbsd.org>
Sun, 12 Mar 2023 10:46:27 +0000 (10:46 +0000)
committerjmatthew <jmatthew@openbsd.org>
Sun, 12 Mar 2023 10:46:27 +0000 (10:46 +0000)
CP110 sensor.

ok kettenis@

sys/dev/fdt/mvtemp.c

index b7d975b..1cb95d1 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: mvtemp.c,v 1.3 2022/06/28 23:43:12 naddy Exp $        */
+/*     $OpenBSD: mvtemp.c,v 1.4 2023/03/12 10:46:27 jmatthew Exp $     */
 /*
  * Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
  *
@@ -78,7 +78,11 @@ const struct mvtemp_compat mvtemp_compat[] = {
        {
                "marvell,armada-cp110-thermal", (1 << 10),
                mvtemp_cp110_init, mvtemp_cp110_calc_temp,
-       }
+       },
+       {
+               "marvell,armada380-thermal", (1 << 10),
+               mvtemp_cp110_init, mvtemp_cp110_calc_temp,
+       },
 };
 
 void   mvtemp_refresh_sensors(void *);