Re: [U-Boot] [PATCH v2 80/80] dm: usb: Add a README for driver model

2015-04-06 Thread Jim Lin
There are some typos. Please correct them, thanks. On 03/26/2015 02:23 AM, Simon Glass wrote: Add some documentation describing how USB is implemented with USB. This might make things easier for people to understand. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Rewrite

Re: [U-Boot] [PATCH v2 57/80] dm: usb: tegra: Remove the port_addr_clear_csc variable

2015-03-26 Thread Jim Lin
Please ignore my question because it is answered by [PATCH v2 34/80]. On 03/26/2015 11:38 AM, Jim Lin wrote: -Original Message- From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Simon Glass Sent: Thursday, March 26, 2015 2:23 AM To: U-Boot Mailing List Cc: Marek Vasut

Re: [U-Boot] [PATCH v2 57/80] dm: usb: tegra: Remove the port_addr_clear_csc variable

2015-03-25 Thread Jim Lin
-Original Message- From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Simon Glass Sent: Thursday, March 26, 2015 2:23 AM To: U-Boot Mailing List Cc: Marek Vasut; Stephen Warren; Vivek Gautam; Tom Warren Subject: [U-Boot] [PATCH v2 57/80] dm: usb: tegra: Remove the

Re: [U-Boot] [PATCH v5 0/3] ubs: tegra: two fixes and cleanup

2014-03-12 Thread Jim Lin
/asm/arch-tegra114/usb.h delete mode 100644 arch/arm/include/asm/arch-tegra124/usb.h delete mode 100644 arch/arm/include/asm/arch-tegra20/usb.h delete mode 100644 arch/arm/include/asm/arch-tegra30/usb.h This series Acked-by: Jim Lin ji...@nvidia.com --nvpublic

Re: [U-Boot] [PATCH] usb: tegra: Fix PHY configuration for Tegra 3

2014-02-14 Thread Jim Lin
On Fri, 2014-02-14 at 03:21 +0800, Stefan Agner wrote: On Tegra 3, the PTS (parallel transceiver select) and STS (serial transceiver select) are part of the HOSTPC1_DEVLC_0 register rather than PORTSC1_0 register. Since the reset configuration usually matches the configured registers, this

Re: [U-Boot] [PATCH v2] usb: tegra: Fix PHY configuration for Tegra 3

2014-02-14 Thread Jim Lin
寄件者: Stefan Agner [ste...@agner.ch] 寄件日期: 2014年2月15日 上午 06:52 收件者: u-boot@lists.denx.de; Jim Lin; Tom Warren; swar...@wwwdotorg.org; s...@chromium.org; d...@lynxeye.de 主旨: Re: [PATCH v2] usb: tegra: Fix PHY configuration for Tegra 3 Am 2014-02-14 23:45

Re: [U-Boot] [PATCH V2 13/13] ARM: tegra: fix bootp issue for Tegra124 too

