git: dfdcb418d7b8 - stable/13 - Adds support for Purism coreboot keyboards

From: Warner Losh <imp_at_FreeBSD.org>
Date: Sat, 28 Dec 2024 18:01:21 UTC
The branch stable/13 has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=dfdcb418d7b8891843130c9415f9778b227945d8

commit dfdcb418d7b8891843130c9415f9778b227945d8
Author:     Jon Hopper <jon@thesoo.org>
AuthorDate: 2024-12-28 17:59:59 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-12-28 18:00:59 +0000

    Adds support for Purism coreboot keyboards
    
    On Purism coreboot systems the quirks mode in atkbdc prevents built in
    Keyboard from being used. Add quirk to prevent that.
    
    MFC After:              2 weeks
    PR:                     271737
    Reviewed by:            imp
    Differential Revision:  https://reviews.freebsd.org/D40405
    
    (cherry picked from commit 599a4548f8f1758afe1d33c53e9a56e42c5f3e30)
---
 sys/dev/atkbdc/atkbdc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/dev/atkbdc/atkbdc.c b/sys/dev/atkbdc/atkbdc.c
index 44ed62ac411b..d99a6117572f 100644
--- a/sys/dev/atkbdc/atkbdc.c
+++ b/sys/dev/atkbdc/atkbdc.c
@@ -112,6 +112,7 @@ struct atkbdc_quirks {
 
 static struct atkbdc_quirks quirks[] = {
     {"coreboot", "System76", NULL, 0},
+    {"coreboot", "Purism", NULL, 0},
     {"coreboot", NULL, NULL,
 	KBDC_QUIRK_KEEP_ACTIVATED | KBDC_QUIRK_IGNORE_PROBE_RESULT |
 	KBDC_QUIRK_RESET_AFTER_PROBE | KBDC_QUIRK_SETLEDS_ON_INIT},