Re: [U-Boot] Please pull u-boot-dm.git [take 2]

2015-04-18 Thread Tom Rini
On Sat, Apr 18, 2015 at 12:31:54PM +0200, Hans de Goede wrote: Hi, On 18-04-15 11:19, Hans de Goede wrote: Hi, On 17-04-15 21:39, Hans de Goede wrote: Hi, On 17-04-15 21:28, Hans de Goede wrote: Hi, On 17-04-15 19:53, Tom Rini wrote: snip I haven't had a chance to bisect yet

Re: [U-Boot] Please pull u-boot-dm.git [take 2]

2015-04-18 Thread Hans de Goede
Hi, On 18-04-15 11:19, Hans de Goede wrote: Hi, On 17-04-15 21:39, Hans de Goede wrote: Hi, On 17-04-15 21:28, Hans de Goede wrote: Hi, On 17-04-15 19:53, Tom Rini wrote: snip I haven't had a chance to bisect yet but I will in a few hours. No need to, I've just completed a bisect, it

Re: [U-Boot] [PATCH v6 00/15] Add PSCI support for Jetson TK1/Tegra124 + CNTFRQ fix

2015-04-18 Thread Jan Kiszka
On 2015-04-17 16:43, Stephen Warren wrote: On 04/17/2015 08:20 AM, Jan Kiszka wrote: On 2015-04-17 16:12, Stephen Warren wrote: On 04/17/2015 08:02 AM, Jan Kiszka wrote: On 2015-04-17 15:57, Stephen Warren wrote: On 04/17/2015 12:47 AM, Jan Kiszka wrote: On 2015-04-14 16:30, Ian Campbell

Re: [U-Boot] Please pull u-boot-dm.git [take 2]

2015-04-18 Thread Tom Rini
On Sat, Apr 18, 2015 at 07:10:41AM -0400, Tom Rini wrote: On Sat, Apr 18, 2015 at 12:31:54PM +0200, Hans de Goede wrote: Hi, On 18-04-15 11:19, Hans de Goede wrote: Hi, On 17-04-15 21:39, Hans de Goede wrote: Hi, On 17-04-15 21:28, Hans de Goede wrote: Hi, On 17-04-15

Re: [U-Boot] Please pull u-boot-dm.git [take 2]

2015-04-18 Thread Simon Glass
Hi, On 18 April 2015 at 06:07, Tom Rini tr...@konsulko.com wrote: On Sat, Apr 18, 2015 at 07:10:41AM -0400, Tom Rini wrote: On Sat, Apr 18, 2015 at 12:31:54PM +0200, Hans de Goede wrote: Hi, On 18-04-15 11:19, Hans de Goede wrote: Hi, On 17-04-15 21:39, Hans de Goede wrote:

Re: [U-Boot] [PATCH v6 22/26] tegra: video: Support serial output resource (SOR) on tegra124

2015-04-18 Thread Anatolij Gustschin
On Tue, 14 Apr 2015 21:03:40 -0600 Simon Glass s...@chromium.org wrote: The SOR is required for talking to eDP LCD panels. Add a driver for this which will be used by the DisplayPort driver. Signed-off-by: Simon Glass s...@chromium.org Acked-by: Anatolij Gustschin ag...@denx.de

Re: [U-Boot] [PATCH v6 18/26] video: Add drm_dp_helper.h

2015-04-18 Thread Anatolij Gustschin
On Tue, 14 Apr 2015 21:03:36 -0600 Simon Glass s...@chromium.org wrote: This file (from Linux 3.17) provides defines for display port. Use it so that our naming is consistent with Linux. Signed-off-by: Simon Glass s...@chromium.org Acked-by: Anatolij Gustschin ag...@denx.de

Re: [U-Boot] [PATCH v6 20/26] dm: video: Add a uclass for display port

2015-04-18 Thread Anatolij Gustschin
On Tue, 14 Apr 2015 21:03:38 -0600 Simon Glass s...@chromium.org wrote: eDP (Embedded DisplayPort) is a standard widely used in laptops to drive LCD panels. Add a uclass for this which supports a few simple operations. Signed-off-by: Simon Glass s...@chromium.org Acked-by: Anatolij

