Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/nvidia Match nvidia, tegra210-gpio and nvidia, te...



details:   https://anonhg.NetBSD.org/src/rev/c9f40efd1f49
branches:  trunk
changeset: 353847:c9f40efd1f49
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Thu May 25 23:50:22 2017 +0000

description:
Match nvidia,tegra210-gpio and nvidia,tegra30-gpio compat strings.

diffstat:

 sys/arch/arm/nvidia/tegra_gpio.c |  11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diffs (32 lines):

diff -r ff5d1babd1ae -r c9f40efd1f49 sys/arch/arm/nvidia/tegra_gpio.c
--- a/sys/arch/arm/nvidia/tegra_gpio.c  Thu May 25 23:48:36 2017 +0000
+++ b/sys/arch/arm/nvidia/tegra_gpio.c  Thu May 25 23:50:22 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_gpio.c,v 1.7 2016/03/13 17:38:44 christos Exp $ */
+/* $NetBSD: tegra_gpio.c,v 1.8 2017/05/25 23:50:22 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tegra_gpio.c,v 1.7 2016/03/13 17:38:44 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_gpio.c,v 1.8 2017/05/25 23:50:22 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -148,7 +148,12 @@
 static int
 tegra_gpio_match(device_t parent, cfdata_t cf, void *aux)
 {
-       const char * const compatible[] = { "nvidia,tegra124-gpio", NULL };
+       const char * const compatible[] = {
+               "nvidia,tegra210-gpio",
+               "nvidia,tegra124-gpio",
+               "nvidia,tegra30-gpio",
+               NULL
+       };
        struct fdt_attach_args * const faa = aux;
 
        return of_match_compatible(faa->faa_phandle, compatible);



Home | Main Index | Thread Index | Old Index