2014-01-26 Thread Jim Lin
On Fri, 2014-01-24 at 08:43 +0800, Stephen Warren wrote: From: Jim Lin ji...@nvidia.com Fix the timeout issue after running bootp command in U-Boot console. TXFIFOTHRES bits of TXFILLTUNING register should be set to 0x10 after a controller reset and before RUN bit is se, (per technical

[U-Boot] [PATCH 1/1] ARM: config: USB: Tegra30/114: Fix EHCI timeout issue on bootp

2013-11-05 Thread Jim Lin
Fix the timeout issue after running bootp command in u-boot console. For example you see EHCI timed out on TD- token=0x TXFIFOTHRES bits of TXFILLTUNING register should be set to 0x10 after a controller reset and before RUN bit is set (per technical reference manual). Signed-off-by: Jim Lin

Re: [U-Boot] [PATCH v9 2/2] console: usb: kbd: To improve TFTP booting performance

2013-08-26 Thread Jim Lin
PM To: Jim Lin Cc: joe.hershber...@gmail.com; u-boot@lists.denx.de; Tom Warren; swar...@wwwdotorg.org Subject: Re: [PATCH v9 2/2] console: usb: kbd: To improve TFTP booting performance Dear Jim Lin, TFTP booting is slow when a USB keyboard is installed and stdin has usbkbd added. This fix

[U-Boot] [PATCH 1/1] console: usb: kbd: To fix slow TFTP booting

2013-08-26 Thread Jim Lin
. This patch is to put change in correct place. Signed-off-by: Jim Lin ji...@nvidia.com --- common/usb_kbd.c | 20 ++-- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/common/usb_kbd.c b/common/usb_kbd.c index 89e30e8..1ad67ca 100644 --- a/common/usb_kbd.c +++ b/common

[U-Boot] [PATCH v9 1/2] NET: Add net_busy_flag if CONFIG_USB_KEYBOARD is defined

2013-08-13 Thread Jim Lin
This flag is to make console aware that NET transfer is running or not. Signed-off-by: Jim Lin ji...@nvidia.com --- Changes in v2: 1. Change configuration name from CONFIG_CTRLC_POLL_MS to CONFIG_CTRLC_POLL_S. 2. New code will be executed only when CONFIG_CTRLC_POLL_S is defined

[U-Boot] [PATCH v9 2/2] console: usb: kbd: To improve TFTP booting performance

2013-08-13 Thread Jim Lin
TFTP booting is slow when a USB keyboard is installed and stdin has usbkbd added. This fix is to change Ctrl-C polling for USB keyboard to every second when NET transfer is running. Signed-off-by: Jim Lin ji...@nvidia.com --- Changes in v2: 1. Change configuration name from CONFIG_CTRLC_POLL_MS

[U-Boot] [PATCH v8 RESEND 1/2] NET: Add net_busy_flag if CONFIG_USB_KEYBOARD is defined

2013-08-09 Thread Jim Lin
This flag is to make console aware that NET transfer is running or not. Signed-off-by: Jim Lin ji...@nvidia.com --- Changes in v2: 1. Change configuration name from CONFIG_CTRLC_POLL_MS to CONFIG_CTRLC_POLL_S. 2. New code will be executed only when CONFIG_CTRLC_POLL_S is defined

[U-Boot] [PATCH v8 RESEND 2/2] console: usb: kbd: To improve TFTP booting performance

2013-08-09 Thread Jim Lin
TFTP booting is slow when a USB keyboard is installed and stdin has usbkbd added. This fix is to change Ctrl-C polling for USB keyboard to every second when NET transfer is running. Signed-off-by: Jim Lin ji...@nvidia.com --- Changes in v2: 1. Change configuration name from CONFIG_CTRLC_POLL_MS

[U-Boot] [PATCH v8 2/2] console: usb: kbd: To improve TFTP booting performance

2013-08-02 Thread Jim Lin
TFTP booting is slow when a USB keyboard is installed and stdin has usbkbd added. This fix is to change Ctrl-C polling for USB keyboard to every second when NET transfer is running. Signed-off-by: Jim Lin ji...@nvidia.com --- Changes in v2: 1. Change configuration name from CONFIG_CTRLC_POLL_MS

[U-Boot] [PATCH v8 1/2] NET: Add net_busy_flag if CONFIG_USB_KEYBOARD is defined

2013-08-02 Thread Jim Lin
This flag is to make console aware that NET transfer is running or not. Signed-off-by: Jim Lin ji...@nvidia.com --- Changes in v2: 1. Change configuration name from CONFIG_CTRLC_POLL_MS to CONFIG_CTRLC_POLL_S. 2. New code will be executed only when CONFIG_CTRLC_POLL_S is defined

Re: [U-Boot] [PATCH v7 2/2] console: usb: kbd: To improve TFTP booting performance

2013-07-31 Thread Jim Lin
On Fri, 2013-07-19 at 19:17 +0800, Wolfgang Denk wrote: Dear Jim Lin, In message 1374226576-13401-2-git-send-email-ji...@nvidia.com you wrote: TFTP booting is slow when a USB keyboard is installed and stdin has usbkbd added. This fix is to change Ctrl-C polling for USB keyboard to every

Re: [U-Boot] [PATCH v7 2/2] console: usb: kbd: To improve TFTP booting performance

2013-07-31 Thread Jim Lin
On Fri, 2013-07-19 at 21:53 +0800, Marek Vasut wrote: Dear Jim Lin, On Fri, 2013-07-19 at 19:17 +0800, Wolfgang Denk wrote: Dear Jim Lin, In message 1374226576-13401-2-git-send-email-ji...@nvidia.com you wrote: TFTP booting is slow when a USB keyboard is installed and stdin

Re: [U-Boot] [PATCH v7 2/2] console: usb: kbd: To improve TFTP booting performance

2013-07-31 Thread Jim Lin
On Fri, 2013-07-19 at 21:53 +0800, Marek Vasut wrote: Dear Jim Lin, On Fri, 2013-07-19 at 19:17 +0800, Wolfgang Denk wrote: Dear Jim Lin, In message 1374226576-13401-2-git-send-email-ji...@nvidia.com you wrote: TFTP booting is slow when a USB keyboard is installed and stdin

[U-Boot] [PATCH v7 2/2] console: usb: kbd: To improve TFTP booting performance

2013-07-19 Thread Jim Lin
TFTP booting is slow when a USB keyboard is installed and stdin has usbkbd added. This fix is to change Ctrl-C polling for USB keyboard to every second when NET transfer is running. Signed-off-by: Jim Lin ji...@nvidia.com --- Changes in v2: 1. Change configuration name from CONFIG_CTRLC_POLL_MS

[U-Boot] [PATCH v7 1/2] NET: Add net_busy_flag if CONFIG_USB_KEYBOARD is defined

2013-07-19 Thread Jim Lin
This flag is to have console aware that NET transfer is running or not. Signed-off-by: Jim Lin ji...@nvidia.com --- Changes in v2: 1. Change configuration name from CONFIG_CTRLC_POLL_MS to CONFIG_CTRLC_POLL_S. 2. New code will be executed only when CONFIG_CTRLC_POLL_S is defined

Re: [U-Boot] [PATCH v7 2/2] console: usb: kbd: To improve TFTP booting performance

2013-07-19 Thread Jim Lin
On Fri, 2013-07-19 at 19:17 +0800, Wolfgang Denk wrote: Dear Jim Lin, In message 1374226576-13401-2-git-send-email-ji...@nvidia.com you wrote: TFTP booting is slow when a USB keyboard is installed and stdin has usbkbd added. This fix is to change Ctrl-C polling for USB keyboard to every

[U-Boot] [PATCH v6 2/2] NET: Add net_busy_flag

2013-07-18 Thread Jim Lin
This flag is to have console aware that NET transfer is running or not. Signed-off-by: Jim Lin ji...@nvidia.com --- Changes in v2: 1. Change configuration name from CONFIG_CTRLC_POLL_MS to CONFIG_CTRLC_POLL_S. 2. New code will be executed only when CONFIG_CTRLC_POLL_S is defined

[U-Boot] [PATCH v6 1/2] console: usb: kbd: To improve TFTP booting performance

2013-07-18 Thread Jim Lin
TFTP booting is slow when a USB keyboard is installed and stdin has usbkbd added. This fix is to change Ctrl-C polling for USB keyboard to every second when NET transfer is running. Signed-off-by: Jim Lin ji...@nvidia.com --- Changes in v2: 1. Change configuration name from CONFIG_CTRLC_POLL_MS

Re: [U-Boot] [PATCH v5 1/1] NET: Improve TFTP booting performance when CONFIG_USB_KEYBOARD

2013-07-09 Thread Jim Lin
On Tue, 2013-07-09 at 06:17 +0800, Joe Hershberger wrote: Hi Jim and Stephen, On Wed, Jul 3, 2013 at 11:01 PM, Jim Lin ji...@nvidia.com wrote: TFTP booting is slow when a USB keyboard is installed and CONFIG_USB_KEYBOARD is defined. This fix is to change Ctrl-C polling to every second

[U-Boot] [PATCH v4 1/1] NET: Improve TFTP booting performance when CONFIG_USB_KEYBOARD

2013-07-03 Thread Jim Lin
TFTP booting is slow when a USB keyboard is installed and CONFIG_USB_KEYBOARD is defined. The fix is to change Ctrl-C polling to every second when NET transfer is running. Signed-off-by: Jim Lin ji...@nvidia.com --- Changes in v2: 1. Change configuration name from CONFIG_CTRLC_POLL_MS

[U-Boot] [PATCH v5 1/1] NET: Improve TFTP booting performance when CONFIG_USB_KEYBOARD

2013-07-03 Thread Jim Lin
TFTP booting is slow when a USB keyboard is installed and CONFIG_USB_KEYBOARD is defined. This fix is to change Ctrl-C polling to every second when NET transfer is running. Signed-off-by: Jim Lin ji...@nvidia.com --- Changes in v2: 1. Change configuration name from CONFIG_CTRLC_POLL_MS

Re: [U-Boot] [PATCH v3 1/2] console: usbkbd: Improve TFTP booting performance

2013-06-28 Thread Jim Lin
On Fri, 2013-06-28 at 13:09 +0800, Stephen Warren wrote: On 06/27/2013 09:59 PM, Jim Lin wrote: On Fri, 2013-06-28 at 02:20 +0800, Stephen Warren wrote: On 06/27/2013 03:45 AM, Jim Lin wrote: TFTP booting is observed a little bit slow, especially when a USB keyboard is installed

[U-Boot] [PATCH v3 2/2] config: Tegra: Improve TFTP booting performance

2013-06-27 Thread Jim Lin
Add CONFIG_USBKB_TESTC_PERIOD configuration if CONFIG_USB_KEYBOARD is defined in platform configuration file. Signed-off-by: Jim Lin ji...@nvidia.com --- Changes in v2: - None Changes in v3: - Add CONFIG_USBKB_TESTC_PERIOD in include/configs/tegra-common-post.h include/configs/tegra-common

[U-Boot] [PATCH v3 1/2] console: usbkbd: Improve TFTP booting performance

2013-06-27 Thread Jim Lin
TFTP booting is observed a little bit slow, especially when a USB keyboard is installed. The fix is to move polling to every second if we sense that other task like TFTP boot is running. Signed-off-by: Jim Lin ji...@nvidia.com --- Changes in v2: 1. Change configuration name from

Re: [U-Boot] [PATCH v3 1/2] console: usbkbd: Improve TFTP booting performance

2013-06-27 Thread Jim Lin
On Fri, 2013-06-28 at 02:20 +0800, Stephen Warren wrote: On 06/27/2013 03:45 AM, Jim Lin wrote: TFTP booting is observed a little bit slow, especially when a USB keyboard is installed. The fix is to move polling to every second if we sense that other task like TFTP boot is running

[U-Boot] [PATCH v5 3/3] Tegra: Config: Enable Tegra30/Tegra114 USB function

2013-06-21 Thread Jim Lin
Add USB EHCI, storage and network support. Tested on Tegra30 Cardhu, and Tegra114 Dalmore platforms. All works well. Signed-off-by: Jim Lin ji...@nvidia.com --- Changes in v2: - Add support for Beaver board. Changes in v3: - None Changes in v4: - None Changes in v5: - None include

[U-Boot] [PATCH v5 1/3] ARM: Tegra: FDT: Add USB EHCI function for T30/T114

2013-06-21 Thread Jim Lin
Add DT node for USB EHCI function. Add support for T30-Cardhu, T30-Beaver, T114-Dalmore boards. Signed-off-by: Jim Lin ji...@nvidia.com --- Changes in v2: - Remove PLL parameters from dt file Changes in v3: - Change VBus GPIO from H.05 to DD.04 for Beaver board. Changes in v4: - Change Beaver

[U-Boot] [PATCH v5 2/3] ARM: Tegra: USB: EHCI: Add support for Tegra30/Tegra114

2013-06-21 Thread Jim Lin
Tegra30 and Tegra114 are compatible except PLL parameters. Tested on Tegra30 Cardhu, and Tegra114 Dalmore platforms. All works well. Signed-off-by: Jim Lin ji...@nvidia.com --- Changes in v2: - Move common definitions into arch-tegra/usb.h and chip specific definitions into arch-tegraXX(X

[U-Boot] [PATCH v4 3/3] Tegra: Config: Enable Tegra30/Tegra114 USB function

2013-06-20 Thread Jim Lin
Add USB EHCI, storage and network support. Tested on Tegra30 Cardhu, and Tegra114 Dalmore platforms. All works well. Signed-off-by: Jim Lin ji...@nvidia.com --- Changes in v2: - Add support for Beaver board. Changes in v3: - None Changes in v4: - None include/configs/beaver.h

[U-Boot] [PATCH v4 2/3] ARM: Tegra: USB: EHCI: Add support for Tegra30/Tegra114

2013-06-20 Thread Jim Lin
Tegra30 and Tegra114 are compatible except PLL parameters. Tested on Tegra30 Cardhu, and Tegra114 Dalmore platforms. All works well. Signed-off-by: Jim Lin ji...@nvidia.com --- Changes in v2: - Move common definitions into arch-tegra/usb.h and chip specific definitions into arch-tegraXX(X

[U-Boot] [PATCH v4 1/3] ARM: Tegra: FDT: Add USB EHCI function for T30/T114

2013-06-20 Thread Jim Lin
Add DT node for USB EHCI function. Add support for T30-Cardhu, T30-Beaver, T114-Dalmore boards. Signed-off-by: Jim Lin ji...@nvidia.com --- Changes in v2: - Remove PLL parameters from dt file Changes in v3: - Change VBus GPIO from H.05 to DD.04 for Beaver board. Changes in v4: - Change Beaver

Re: [U-Boot] [PATCH v4 2/3] ARM: Tegra: USB: EHCI: Add support for Tegra30/Tegra114

2013-06-20 Thread Jim Lin
On 06/20/2013 02:13 AM, Jim Lin wrote: Tegra30 and Tegra114 are compatible except PLL parameters. Tested on Tegra30 Cardhu, and Tegra114 Dalmore platforms. All works well. Changes in v4: - In pinmux-config-cardhu.h, chnage GMI_AD13 pinmux state to be OUTPUT in order to be driven HIGH

[U-Boot] [PATCH v3 1/3] ARM: Tegra: FDT: Add USB EHCI function for T30/T114

2013-06-17 Thread Jim Lin
Add DT node for USB EHCI function. Add support for T30-Cardhu, T30-Beaver, T114-Dalmore boards. Signed-off-by: Jim Lin ji...@nvidia.com --- Changes in v2: - Remove PLL parameters from dt file Changes in v3: - Change VBus GPIO from H.05 to DD.04 for Beaver board. I don't have Beaver board. So

[U-Boot] [PATCH v3 2/3] ARM: Tegra: USB: EHCI: Add support for Tegra30/Tegra114

2013-06-17 Thread Jim Lin
Tegra30 and Tegra114 are compatible except PLL parameters. Tested on Tegra30 Cardhu, and Tegra114 Dalmore platforms. All works well. Signed-off-by: Jim Lin ji...@nvidia.com --- Changes in v2: - Move common definitions into arch-tegra/usb.h and chip specific definitions into arch-tegraXX(X

[U-Boot] [PATCH v3 3/3] Tegra: Config: Enable Tegra30/Tegra114 USB function

2013-06-17 Thread Jim Lin
Add USB EHCI, storage and network support. Tested on Tegra30 Cardhu, and Tegra114 Dalmore platforms. All works well. Signed-off-by: Jim Lin ji...@nvidia.com --- Changes in v2: - Add support for Beaver board. Changes in v3: - None include/configs/beaver.h | 14

Re: [U-Boot] [PATCH v2 1/3] ARM: Tegra: FDT: Add USB EHCI function for T30/T114

2013-06-16 Thread Jim Lin
On Sun, 2013-06-16 at 03:46 +0800, Marek Vasut wrote: Dear Jim Lin, Add DT node for USB EHCI function. Add support for T30-Cardhu, T30-Beaver, T114-Dalmore boards. I'd like to get ACK from someone with the actual hardware. btw. How usable is the cardhu with current U-Boot ? That's

[U-Boot] [PATCH v2 3/3] Tegra: Config: Enable Tegra30/Tegra114 USB function

2013-06-14 Thread Jim Lin
Add USB EHCI, storage and network support. Tested on Tegra30 Cardhu, and Tegra114 Dalmore platforms. All works well. Signed-off-by: Jim Lin ji...@nvidia.com --- include/configs/beaver.h | 14 ++ include/configs/cardhu.h | 14 ++ include/configs

[U-Boot] [PATCH v2 1/3] ARM: Tegra: FDT: Add USB EHCI function for T30/T114

2013-06-14 Thread Jim Lin
Add DT node for USB EHCI function. Add support for T30-Cardhu, T30-Beaver, T114-Dalmore boards. Signed-off-by: Jim Lin ji...@nvidia.com --- arch/arm/dts/tegra114.dtsi| 27 +++ arch/arm/dts/tegra30.dtsi | 27 +++ board

[U-Boot] [PATCH v2 2/3] ARM: Tegra: USB: EHCI: Add support for Tegra30/Tegra114

2013-06-14 Thread Jim Lin
Tegra30 and Tegra114 are compatible except PLL parameters. Tested on Tegra30 Cardhu, and Tegra114 Dalmore platforms. All works well. Signed-off-by: Jim Lin ji...@nvidia.com --- arch/arm/include/asm/arch-tegra/clk_rst.h | 10 + arch/arm/include/asm/arch-tegra/usb.h | 182

[U-Boot] [PATCH 1/1 RESEND] NET: Fix system hanging if NET device is not installed

2013-06-05 Thread Jim Lin
is found on Tegra30 Cardhu platform after adding CONFIG_CMD_NET and CONFIG_CMD_DHCP in config header file. Signed-off-by: Jim Lin ji...@nvidia.com --- net/net.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/net/net.c b/net/net.c index df94789..7663b9c 100644 --- a/net

[U-Boot] [PATCH 1/1] NET: Fix system hanging if NET device is not installed

2013-05-17 Thread Jim Lin
is found on Tegra30 Cardhu platform after adding CONFIG_CMD_NET and CONFIG_CMD_DHCP in config header file. Signed-off-by: Jim Lin ji...@nvidia.com --- net/net.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/net/net.c b/net/net.c index df94789..7663b9c 100644 --- a/net

Re: [U-Boot] [PATCH 2/3] ARM: Tegra: USB: Add driver support for Tegra30/Tegra114

2013-05-03 Thread Jim Lin
On Fri, 2013-05-03 at 03:29 +0800, Stephen Warren wrote: On 04/29/2013 03:21 AM, Jim Lin wrote: Tegra30 and Tegra114 are compatible except 1. T30 takes 55 ms to finish Port Reset. T114 takes 50 ms. Is that 55-vs-50 some aspect of the HW specification itself, or the overall result

Re: [U-Boot] [PATCH 1/3] ARM: Tegra: FDT: Add USB support for T20/T30/T114

2013-05-03 Thread Jim Lin
On Fri, 2013-05-03 at 03:10 +0800, Stephen Warren wrote: On 04/29/2013 03:21 AM, Jim Lin wrote: Add DT node for USB function. diff --git a/arch/arm/dts/tegra114.dtsi b/arch/arm/dts/tegra114.dtsi +/* This table has USB timing parameters for each Oscillator frequency we + * support

Re: [U-Boot] [PATCH 2/3] ARM: Tegra: USB: Add driver support for Tegra30/Tegra114

2013-05-02 Thread Jim Lin
, -Original Message- From: Marek Vasut [mailto:ma...@denx.de] Sent: Monday, April 29, 2013 4:47 PM To: Jim Lin Cc: u-boot@lists.denx.de; Tom Warren; Stephen Warren Subject: Re: [PATCH 2/3] ARM: Tegra: USB: Add driver support for Tegra30/Tegra114

[U-Boot] [PATCH 0/3] Tegra: USB: EHCI: add Tegra30 compatible support

2013-04-29 Thread Jim Lin
Tegra114 USB EHCI is compatible with Tegra30 USB EHCI except: 1. Port Reset - Tegra30 takes 55ms, Tegra114 takes 50 ms to finish. 2. PLL parameters. Jim Lin (3): ARM: Tegra: FDT: Add USB support for T20/T30/T114 ARM: Tegra: USB: Add driver support for Tegra30/Tegra114 Tegra: Config: Enable

[U-Boot] [PATCH 1/3] ARM: Tegra: FDT: Add USB support for T20/T30/T114

2013-04-29 Thread Jim Lin
Add DT node for USB function. Signed-off-by: Jim Lin ji...@nvidia.com --- arch/arm/dts/tegra114.dtsi| 105 arch/arm/dts/tegra20.dtsi | 81 arch/arm/dts/tegra30.dtsi | 108

[U-Boot] [PATCH 3/3] Tegra: Config: Enable Tegra30/Tegra114 USB function

2013-04-29 Thread Jim Lin
Add USB EHCI, storage and network support. Tested on Tegra30 Cardhu, and Tegra114 Dalmore platforms. All works well. Signed-off-by: Jim Lin ji...@nvidia.com --- include/configs/cardhu.h | 14 ++ include/configs/dalmore.h | 14 ++ include/configs

[U-Boot] [PATCH 2/3] ARM: Tegra: USB: Add driver support for Tegra30/Tegra114

2013-04-29 Thread Jim Lin
Tegra30 and Tegra114 are compatible except 1. T30 takes 55 ms to finish Port Reset. T114 takes 50 ms. 2. PLL parameters Tested on Tegra20 Harmony/Seaboard, Tegra30 Cardhu, and Tegra114 Dalmore platforms. All works well. Signed-off-by: Jim Lin ji...@nvidia.com --- arch/arm/include/asm/arch

[U-Boot] [PATCH 1/1] USB: EHCI: Add weak functions to support new chip

2013-03-27 Thread Jim Lin
Add ehci_get_port_speed() and ehci_set_usbmode() weak functions for platform driver to support new chip. Signed-off-by: Jim Lin ji...@nvidia.com --- drivers/usb/host/ehci-hcd.c | 40 1 files changed, 28 insertions(+), 12 deletions(-) diff --git

Re: [U-Boot] [PATCH 1/1 v3] console: USB: KBD: Fix incorrect autoboot timeout

2013-03-21 Thread Jim Lin
Thanks for pointing out the potential issue. -Original Message- From: Jon Hunter [mailto:jon-hun...@ti.com] Sent: Thursday, March 21, 2013 7:57 AM To: Jim Lin Cc: u-boot@lists.denx.de; ma...@denx.de; w...@denx.de; tr...@ti.com; Tom Warren Subject: Re: [U-Boot] [PATCH 1/1 v3] console: USB

Re: [U-Boot] [PATCH 1/1] console: Improve TFTP booting performance

2013-01-28 Thread Jim Lin
On Fri, 2013-01-25 at 17:20 +0800, Wolfgang Denk wrote: Dear Jim Lin, In message 1359097425-20517-1-git-send-email-ji...@nvidia.com you wrote: TFTP booting is observed a little bit slow, especially when a USB keyboard is installed. The fix is to check whether Ctrl-C key is pressed every

Re: [U-Boot] [PATCH 1/1 v2] console: USB: KBD: Fix incorrect autoboot timeout

2013-01-24 Thread Jim Lin
On Thu, 2013-01-24 at 03:33 +0800, Wolfgang Denk wrote: Dear Jim Lin, In message 1358937511-32664-1-git-send-email-ji...@nvidia.com you wrote: Autoboot timeout defined by CONFIG_BOOTDELAY will not be accurate if CONFIG_USB_KEYBOARD and CONFIG_SYS_USB_EVENT_POLL are defined

[U-Boot] [PATCH 1/1 v3] console: USB: KBD: Fix incorrect autoboot timeout

2013-01-24 Thread Jim Lin
Autoboot timeout defined by CONFIG_BOOTDELAY will not be accurate if CONFIG_USB_KEYBOARD and CONFIG_SYS_USB_EVENT_POLL are defined in configuration file and when tstc() function for checking key pressed takes longer time than 10 ms (e.g., 50 ms) to finish. Signed-off-by: Jim Lin ji...@nvidia.com

[U-Boot] [PATCH 1/1] console: Improve TFTP booting performance

2013-01-24 Thread Jim Lin
TFTP booting is observed a little bit slow, especially when a USB keyboard is installed. The fix is to check whether Ctrl-C key is pressed every CONFIG_CTRLC_POLL_MS ms. If CONFIG_CTRLC_POLL_MS is not defined in configuration file, we define it as 1000. Signed-off-by: Jim Lin ji...@nvidia.com

Re: [U-Boot] [PATCH 1/1] console: USB: KBD: Fix incorrect autoboot timeout

2013-01-23 Thread Jim Lin
On Wed, 2013-01-23 at 16:38 +0800, Wolfgang Denk wrote: Dear Jim Lin, In message 1358923034-2727-1-git-send-email-ji...@nvidia.com you wrote: Autoboot timeout defined by CONFIG_BOOTDELAY will not be accurate if CONFIG_USB_KEYBOARD and CONFIG_SYS_USB_EVENT_POLL are defined

[U-Boot] [PATCH 1/1 v2] console: USB: KBD: Fix incorrect autoboot timeout

2013-01-23 Thread Jim Lin
Autoboot timeout defined by CONFIG_BOOTDELAY will not be accurate if CONFIG_USB_KEYBOARD and CONFIG_SYS_USB_EVENT_POLL are defined in configuration file and when tstc() function for checking key pressed takes longer time than 10 ms (e.g., 50 ms) to finish. Signed-off-by: Jim Lin ji...@nvidia.com

[U-Boot] [PATCH 1/1] console: USB: KBD: Fix incorrect autoboot timeout

2013-01-22 Thread Jim Lin
Autoboot timeout defined by CONFIG_BOOTDELAY will not be accurate if CONFIG_USB_KEYBOARD and CONFIG_SYS_USB_EVENT_POLL are defined in configuration file and when tstc() function for checking key pressed takes longer time than 10 ms (e.g., 50 ms) to finish. Signed-off-by: Jim Lin ji...@nvidia.com

Re: [U-Boot] Slow tftp boot with Ubuntu 12.04 tftp server

2013-01-17 Thread Jim Lin
Could you remove CONFIG_USB_KEYBOARD setting from your configuration file (.h under include/configs) and recompile to see whether problem disappears? If yes, this is the problem I'm working on. Otherwise it's another issue. On Thu, 2013-01-17 at 23:29 +0800, David Aldrich wrote: I would like to

Re: [U-Boot] [PATCH v2 3/7] usb: ehci: Support interrupt transfers via periodic list

2012-12-18 Thread Jim Lin
There is a potential bug. See below. +struct int_queue { + struct QH *first; + struct QH *current; + struct QH *last; + struct qTD *tds; +}; + +#define NEXT_QH(qh) (struct QH *)((qh)-qh_link ~0x1f) + +static int +enable_periodic(struct ehci_ctrl *ctrl) +{ +

Re: [U-Boot] [PATCH v2 1/1] USB: EHCI: Initialize multiple USB controllers at once

2012-08-13 Thread Jim Lin
-Original Message- From: Marek Vasut [mailto:ma...@denx.de] Sent: Sunday, August 12, 2012 7:47 AM To: Jim Lin Cc: u-boot@lists.denx.de; Wolfgang Denk; Tom Warren Subject: Re: [U-Boot] [PATCH v2 1/1] USB: EHCI: Initialize multiple USB controllers at once diff --git a/common/cmd_usb.c b

Re: [U-Boot] [PATCH v2 1/1] USB: EHCI: Initialize multiple USB controllers at once

2012-08-13 Thread Jim Lin
-Original Message- From: Marek Vasut [mailto:ma...@denx.de] Sent: Sunday, August 12, 2012 7:47 AM To: Jim Lin Cc: u-boot@lists.denx.de; Wolfgang Denk; Tom Warren Subject: Re: [U-Boot] [PATCH v2 1/1] USB: EHCI: Initialize multiple USB controllers at once Dear Jim Lin, Add support

[U-Boot] [PATCH v2 1/1] USB: EHCI: Initialize multiple USB controllers at once

2012-08-10 Thread Jim Lin
Add support for command line usb reset or usb start to initialize , usb stop to stop multiple USB controllers at once. Other command like usb tree also supports multiple controllers. New added definitions in header file are: CONFIG_USB_MULTI CONFIG_USB_MAX_CONTROLLER_COUNT Signed-off-by: Jim Lin

[U-Boot] [PATCH 1/1] tegra20: Initialize multiple USB controllers at once

2012-08-10 Thread Jim Lin
CONFIG_USB_MAX_CONTROLLER_COUNT 3 Signed-off-by: Jim Lin ji...@nvidia.com --- arch/arm/cpu/armv7/tegra20/usb.c| 15 +++ arch/arm/include/asm/arch-tegra20/usb.h |4 drivers/usb/host/ehci-tegra.c | 15 +++ 3 files changed, 34 insertions(+), 0

[U-Boot] [PATCH v2 1/1] USB: EHCI: Initialize multiple USB controllers at once

2012-08-08 Thread Jim Lin
Add support for command line usb reset or usb start to initialize , usb stop to stop multiple USB controllers at once. Other command like usb tree also supports multiple controllers. New added definitions in header file are: CONFIG_USB_MULTI CONFIG_USB_MAX_CONTROLLER_COUNT Signed-off-by: Jim Lin

[U-Boot] [PATCH 2/2] tegra20: Initialize multiple USB controllers at once

2012-08-08 Thread Jim Lin
CONFIG_USB_MAX_CONTROLLER_COUNT 3 Signed-off-by: Jim Lin ji...@nvidia.com --- arch/arm/cpu/armv7/tegra20/usb.c| 15 +++ arch/arm/include/asm/arch-tegra20/usb.h |4 drivers/usb/host/ehci-tegra.c | 15 +++ 3 files changed, 34 insertions(+), 0

[U-Boot] [PATCH v2 1/2] USB: EHCI: Initialize multiple USB controllers at once

2012-08-08 Thread Jim Lin
Add support for command line usb reset or usb start to initialize , usb stop to stop multiple USB controllers at once. Other command like usb tree also supports multiple controllers. New added definitions in header file are: CONFIG_USB_MULTI CONFIG_USB_MAX_CONTROLLER_COUNT Signed-off-by: Jim

Re: [U-Boot] [PATCH 1/1] USB: EHCI: Initialize multiple USB controllers at once

2012-07-30 Thread Jim Lin
-Original Message- From: Marek Vasut [mailto:marek.va...@gmail.com] Sent: Friday, July 27, 2012 5:26 PM To: u-boot@lists.denx.de Cc: Jim Lin; Wolfgang Denk; Tom Warren Subject: Re: [U-Boot] [PATCH 1/1] USB: EHCI: Initialize multiple USB controllers at once Wolfgang, Is there any

Re: [U-Boot] [PATCH 1/1] USB: EHCI: Initialize multiple USB controllers at once

2012-07-30 Thread Jim Lin
-Original Message- From: Marek Vasut [mailto:marek.va...@gmail.com] Sent: Monday, July 30, 2012 8:02 PM To: Jim Lin Cc: Wolfgang Denk; Tom Warren; u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH 1/1] USB: EHCI: Initialize multiple USB controllers at once Dear Jim Lin, -Original

Re: [U-Boot] [PATCH 1/1] USB: EHCI: Initialize multiple USB controllers at once

2012-07-26 Thread Jim Lin
Wolfgang, Is there any chance to get this feature in after Stephen explained to you? Thanks. -Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: Thursday, June 28, 2012 12:58 AM To: Wolfgang Denk Cc: Jim Lin; 'U-Boot@lists.denx.de'; Tom Warren Subject: Re: [U

Re: [U-Boot] [PATCH 1/1] USB: EHCI: Initialize multiple USB controllers at once

2012-07-02 Thread Jim Lin
-Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: Thursday, June 28, 2012 12:58 AM To: Wolfgang Denk Cc: Jim Lin; 'U-Boot@lists.denx.de'; Tom Warren Subject: Re: [U-Boot] [PATCH 1/1] USB: EHCI: Initialize multiple USB controllers at once On 06/27

[U-Boot] [PATCH 1/1] USB: EHCI: Initialize multiple USB controllers at once

2012-06-26 Thread Jim Lin
Signed-off-by: Jim Lin ji...@nvidia.com --- common/cmd_usb.c | 10 +++ common/usb.c | 100 +++- common/usb_hub.c |4 + drivers/usb/host/ehci-hcd.c | 150 +--- drivers/usb/host/ehci-tegra.c

[U-Boot] [PATCH v5 1/1] tegra: usb: Fix device enumeration problem of USB1

2012-06-25 Thread Jim Lin
to proceed later device enumeration. Signed-off-by: Jim Lin ji...@nvidia.com --- To reproduce this issue, you can modify board .dts file to set as the following to build u-boot binary. usb0 = /usb@c500; usb1 = /usb@c5008000; Install device on USB1 port (address at 0xc500). And run usb reset

Re: [U-Boot] [PATCH v4 1/1] tegra: usb: Fix device enumeration problem of USB1

2012-06-21 Thread Jim Lin
From: Marek Vasut [mailto:marek.va...@gmail.com] Sent: Thursday, June 21, 2012 6:16 PM --- a/drivers/usb/host/ehci-tegra.c +++ b/drivers/usb/host/ehci-tegra.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009 NVIDIA Corporation + * Copyright (c) 2009-2012 NVIDIA Corporation * * See file

[U-Boot] [PATCH v4 1/1] tegra: usb: Fix device enumeration problem of USB1

2012-06-20 Thread Jim Lin
to proceed later device enumeration. Signed-off-by: Jim Lin ji...@nvidia.com --- To reproduce this issue, you can modify board .dts file to set as the following to build u-boot binary. usb0 = /usb@c500; usb1 = /usb@c5008000; Install device on USB1 port (address at 0xc500). And run usb reset

[U-Boot] [PATCH v3 1/1] tegra: usb: Fix device enumeration problem of USB1

2012-06-20 Thread Jim Lin
to proceed later device enumeration. Signed-off-by: Jim Lin ji...@nvidia.com --- To reproduce this issue, you can modify board .dts file to set as the following to build u-boot binary. usb0 = /usb@c500; usb1 = /usb@c5008000; Install device on USB1 port (address at 0xc500). And run usb reset

[U-Boot] [PATCH v2 1/1] tegra: usb: Fix device enumeration problem of USB1

2012-06-19 Thread Jim Lin
function to clear that bit after Port Reset in order to proceed later device enumeration. CONFIG_USB_EHCI_SUBMIT_ROOT_POST_CALLBACK Signed-off-by: Jim Lin ji...@nvidia.com --- To reproduce this issue, you can modify board .dts file to set as the following to build u-boot binary. usb0 = /usb

Re: [U-Boot] [PATCH 1/1] tegra: usb: Fix device enumeration problem of USB1

2012-06-15 Thread Jim Lin
On 06/14/2012 04:40 AM, Jim Lin wrote: For some reason, bit 1 (connect status change) of PORTSC will be set after issuing Port Reset (like usb reset in u-boot command line). This will be treated as an error and stops later device enumeration. Therefore we add a definition in header file

[U-Boot] [PATCH 1/1] tegra: usb: Fix device enumeration problem of USB1

2012-06-14 Thread Jim Lin
. CONFIG_USB_RESET_IGNORE_CONNECT_CHANGE Signed-off-by: Jim Lin ji...@nvidia.com --- To reproduce this issue, you can modify board .dts file to set as the following to build u-boot binary. usb0 = /usb@c500; usb1 = /usb@c5008000; Install device on USB1 port (address at 0xc500). And run

[U-Boot] [PATCH 1/1] tegra: seaboard: Initialize multiple USB controllers at once

2012-06-13 Thread Jim Lin
From: Jim Lin ji...@nvidia.com Add support for command line usb reset or usb start to initialize , usb stop to stop multiple USB controllers at once. Other commands like usb tree also support multiple controllers. New added definitions in header file are: CONFIG_USB_INIT_MULTI

Re: [U-Boot] [PATCH 5/6] tegra: nand: Add Tegra NAND driver

2012-01-15 Thread Jim Lin
Simon, Could you also add Signed-off-by: Jim Lin ji...@nvidia.com for me? Thanks, Jim -Original Message- From: Mike Frysinger [mailto:vap...@gentoo.org] Sent: Sunday, January 15, 2012 12:12 PM To: Simon Glass Cc: u-boot@lists.denx.de; Jim Lin; Tom Warren; Scott Wood Subject: Re: [U