[U-Boot] [PATCH 5/5] WIP: sunxi: Start of driver model USB implementation

2015-04-18 Thread Simon Glass
This just has a few starting points. Work remaining: - Get GPIOs from the device tree correctly, and claim them - Perhaps create a USB phy class and driver for sunxi - Perhaps allow USB ports to be specified by some sort of peripherals ID instead of an index? Signed-off-by: Simon Glass

[U-Boot] [PATCH 2/5] dm: sunxi: gpio: Rename GPIOs to include a 'P' prefix

2015-04-18 Thread Simon Glass
By convention, sunxi GPIOs are named PA1, PA2 instead of A1, A2. Change the driver model GPIO driver for sunxi to use these names. Signed-off-by: Simon Glass s...@chromium.org --- drivers/gpio/sunxi_gpio.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git

[U-Boot] [PATCH 4/5] dm: usb: Add more debugging in ehci-hcd.c

2015-04-18 Thread Simon Glass
Add some debugging to detect init failure. Signed-off-by: Simon Glass s...@chromium.org --- drivers/usb/host/ehci-hcd.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c index bd9861d..066e7c5 100644

[U-Boot] [PATCH 3/5] dm: gpio: Remove default declaration of name_to_gpio()

2015-04-18 Thread Simon Glass
With driver model we should not use this function. Drivers should use device tree to find their GPIOs. Signed-off-by: Simon Glass s...@chromium.org --- common/cmd_gpio.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/common/cmd_gpio.c b/common/cmd_gpio.c index 65d6df4..9dae011

[U-Boot] [PATCH 0/5] dm: usb: Start of sunxi support

2015-04-18 Thread Simon Glass
This series adds a few starts for sunxi driver model support for USB. I don't intend to finish it, but hopefully it helps things get going. Simon Glass (5): dm: sunxi: gpio: Add temporary implementation of name_to_gpio() dm: sunxi: gpio: Rename GPIOs to include a 'P' prefix dm: gpio:

[U-Boot] [PATCH 1/5] dm: sunxi: gpio: Add temporary implementation of name_to_gpio()

2015-04-18 Thread Simon Glass
Until sunxi moves to device tree (e.g. for USB) we need to convert named GPIOs to numbers. Add a function to do this. Signed-off-by: Simon Glass s...@chromium.org --- drivers/gpio/sunxi_gpio.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/gpio/sunxi_gpio.c

Re: [U-Boot] [PATCH v6 23/26] tegra: video: Add Embedded DisplayPort driver

2015-04-18 Thread Anatolij Gustschin
On Tue, 14 Apr 2015 21:03:41 -0600 Simon Glass s...@chromium.org wrote: This interface is used on laptop devices based on Tegra. Add a driver which provides access to the eDP interface. The driver uses the display port uclass. Signed-off-by: Simon Glass s...@chromium.org Acked-by: Anatolij

Re: [U-Boot] [PATCH v6 24/26] tegra: video: support eDP displays on Tegra124 devices

2015-04-18 Thread Anatolij Gustschin
On Tue, 14 Apr 2015 21:03:42 -0600 Simon Glass s...@chromium.org wrote: Connect up the clocks and the eDP driver to make these displays work with Tegra124-based devices. Signed-off-by: Simon Glass s...@chromium.org Acked-by: Anatolij Gustschin ag...@denx.de

Re: [U-Boot] Please pull u-boot-dm.git [take 2]

2015-04-18 Thread Tom Rini
On Sat, Apr 18, 2015 at 09:26:21AM -0600, Simon Glass wrote: Hi, On 18 April 2015 at 06:07, Tom Rini tr...@konsulko.com wrote: On Sat, Apr 18, 2015 at 07:10:41AM -0400, Tom Rini wrote: On Sat, Apr 18, 2015 at 12:31:54PM +0200, Hans de Goede wrote: Hi, On 18-04-15 11:19, Hans

