From 91ddf69ba0687341e69107848ef8bec9297cef4b Mon Sep 17 00:00:00 2001 From: jmatthew Date: Sun, 12 Mar 2023 10:46:27 +0000 Subject: [PATCH] Match on the Armada 380 temperature sensor, which works the same as the CP110 sensor. ok kettenis@ --- sys/dev/fdt/mvtemp.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sys/dev/fdt/mvtemp.c b/sys/dev/fdt/mvtemp.c index b7d975ba230..1cb95d1a0bf 100644 --- a/sys/dev/fdt/mvtemp.c +++ b/sys/dev/fdt/mvtemp.c @@ -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 * @@ -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 *); -- 2.20.1