summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2022-01-11 00:37:24 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2022-01-11 00:37:24 +0000
commitc5d75818df75ee8048a06e94372011b801ea778d (patch)
tree1334165dd711576425b20d132256d949134a18ed /sys/dev/pci
parent92f918688518e8a9d992955fa93972e6dd4d1cb1 (diff)
match on Intel Jasper Lake
cavs/hda is pci class multimedia subclass audio so not automatically matched by azalia but confirmed to work after matched tested by Sven Wolf on Acer Swift 1 SF114-34 with Pentium Silver N6000
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/azalia.c6
-rw-r--r--sys/dev/pci/dwiic_pci.c8
-rw-r--r--sys/dev/pci/ichiic.c3
3 files changed, 13 insertions, 4 deletions
diff --git a/sys/dev/pci/azalia.c b/sys/dev/pci/azalia.c
index 824840bca3f..83fa8d1d7f0 100644
--- a/sys/dev/pci/azalia.c
+++ b/sys/dev/pci/azalia.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: azalia.c,v 1.267 2022/01/09 05:42:45 jsg Exp $ */
+/* $OpenBSD: azalia.c,v 1.268 2022/01/11 00:37:23 jsg Exp $ */
/* $NetBSD: azalia.c,v 1.20 2006/05/07 08:31:44 kent Exp $ */
/*-
@@ -482,6 +482,7 @@ azalia_configure_pci(azalia_t *az)
case PCI_PRODUCT_INTEL_BAYTRAIL_HDA:
case PCI_PRODUCT_INTEL_BSW_HDA:
case PCI_PRODUCT_INTEL_GLK_HDA:
+ case PCI_PRODUCT_INTEL_JSL_HDA:
reg = azalia_pci_read(az->pc, az->tag,
INTEL_PCIE_NOSNOOP_REG);
reg &= INTEL_PCIE_NOSNOOP_MASK;
@@ -495,7 +496,8 @@ const struct pci_matchid azalia_pci_devices[] = {
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_200SERIES_U_HDA },
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_300SERIES_U_HDA },
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_400SERIES_CAVS },
- { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_500SERIES_LP_HDA }
+ { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_500SERIES_LP_HDA },
+ { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_JSL_HDA },
};
int
diff --git a/sys/dev/pci/dwiic_pci.c b/sys/dev/pci/dwiic_pci.c
index ff41b19039d..db73d18df42 100644
--- a/sys/dev/pci/dwiic_pci.c
+++ b/sys/dev/pci/dwiic_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dwiic_pci.c,v 1.18 2021/10/30 03:27:35 jsg Exp $ */
+/* $OpenBSD: dwiic_pci.c,v 1.19 2022/01/11 00:37:23 jsg Exp $ */
/*
* Synopsys DesignWare I2C controller
* PCI attachment
@@ -138,6 +138,12 @@ const struct pci_matchid dwiic_pci_ids[] = {
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_GLK_I2C_6 },
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_GLK_I2C_7 },
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_GLK_I2C_8 },
+ { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_JSL_I2C_0 },
+ { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_JSL_I2C_1 },
+ { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_JSL_I2C_2 },
+ { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_JSL_I2C_3 },
+ { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_JSL_I2C_4 },
+ { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_JSL_I2C_5 },
};
int
diff --git a/sys/dev/pci/ichiic.c b/sys/dev/pci/ichiic.c
index 0c996799153..1c4ea5ece4d 100644
--- a/sys/dev/pci/ichiic.c
+++ b/sys/dev/pci/ichiic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ichiic.c,v 1.46 2021/10/30 03:27:35 jsg Exp $ */
+/* $OpenBSD: ichiic.c,v 1.47 2022/01/11 00:37:23 jsg Exp $ */
/*
* Copyright (c) 2005, 2006 Alexander Yurchenko <grange@openbsd.org>
@@ -135,6 +135,7 @@ const struct pci_matchid ichiic_ids[] = {
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_500SERIES_SMB },
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_500SERIES_LP_SMB },
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_600SERIES_SMB },
+ { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_JSL_SMB },
};
int