Re: [PATCH v1] colibri_t20: change maintainer

2020-04-14 Thread Lucas Stach
Am Montag, den 13.04.2020, 18:11 +0300 schrieb Igor Opaniuk: > From: Igor Opaniuk > > Take over maintainership for Colibri T20 module. > > Signed-off-by: Igor Opaniuk Acked-by: Lucas Stach > --- > > board/toradex/colibri_t20/MAINTAINERS | 2 +- > 1 file changed,

Re: [U-Boot] [PATCH 0/4] tegra: Move tegra20 towards the 'new' display bindings

2016-01-14 Thread Lucas Stach
Am Donnerstag, den 14.01.2016, 13:26 -0700 schrieb Simon Glass: > The original tegra20 display driver was written before Linux had > device tree > bindings for display. Since then Linux has developed a robust set of > bindings > covering various aspects of enabling a display. > > This series moves

Re: [U-Boot] [PATCH] ARM: tegra: use a CPU freq that all SKUs can support

2014-05-07 Thread Lucas Stach
Hi Stephen, I was just porting this change to barebox and stumbled upon a few errors here. Am Donnerstag, den 24.04.2014, 13:30 -0600 schrieb Stephen Warren: > From: Stephen Warren > [...] > diff --git a/arch/arm/cpu/arm720t/tegra30/cpu.c > b/arch/arm/cpu/arm720t/tegra30/cpu.c > index 85a945bc

Re: [U-Boot] [PATCH 2/2] ARM: tegra: make CONFIG_CMD_PART common

2013-02-28 Thread Lucas Stach
Am Mittwoch, den 27.02.2013, 14:03 -0700 schrieb Stephen Warren: > On 02/26/2013 04:00 PM, Stephen Warren wrote: > > This is useful on all Tegras, so that boot.scr on all devices can use > > the same commands. Hence, move it to tegra-common.h. > > Unfortunately, this breaks Tegra114 builds because

Re: [U-Boot] [PATCH v3 1/3] Tegra: fdt: Add/enhance sdhci (mmc) nodes for all T20 DT files

2013-02-15 Thread Lucas Stach
Am Donnerstag, den 14.02.2013, 13:24 -0700 schrieb Stephen Warren: [...] > >> > >> The one issue with this is that only newer versions of dtc support the > >> -i option. The version packaged with most distros won't support it. > >> That'll mean something like "MAKEALL -a arm" is going to fail for a

Re: [U-Boot] [PATCH v4 0/4] Tegra: MMC: Add DT support for MMC to T20 boards

2013-02-14 Thread Lucas Stach
Am Donnerstag, den 14.02.2013, 14:03 -0700 schrieb Tom Warren: > This patchset adds device-tree support to the Tegra MMC driver. > All device config is done via properties in the DT files instead > of hard-coded config options/function arguments. > > I've tested this on my Seaboard and everything

Re: [U-Boot] [PATCH v3 0/7] Move Tegra EHCI drive to correct place

2013-02-14 Thread Lucas Stach
Am Donnerstag, den 14.02.2013, 17:27 +0100 schrieb Marek Vasut: > Dear Lucas Stach, > > > This moves out the Tegra EHCI driver from a platform specific directory > > to the standard driver/usb/host dir. > > > > This is a preparation needed to share this driver betwe

Re: [U-Boot] [PATCH v2 2/2] Tegra: MMC: Add DT support to MMC driver for all T20 boards

2013-02-12 Thread Lucas Stach
Hello Tom, Am Dienstag, den 12.02.2013, 12:24 -0700 schrieb Tom Warren: > Lucas, > >>> > >> tegra_mmc_init should not be called from every individual board file, > >> but from the common nvidia tegra board file. Only the pinmux should stay > >> in the individual board code, same thing as was done

Re: [U-Boot] [PATCH v2 1/2] Tegra: fdt: Add/enhance sdhci (mmc) nodes for all T20 DT files

2013-02-11 Thread Lucas Stach
Am Montag, den 11.02.2013, 10:56 -0700 schrieb Tom Warren: > Lucas, > > On Mon, Feb 11, 2013 at 10:28 AM, Lucas Stach wrote: > > Hi Tom, > > > > Am Montag, den 11.02.2013, 10:17 -0700 schrieb Tom Warren: > >> Linux dts files were used for those boards that

Re: [U-Boot] [PATCH v2 2/2] Tegra: MMC: Add DT support to MMC driver for all T20 boards

2013-02-11 Thread Lucas Stach
Am Montag, den 11.02.2013, 10:17 -0700 schrieb Tom Warren: > tegra_mmc_init() now parses the DT info for bus width, WP/CD GPIOs, etc. > Tested on Seaboard, fully functional. > > Tamonten boards (medcom-wide, plutux, and tec) use a different/new > dtsi file w/common settings. > > Signed-off-by: To

Re: [U-Boot] [PATCH v2 1/2] Tegra: fdt: Add/enhance sdhci (mmc) nodes for all T20 DT files

2013-02-11 Thread Lucas Stach
Hi Tom, Am Montag, den 11.02.2013, 10:17 -0700 schrieb Tom Warren: > Linux dts files were used for those boards that didn't already > have sdhci info populated. Tamonten has their own dtsi file with > common sdhci nodes (sourced from Linux). > > Signed-off-by: Tom Warren > --- > v2: > - cleanup

[U-Boot] [PATCH v3 6/7] tegra: usb: move implementation into right directory

2013-02-07 Thread Lucas Stach
usable for Tegra30. NOTE: A lot more work is required to properly init the PHYs and PLL_U on Tegra30, this is just to make porting easier and it does no harm here. Signed-off-by: Lucas Stach Acked-by: Simon Glass --- arch/arm/cpu/armv7/tegra20/Makefile | 1 - arch/arm/cpu/armv7/tegra20/usb.c

