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-usb-phy and nvidia...
details: https://anonhg.NetBSD.org/src/rev/5feca2c7d08d
branches: trunk
changeset: 824153:5feca2c7d08d
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Thu May 25 23:55:30 2017 +0000
description:
Match nvidia,tegra210-usb-phy and nvidia,tegra30-usb-phy compat strings.
diffstat:
sys/arch/arm/nvidia/tegra_usbphy.c | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diffs (32 lines):
diff -r 4e6062d2e535 -r 5feca2c7d08d sys/arch/arm/nvidia/tegra_usbphy.c
--- a/sys/arch/arm/nvidia/tegra_usbphy.c Thu May 25 23:54:45 2017 +0000
+++ b/sys/arch/arm/nvidia/tegra_usbphy.c Thu May 25 23:55:30 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_usbphy.c,v 1.6 2016/03/08 07:49:20 skrll Exp $ */
+/* $NetBSD: tegra_usbphy.c,v 1.7 2017/05/25 23:55:30 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_usbphy.c,v 1.6 2016/03/08 07:49:20 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_usbphy.c,v 1.7 2017/05/25 23:55:30 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -79,7 +79,12 @@
static int
tegra_usbphy_match(device_t parent, cfdata_t cf, void *aux)
{
- const char * const compatible[] = { "nvidia,tegra124-usb-phy", NULL };
+ const char * const compatible[] = {
+ "nvidia,tegra210-usb-phy",
+ "nvidia,tegra124-usb-phy",
+ "nvidia,tegra30-usb-phy",
+ NULL
+ };
struct fdt_attach_args * const faa = aux;
return of_match_compatible(faa->faa_phandle, compatible);
Home |
Main Index |
Thread Index |
Old Index