Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/odroid Relax the timing around the usb lan97...
details: https://anonhg.NetBSD.org/src/rev/110f023c3f51
branches: trunk
changeset: 331821:110f023c3f51
user: reinoud <reinoud%NetBSD.org@localhost>
date: Mon Aug 25 16:49:43 2014 +0000
description:
Relax the timing around the usb lan9730 powercycle.
diffstat:
sys/arch/evbarm/odroid/odroid_machdep.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diffs (56 lines):
diff -r 99f710e40e67 -r 110f023c3f51 sys/arch/evbarm/odroid/odroid_machdep.c
--- a/sys/arch/evbarm/odroid/odroid_machdep.c Mon Aug 25 16:31:15 2014 +0000
+++ b/sys/arch/evbarm/odroid/odroid_machdep.c Mon Aug 25 16:49:43 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: odroid_machdep.c,v 1.27 2014/08/19 16:18:15 reinoud Exp $ */
+/* $NetBSD: odroid_machdep.c,v 1.28 2014/08/25 16:49:43 reinoud Exp $ */
/*
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: odroid_machdep.c,v 1.27 2014/08/19 16:18:15 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: odroid_machdep.c,v 1.28 2014/08/25 16:49:43 reinoud Exp $");
#include "opt_evbarm_boardtype.h"
#include "opt_exynos.h"
@@ -846,14 +846,14 @@
error = iic_exec(i2c, I2C_OP_WRITE_WITH_STOP, chipid, ®, 1,
&wdata, sizeof(wdata), 0);
KASSERT(!error);
- DELAY(10000);
+ DELAY(20000);
/* set power level back to 3.3v */
wdata = 0x33;
error = iic_exec(i2c, I2C_OP_WRITE_WITH_STOP, chipid, ®, 1,
&wdata, sizeof(wdata), 0);
KASSERT(!error);
- DELAY(10000);
+ DELAY(20000);
/* enable the bucket explicitly */
reg = buck_ctlreg;
@@ -864,7 +864,7 @@
error = iic_exec(i2c, I2C_OP_WRITE_WITH_STOP, chipid, ®, 1,
&rdata, sizeof(rdata), 0);
KASSERT(!error);
- DELAY(20000);
+ DELAY(30000);
iic_release_bus(i2c, 0);
@@ -877,9 +877,9 @@
"can't reserve GPIO pin %s\n", pin_enable);
} else {
exynos_gpio_pindata_write(&enable_pin, 0);
- DELAY(20000);
+ DELAY(30000);
exynos_gpio_pindata_write(&enable_pin, 1);
- DELAY(10000);
+ DELAY(30000);
}
} else {
aprint_error_dev(self, "failed to lookup lan_power GPIO pin");
Home |
Main Index |
Thread Index |
Old Index