[U-Boot] [PATCH v3 7/7] tegra: usb: move [start|stop]_port into ehci_hcd_[init|stop]

2013-02-07 Thread Lucas Stach
The ehci_hcd entry points were just calling into the Tegra USB functions. Now that they are in the same file we can just move over the implementation. Signed-off-by: Lucas Stach Acked-by: Simon Glass --- arch/arm/include/asm/arch-tegra/usb.h | 19 -- drivers/usb/host/ehci-tegra.c

[U-Boot] [PATCH v3 5/7] tegra: usb: various small cleanups

2013-02-07 Thread Lucas Stach
Remove unneeded headers, function prototype and stale comment, that doesn't match the actual codebase anymore. Signed-off-by: Lucas Stach Acked-by: Simon Glass --- arch/arm/cpu/armv7/tegra20/usb.c| 13 + arch/arm/include/asm/arch-tegra20/usb.h | 3 --- 2 files chang

[U-Boot] [PATCH v3 3/7] tegra: usb: remove unneeded function parameter

2013-02-07 Thread Lucas Stach
Just a dead parameter, never actually used. Signed-off-by: Lucas Stach Acked-by: Simon Glass --- arch/arm/cpu/armv7/tegra20/usb.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm/cpu/armv7/tegra20/usb.c b/arch/arm/cpu/armv7/tegra20/usb.c index 07c1ade..2007483

[U-Boot] [PATCH v3 2/7] tegra: usb: make controller init functions more self contained

2013-02-07 Thread Lucas Stach
global state. Signed-off-by: Lucas Stach Acked-by: Simon Glass --- arch/arm/cpu/armv7/tegra20/usb.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/arch/arm/cpu/armv7/tegra20/usb.c b/arch/arm/cpu/armv7/tegra20/usb.c index f151fb2..07c1ade 100644

[U-Boot] [PATCH v3 1/7] tegra: usb: set USB_PORTS_MAX to correct value

2013-02-07 Thread Lucas Stach
Both Tegra20 and Tegra30 have a max of 3 USB controllers. Signed-off-by: Lucas Stach Acked-by: Simon Glass --- arch/arm/cpu/armv7/tegra20/usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv7/tegra20/usb.c b/arch/arm/cpu/armv7/tegra20/usb.c index 1bccf2b

[U-Boot] [PATCH v3 4/7] tegra: usb: move controller init into start_port

2013-02-07 Thread Lucas Stach
There is no need to init a USB controller before the upper layers indicate that they are actually going to use it. board_usb_init now only parses the device tree and sets up the common pll. Signed-off-by: Lucas Stach Acked-by: Simon Glass --- v2: - remember if port is already initialized and

[U-Boot] [PATCH v3 0/7] Move Tegra EHCI drive to correct place

2013-02-07 Thread Lucas Stach
, fixes a build warning and has Simons acked-by attached to the patches. I expect this series to go in through the Tegra tree. Marek, I suppose you are OK with the series, as you already were about to apply them in V2 form, please ACK so Tom can pick them up. Lucas Stach (7): tegra: usb: set

Re: [U-Boot] CONFIG_DELAY_ENVIRONMENT usage

2013-01-29 Thread Lucas Stach
Hi Allen, Am Dienstag, den 29.01.2013, 19:05 -0800 schrieb Allen Martin: > The problem I'm seeing is that this regressed environment loading on > all boards that use fdt, because none of them have > /config/load-environment defined. If I read the commit message > correctly, I think the actual in

Re: [U-Boot] [PATCH 10/11] tegra20: remove old pinmux setup

2013-01-25 Thread Lucas Stach
Am Freitag, den 25.01.2013, 14:12 -0800 schrieb Stephen Warren: > On 01/24/2013 08:48 AM, Lucas Stach wrote: > > All boards are converted to the new tablebased pinmux setup. Get rid of > > the old method. > > > diff --git a/arch/arm/cpu/tegra-common/board.c > &g

Re: [U-Boot] [PATCH 04/11] tegra20: switch over tamonten platform to use tablebased pinmux

2013-01-25 Thread Lucas Stach
Am Freitag, den 25.01.2013, 14:04 -0800 schrieb Stephen Warren: > On 01/24/2013 08:48 AM, Lucas Stach wrote: > > Init pinmux in one shot, in order to avoid any conflicts. > > > diff --git a/board/avionic-design/common/tamonten.c > > b/board/avionic-design/common/tamonten

Re: [U-Boot] [PATCH 06/11] tegra20: switch over seaboard and ventana to use tablebased pinmux

2013-01-25 Thread Lucas Stach
Am Samstag, den 26.01.2013, 10:49 +1300 schrieb Simon Glass: [...] > > But yes in the end we want to pack this information into the DT files. > > But even then it would be nice if people would test this pachset, as I > > imagine DT based pinmux is the same as tablebased pinmux, just in a > > slight

Re: [U-Boot] [PATCH 06/11] tegra20: switch over seaboard and ventana to use tablebased pinmux

2013-01-25 Thread Lucas Stach
Hello Simon, Am Samstag, den 26.01.2013, 10:20 +1300 schrieb Simon Glass: > Hi Lucas, > > On Fri, Jan 25, 2013 at 7:22 AM, Lucas Stach wrote: > > Am Freitag, den 25.01.2013, 06:54 +1300 schrieb Simon Glass: > >> Hi Lucas, > >> > >> On Fri, J