Re: [U-Boot] [PATCH v4 0/4] common/lcd_console: introduce display/framebuffer rotation

2015-04-18 Thread Anatolij Gustschin
On Fri, 27 Mar 2015 08:01:34 +0100 Hannes Petermaier oe5...@oevsv.at wrote: ... Hannes Petermaier (4): common/lcd_console: cleanup lcd_drawchars/lcd_putc_xy common/lcd_console: ask only one-time for bg/fg-color per call common/lcd_console: move single static variables into common

Re: [U-Boot] [PATCH v6 26/26] tegra124: video: Add full link training for eDP

2015-04-18 Thread Anatolij Gustschin
On Tue, 14 Apr 2015 21:03:44 -0600 Simon Glass s...@chromium.org wrote: Add full link training as a fallback in case the fast link training fails. Signed-off-by: Simon Glass s...@chromium.org Acked-by: Anatolij Gustschin ag...@denx.de ___ U-Boot

[U-Boot] Please pull u-boot-dm (take 3)

2015-04-18 Thread Simon Glass
Hi Tom, I have patched in the patches from you and Hans. Things seem to work OK with USB on the three boards I tested, and I managed to get USB running on pcduino3 (sunxi) also. Thanks for you help with this. The following changes since commit 4564faeafbf11feb839e2e3f927be2f1a919ba96: ti:

Re: [U-Boot] Please pull u-boot-dm.git [take 2]

2015-04-18 Thread Simon Glass
Hi Tom, On 18 April 2015 at 09:51, Tom Rini tr...@konsulko.com wrote: On Sat, Apr 18, 2015 at 09:26:21AM -0600, Simon Glass wrote: Hi, On 18 April 2015 at 06:07, Tom Rini tr...@konsulko.com wrote: On Sat, Apr 18, 2015 at 07:10:41AM -0400, Tom Rini wrote: On Sat, Apr 18, 2015 at

Re: [U-Boot] Please pull u-boot-dm (take 3)

2015-04-18 Thread Tom Rini
On Sat, Apr 18, 2015 at 02:19:58PM -0600, Simon Glass wrote: Hi Tom, I have patched in the patches from you and Hans. Things seem to work OK with USB on the three boards I tested, and I managed to get USB running on pcduino3 (sunxi) also. Thanks for you help with this. The following

Re: [U-Boot] Please pull u-boot-dm (take 3)

2015-04-18 Thread Simon Glass
Hi Tom, On 18 April 2015 at 14:53, Tom Rini tr...@konsulko.com wrote: On Sat, Apr 18, 2015 at 02:19:58PM -0600, Simon Glass wrote: Hi Tom, I have patched in the patches from you and Hans. Things seem to work OK with USB on the three boards I tested, and I managed to get USB running on

Re: [U-Boot] [PATCH 4/6] buildman: Adjust the 'aborted' heuristic for writing output

2015-04-18 Thread Simon Glass
On 5 February 2015 at 22:06, Simon Glass s...@chromium.org wrote: At present buildman tries to detect an aborted build and doesn't record a result in that case. This is to make sure that an abort (e.g. with Ctrl-C) does not mark the build as done. Without this option, buildman would never

Re: [U-Boot] [PATCH 1/6] Create a .cfg file containing the CONFIG options used to build

2015-04-18 Thread Simon Glass
Hi, On 5 February 2015 at 22:06, Simon Glass s...@chromium.org wrote: At present CONFIG options are split across Kconfig and board config headers files. Also we have multiple files containing these CONFIG options. In order to see exactly what is being used for building, create a .cfg file

Re: [U-Boot] [PATCH 3/6] buildman: Show 'make' command line when -V is used

2015-04-18 Thread Simon Glass
On 5 February 2015 at 22:06, Simon Glass s...@chromium.org wrote: When a verbose build it selected, show the make command before the output of that command. Signed-off-by: Simon Glass s...@chromium.org --- tools/buildman/builder.py | 3 +++ tools/buildman/builderthread.py | 5 -

