Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-10]: src Pull up following revision(s) (requested by msaitoh in t...



details:   https://anonhg.NetBSD.org/src/rev/0d550d6580f0
branches:  netbsd-10
changeset: 373870:0d550d6580f0
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Mar 12 17:52:13 2023 +0000

description:
Pull up following revision(s) (requested by msaitoh in ticket #116):

        sys/dev/acpi/igpio_acpi.c: revision 1.2
        share/man/man4/igpio.4: revision 1.4

igpio(4): Disable Baytrail and Lynxpoint support. Fixes PR kern/57225.
 It seems additional code is required to support Baytrail and Lynxpoint.

Disable those support.

diffstat:

 share/man/man4/igpio.4    |   8 +++-----
 sys/dev/acpi/igpio_acpi.c |  12 ++++++------
 2 files changed, 9 insertions(+), 11 deletions(-)

diffs (82 lines):

diff -r 37c85c66e4e0 -r 0d550d6580f0 share/man/man4/igpio.4
--- a/share/man/man4/igpio.4    Tue Mar 07 19:57:47 2023 +0000
+++ b/share/man/man4/igpio.4    Sun Mar 12 17:52:13 2023 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: igpio.4,v 1.2.2.1 2023/01/23 12:16:00 martin Exp $
+.\" $NetBSD: igpio.4,v 1.2.2.2 2023/03/12 17:52:13 martin Exp $
 .\"
 .\" Copyright (c) 2022 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd January 7, 2023
+.Dd February 27, 2023
 .Dt IGPIO 4
 .Os
 .Sh NAME
@@ -45,7 +45,6 @@
 .It Alder Lake-N
 .It Alder Lake-P
 .It Alder Lake-S
-.It Baytrail
 .It Cannon Lake-H
 .It Cannon Lake-LP
 .It Cedarfork
@@ -58,14 +57,13 @@
 .It Jasper Lake
 .It Lakefield
 .It Lewisburg
-.It Lynxpoint
 .It Raptor Lake-S
 .It Sunrisepoint-H
 .It Sunrisepoint-LP
 .It Tiger Lake-H
 .It Tiger Lake-LP
 .El
-Support for Broxton and Cherryview is not enabled yet.
+Support for Baytrail, Broxton, Cherryview and Lynxpoint are not enabled yet.
 .Pp
 The driver supports
 .Dv GPIO_PIN_INPUT ,
diff -r 37c85c66e4e0 -r 0d550d6580f0 sys/dev/acpi/igpio_acpi.c
--- a/sys/dev/acpi/igpio_acpi.c Tue Mar 07 19:57:47 2023 +0000
+++ b/sys/dev/acpi/igpio_acpi.c Sun Mar 12 17:52:13 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: igpio_acpi.c,v 1.1 2022/03/24 02:24:25 manu Exp $ */
+/* $NetBSD: igpio_acpi.c,v 1.1.4.1 2023/03/12 17:52:13 martin Exp $ */
 
 /*-
  * Copyright (c) 2021,2022 Emmanuel Dreyfus
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: igpio_acpi.c,v 1.1 2022/03/24 02:24:25 manu Exp $");
+__KERNEL_RCSID(0, "$NetBSD: igpio_acpi.c,v 1.1.4.1 2023/03/12 17:52:13 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/kmem.h>
@@ -62,10 +62,6 @@
 CFATTACH_DECL_NEW(igpio_acpi, sizeof(struct igpio_acpi_softc), igpio_acpi_match, igpio_acpi_attach, igpio_acpi_detach, NULL);
 
 static const struct device_compatible_entry compat_data[] = {
-       { .compat = "INT33B2" },        /* baytrail */
-       { .compat = "INT33C7" },        /* lynxpoint */
-       { .compat = "INT33FC" },        /* baytrail */
-       { .compat = "INT3437" },        /* lynxpoint */
        { .compat = "INT344B" },        /* sunrisepoint */
        { .compat = "INT3450" },        /* cannonlake */
        { .compat = "INT3451" },        /* sunrisepoint */
@@ -89,6 +85,10 @@
         * Complete bank setup in src/sys/dev/ic/igpioreg.h
         * before enabling
         */
+       { .compat = "INT33B2" },        /* baytrail */
+       { .compat = "INT33C7" },        /* lynxpoint */
+       { .compat = "INT33FC" },        /* baytrail */
+       { .compat = "INT3437" },        /* lynxpoint */
        { .compat = "INT3452" },        /* broxton */
        { .compat = "INT34D1" },        /* broxton */
        { .compat = "apollolake-pinctrl" },     /* broxton */



Home | Main Index | Thread Index | Old Index