Re: [U-Boot] [PATCH v2 0/7] Move Tegra EHCI drive to correct place

2013-01-25 Thread Lucas Stach
Hello Tom, Am Freitag, den 25.01.2013, 08:07 -0800 schrieb Tom Warren: > I tried to apply this to u-boot-tegra/next and it needed some massaging to > get it to apply cleanly. Minor stuff, but you'll need to rebase it on top of > current u-boot-tegra/next (I just pushed a new version with my 'Mov

[U-Boot] [PATCH v2 7/7] tegra: usb: move [start|stop]_port into ehci_hcd_[init|stop]

2013-01-25 Thread Lucas Stach
The ehci_hcd entry points were just calling into the Tegra USB functions. Now that they are in the same file we can just move over the implementation. Signed-off-by: Lucas Stach --- arch/arm/include/asm/arch-tegra/usb.h | 19 -- drivers/usb/host/ehci-tegra.c | 119

[U-Boot] [PATCH v2 5/7] tegra: usb: various small cleanups

2013-01-25 Thread Lucas Stach
Remove unneeded headers, function prototype and stale comment, that doesn't match the actual codebase anymore. Signed-off-by: Lucas Stach --- arch/arm/cpu/armv7/tegra20/usb.c| 13 + arch/arm/include/asm/arch-tegra20/usb.h | 3 --- 2 files changed, 1 insertion(+

[U-Boot] [PATCH v2 3/7] tegra: usb: remove unneeded function parameter

2013-01-25 Thread Lucas Stach
Just a dead parameter, never actually used. Signed-off-by: Lucas Stach Acked-by: Simon Glass --- arch/arm/cpu/armv7/tegra20/usb.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm/cpu/armv7/tegra20/usb.c b/arch/arm/cpu/armv7/tegra20/usb.c index 07c1ade..2007483

[U-Boot] [PATCH v2 6/7] tegra: usb: move implementation into right directory

2013-01-25 Thread Lucas Stach
usable for Tegra30. NOTE: A lot more work is required to properly init the PHYs and PLL_U on Tegra30, this is just to make porting easier and it does no harm here. Signed-off-by: Lucas Stach --- arch/arm/cpu/armv7/tegra20/Makefile| 1 - arch/arm/cpu/armv7/tegra20/usb.c

[U-Boot] [PATCH v2 4/7] tegra: usb: move controller init into start_port

2013-01-25 Thread Lucas Stach
There is no need to init a USB controller before the upper layers indicate that they are actually going to use it. board_usb_init now only parses the device tree and sets up the common pll. Signed-off-by: Lucas Stach --- v2: - remember if port is already initialized and skip init in that case

[U-Boot] [PATCH v2 2/7] tegra: usb: make controller init functions more self contained

2013-01-25 Thread Lucas Stach
There is no need to pass around all those parameters. The init functions are able to easily extract all the needed setup info on their own. Signed-off-by: Lucas Stach --- To clarify why this is a good thing an excerpt from the first round of review: "The intent of this patch is not real

[U-Boot] [PATCH v2 0/7] Move Tegra EHCI drive to correct place

2013-01-25 Thread Lucas Stach
Tegra tree. Lucas Stach (7): tegra: usb: set USB_PORTS_MAX to correct value tegra: usb: make controller init functions more self contained tegra: usb: remove unneeded function parameter tegra: usb: move controller init into start_port tegra: usb: various small cleanups tegra: usb: move

[U-Boot] [PATCH v2 1/7] tegra: usb: set USB_PORTS_MAX to correct value

2013-01-25 Thread Lucas Stach
Both Tegra20 and Tegra30 have a max of 3 USB controllers. Signed-off-by: Lucas Stach --- arch/arm/cpu/armv7/tegra20/usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv7/tegra20/usb.c b/arch/arm/cpu/armv7/tegra20/usb.c index 1bccf2b..f151fb2 100644 --- a

Re: [U-Boot] [PATCH 06/11] tegra20: switch over seaboard and ventana to use tablebased pinmux

2013-01-24 Thread Lucas Stach
Am Freitag, den 25.01.2013, 06:54 +1300 schrieb Simon Glass: > Hi Lucas, > > On Fri, Jan 25, 2013 at 5:48 AM, Lucas Stach wrote: > > Init pinmux in one shot, in order to avoid any conflicts. > > > > Signed-off-by: Lucas Stach > > --- > >

[U-Boot] [PATCH 11/11] tegra20: remove funcmux

2013-01-24 Thread Lucas Stach
It's not used by anything anymore, now that all boards are using tablebased pinmux. Signed-off-by: Lucas Stach --- arch/arm/cpu/tegra-common/board.c | 1 - arch/arm/cpu/tegra20-common/Makefile| 2 +- arch/arm/cpu/tegra20-common/funcmux.c

[U-Boot] [PATCH 10/11] tegra20: remove old pinmux setup

2013-01-24 Thread Lucas Stach
All boards are converted to the new tablebased pinmux setup. Get rid of the old method. Signed-off-by: Lucas Stach --- arch/arm/cpu/tegra-common/board.c | 25 arch/arm/include/asm/arch-tegra/board.h | 12 -- board/nvidia/common/board.c | 41

[U-Boot] [PATCH 09/11] tegra20: switch over trimslice board to use tablebased pinmux

2013-01-24 Thread Lucas Stach
Init pinmux in one shot, in order to avoid any conflicts. Signed-off-by: Lucas Stach --- board/compulab/trimslice/trimslice.c | 146 +++ include/configs/trimslice.h | 3 + 2 files changed, 118 insertions(+), 31 deletions(-) diff --git a/board/compulab