Re: [U-Boot] [PATCH 5/6] buildman: Store build config files

2015-04-18 Thread Simon Glass
On 5 February 2015 at 22:06, Simon Glass s...@chromium.org wrote: Store all config file output so that we can compare changes if requested. Signed-off-by: Simon Glass s...@chromium.org --- tools/buildman/builderthread.py | 36 +--- 1 file changed, 29

Re: [U-Boot] [PATCH v2] patman: cover letter shows like 00/xx if more than 10 patches

2015-04-18 Thread Simon Glass
On 5 April 2015 at 12:31, Simon Glass s...@chromium.org wrote: On 2 April 2015 at 20:51, Josh Wu josh...@atmel.com wrote: Make cover letter shows like 0/x, 00/xx and 000/xxx etc. Signed-off-by: Josh Wu josh...@atmel.com --- Changes in v2: - use math.log10() function instead

Re: [U-Boot] [PATCH] buildman: Make -V (verbose_build) really be verbose

2015-04-18 Thread Simon Glass
On 6 April 2015 at 18:36, Tom Rini tr...@konsulko.com wrote: On Sun, Apr 05, 2015 at 12:31:39PM -0600, Simon Glass wrote: Hi Tom, On 1 April 2015 at 05:47, Tom Rini tr...@konsulko.com wrote: The help text for -V says we will pass V=1 but all it really did was not pass in -s. Change the

Re: [U-Boot] [PATCH 0/5] dm: usb: Start of sunxi support

2015-04-18 Thread Hans de Goede
Hi Simon, On 18-04-15 19:33, Simon Glass wrote: This series adds a few starts for sunxi driver model support for USB. I don't intend to finish it, but hopefully it helps things get going. Simon Glass (5): dm: sunxi: gpio: Add temporary implementation of name_to_gpio() dm: sunxi: gpio:

Re: [U-Boot] Please pull u-boot-dm (take 3)

2015-04-18 Thread Simon Glass
Hi Tom, On 18 April 2015 at 15:16, Simon Glass s...@chromium.org wrote: Hi Tom, On 18 April 2015 at 14:53, Tom Rini tr...@konsulko.com wrote: On Sat, Apr 18, 2015 at 02:19:58PM -0600, Simon Glass wrote: Hi Tom, I have patched in the patches from you and Hans. Things seem to work OK with

Re: [U-Boot] [PATCH 6/6] buildman: Allow comparison of build configuration

2015-04-18 Thread Simon Glass
On 5 February 2015 at 22:06, Simon Glass s...@chromium.org wrote: It is useful to be able to see CONFIG changes made by commits. Add this feature to buildman using the -K flag so that all CONFIG changes are reported. The CONFIG options exist in a number of files. Each is reported

[U-Boot] Please pull u-boot-x86.git branch buildman

2015-04-18 Thread Simon Glass
Hi Tom, Here are the queued-up buildman/patman patches, including the new CONFIG comparison feature (remember to build with -C if using it). Note these are in branch 'buildman'. The following changes since commit 5ab83ec1a13601c4f76ce009afe0d1ee51f1ad9c: sandbox: exynos: Move

[U-Boot] [PATCH 1/1] Fix musl build

2015-04-18 Thread Jörg Krause
This patch fixes cross-compiling U-Boot tools with the musl C library: * including sys/types.h is needed for ulong * defining _GNU_SOURCE is needed for loff_t Signed-off-by: Jörg Krause joerg.krause@embedded.rocks --- include/image.h| 1 + tools/env/fw_env.c | 2 ++ tools/imagetool.h |

Re: [U-Boot] Please pull u-boot-dm.git [take 2]

2015-04-18 Thread Hans de Goede
Hi, On 17-04-15 21:39, Hans de Goede wrote: Hi, On 17-04-15 21:28, Hans de Goede wrote: Hi, On 17-04-15 19:53, Tom Rini wrote: snip I haven't had a chance to bisect yet but I will in a few hours. No need to, I've just completed a bisect, it points to: