From 74edc71ccae4051eda11fa3fb27de52f69e7512e Mon Sep 17 00:00:00 2001 From: mglocker Date: Thu, 15 Sep 2022 18:03:52 +0000 Subject: [PATCH] Enable the keyboard on the Samsung Galaxy Book Go. Help from kettenis@, "Nice!" deraadt@ --- sys/dev/acpi/qcgpio.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 * @@ -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; -- 2.20.1