[U-Boot] [PATCH 08/11] tegra20: switch over paz00 board to use tablebased pinmux

2013-01-24 Thread Lucas Stach
Init pinmux in one shot, in order to avoid any conflicts. Signed-off-by: Lucas Stach --- board/compal/paz00/paz00.c | 149 ++--- include/configs/paz00.h| 3 + 2 files changed, 115 insertions(+), 37 deletions(-) diff --git a/board/compal/paz00/paz00

[U-Boot] [PATCH 06/11] tegra20: switch over seaboard and ventana to use tablebased pinmux

2013-01-24 Thread Lucas Stach
Init pinmux in one shot, in order to avoid any conflicts. Signed-off-by: Lucas Stach --- board/nvidia/seaboard/seaboard.c | 133 +-- include/configs/seaboard.h | 3 + include/configs/ventana.h| 3 + 3 files changed, 121 insertions(+), 18

[U-Boot] [PATCH 07/11] tegra20: switch over whistler board to use tablebased pinmux

2013-01-24 Thread Lucas Stach
Init pinmux in one shot, in order to avoid any conflicts. Signed-off-by: Lucas Stach --- board/nvidia/whistler/whistler.c | 131 ++- include/configs/whistler.h | 3 + 2 files changed, 119 insertions(+), 15 deletions(-) diff --git a/board/nvidia

[U-Boot] [PATCH 05/11] tegra20: switch over harmony board to use tablebased pinmux

2013-01-24 Thread Lucas Stach
Init pinmux in one shot, in order to avoid any conflicts. Signed-off-by: Lucas Stach --- board/nvidia/harmony/harmony.c | 143 - include/configs/harmony.h | 3 + 2 files changed, 116 insertions(+), 30 deletions(-) diff --git a/board/nvidia/harmony

[U-Boot] [PATCH 03/11] tegra20: switch over colibri_t20 board to use tablebased pinmux

2013-01-24 Thread Lucas Stach
Init Colibri T20 pinmux in one shot, in order to avoid any conflicts. Signed-off-by: Lucas Stach --- .../colibri_t20-common/colibri_t20-common.c| 132 + board/toradex/colibri_t20_iris/colibri_t20_iris.c | 16 +-- include/configs/colibri_t20_iris.h

[U-Boot] [PATCH 04/11] tegra20: switch over tamonten platform to use tablebased pinmux

2013-01-24 Thread Lucas Stach
Init pinmux in one shot, in order to avoid any conflicts. Signed-off-by: Lucas Stach --- board/avionic-design/common/tamonten.c | 133 - include/configs/medcom-wide.h | 3 + include/configs/plutux.h | 3 + include/configs/tec.h

[U-Boot] [PATCH 02/11] tegra20: add entry point and helper for tablebased pinmux

2013-01-24 Thread Lucas Stach
Signed-off-by: Lucas Stach --- arch/arm/include/asm/arch-tegra20/pinmux.h | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/include/asm/arch-tegra20/pinmux.h b/arch/arm/include/asm/arch-tegra20/pinmux.h index a9b4eda..a167e48 100644 --- a/arch/arm/include/asm/arch

[U-Boot] [PATCH 01/11] tegra: introduce config option to do table based pinmux

2013-01-24 Thread Lucas Stach
This disables all pinmux entry points and instead calls pinmux_init() in early board init, allowing boards to set up the pinmux in one shot, like it's done with Tegra30. This option is temporary and can go away once we switched over all boards to the new pinmux style. Signed-off-by: Lucas

[U-Boot] [PATCH 00/11] tablebased pinmux for Tegra20

2013-01-24 Thread Lucas Stach
there is no need to keep it. But I want to hear from other people if they see any reason to keep this. Lucas Stach (11): tegra: introduce config option to do table based pinmux tegra20: add entry point and helper for tablebased pinmux tegra20: switch over colibri_t20 board to use tablebased p

Re: [U-Boot] [PATCH] tegra: pinmux: fix FUNCMUX_NDFLASH_KBC_8_BIT

2013-01-22 Thread Lucas Stach
Am Dienstag, den 22.01.2013, 09:24 -0700 schrieb Stephen Warren: > On 01/21/2013 05:20 PM, Lucas Stach wrote: > > Even the 8bit case needs KBCB configured, as pin D7 is located in this > > pingroup. Also pingroup ATC seems to come out of reset with config set > > to NAND, so

[U-Boot] [PATCH v2] arm: fix CONFIG_DELAY_ENVIRONMENT to act like it claims in the README

2013-01-22 Thread Lucas Stach
No one expects to end up in a delayed environment if CONFIG_DELAY_ENVIRONMENT isn't defined. Signed-off-by: Lucas Stach --- v2: keep preference of CONFIG_OF_CONTROL and just change default value --- arch/arm/lib/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[U-Boot] [PATCH] arm: fix CONFIG_DELAY_ENVIRONMENT to act like it claims in the README

2013-01-21 Thread Lucas Stach
No one expects to end up in a delayed environment if CONFIG_DELAY_ENVIRONMENT isn't defined. Signed-off-by: Lucas Stach --- arch/arm/lib/board.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c index cfe32cc..1a32611 100644

[U-Boot] [PATCH] tegra: pinmux: fix FUNCMUX_NDFLASH_KBC_8_BIT

2013-01-21 Thread Lucas Stach
Even the 8bit case needs KBCB configured, as pin D7 is located in this pingroup. Also pingroup ATC seems to come out of reset with config set to NAND, so we need to explictly configure some other function to this group in order to avoid clashing settings. Signed-off-by: Lucas Stach --- arch/arm

