summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2022-09-15 18:03:53 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2022-09-15 18:03:53 +0000
commitc32d742eabab250e9ccbd184f1dee5111ea0884c (patch)
treecc80a62e5e72957ae0163a352bd002904c3a6880
parent593e01fb408b34ae8d79f8704ec75e7518122bef (diff)
Enable the keyboard on the Samsung Galaxy Book Go.
Help from kettenis@, "Nice!" deraadt@
-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 0d5ff38a11a..330c1c1ef52 100644
--- a/sys/dev/acpi/qcgpio.c
+++ b/sys/dev/acpi/qcgpio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: qcgpio.c,v 1.5 2022/09/12 17:42:31 kettenis Exp $ */
+/* $OpenBSD: qcgpio.c,v 1.6 2022/09/15 18:03:52 mglocker Exp $ */
/*
* Copyright (c) 2022 Mark Kettenis <kettenis@openbsd.org>
*
@@ -186,6 +186,10 @@ qcgpio_sc7180_pin_map(int pin, bus_size_t *off)
case 30:
*off = QCGPIO_SC7180_SOUTH;
return 30;
+ case 32:
+ case 0x140:
+ *off = QCGPIO_SC7180_NORTH;
+ return 32;
case 33:
case 0x180:
*off = QCGPIO_SC7180_NORTH;