[U-Boot] [PATCH] net: asix: Add support for AX88772B

2014-10-08 Thread Alexandre Courbot
This USB device works as-is on this driver. Signed-off-by: Alexandre Courbot --- drivers/usb/eth/asix.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/eth/asix.c b/drivers/usb/eth/asix.c index 6557055e02b8..11811094ede8 100644 --- a/drivers/usb/eth/asix.c +++ b/drivers/usb/eth

Re: [U-Boot] [PATCH] net: asix: Add support for AX88772B

2014-10-21 Thread Alexandre Courbot
Hi Marek, I am still not seeing this patch in mainline ; maybe you will want to take it as you suggested? Thanks, Alex. On 10/10/2014 12:10 AM, Marek Vasut wrote: On Thursday, October 09, 2014 at 05:43:30 AM, Alexandre Courbot wrote: This USB device works as-is on this driver. Signed-off

[U-Boot] [PATCH] ARM: tegra: Disable VPR

2014-06-19 Thread Alexandre Courbot
to be accessed. This patch is based on the commit 5f499646c83ba08079f3fdff6591f638a0ce4c0c in Chromium OS U-Boot project. Signed-off-by: Andrew Chew Signed-off-by: Jimmy Zhang Signed-off-by: Bryan Wu [acourbot: ensure write went through, vpr.c style changes] Signed-off-by: Alexandre Courbot Cc

[U-Boot] [PATCH v2] ARM: tegra: Disable VPR

2014-06-23 Thread Alexandre Courbot
to be accessed. This patch is based on the commit 5f499646c83ba08079f3fdff6591f638a0ce4c0c in Chromium OS U-Boot project. Signed-off-by: Andrew Chew Signed-off-by: Jimmy Zhang Signed-off-by: Bryan Wu [acourbot: ensure write went through, vpr.c style changes] Signed-off-by: Alexandre Courbot Cc

Re: [U-Boot] [PATCH v2] ARM: tegra: Disable VPR

2014-06-23 Thread Alexandre Courbot
On 06/24/2014 03:44 AM, Stephen Warren wrote: On 06/23/2014 01:20 AM, Alexandre Courbot wrote: From: Bryan Wu On Tegra114 and Tegra124 platforms, certain display-related registers cannot be accessed unless the VPR registers are programmed. For bootloader, we probably don't care about VP

[U-Boot] [PATCH v3] ARM: tegra: Disable VPR

2014-06-23 Thread Alexandre Courbot
to be accessed. This patch is based on the commit 5f499646c83ba08079f3fdff6591f638a0ce4c0c in Chromium OS U-Boot project. Signed-off-by: Andrew Chew Signed-off-by: Jimmy Zhang Signed-off-by: Bryan Wu [acourbot: ensure write went through, vpr.c style changes] Signed-off-by: Alexandre Courbot Rev

Re: [U-Boot] [PATCH v3] ARM: tegra: Disable VPR

2014-07-01 Thread Alexandre Courbot
Tom, is this patch ok for you? If yes, do you plan to merge it? On Sat, Jun 28, 2014 at 1:21 AM, Thierry Reding wrote: > On Tue, Jun 24, 2014 at 11:45:29AM +0900, Alexandre Courbot wrote: >> From: Bryan Wu >> >> On Tegra114 and Tegra124 platforms, certain display-related r

Re: [U-Boot] [PATCH 0/2] ARM: tegra: enable GPU DT node

2015-08-04 Thread Alexandre Courbot
On 07/24/2015 10:07 PM, Peter Robinson wrote: Hi, Tegra124 requires the bootloader to perform VPR initialization, otherwise the GPU cannot be used by the system. Since using the GPU without that initialization results in a hang, the GPU DT node is left disabled, and it is the task of the bootlo

Re: [U-Boot] [PATCH 0/2] ARM: tegra: enable GPU DT node

2015-08-06 Thread Alexandre Courbot
Tom Warren; Guillaume Gardet Subject: Re: [U-Boot] [PATCH 0/2] ARM: tegra: enable GPU DT node Am 23.07.2015 um 13:46 schrieb Andreas Färber: Am 09.07.2015 um 09:32 schrieb Alexandre Courbot: Tegra124 requires the bootloader to perform VPR initialization, otherwise the GPU cannot be used by the system. S

[U-Boot] [PATCH 0/2] ARM: tegra: enable GPU DT node

2015-07-09 Thread Alexandre Courbot
patching using the ft_board_setup() hook. Alexandre Courbot (2): ARM: tegra: move VPR configuration to a later stage ARM: tegra: enable GPU DT node when appropriate arch/arm/include/asm/arch-tegra/ap.h | 9 - arch/arm/include/asm/arch-tegra/gpu.h | 43 +++ arch/arm

[U-Boot] [PATCH 1/2] ARM: tegra: move VPR configuration to a later stage

2015-07-09 Thread Alexandre Courbot
the more generic gpu.c file, which will also host other GPU-related functions, and let boards specify individually whether they need VPR setup or not. Signed-off-by: Alexandre Courbot Cc: Stephen Warren Cc: Tom Warren --- arch/arm/include/asm/arch-tegra/ap.h | 9 --- arch/arm/include/asm

[U-Boot] [PATCH 2/2] ARM: tegra: enable GPU DT node when appropriate

2015-07-09 Thread Alexandre Courbot
's Jetson TK1 and Venice 2. Signed-off-by: Alexandre Courbot Cc: Stephen Warren Cc: Tom Warren --- arch/arm/include/asm/arch-tegra/gpu.h | 16 arch/arm/mach-tegra/gpu.c | 19 +++ board/nvidia/jetson-tk1/jetson-tk1.c | 8 board/n