Re: [U-Boot] [PATCH 05/10] arm: Add CONFIG_DELAY_ENVIRONMENT to delay environment loading

2013-01-18 Thread Lucas Stach
Am Donnerstag, den 01.11.2012, 16:42 -0700 schrieb Simon Glass: > This option delays loading of the environment until later, so that only the > default environment will be available to U-Boot. > > This can address the security risk of untrusted data being used during boot. > > When CONFIG_DELAY_E

Re: [U-Boot] [PATCH v2 7/7] Tegra30: Add/enable Cardhu build (T30 reference board)

2012-12-04 Thread Lucas Stach
Hi Tom, Am Dienstag, den 04.12.2012, 13:22 -0700 schrieb Tom Warren: [...] > > > > >> +#define V_NS16550_CLK21600 /* 216MHz > >> (pllp_out0) */ > > > > I thought PLL_P ran at 408MHz on Tegra30? The kernel certainly sets it > > up that way. > > See my previous r

Re: [U-Boot] usb: ehci: Take advantage of the new multi-controller feature for MXC

2012-11-07 Thread Lucas Stach
Dear Marek Vasut, Am Mittwoch, den 07.11.2012, 14:25 +0100 schrieb Marek Vasut: > Dear Lucas Stach, > > > Dear Marek Vasut, > > > > Am Dienstag, den 06.11.2012, 23:35 +0100 schrieb Marek Vasut: > > > I don't see how you transfer DT information into co

Re: [U-Boot] usb: ehci: Take advantage of the new multi-controller feature for MXC

2012-11-06 Thread Lucas Stach
Dear Marek Vasut, Am Dienstag, den 06.11.2012, 23:35 +0100 schrieb Marek Vasut: > Dear Lucas Stach, > > [...] > > > > > > > What do you think? > > > > > > > > > > What about passing port private / platform data instead of ID ? > &g

Re: [U-Boot] usb: ehci: Take advantage of the new multi-controller feature for MXC

2012-11-05 Thread Lucas Stach
Am Dienstag, den 06.11.2012, 00:56 +0100 schrieb Marek Vasut: > Dear Benoît Thébaudeau, > > > Dear Marek Vasut, > > > > On Monday, November 5, 2012 11:54:12 PM, Marek Vasut wrote: > > > Dear Benoît Thébaudeau, > > > > > > > Hi Marek, > > > > > > > > Thanks to Lucas' series coming with commits c

Re: [U-Boot] [PATCH] ARM: tegra: TrimSlice: add support for USB1 port

2012-11-02 Thread Lucas Stach
Am Freitag, den 02.11.2012, 08:45 -0600 schrieb Stephen Warren: > On 11/01/2012 05:34 PM, Lucas Stach wrote: > > Am Donnerstag, den 01.11.2012, 17:30 -0600 schrieb Stephen Warren: > >> On 11/01/2012 05:17 PM, Lucas Stach wrote: > >>> Hi Stephen, > >>>

Re: [U-Boot] [PATCH] ARM: tegra: TrimSlice: add support for USB1 port

2012-11-01 Thread Lucas Stach
Am Donnerstag, den 01.11.2012, 17:30 -0600 schrieb Stephen Warren: > On 11/01/2012 05:17 PM, Lucas Stach wrote: > > Hi Stephen, > > > > Am Donnerstag, den 01.11.2012, 16:14 -0600 schrieb Stephen Warren: > >> From: Stephen Warren > >> > >> TrimSlice

Re: [U-Boot] [PATCH] ARM: tegra: TrimSlice: add support for USB1 port

2012-11-01 Thread Lucas Stach
Hi Stephen, Am Donnerstag, den 01.11.2012, 16:14 -0600 schrieb Stephen Warren: > From: Stephen Warren > > TrimSlice's USB1 port has two purposes; it either acts as a device port > hosting Tegra's USB recovery protocol, or acts as a host port connected > to the internal USB->SATA bridge chip, whi

Re: [U-Boot] [PATCH v4 6/6] tegra: Enable NAND on Seaboard

2012-11-01 Thread Lucas Stach
Am Donnerstag, den 01.11.2012, 15:57 -0600 schrieb Stephen Warren: > On 07/30/2012 12:53 AM, Simon Glass wrote: > > This enables NAND support for the Seaboard. > > > diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h > > > #include "tegra20-common-post.h" > > > > +/* NAND sup

Re: [U-Boot] [PATCH 7/8] tegra: usb: move implementation into right directory

2012-10-30 Thread Lucas Stach
Am Dienstag, den 30.10.2012, 12:51 -0600 schrieb Stephen Warren: > On 10/30/2012 12:45 PM, Lucas Stach wrote: > > Am Dienstag, den 30.10.2012, 12:38 -0600 schrieb Stephen Warren: > >> On 10/30/2012 03:22 AM, Lucas Stach wrote: > >>> This moves the Tegra USB implementa

Re: [U-Boot] [PATCH 7/8] tegra: usb: move implementation into right directory

2012-10-30 Thread Lucas Stach
Am Dienstag, den 30.10.2012, 12:38 -0600 schrieb Stephen Warren: > On 10/30/2012 03:22 AM, Lucas Stach wrote: > > This moves the Tegra USB implementation into the drivers/usb/host > > directory. > > > diff --git a/arch/arm/cpu/armv7/tegra20/usb.c > > b

Re: [U-Boot] [PATCH 7/8] tegra: usb: move implementation into right directory

2012-10-30 Thread Lucas Stach
Am Dienstag, den 30.10.2012, 06:53 -0700 schrieb Simon Glass: > Hi Lucas, > > On Tue, Oct 30, 2012 at 6:38 AM, Lucas Stach wrote: > > Am Dienstag, den 30.10.2012, 06:33 -0700 schrieb Simon Glass: > >> Hi Lucas, > >> > >> On Tue, Oct 30, 2012 at 2:22 AM,

