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 --- Changes in v2: - Rewrite and expand series to

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
> board/nvidia/common/board.c | 1 - > drivers/usb/host/ehci-tegra.c| 28 +++- > 7 files changed, 245 insertions(+), 754 deletions(-) > delete mode 100644 arch/arm/include/asm/arch-tegra114/usb.h > delete mode 100644 arch/arm/include/asm/arch-tegra12

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] 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 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 > > 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

[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).

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

2013-08-26 Thread Jim Lin
patch is to put change in correct place. Signed-off-by: Jim Lin --- 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/usb_kbd.c

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. >

[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 --- Changes in v2: 1. Change configuration name from CONFIG_CTRLC_POLL_MS to

[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 --- 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 in configuration header

[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 --- Changes in v2: 1. Change configuration name from CONFIG_CTRLC_POLL_MS to

[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 --- 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 in configuration header

[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 --- 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 in configuration header

[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 --- Changes in v2: 1. Change configuration name from CONFIG_CTRLC_POLL_MS to

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: > &

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: > &

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

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

[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 --- Changes in v2: 1. Change configuration name from CONFIG_CTRLC_POLL_MS to

[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 --- 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 in configuration header

[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 --- Changes in v2: 1. Change configuration name from CONFIG_CTRLC_POLL_MS to

[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 --- 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 in configuration header

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 wrote: > > TFTP booting is slow when a USB keyboard is installed and > > CONFIG_USB_KEYBOARD is defined. > > This fix is to change Ctrl-C polli

[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 --- Changes in v2: 1. Change configuration name from CONFIG_CTRLC_POLL_MS to CONFIG_CTRLC_POLL_S

[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 --- Changes in v2: 1. Change configuration name from CONFIG_CTRLC_POLL_MS to CONFIG_CTRLC_POLL_S. 2

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, especiall

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

[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 --- Changes in v2: 1. Change configuration name from CONFIG_CTRLC_POLL_MS to

[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 --- Changes in v2: - None Changes in v3: - Add CONFIG_USBKB_TESTC_PERIOD in include/configs/tegra-common-post.h include/configs/tegra-common-post.h |1 + 1

[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 --- Changes in v2: - Move common definitions into arch-tegra/usb.h and chip specific definitions into arch-tegraXX(X)/usb.h - In ehci

[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 --- 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 VBus GPIO to H

[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 --- Changes in v2: - Add support for Beaver board. Changes in v3: - None Changes in v4: - None Changes in v5: - None include/configs/beaver.h

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 p

[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 --- Changes in v2: - Move common definitions into arch-tegra/usb.h and chip specific definitions into arch-tegraXX(X)/usb.h - In ehci

[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 --- Changes in v2: - Add support for Beaver board. Changes in v3: - None Changes in v4: - None include/configs/beaver.h | 14

[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 --- 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 VBus GPIO to H

[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 --- Changes in v2: - Add support for Beaver board. Changes in v3: - None include/configs/beaver.h | 14 ++ include/configs

[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 --- 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 this

[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 --- Changes in v2: - Move common definitions into arch-tegra/usb.h and chip specific definitions into arch-tegraXX(X)/usb.h - In ehci

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 usabl

[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 --- arch/arm/include/asm/arch-tegra/clk_rst.h | 10 + arch/arm/include/asm/arch-tegra/usb.h | 182 -- arch/arm

[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 --- arch/arm/dts/tegra114.dtsi| 27 +++ arch/arm/dts/tegra30.dtsi | 27 +++ board/nvidia/dts

[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 --- include/configs/beaver.h | 14 ++ include/configs/cardhu.h | 14 ++ include/configs/dalmore.h

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

2013-06-05 Thread Jim Lin
hanging. This issue is found on Tegra30 Cardhu platform after adding CONFIG_CMD_NET and CONFIG_CMD_DHCP in config header file. Signed-off-by: Jim Lin --- 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/ne

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

2013-05-17 Thread Jim Lin
hanging. This issue is found on Tegra30 Cardhu platform after adding CONFIG_CMD_NET and CONFIG_CMD_DHCP in config header file. Signed-off-by: Jim Lin --- 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/ne

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 e

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 specificati

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

2013-05-02 Thread Jim Lin
09:21:18AM -0700, Tom Warren wrote: > > > > > Marek, > > > > > > > > > > > -Original Message- > > > > > > From: Marek Vasut [mailto:ma...@denx.de] > > > > > > Sent: Monday, April 29, 2013 4:47 PM > > &

[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 --- arch/arm/include/asm/arch-tegra/clk_rst.h

[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 --- include/configs/cardhu.h | 14 ++ include/configs/dalmore.h | 14 ++ include/configs/tegra114-common.h

[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 --- arch/arm/dts/tegra114.dtsi| 105 arch/arm/dts/tegra20.dtsi | 81 arch/arm/dts/tegra30.dtsi | 108 + board

[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/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 --- drivers/usb/host/ehci-hcd.c | 40 1 files changed, 28 insertions(+), 12 deletions(-) diff --git a/drivers/usb/host/ehci

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

2013-03-21 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_S second. Signed-off-by: Jim Lin --- Changes in V2: 1. Change configuration name from CONFIG_CTRLC_POLL_MS to CONFIG_CTRLC_POLL_S

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

2013-03-20 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

[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 --- common

[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 --- Changes in

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_US

[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 --- Changes in

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_US

[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 --- common

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 *ct

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 >

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 >

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

2012-08-10 Thread Jim Lin
/seaboard.h are: define CONFIG_USB_MULTI define CONFIG_USB_MAX_CONTROLLER_COUNT 3 Signed-off-by: Jim Lin --- 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 file

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

2012-08-10 Thread Jim Lin
_USB_MAX_CONTROLLER_COUNT Signed-off-by: Jim Lin --- Changes in v2: - Renaming from CONFIG_USB_INIT_MULTI to CONFIG_USB_MULTI - Define CONFIG_USB_MAX_CONTROLLER_COUNT as 1 if not defined - Remove volatile from structure ehci_ctrl of ehci-hcd.c for a checkpatch.pl warning common/cmd_u

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

2012-08-08 Thread Jim Lin
_USB_MAX_CONTROLLER_COUNT Signed-off-by: Jim Lin --- Changes in v2: - Renaming from CONFIG_USB_INIT_MULTI to CONFIG_USB_MULTI - Define CONFIG_USB_MAX_CONTROLLER_COUNT as 1 if not defined - Remove volatile from structure ehci_ctrl of ehci-hcd.c for a checkpatch.pl warning - Modify include/us

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

2012-08-08 Thread Jim Lin
/seaboard.h are: define CONFIG_USB_MULTI define CONFIG_USB_MAX_CONTROLLER_COUNT 3 Signed-off-by: Jim Lin --- 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 file

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

2012-08-08 Thread Jim Lin
_USB_MAX_CONTROLLER_COUNT Signed-off-by: Jim Lin --- Changes in v2: - Renaming from CONFIG_USB_INIT_MULTI to CONFIG_USB_MULTI - Define CONFIG_USB_MAX_CONTROLLER_COUNT as 1 if not defined - Remove volatile from structure ehci_ctrl of ehci-hcd.c for a checkpatch.pl warning common/cmd_u

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

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

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'

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

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

2012-06-26 Thread Jim Lin
n header file are: CONFIG_USB_INIT_MULTI CONFIG_USB_MAX_CONTROLLER_COUNT Signed-off-by: Jim Lin --- common/cmd_usb.c | 10 +++ common/usb.c | 100 +++- common/usb_hub.c |4 + drivers/usb/host/ehci-hcd.c | 150 +-

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

2012-06-24 Thread Jim Lin
n order to proceed later device enumeration. Signed-off-by: Jim Lin --- 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

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 >> * >>

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

2012-06-20 Thread Jim Lin
n order to proceed later device enumeration. Signed-off-by: Jim Lin --- 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

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

2012-06-20 Thread Jim Lin
n order to proceed later device enumeration. Signed-off-by: Jim Lin --- 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

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

2012-06-19 Thread Jim Lin
file and a callback 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 --- To reproduce this issue, you can modify board .dts file to set as the following to build u-boot binary. " usb0 =

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. >> &

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

2012-06-14 Thread Jim Lin
after Port Reset. CONFIG_USB_RESET_IGNORE_CONNECT_CHANGE Signed-off-by: Jim Lin --- 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 (ad

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

2012-06-13 Thread Jim Lin
From: Jim Lin 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 i

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 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-Boot] [PATCH 5