artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
387ae65
)
Match on the Armada 380 temperature sensor, which works the same as the
author
jmatthew
<jmatthew@openbsd.org>
Sun, 12 Mar 2023 10:46:27 +0000
(10:46 +0000)
committer
jmatthew
<jmatthew@openbsd.org>
Sun, 12 Mar 2023 10:46:27 +0000
(10:46 +0000)
CP110 sensor.
ok kettenis@
sys/dev/fdt/mvtemp.c
patch
|
blob
|
history
diff --git
a/sys/dev/fdt/mvtemp.c
b/sys/dev/fdt/mvtemp.c
index
b7d975b
..
1cb95d1
100644
(file)
--- 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 <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 *);