Re: [U-Boot] [PATCH 5/8] tegra: usb: move controller init into start_port

2012-10-30 Thread Lucas Stach
Am Dienstag, den 30.10.2012, 06:48 -0700 schrieb Simon Glass: > Hi Lucas, > > On Tue, Oct 30, 2012 at 6:37 AM, Lucas Stach wrote: > > Am Dienstag, den 30.10.2012, 06:27 -0700 schrieb Simon Glass: > >> Hi Lucas, > >> > >> On Tue, Oct 30, 2012 at 2:22

Re: [U-Boot] [PATCH 7/8] tegra: usb: move implementation into right directory

2012-10-30 Thread Lucas Stach
Am Dienstag, den 30.10.2012, 06:33 -0700 schrieb Simon Glass: > Hi Lucas, > > On Tue, Oct 30, 2012 at 2:22 AM, Lucas Stach wrote: > > This moves the Tegra USB implementation into the drivers/usb/host > > directory. > > > > Signed-off-by: Lucas Stach > &

Re: [U-Boot] [PATCH 5/8] tegra: usb: move controller init into start_port

2012-10-30 Thread Lucas Stach
Am Dienstag, den 30.10.2012, 06:27 -0700 schrieb Simon Glass: > Hi Lucas, > > On Tue, Oct 30, 2012 at 2:22 AM, Lucas Stach wrote: > > There is no need to init a USB controller before the upper layers indicate > > that they are actually going to use it. > > > > b

Re: [U-Boot] [PATCH 3/8] tegra: usb: fold initial pll setup into board_usb_init

2012-10-30 Thread Lucas Stach
Am Dienstag, den 30.10.2012, 06:23 -0700 schrieb Simon Glass: > Hi Lucas, > > On Tue, Oct 30, 2012 at 2:22 AM, Lucas Stach wrote: > > The setup is trivial, no need to split this out into a separate function. > > > > Signed-off-by: Lucas Stach > > --- > >

Re: [U-Boot] [PATCH 2/8] tegra: usb: make controller init functions more self contained

2012-10-30 Thread Lucas Stach
Hello Simon, Am Dienstag, den 30.10.2012, 06:03 -0700 schrieb Simon Glass: > Hi Lucas, > > On Tue, Oct 30, 2012 at 2:22 AM, Lucas Stach wrote: > > There is no need to pass around all those parameters. The init functions > > are able to easily extract all the needed se

Re: [U-Boot] [PATCH 5/8] tegra: usb: move controller init into start_port

2012-10-30 Thread Lucas Stach
Hi Marek, Am Dienstag, den 30.10.2012, 13:33 +0100 schrieb Marek Vasut: > Dear Lucas Stach, > > [...] > > > > > -static int add_port(struct fdt_usb *config) > > > > > > Fix the comment instead of removing it? > > > > I don't thin

Re: [U-Boot] [PATCH 5/8] tegra: usb: move controller init into start_port

2012-10-30 Thread Lucas Stach
Hello Marek, Am Dienstag, den 30.10.2012, 11:59 +0100 schrieb Marek Vasut: > Dear Lucas Stach, > > > There is no need to init a USB controller before the upper layers indicate > > that they are actually going to use it. > > > > board_usb_init now only parses t

[U-Boot] [PATCH 7/8] tegra: usb: move implementation into right directory

2012-10-30 Thread Lucas Stach
This moves the Tegra USB implementation into the drivers/usb/host directory. Signed-off-by: Lucas Stach --- arch/arm/cpu/armv7/tegra20/Makefile| 2 - .../tegra20/usb.c => drivers/usb/host/ehci-tegra.c | 60 -- 2 Dateien geändert, 55 Zeilen hinzugefügt(+)

[U-Boot] [PATCH 8/8] tegra: usb: move [start|stop]_port into ehci_hcd_[init|stop]

2012-10-30 Thread Lucas Stach
The ehci_hcd entry points were just calling into the Tegra USB functions. Now that they are in the same file we can just move over the implementation. Signed-off-by: Lucas Stach --- arch/arm/include/asm/arch-tegra20/usb.h | 19 --- drivers/usb/host/ehci-tegra.c | 93

[U-Boot] [PATCH 5/8] tegra: usb: move controller init into start_port

2012-10-30 Thread Lucas Stach
There is no need to init a USB controller before the upper layers indicate that they are actually going to use it. board_usb_init now only parses the device tree and sets up the common pll. Signed-off-by: Lucas Stach --- arch/arm/cpu/armv7/tegra20/usb.c | 47

[U-Boot] [PATCH 4/8] tegra: usb: remove unneeded function parameter

2012-10-30 Thread Lucas Stach
Just a dead parameter, never actually used. Signed-off-by: Lucas Stach --- arch/arm/cpu/armv7/tegra20/usb.c | 6 ++ 1 Datei geändert, 2 Zeilen hinzugefügt(+), 4 Zeilen entfernt(-) diff --git a/arch/arm/cpu/armv7/tegra20/usb.c b/arch/arm/cpu/armv7/tegra20/usb.c index e61bd69..cf800b1 100644

[U-Boot] [PATCH 3/8] tegra: usb: fold initial pll setup into board_usb_init

2012-10-30 Thread Lucas Stach
The setup is trivial, no need to split this out into a separate function. Signed-off-by: Lucas Stach --- arch/arm/cpu/armv7/tegra20/usb.c | 15 +-- 1 Datei geändert, 5 Zeilen hinzugefügt(+), 10 Zeilen entfernt(-) diff --git a/arch/arm/cpu/armv7/tegra20/usb.c b/arch/arm/cpu/armv7

