summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2022-09-10 14:32:54 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2022-09-10 14:32:54 +0000
commit6e8ecb7b85373e326b5a61b74d29d252e0b0ee6f (patch)
tree44b9503d0d9ee74e71a957c5ff6aaf5d4e9b5ed7 /sys
parentd0e4c6ff81938562f2ea392140fbd93ced893f3d (diff)
Add another pin to the SC7180 map function.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/acpi/qcgpio.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/acpi/qcgpio.c b/sys/dev/acpi/qcgpio.c
index 532e89ab360..36cdea85627 100644
--- a/sys/dev/acpi/qcgpio.c
+++ b/sys/dev/acpi/qcgpio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: qcgpio.c,v 1.3 2022/09/10 13:14:39 kettenis Exp $ */
+/* $OpenBSD: qcgpio.c,v 1.4 2022/09/10 14:32:53 kettenis Exp $ */
/*
* Copyright (c) 2022 Mark Kettenis <kettenis@openbsd.org>
*
@@ -183,6 +183,10 @@ qcgpio_sc7180_pin_map(int pin, bus_size_t *off)
case 0x180:
*off = QCGPIO_SC7180_NORTH;
return 33;
+ case 94:
+ case 0x1c0:
+ *off = QCGPIO_SC7180_SOUTH;
+ return 94;
default:
return -1;
}