[U-Boot] [PATCH 1/4] ARM: tegra: remove vpr_configured() function

2015-10-18 Thread Alexandre Courbot
There is no justification for this function, especially in exported form. Signed-off-by: Alexandre Courbot --- arch/arm/include/asm/arch-tegra/gpu.h | 6 -- arch/arm/mach-tegra/gpu.c | 7 +-- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/arch/arm/include/asm

[U-Boot] [PATCH 0/4] ARM: tegra: GPU WPR region support

2015-10-18 Thread Alexandre Courbot
mware loading. Alexandre Courbot (4): ARM: tegra: remove vpr_configured() function ARM: tegra: simplify GPU setup ARM: tegra: rename GPU functions ARM: tegra210: gpu: configure WPR region arch/arm/include/asm/arch-tegra/gpu.h | 14 +++-- arch/arm/include/asm/arch-tegra210/mc.h

[U-Boot] [PATCH 4/4] ARM: tegra210: gpu: configure WPR region

2015-10-18 Thread Alexandre Courbot
T210's GPU secure firmware loading requires a write-protected region to be set up. This patch reserves the upper 256KB of RAM as the WPR region and locks it so the kernel can initiate secure firmware loading. Signed-off-by: Alexandre Courbot --- arch/arm/include/asm/arch-tegra210/mc.h

[U-Boot] [PATCH 2/4] ARM: tegra: simplify GPU setup

2015-10-18 Thread Alexandre Courbot
Enable the GPU node in the system-wide ft_system_setup() hook instead of the board-specific ft_board_hook(). This allows us to enable GPU per SoC generation instead of per-board as we did initially. Reported-by: Stephen Warren Signed-off-by: Alexandre Courbot --- arch/arm/mach-tegra/board2.c

[U-Boot] [PATCH 3/4] ARM: tegra: rename GPU functions

2015-10-18 Thread Alexandre Courbot
Rename GPU functions to less generic names to avoid potential name collisions. Signed-off-by: Alexandre Courbot --- arch/arm/include/asm/arch-tegra/gpu.h | 8 arch/arm/mach-tegra/board2.c | 4 ++-- arch/arm/mach-tegra/gpu.c | 4 ++-- 3 files changed, 8 insertions

Re: [U-Boot] [PATCH 0/4] ARM: tegra: GPU WPR region support

2015-10-26 Thread Alexandre Courbot
Ping Tom, how does this look to you? On Mon, Oct 19, 2015 at 1:57 PM, Alexandre Courbot wrote: > This series makes U-boot program the write-protected (WPR) region of T210 > chips, > allowing the kernel to perform GPU secure firmware loading. > > Tegra 210's GPU require

Re: [U-Boot] [PATCH 0/4] ARM: tegra: GPU WPR region support

2015-10-28 Thread Alexandre Courbot
On Wed, Oct 28, 2015 at 12:57 AM, Tom Warren wrote: > Sorry, Alex. Missed these. > >> -Original Message----- >> From: Alexandre Courbot [mailto:gnu...@gmail.com] >> Sent: Sunday, October 25, 2015 10:50 PM >> To: Alex Courbot >> Cc: Tom Warren ; Stephen

Re: [U-Boot] [PATCH 4/4] ARM: tegra210: gpu: configure WPR region

2015-10-28 Thread Alexandre Courbot
On 10/29/2015 02:59 AM, Stephen Warren wrote: On 10/18/2015 10:57 PM, Alexandre Courbot wrote: T210's GPU secure firmware loading requires a write-protected region to be set up. This patch reserves the upper 256KB of RAM as the WPR region and locks it so the kernel can initiate secure fir

Re: [U-Boot] [PATCH] ARM: tegra: enable GPU node by compatible value

2016-04-12 Thread Alexandre Courbot
their node name. This will work no matter what the node name is, i.e for DTs both before and after any rename operation. Generally speaking it is also much better to do it that way. Thanks! Acked-by: Alexandre Courbot

[U-Boot] [PATCH] serial: ns16550: Handle -ENOENT when requesting clock

2016-09-30 Thread Alexandre Courbot
When calling clk_get_by_index(), fall back to the legacy method of getting the clock if -ENOENT is returned. Signed-off-by: Alexandre Courbot --- drivers/serial/ns16550.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/serial/ns16550.c b/drivers/serial/ns16550.c

Re: [U-Boot] [PATCH] serial: ns16550: Handle -ENOENT when requesting clock

2016-09-30 Thread Alexandre Courbot
On 09/30/2016 05:37 PM, Alexandre Courbot wrote: > When calling clk_get_by_index(), fall back to the legacy method of > getting the clock if -ENOENT is returned. Withdrawing this patch as Thierry sent a better version of it. ___ U-Boot mailing

Re: [U-Boot] [PATCH] serial: ns16550: Fix serial output on Tegra186

2016-09-30 Thread Alexandre Courbot
pects. > > Fix this by checking for the right error code. Tested-by: Alexandre Courbot I sent a similar patch ~10 minutes before this one, but Thierry's commit message is clearer than mine (and his handling of -ENODEV probably more correct as well), so let's go with this version

Re: [U-Boot] [PATCH] serial: ns16550: Fix serial output on Tegra186

2016-09-30 Thread Alexandre Courbot
Hi Paul, On 09/30/2016 06:47 PM, Paul Burton wrote: > * PGP Signed by an unknown key > > On Friday, 30 September 2016 17:53:38 BST Alexandre Courbot wrote: >> On 09/30/2016 05:46 PM, Thierry Reding wrote: >>> From: Thierry Reding >>> >>> For Tegra186 t