[U-Boot] [PATCH 6/8] tegra: usb: various small cleanups

2012-10-30 Thread Lucas Stach
Remove unneeded headers, function prototype and stale comment. Signed-off-by: Lucas Stach --- arch/arm/cpu/armv7/tegra20/usb.c| 13 + arch/arm/include/asm/arch-tegra20/usb.h | 3 --- 2 Dateien geändert, 1 Zeile hinzugefügt(+), 15 Zeilen entfernt(-) diff --git a/arch/arm

[U-Boot] [PATCH 2/8] tegra: usb: make controller init functions more self contained

2012-10-30 Thread Lucas Stach
There is no need to pass around all those parameters. The init functions are able to easily extract all the needed setup info on their own. Signed-off-by: Lucas Stach --- arch/arm/cpu/armv7/tegra20/usb.c | 24 1 Datei geändert, 12 Zeilen hinzugefügt(+), 12 Zeilen

[U-Boot] [PATCH 1/8] tegra: usb: convert USB_PORTS_MAX to be a define

2012-10-30 Thread Lucas Stach
No point in having this as an enum. Also while at it set it to the real hardware maximum for both Tegra 2 and Tegra 3. If new Tegra hardware includes more USB controllers we can always bump the limit then. Signed-off-by: Lucas Stach --- arch/arm/cpu/armv7/tegra20/usb.c | 4 +--- 1 Datei

Re: [U-Boot] [PATCH] usb: tegra: move Tegra EHCI implementation to correct place

2012-10-26 Thread Lucas Stach
Hi Marek, Am Freitag, den 26.10.2012, 09:09 +0200 schrieb Marek Vasut: > Dear Lucas Stach, > > > Move the Tegra EHCI implementation to the correct directory in the tree. > > This code is specific to the Tegra EHCI controller, not to the Tegra SoC > > in general. > >

Re: [U-Boot] [PATCH 09/14] fdt: Add polarity-aware gpio functions to fdtdec

2012-10-26 Thread Lucas Stach
Am Donnerstag, den 25.10.2012, 19:31 -0700 schrieb Simon Glass: > From: Sean Paul > > Add get and set gpio functions to fdtdec that take into account the > polarity field in fdtdec_gpio_state.flags. > In another thread Stephen Warren and I came to the conclusion that we most likely should remove

[U-Boot] [PATCH] usb: tegra: move Tegra EHCI implementation to correct place

2012-10-25 Thread Lucas Stach
init point and saves time if you are not going to use usb in your boot process at all Signed-off-by: Lucas Stach --- This patch is based on the u-boot-usb tree I've tested this on the Colibri T20 platform with no functional regressions. All 3 USB controllers (both UTMI and ULPI) work as b

Re: [U-Boot] [PATCH v2 2/2] tegra: move to common SPL framework

2012-10-22 Thread Lucas Stach
boot to RAM image. jump_to_image_no_args() must be > overridden on tegra so the host CPU can be initialized. > > Signed-off-by: Allen Martin Tested-by: Lucas Stach > --- > v2: Add back some required headers to avoid compiler warnings > --- > arch/arm/cpu/

Re: [U-Boot] [PATCH 4/4] ARM: tegra: increase CONFIG_SYS_TEXT_BASE

2012-10-16 Thread Lucas Stach
do we have to hit a hard size limit, so for the series: Acked-by: Lucas Stach > Signed-off-by: Stephen Warren > --- > include/configs/tegra20-common.h |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/include/configs/tegra20-common.h > b

Re: [U-Boot] [PATCH v2] tegra: nand: make ONFI detection work

2012-10-14 Thread Lucas Stach
Scott, can I have your Acked-by for this, so Tom can take it through the Tegra tree? Thanks, Lucas Am Sonntag, den 07.10.2012, 23:29 +0200 schrieb Lucas Stach: > Add the missing bits to the Tegra NAND driver to make ONFI detection work > properly. > > Also add it to the Tegra defaul

Re: [U-Boot] [PATCH v3] tegra: add Colibri T20 board support

2012-10-08 Thread Lucas Stach
Am Montag, den 08.10.2012, 10:28 -0600 schrieb Stephen Warren: > On 10/07/2012 03:36 PM, Lucas Stach wrote: > > This adds board support for the Toradex Colibri T20 module. > > > > Working functions: > > - SD card boot > > - USB boot > > - Network > &

[U-Boot] [PATCH v3] tegra: add Colibri T20 board support

2012-10-07 Thread Lucas Stach
This adds board support for the Toradex Colibri T20 module. Working functions: - SD card boot - USB boot - Network - NAND environment Signed-off-by: Lucas Stach --- v2: - rename .dts file to match board name v3: - make comments more meaningful - split into module and carrier board specific part

[U-Boot] [PATCH v2] tegra: nand: make ONFI detection work

2012-10-07 Thread Lucas Stach
Add the missing bits to the Tegra NAND driver to make ONFI detection work properly. Also add it to the Tegra default config, as it seems to be a reasonable thing to have it available on all boards that use any kind of NAND. Signed-off-by: Lucas Stach --- v2: use puts instead of printf

Re: [U-Boot] [RFC] ARM: prevent misaligned array inits

2012-10-04 Thread Lucas Stach
report result to me. > Although, as you know, I don't like the general direction in which this is heading you get a Tested-by: Lucas Stach As it at least allows for a booting machine in various configurations on my Colibri T20. > arch/arm/cpu/arm926ejs/orion5x/cpu.c |4 +- &g

Re: [U-Boot] [PATCH 5/7] Tegra30: Cardhu: Add DT files

2012-10-02 Thread Lucas Stach
Am Dienstag, den 02.10.2012, 15:45 -0700 schrieb Tom Warren: > These are stripped down for bringup, They'll be filled out later > to match-up with the kernel DT contents, and/or as devices are > brought up (mmc, usb, spi, etc.). > > Signed-off-by: Tom Warren > --- > arch/arm/dts/tegra30.dtsi

Re: [U-Boot] [PATCH v2 1/2] tegra: clean up board include hell

2012-10-01 Thread Lucas Stach
Hi Tom, Am Montag, den 01.10.2012, 10:12 -0700 schrieb Tom Warren: > Lucas, Stephen, et al. > > On Mon, Oct 1, 2012 at 9:39 AM, Tom Warren wrote: > > Lucas, > > > > On Mon, Oct 1, 2012 at 9:24 AM, Stephen Warren > > wrote: > >> On 09/29/2012 02:02 P

Re: [U-Boot] [PATCH v2] tegra: add Colibri T20 board support

2012-10-01 Thread Lucas Stach
Am Montag, den 01.10.2012, 10:33 -0600 schrieb Stephen Warren: > On 09/29/2012 02:03 PM, Lucas Stach wrote: > > This adds board support for the Toradex Colibri T20 module. > > > > Working functions: > > - SD card boot > > - USB boot > > - Network > >

Re: [U-Boot] Tegra USB driver movement

2012-09-30 Thread Lucas Stach
Also CC'ing Albert Am Montag, den 01.10.2012, 04:17 +0200 schrieb Marek Vasut: > Dear Lucas Stach, > > > Hi all, > > > > now that everything involving Colibri T20 is in pretty good shape I'm > > moving on to some code cleanups to the U-Boot Tegra codeba

[U-Boot] Tegra USB driver movement

2012-09-30 Thread Lucas Stach
Hi all, now that everything involving Colibri T20 is in pretty good shape I'm moving on to some code cleanups to the U-Boot Tegra codebase. One of the big things on my list is the move of the Tegra USB driver implementation to the correct location in drivers/usb/host. In anticipation of this move

[U-Boot] [PATCH v4 2/2] tegra20: add USB ULPI init code

2012-09-30 Thread Lucas Stach
file. Signed-off-by: Lucas Stach Acked-by: Igor Grinberg --- v2: - move all controller init stuff in the respective functions to make them self contained - let board define ULPI_REF_CLK to account for the possibility that some ULPI phys need a other ref clk than 24MHz - don't touch ULPI

[U-Boot] [PATCH v4 1/2] usb: ulpi: add indicator configuration function

2012-09-30 Thread Lucas Stach
Allows for easy configuration of the VBUS indicator related ULPI config bits. Also move the external indicator setup from ulpi_set_vbus() to the new function. Signed-off-by: Lucas Stach Acked-by: Igor Grinberg --- v4: - do r-m-w access on iface_ctrl register - align with coding style of other

[U-Boot] [PATCH v2] tegra: add Colibri T20 board support

2012-09-29 Thread Lucas Stach
This adds board support for the Toradex Colibri T20 module. Working functions: - SD card boot - USB boot - Network - NAND environment Signed-off-by: Lucas Stach CC: Stephen Warren CC: Tom Warren --- v2: rename .dts file to match board name --- MAINTAINERS | 4

[U-Boot] [PATCH v2 2/2] tegra: nand: add board pinmux

2012-09-29 Thread Lucas Stach
Boards may require a different pinmux setup for NAND than the default one. Add a way to call into board specific code to set this up. Signed-off-by: Lucas Stach --- v2: move pinmux setup to common Tegra board code --- arch/arm/include/asm/arch-tegra/board.h | 1 + board/nvidia/common/board.c

[U-Boot] [PATCH v2 1/2] tegra: clean up board include hell

2012-09-29 Thread Lucas Stach
The prototypes used in board files were all scattered out, which lead to code duplication between SPL and normal U-Boot and some prototypes not actually being used. Consolidate this in a common board header. Signed-off-by: Lucas Stach --- v2: remove wrong paragraph about how to move ahead in the

Re: [U-Boot] [PATCH] tegra: nand: make ONFI detection work

2012-09-29 Thread Lucas Stach
Am Freitag, den 28.09.2012, 17:35 -0500 schrieb Scott Wood: > On 09/28/2012 10:56:51 AM, Lucas Stach wrote: > > Add the missing bits to the Tegra NAND driver to make ONFI detection > > work > > properly. > > > > Also add it to the Tegra default config, as it see

[U-Boot] [PATCH] tegra: nand: make ONFI detection work

2012-09-28 Thread Lucas Stach
Add the missing bits to the Tegra NAND driver to make ONFI detection work properly. Also add it to the Tegra default config, as it seems to be a reasonable thing to have it available on all boards that use any kind of NAND. Signed-off-by: Lucas Stach --- drivers/mtd/nand/tegra_nand.c| 36

Re: [U-Boot] [PATCH] nand: add ID for Micron MT29F8G08A

2012-09-28 Thread Lucas Stach
Hi Scott, Am Donnerstag, den 27.09.2012, 17:27 -0500 schrieb Scott Wood: > On 09/27/2012 05:19:23 PM, Lucas Stach wrote: > > Am Donnerstag, den 27.09.2012, 17:13 -0500 schrieb Scott Wood: > > > On 09/27/2012 05:08:03 PM, Lucas Stach wrote: > > > > Am Donnersta

  1   2   3   >