Re: [U-Boot] [PATCH] fdt: Fix handling of paths with options in them

2015-04-24 Thread Hans de Goede
Hi, On 24-04-15 14:42, Simon Glass wrote: Hi Hans, On 23 April 2015 at 10:15, Simon Glass s...@chromium.org wrote: Hi Hans, On 23 April 2015 at 00:55, Hans de Goede hdego...@redhat.com wrote: Hi, On 22-04-15 19:20, Simon Glass wrote: Hi Hans, On 20 April 2015 at 12:10, Hans de Goede

[U-Boot] [PATCH 01/21] sunxi: Do not build i2c support when we've no i2c controllers

2015-04-24 Thread Hans de Goede
This fixes the following errors being printed during boot: Error, wrong i2c adapter 0 max 0 possible Error, wrong i2c adapter 0 max 0 possible Signed-off-by: Hans de Goede hdego...@redhat.com --- include/configs/sunxi-common.h | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff

[U-Boot] [PATCH 06/21] sunxi: gpio: Rename GPIOs to include a 'P' prefix

2015-04-24 Thread Hans de Goede
From: Simon Glass s...@chromium.org 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 Acked-by: Hans de Goede hdego...@redhat.com Signed-off-by: Hans de Goede hdego

[U-Boot] [PATCH 14/21] sunxi: emac: Prepare for device-model support

2015-04-24 Thread Hans de Goede
Split all the core functionality out into functions taking a struct emac_eth_dev *priv argument as preparation for adding device-model support. Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/net/sunxi_emac.c | 115 +-- 1 file changed, 71

[U-Boot] [PATCH 12/21] sunxi: gmac: Move sunxi_gmac_initialize proto out of netdev.h

2015-04-24 Thread Hans de Goede
netdev.h should not be included in device-model enabled builds (doing so causes compiler warnings about struct eth_device not being declared), but we do use sunxi_gmac_initialize in the device-model case, so move it out of netdev.h . Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm

[U-Boot] [PATCH 05/21] sunxi: soft-i2c: Fix gpio handling to work with the device-model

2015-04-24 Thread Hans de Goede
as that is mandatory with the device-model. Signed-off-by: Hans de Goede hdego...@redhat.com --- board/sunxi/board.c | 44 ++-- 1 file changed, 38 insertions(+), 6 deletions(-) diff --git a/board/sunxi/board.c b/board/sunxi/board.c index 171f0bc..6b93f92 100644 --- a/board

[U-Boot] [PATCH 10/21] sunxi: gpio: Change axp_gpio_foo prototype to match gpio uclass ops

2015-04-24 Thread Hans de Goede
Change the axp_gpio_foo function prototypes to match the gpio uclass op prototypes, so that they can be used directly when adding device-model support for the axp gpios. Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/gpio/sunxi_gpio.c | 8 drivers/power/axp209.c| 10

[U-Boot] [PATCH 04/21] sunxi: display: Fix gpio handling to work with the device-model

2015-04-24 Thread Hans de Goede
The device-model gpio functions may return another value then -1 as error, make the sunxi display code properly handle this. Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/video/sunxi_display.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git

[U-Boot] [PATCH 02/21] sunxi: mmc: Fix card-detect gpio handling to work with the device-model

2015-04-24 Thread Hans de Goede
The device-model gpio functions may return another value then -1 as error, make the sunxi mmc code properly handle this. Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/mmc/sunxi_mmc.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/sunxi_mmc.c

[U-Boot] [PATCH 19/21] sunxi: dts: Add a CONFIG_DEFAULT_DEVICE_TREE setting to all sunxi boards

2015-04-24 Thread Hans de Goede
with CONFIG_DEFAULT_DEVICE_TREE and uses CONFIG_DEFAULT_DEVICE_TREE for setting the default fdtfile env value in sunxi-common.h . Signed-off-by: Hans de Goede hdego...@redhat.com --- board/sunxi/Kconfig | 3 --- configs/A10-OLinuXino-Lime_defconfig | 2 +- configs/A10s-OLinuXino-M_defconfig

Re: [U-Boot] [PATCH] fdt: Fix handling of paths with options in them

2015-04-23 Thread Hans de Goede
Hi, On 22-04-15 19:20, Simon Glass wrote: Hi Hans, On 20 April 2015 at 12:10, Hans de Goede hdego...@redhat.com wrote: Hi, On 20-04-15 17:39, Simon Glass wrote: Hi Hans, On 20 April 2015 at 03:13, Hans de Goede hdego...@redhat.com wrote: After syncing the sunxi dts files

Re: [U-Boot] Ethernet problem on A20 Lime2

2015-04-22 Thread Hans de Goede
Hi Tom, On 21-04-15 16:57, Tom Rini wrote: On Tue, Apr 21, 2015 at 04:11:34PM +0200, Hans de Goede wrote: Hi Tom, On 21-04-15 16:03, Tom Rini wrote: Hey, I've run into a problem with ethernet on the A20 Lime2: sunxi# setenv autoload no sunxi# dhcp Speed: 1000, full duplex BOOTP broadcast 1

Re: [U-Boot] Ethernet problem on A20 Lime2

2015-04-21 Thread Hans de Goede
Hi Tom, On 21-04-15 16:03, Tom Rini wrote: Hey, I've run into a problem with ethernet on the A20 Lime2: sunxi# setenv autoload no sunxi# dhcp Speed: 1000, full duplex BOOTP broadcast 1 DHCP client bound to address 192.168.0.185 (13 ms) sunxi# tftp test/u-boot-sunxi-with-spl.bin Speed: 1000,

Re: [U-Boot] [PATCH] usb: Remove unused variable in usb_setup_descriptor()

2015-04-20 Thread Hans de Goede
Hi, On 19-04-15 15:36, Simon Glass wrote: Hi Hans, On 19 April 2015 at 03:33, Hans de Goede hdego...@redhat.com wrote: The compiler did not catch this as it was marked __maybe_unused. Signed-off-by: Hans de Goede hdego...@redhat.com --- common/usb.c | 2 -- 1 file changed, 2 deletions

[U-Boot] [PATCH 0/1] fdt: Fix handling of paths with options in them

2015-04-20 Thread Hans de Goede
Hi all, Here is a small but important fdt parsing fix. See the patch / commit message for details. I'm wondering how to best take this upstream. This is a dependency for the sunxi dm work I'm doing so I will happily take this upstream (once reviewed) through the sunxi tree. Regards, Hans

[U-Boot] [PATCH] fdt: Fix handling of paths with options in them

2015-04-20 Thread Hans de Goede
, e.g. stdout-path = /soc@01c0/serial@01c28000:115200, is standard of usage, but something which the u-boot dts code so far did not handle. This commit fixes this, adding support for both path formats. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/dts/sun7i-a20-pcduino3.dts | 2

Re: [U-Boot] [PATCH] fdt: Fix handling of paths with options in them

2015-04-20 Thread Hans de Goede
Hi, On 20-04-15 11:13, Hans de Goede wrote: After syncing the sunxi dts files with the upstream kernel dm/fdt sunxi builds would no longer boot. The problem is that stdout-path is now set like this in the upstream dts files: stdout-path = serial0:115200n8. The use of options in of-paths

Re: [U-Boot] [PATCH] fdt: Fix handling of paths with options in them

2015-04-20 Thread Hans de Goede
Hi, On 20-04-15 17:39, Simon Glass wrote: Hi Hans, On 20 April 2015 at 03:13, Hans de Goede hdego...@redhat.com wrote: After syncing the sunxi dts files with the upstream kernel dm/fdt sunxi builds would no longer boot. The problem is that stdout-path is now set like this in the upstream dts

[U-Boot] [PATCH] usb: Remove unused variable in usb_setup_descriptor()

2015-04-19 Thread Hans de Goede
The compiler did not catch this as it was marked __maybe_unused. Signed-off-by: Hans de Goede hdego...@redhat.com --- common/usb.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/usb.c b/common/usb.c index a4820d3..305d5cf 100644 --- a/common/usb.c +++ b/common/usb.c @@ -931,8 +931,6

[U-Boot] [PATCH 0/1] usb: Remove unused variable in usb_setup_descriptor()

2015-04-19 Thread Hans de Goede
Hi All, Note this applies on top of the V3 dm pull request Simon send yesterday. Regards, Hans ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

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

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

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

2015-04-17 Thread Hans de Goede
Hi Tom and Simon, On 17-04-15 18:54, Simon Glass wrote: Hi Tom, On 17 April 2015 at 10:46, Tom Rini tr...@konsulko.com wrote: On Fri, Apr 17, 2015 at 10:30:36AM -0600, Simon Glass wrote: Hi Tom, On 17 April 2015 at 10:27, Tom Rini tr...@konsulko.com wrote: On Thu, Apr 16, 2015 at

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

2015-04-17 Thread Hans de Goede
Hi, On 17-04-15 21:28, Hans de Goede wrote: Hi, On 17-04-15 19:53, Tom Rini wrote: On Fri, Apr 17, 2015 at 10:54:21AM -0600, Simon Glass wrote: Hi Tom, On 17 April 2015 at 10:46, Tom Rini tr...@konsulko.com wrote: On Fri, Apr 17, 2015 at 10:30:36AM -0600, Simon Glass wrote: Hi Tom, On 17

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

2015-04-17 Thread Hans de Goede
Hi, On 17-04-15 19:53, Tom Rini wrote: On Fri, Apr 17, 2015 at 10:54:21AM -0600, Simon Glass wrote: Hi Tom, On 17 April 2015 at 10:46, Tom Rini tr...@konsulko.com wrote: On Fri, Apr 17, 2015 at 10:30:36AM -0600, Simon Glass wrote: Hi Tom, On 17 April 2015 at 10:27, Tom Rini

Re: [U-Boot] [PATCH 07/10] sunxi: Fix end of kernel memory alignment for A33

2015-04-16 Thread Hans de Goede
Hi, On 15-04-15 21:57, Ian Campbell wrote: On Tue, 2015-04-14 at 18:06 +0200, Hans de Goede wrote: For unknown reasons the A33 needs the end of the memory we report to the kernel to be aligned to a multiple of 4 MiB. Do you really mean the A33 needs (as in the processor itself) or do you

Re: [U-Boot] [PATCH 03/10] sunxi: Introduce a hidden ARCH_SUN6I Kconfig bool

2015-04-16 Thread Hans de Goede
Hi, On 15-04-15 21:47, Ian Campbell wrote: On Wed, 2015-04-15 at 10:45 +0200, Michal Suchanek wrote: It is not obvious which MACH_SUN?I are ARCH_SUN6I derived. So if you can come up with a descriptive name for 'a number of things in common, such as having separate ahb reset registers in the

Re: [U-Boot] [PATCH 04/10] sunxi: s/sun8i/sun8i_a23/

2015-04-16 Thread Hans de Goede
Hi, On 15-04-15 21:49, Ian Campbell wrote: On Tue, 2015-04-14 at 18:06 +0200, Hans de Goede wrote: This is a preparation patch for adding A33 support, which will have a mach name of sun8i-a33. And, presumably, differs substantially from sun8i-a23, to the extent it should likely have been

Re: [U-Boot] [PATCH 08/10] sunxi: Add basic A33 basic support

2015-04-16 Thread Hans de Goede
Hi, On 15-04-15 22:00, Ian Campbell wrote: On Tue, 2015-04-14 at 18:06 +0200, Hans de Goede wrote: From: Vishnu Patekar vishnupatekar0...@gmail.com A quick comment on what basic here means, i.e. prcm, rsb, clocks as per sun6i, etc would be good. Actually the Basic is misleading here, since

Re: [U-Boot] [PATCH 06/10] sunxi: Add a33 dram init code

2015-04-16 Thread Hans de Goede
Hi, On 15-04-15 21:56, Ian Campbell wrote: On Tue, 2015-04-14 at 18:06 +0200, Hans de Goede wrote: From: Vishnu Patekar vishnupatekar0...@gmail.com Based on Allwinner dram init code from the a33 bsp: https://github.com/allwinner-zh/bootloader/blob/master/basic_loader/bsp/bsp_for_a33/init_dram

Re: [U-Boot] [PATCH 07/10] sunxi: Fix end of kernel memory alignment for A33

2015-04-16 Thread Hans de Goede
Hi, On 16-04-15 19:35, Mark Rutland wrote: On Thu, Apr 16, 2015 at 08:32:03AM +0100, Hans de Goede wrote: Hi, On 15-04-15 21:57, Ian Campbell wrote: On Tue, 2015-04-14 at 18:06 +0200, Hans de Goede wrote: For unknown reasons the A33 needs the end of the memory we report to the kernel

[U-Boot] Please pull u-boot-sunxi master

2015-04-15 Thread Hans de Goede
) Han Pengfei (1): sun6i: Add support for the Mixtile LOFT-Q board Hans de Goede (3): sunxi: usbc: Initialize vusb value on request_resources sunxi: usbc: Wait for vbus to fall after disabling it sunxi: axp221: Use vbus-available rather then vbus-usable for vbus

Re: [U-Boot] [PATCH v5 0/2] i2c: sunxi: Support every i2c controller on each supported platform

2015-04-15 Thread Hans de Goede
Hi, On 10-04-15 23:09, Paul Kocialkowski wrote: Changes since v4: * Got rid of Kconfig after all * Only build mvtwsi when at least one controller is enabled on sunxi * Controller 0 doesn't have to be enabled in particular Changes since v3: * Kconfig support for MVTWSI * Only enable twsi0 by

Re: [U-Boot] [PATCH 1/4] sunxi: Removed dram files cleanup in MAINTAINERS

2015-04-15 Thread Hans de Goede
Hi, Thanks I've queued up the entire set into u-boot-sunxi/next, I'm running some tests now once those are done I'll send a pullreq to get the current u-boot-sunxi/next merged into master. p.s. In the future if you add new board defconfig files please add a short comment block at the top

Re: [U-Boot] [PATCH 03/10] sunxi: Introduce a hidden ARCH_SUN6I Kconfig bool

2015-04-15 Thread Hans de Goede
Hi, On 15-04-15 08:51, Michal Suchanek wrote: On 14 April 2015 at 18:06, Hans de Goede hdego...@redhat.com wrote: sun6i and newer (derived) SoCs such as the sun8i-a23, sun8i-a33 and sun9i have a various things in common, like having separate ahb reset control registers, the SID living inside

Re: [U-Boot] [PATCH 03/10] sunxi: Introduce a hidden ARCH_SUN6I Kconfig bool

2015-04-15 Thread Hans de Goede
Hi, On 15-04-15 10:01, Michal Suchanek wrote: On 15 April 2015 at 09:35, Hans de Goede hdego...@redhat.com wrote: Hi, On 15-04-15 08:51, Michal Suchanek wrote: On 14 April 2015 at 18:06, Hans de Goede hdego...@redhat.com wrote: sun6i and newer (derived) SoCs such as the sun8i-a23, sun8i

Re: [U-Boot] [PATCH 03/10] sunxi: Introduce a hidden ARCH_SUN6I Kconfig bool

2015-04-15 Thread Hans de Goede
Hi, On 15-04-15 09:00, Michal Suchanek wrote: On 14 April 2015 at 18:06, Hans de Goede hdego...@redhat.com wrote: --- a/arch/arm/include/asm/arch-sunxi/cpu_sun4i.h +++ b/arch/arm/include/asm/arch-sunxi/cpu_sun4i.h @@ -37,7 +37,7 @@ #define SUNXI_MMC1_BASE0x01c1

[U-Boot] [PATCH 03/10] sunxi: Introduce a hidden ARCH_SUN6I Kconfig bool

2015-04-14 Thread Hans de Goede
which can be used to check for these features avoiding the need for an ever growing list of #if defined CONFIG_MACH_SUN?I conditionals as we add support for more new style sunxi SoCs. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/cpu/armv7/sunxi/board.c| 18

[U-Boot] [PATCH 02/10] sunxi: usbc: Remove unused irq field

2015-04-14 Thread Hans de Goede
We do not use irqs in u-boot so remove the unused irq field, and all the #ifdef-ery around the irq initialization. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/cpu/armv7/sunxi/usbc.c | 16 1 file changed, 16 deletions(-) diff --git a/arch/arm/cpu/armv7/sunxi

[U-Boot] [PATCH 01/10] sunxi: Also set Auxiliary Ctl SMP bit in SPL

2015-04-14 Thread Hans de Goede
There is no reason not to and this make the #ifdef-ery easier to read. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/cpu/armv7/sunxi/board.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/cpu/armv7/sunxi/board.c b/arch/arm/cpu/armv7/sunxi

[U-Boot] [PATCH 09/10] sunxi: Add softwinner astar mid756 A33 tablet board defconfig

2015-04-14 Thread Hans de Goede
-by: Hans de Goede hdego...@redhat.com --- board/sunxi/MAINTAINERS| 5 + configs/Astar_MID756_defconfig | 25 + 2 files changed, 30 insertions(+) create mode 100644 configs/Astar_MID756_defconfig diff --git a/board/sunxi/MAINTAINERS b/board/sunxi/MAINTAINERS index

[U-Boot] [PATCH 10/10] sunxi: Add Ippo_q8h_v1_2_a33_1024x600 defconfig

2015-04-14 Thread Hans de Goede
Add a defconfig for generic 7 tablets using the Ippo q8h v1.2 pcb, with an A33 SoC (the pcb can take an A23 or an A33), and a 1024x600 LCD. Signed-off-by: Hans de Goede hdego...@redhat.com --- board/sunxi/MAINTAINERS | 1 + configs/Ippo_q8h_v1_2_a33_1024x600_defconfig | 23

[U-Boot] [PATCH 07/10] sunxi: Fix end of kernel memory alignment for A33

2015-04-14 Thread Hans de Goede
For unknown reasons the A33 needs the end of the memory we report to the kernel to be aligned to a multiple of 4 MiB. Without this things will hang when we hand over control to the kernel. Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/video/sunxi_display.c | 9 + 1 file

[U-Boot] [PATCH 08/10] sunxi: Add basic A33 basic support

2015-04-14 Thread Hans de Goede
From: Vishnu Patekar vishnupatekar0...@gmail.com Signed-off-by: Vishnu Patekar vishnupatekar0...@gmail.com Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/cpu/armv7/sunxi/Makefile | 4 arch/arm/cpu/armv7/sunxi/board.c| 8 +--- arch/arm/cpu/armv7/sunxi/cpu_info.c

[U-Boot] [PATCH 04/10] sunxi: s/sun8i/sun8i_a23/

2015-04-14 Thread Hans de Goede
This is a preparation patch for adding A33 support, which will have a mach name of sun8i-a33. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/cpu/armv7/sunxi/Makefile | 8 arch/arm/cpu/armv7/sunxi/board.c | 8

[U-Boot] [PATCH 05/10] sunxi: Add support for A33 PLL11 (second DRAM pll)

2015-04-14 Thread Hans de Goede
Add support for the new second DRAM PLL found on the A33 SoC. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/cpu/armv7/sunxi/clock_sun6i.c| 18 +++ arch/arm/include/asm/arch-sunxi/clock.h | 3 ++- arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 33

[U-Boot] [PATCH 06/10] sunxi: Add a33 dram init code

2015-04-14 Thread Hans de Goede
From: Vishnu Patekar vishnupatekar0...@gmail.com Based on Allwinner dram init code from the a33 bsp: https://github.com/allwinner-zh/bootloader/blob/master/basic_loader/bsp/bsp_for_a33/init_dram/mctl_hal.c Initial u-boot port by Vishnu Patekar, major cleanup / rewrite by Hans de Goede. Signed

Re: [U-Boot] [PATCH v4 0/3] i2c: sunxi: Support every i2c controller on each supported platform

2015-04-08 Thread Hans de Goede
Hi, On 08-04-15 13:05, Paul Kocialkowski wrote: Actually, I'd prefer that you do not merge this since some ifdef logic around controller 0 is still missing and mvtwsi code still assumes that controller 0 will be defined. It may be the case that users wish to only enable controller [1-4]. I

Re: [U-Boot] [PATCH v2 2/3] sunxi: Complete i2c support for each supported platform

2015-04-08 Thread Hans de Goede
Hi, On 07-04-15 22:53, Simon Glass wrote: Hi, On 6 April 2015 at 02:43, Hans de Goede hdego...@redhat.com wrote: Hi Simon and Paul, On 05-04-15 22:56, Paul Kocialkowski wrote: Le dimanche 05 avril 2015 à 12:31 -0600, Simon Glass a écrit : Hi Paul, On 4 April 2015 at 14:49, Paul

[U-Boot] u-boot summit / miniconf this year?

2015-04-07 Thread Hans de Goede
Hi, I'm thinking about going to ELCE, assuming I will not have some schedule conflict, one of the reasons is that I would like to attend the u-boot summit / miniconf again this year. Which raises the question will it be held at ELCE again ? Regards, Hans

Re: [U-Boot] [PATCH v3 1/3] i2c: mvtwsi: Support for up to 4 different controllers

2015-04-07 Thread Hans de Goede
Hi, On 07-04-15 07:24, Heiko Schocher wrote: Hello Paul, Am 05.04.2015 09:51, schrieb Paul Kocialkowski: Orion5x, Kirkwood and Armada XP platforms come with a single TWSI (I2C) MVTWSI controller. However, other platforms using MVTWSI may come with more: this is the case on Allwinner (sunxi)

Re: [U-Boot] [PATCH v3 0/3] i2c: sunxi: Support every i2c controller on each supported platform

2015-04-07 Thread Hans de Goede
Hi, On 07-04-15 09:51, Paul Kocialkowski wrote: Le dimanche 05 avril 2015 à 22:59 +0200, Paul Kocialkowski a écrit : Hi Hans, Le dimanche 05 avril 2015 à 10:44 +0200, Hans de Goede a écrit : Hi, [snip] Thanks for your work on this, may I request one more change ? For sunxi I would like

Re: [U-Boot] Basic A33 support including dram init available in my personal repo

2015-04-06 Thread Hans de Goede
Hi Vishnu, On 01-03-15 19:42, Vishnu Patekar wrote: Allwinner A33 tablets comes with the libdram binary, fortunately I've found the libdram code at https://github.com/realthunder/a33_bootloader/tree/master/basic_loader/bsp/bsp_for_a67. I've integrated it with mainline u-boot, still lot to do

Re: [U-Boot] [PATCH v2 2/3] sunxi: Complete i2c support for each supported platform

2015-04-06 Thread Hans de Goede
Hi Simon and Paul, On 05-04-15 22:56, Paul Kocialkowski wrote: Le dimanche 05 avril 2015 à 12:31 -0600, Simon Glass a écrit : Hi Paul, On 4 April 2015 at 14:49, Paul Kocialkowski cont...@paulk.fr wrote: Sunxi platforms come with at least 3 TWI (I2C) controllers and some platforms even have

Re: [U-Boot] Basic A33 support including dram init available in my personal repo

2015-04-06 Thread Hans de Goede
welcome. Regards, Hans On Mon, Apr 6, 2015 at 2:46 PM, Hans de Goede hdego...@redhat.com wrote: Hi Vishnu, On 01-03-15 19:42, Vishnu Patekar wrote: Allwinner A33 tablets comes with the libdram binary, fortunately I've found the libdram code at https://github.com/realthunder/a33_bootloader

Re: [U-Boot] [PATCH v3 0/3] i2c: sunxi: Support every i2c controller on each supported platform

2015-04-05 Thread Hans de Goede
Hi, On 05-04-15 09:51, Paul Kocialkowski wrote: Changes since v2: * I2C/TWI busses enable for Cubietruck as well Changes since v1: * Kconfig option to enable I2C/TWI controllers 1-4 (when applicable) * Following patch to enable exposed busses on a few community-supported

[U-Boot] [PATCH] sunxi: Fix Orangepi_mini dtb filename

2015-04-04 Thread Hans de Goede
-off-by: Hans de Goede hdego...@redhat.com --- configs/Orangepi_defconfig | 7 +++ configs/Orangepi_mini_defconfig | 10 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/configs/Orangepi_defconfig b/configs/Orangepi_defconfig index 28fadcd..01d1b2c 100644

Re: [U-Boot] [PATCH v2] sunxi: Avoid any assumption between musb gadget and host but fallback to host

2015-04-04 Thread Hans de Goede
Hi, On 04-04-15 16:02, Paul Kocialkowski wrote: Le samedi 04 avril 2015 à 15:48 +0200, Hans de Goede a écrit : Hi, On 04-04-15 15:42, Paul Kocialkowski wrote: Le dimanche 29 mars 2015 à 13:18 +0200, Hans de Goede a écrit : Hi, On 28-03-15 18:26, Paul Kocialkowski wrote: musb might be used

Re: [U-Boot] [PATCH 0/2] i2c: sunxi: Support every i2c controller on each supported platform

2015-04-04 Thread Hans de Goede
Hi, On 04-04-15 13:27, Paul Kocialkowski wrote: This series adds support for every i2c controller found on sun4i/sun5i/sun6i/sun7i/sun8i platforms and shouldn't break support for Marvell platforms (orion5x, kirkwood, armada xp) the driver was originally written for. Regarding sunxi, I

[U-Boot] Please pull u-boot-sunxi master

2015-04-04 Thread Hans de Goede
) Hans de Goede (1): sunxi: Fix Orangepi_mini dtb filename configs/Orangepi_defconfig | 7 +++ configs/Orangepi_mini_defconfig | 10 +- 2 files changed, 16 insertions(+), 1 deletion(-) Regards, Hans

Re: [U-Boot] [PATCH v2] sunxi: Avoid any assumption between musb gadget and host but fallback to host

2015-04-04 Thread Hans de Goede
Hi, On 04-04-15 15:42, Paul Kocialkowski wrote: Le dimanche 29 mars 2015 à 13:18 +0200, Hans de Goede a écrit : Hi, On 28-03-15 18:26, Paul Kocialkowski wrote: musb might be used in gadget mode on sunxi, so we don't want to assume anything related to host mode, especially USB keyboard

Re: [U-Boot] [PATCH 1/2] i2c: mvtwsi: Support for up to 4 different controllers

2015-04-04 Thread Hans de Goede
on the same chip. Signed-off-by: Paul Kocialkowski cont...@paulk.fr Looks good to me: Acked-by: Hans de Goede hdego...@redhat.com Heiko can you pick this one up please ? The second patch will likely cause conflicts in the sunxi tree so I will pack that one up once you've merged the first one, also I've

Re: [U-Boot] [PATCH 2/2] sunxi: Complete i2c support for each supported platform

2015-04-04 Thread Hans de Goede
Hi, On 04-04-15 13:27, Paul Kocialkowski wrote: Sunxi platforms come with at least 3 TWI (I2C) controllers and some platforms even have up to 5. This adds support for every controller on each supported platform, which is especially useful when using expansion ports on single-board- computers.

Re: [U-Boot] [PATCH 2/2] sunxi: Complete i2c support for each supported platform

2015-04-04 Thread Hans de Goede
Hi, On 04-04-15 14:54, Paul Kocialkowski wrote: Hi Hans, Le samedi 04 avril 2015 à 14:18 +0200, Hans de Goede a écrit : On 04-04-15 13:27, Paul Kocialkowski wrote: Sunxi platforms come with at least 3 TWI (I2C) controllers and some platforms even have up to 5. This adds support for every

Re: [U-Boot] [PATCH] Document the format of the console environment variable

2015-03-30 Thread Hans de Goede
Hi, On 29-03-15 17:55, Karsten Merker wrote: config_distro_bootcmd.h defines a common boot environment for multiple platforms. Document the format of the console environment variable to allow the use of generic boot scripts on all supported platforms. Signed-off-by: Karsten Merker

Re: [U-Boot] [PATCH v2 1/3] sunxi: sun4i: improve cpu clock selection method

2015-03-30 Thread Hans de Goede
Hi, On 30-03-15 09:52, Iain Paton wrote: On 29/03/15 13:39, Hans de Goede wrote: Hi, On 28-03-15 11:25, Iain Paton wrote: clock_set_pll1 would pick the next highest available cpu clock speed if a value not in the pre defined table was selected. this potentially results in overclocking

[U-Boot] Please pull u-boot-sunxi master (v2)

2015-03-29 Thread Hans de Goede
to 662e2acb46250881ec26bc8366fc9eb1856cb7c2: sunxi: UTOO_P66: Add missing MAINTAINERS entry (2015-03-29 14:56:48 +0200) Hans de Goede (2): sunxi: musb: Fix some lo speed devices not working with musb host sunxi: UTOO_P66: Add missing MAINTAINERS entry

Re: [U-Boot] [PATCH v4 1/2] sunxi: Serial number support, obtained from SID bits

2015-03-29 Thread Hans de Goede
Hi, On 28-03-15 18:35, Paul Kocialkowski wrote: Signed-off-by: Paul Kocialkowski cont...@paulk.fr Thanks, I'm currently busy merging some more patches, once that is done this patch should show up in u-boot-sunxi/next, and it will be included in u-boot/master once the merge window for v2015.07

Re: [U-Boot] [PATCH v2 1/3] sunxi: sun4i: improve cpu clock selection method

2015-03-29 Thread Hans de Goede
Hi, On 28-03-15 11:25, Iain Paton wrote: clock_set_pll1 would pick the next highest available cpu clock speed if a value not in the pre defined table was selected. this potentially results in overclocking the soc. reverse the selection method so that we select the next lowest speed and add the

[U-Boot] Please pull u-boot-sunxi master

2015-03-29 Thread Hans de Goede
at: http://git.denx.de/u-boot-sunxi.git master for you to fetch changes up to 961e77712bbf14a6797bc0d725aed956cd06bce1: sunxi: a10-LIME set the cpu clock at boot to 912MHz (2015-03-29 13:37:39 +0200) Hans de Goede (1

Re: [U-Boot] [PATCH v4 2/2] sunxi: Pass serial number through ATAG

2015-03-29 Thread Hans de Goede
Hi, On 28-03-15 18:35, Paul Kocialkowski wrote: Signed-off-by: Paul Kocialkowski cont...@paulk.fr Thanks, I've added this to my personal git repo, sunxi-wip branch. I'll move it over to u-boot-sunxi/next once it is clear that the kernel patch to show the devicetree serial-number string

Re: [U-Boot] [PATCH 1/7] sunxi: TZX-Q8-713B7 mmc0 card-detect pin

2015-03-29 Thread Hans de Goede
Hi, On 29-03-15 11:19, Paul Kocialkowski wrote: Signed-off-by: Paul Kocialkowski cont...@paulk.fr Thanks, I've merged the entire set in u-boot-sunxi/next, and it will be included in u-boot/master once the merge window for v2015.07 opens. Regards, Hans --- configs/TZX-Q8-713B7_defconfig

Re: [U-Boot] [PATCH v2] sunxi: Avoid any assumption between musb gadget and host but fallback to host

2015-03-29 Thread Hans de Goede
Hi, On 28-03-15 18:26, Paul Kocialkowski wrote: musb might be used in gadget mode on sunxi, so we don't want to assume anything related to host mode, especially USB keyboard support. Thus, there is no reason to keep USB_KEYBOARD always enabled and in Kconfig: it is much better fit to enable it

[U-Boot] [PATCH 3/4] sunxi: usbc: Wait for vbus to fall after disabling it

2015-03-28 Thread Hans de Goede
and try again. Without this when dealing with a pmic controller vbus and doing reset on the u-boot console the musb host will only init once every other boot, because the other boot it thinks an external vbus is present, this commit fixes this. Signed-off-by: Hans de Goede hdego...@redhat.com

[U-Boot] [PATCH 2/4] sunxi: usbc: Initialize vusb value on request_resources

2015-03-28 Thread Hans de Goede
also move the gpio_direction_input call for vbus-detect into request_resources. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/cpu/armv7/sunxi/usbc.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm/cpu/armv7/sunxi/usbc.c b/arch/arm/cpu

[U-Boot] [PATCH 1/4] sunxi: musb: Fix some lo speed devices not working with musb host

2015-03-28 Thread Hans de Goede
the same workaround to the u-boot sunxi musb code, thereby fixing various usb lo speed devices not working. Tested with a (before non working) usb keyboard and a usb 2.4 GHz wireless keyboard/mouse combo receiver. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/cpu/armv7/sunxi/usbc.c

[U-Boot] [PATCH 4/4] sunxi: axp221: Use vbus-available rather then vbus-usable for vbus-detect

2015-03-28 Thread Hans de Goede
this. Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/power/axp221.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/axp221.c b/drivers/power/axp221.c index f758a75..dc3a7f1 100644 --- a/drivers/power/axp221.c +++ b/drivers/power/axp221.c @@ -424,7 +424,7 @@ int

Re: [U-Boot] serial atag tag in devicetree ?

2015-03-27 Thread Hans de Goede
Hi, On 27-03-15 05:30, Rob Herring wrote: On Thu, Mar 26, 2015 at 4:11 AM, Paul Kocialkowski cont...@paulk.fr wrote: Le jeudi 26 mars 2015 à 09:53 +0100, Hans de Goede a écrit : Hi, On 25-03-15 23:35, Paul Kocialkowski wrote: Le mardi 24 mars 2015 à 09:01 +0100, Hans de Goede a écrit : Hi

Re: [U-Boot] Regression in usb-storage in u-boot 2015.04 ???

2015-03-27 Thread Hans de Goede
Hi, On 27-03-15 09:42, Iain Paton wrote: On 26/03/15 19:08, Hans de Goede wrote: Perhaps someone can test the reproducer on another board with usb: on an A20-OLinuXino-lime2 U-Boot SPL 2015.04-rc4-00073-g07d8f86 (Mar 27 2015 - 08:05:11) DRAM: 1024 MiB CPU: 91200Hz, AXI/AHB/APB: 3/2/2

Re: [U-Boot] Regression in usb-storage in u-boot 2015.04 ???

2015-03-27 Thread Hans de Goede
Hi, On 27-03-15 07:36, Bo Shen wrote: Hi Hans, On 03/27/2015 03:08 AM, Hans de Goede wrote: Hi, First of all I'm not sure this is a regression, but I'm afraid I do not have time to dig deeper so I thought I should report it anyways and then others can try to reproduce it. I'm seeing

Re: [U-Boot] [PATCH 2/3] sunxi: promote CONFIG_CLK_FULL_SPEED to be selectable through Kconfig

2015-03-27 Thread Hans de Goede
Hi, On 27-03-15 01:12, Iain Paton wrote: in order to allow for this to be set differently per board, remove the define from the associated soc headers and allow the user to choose a value through a Kconfig setting Signed-off-by: Iain Paton ipat...@gmail.com Thanks, but if we're going to do

Re: [U-Boot] [PATCH] sunxi: axp221: Use vbus-available rather then vbus-usable for vbus-detect

2015-03-27 Thread Hans de Goede
Hi, On 23-03-15 17:38, Hans de Goede wrote: Hi, On 23-03-15 17:33, Paul Kocialkowski wrote: Le lundi 23 mars 2015 à 17:28 +0100, Hans de Goede a écrit : vbus-usable does not get set if power is provided through the power barrel connector, even if external 5v is also present on the otg

[U-Boot] [PATCH 0/4] sunxi: various musb host related fixes

2015-03-27 Thread Hans de Goede
Hi All, Here is a bunch of sunxi musb fixes, note I plan to send a pull-req for the first patch for inclusion in v2015.04 as soon as it is acked, the other 3 depend on the axp vbus-det / vbus-ctrl - gpio changes currently in next, and since they fix only a few corner cases I plan to add them to

Re: [U-Boot] serial atag tag in devicetree ?

2015-03-26 Thread Hans de Goede
Hi, On 25-03-15 23:35, Paul Kocialkowski wrote: Le mardi 24 mars 2015 à 09:01 +0100, Hans de Goede a écrit : Hi, On 24-03-15 00:12, Rob Herring wrote: On Mon, Mar 23, 2015 at 6:30 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 22-03-15 22:01, Rob Herring wrote: snip

Re: [U-Boot] [PATCH] sunxi: axp209: fix incorrect limits on ldo3

2015-03-26 Thread Hans de Goede
Hi, On 25-03-15 17:03, Iain Paton wrote: board/sunxi/board.c tries to set ldo3 to 2.8v however drivers/power/axp209.c contains an incorrect limit on ldo3 of 2.275v The origin of the incorrect limit seems likely due to some inconsistencies in the axp209 datasheet. ldo3 is described with

Re: [U-Boot] [PATCH] sunxi: set GMAC TX delay = 0x1 on Cubietruck.

2015-03-26 Thread Hans de Goede
Hi, On 25-03-15 14:39, Ian Campbell wrote: Of 4 boards in our automated test system 2 do not have reliable networking with the default TX delay of 0x0. Increasing to 0x1 seems to make things reliable on all 4 boards. Some previous ad-hpoc tests with tx delay set to 0, 1, 2 and 3 on one of the

[U-Boot] Please pull u-boot-sunxi master

2015-03-26 Thread Hans de Goede
Hi Tom, Please pull u-boot-sunxi/master into master for a small 2 bugfixes for v2015.04: The following changes since commit f643d9294f45487f22e8f33d6572530f17eff4e9: config_distro_bootcmd.h: Prefer booting from bootable paritions (2015-03-25 12:15:18 -0400) are available in the git

[U-Boot] Regression in usb-storage in u-boot 2015.04 ???

2015-03-26 Thread Hans de Goede
Hi, First of all I'm not sure this is a regression, but I'm afraid I do not have time to dig deeper so I thought I should report it anyways and then others can try to reproduce it. I'm seeing the following happen when using a usb stick with a musb-new otg controller in host mode on an allwinner

Re: [U-Boot] serial atag tag in devicetree ?

2015-03-24 Thread Hans de Goede
Hi, On 24-03-15 00:12, Rob Herring wrote: On Mon, Mar 23, 2015 at 6:30 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 22-03-15 22:01, Rob Herring wrote: snip There is already serial-number (a string) which exists for OpenFirmware. Also, copyright corresponds to vendor/manufacturer

Re: [U-Boot] [PATCH v2 7/7] sunxi: Ainol AW1 support

2015-03-23 Thread Hans de Goede
Hi, On 23-03-15 08:09, Chen-Yu Tsai wrote: Hi, On Mon, Mar 23, 2015 at 1:07 AM, Paul Kocialkowski cont...@paulk.fr wrote: Maybe a slight description of the board/device? Never mind I've just merged this in my local tree, adding a short description myself based on (and pointing to):

Re: [U-Boot] [PATCH v2 7/7] sunxi: Ainol AW1 support

2015-03-23 Thread Hans de Goede
Hi, On 23-03-15 08:09, Chen-Yu Tsai wrote: Hi, On Mon, Mar 23, 2015 at 1:07 AM, Paul Kocialkowski cont...@paulk.fr wrote: Maybe a slight description of the board/device? Yes please, note no need to send a new version if you reply with a short description I can add that while merging these.

Re: [U-Boot] serial atag tag in devicetree ?

2015-03-23 Thread Hans de Goede
Hi, On 22-03-15 22:01, Rob Herring wrote: On Sun, Mar 22, 2015 at 6:26 AM, Hans de Goede hdego...@redhat.com wrote: Hi All, I'm sending this mail because Paul Kocialkowski (in the Cc) has submitted a patch for upstream u-boot to set the serial atag tag from u-boot for Allwinner SoCs, using

Re: [U-Boot] [PATCH 0/3] sunxi: Yones Toptech BD1078 support

2015-03-23 Thread Hans de Goede
Hi, p.s. On 22-03-15 18:12, Paul Kocialkowski wrote: This series goes on top of my previous series that concludes with Ainol AW1 support. Also, if you're interested by the idea of using sunxi_name_to_gpio_bank, this could be extended for UART as well, where *many* different pin mux setups

Re: [U-Boot] [PATCH] sunxi: axp221: Use vbus-available rather then vbus-usable for vbus-detect

2015-03-23 Thread Hans de Goede
Hi, On 23-03-15 17:33, Paul Kocialkowski wrote: Le lundi 23 mars 2015 à 17:28 +0100, Hans de Goede a écrit : vbus-usable does not get set if power is provided through the power barrel connector, even if external 5v is also present on the otg connector. vbus-available correctly always reflects

Re: [U-Boot] [PATCH] sunxi: axp221: Use vbus-available rather then vbus-usable for vbus-detect

2015-03-23 Thread Hans de Goede
Hi, On 23-03-15 17:28, Hans de Goede wrote: vbus-usable does not get set if power is provided through the power barrel connector, even if external 5v is also present on the otg connector. vbus-available correctly always reflects if there is 5v present on the otg connector. Except

Re: [U-Boot] [PATCH v2 1/7] sunxi: gpio: Indentation fix

2015-03-23 Thread Hans de Goede
Hi, Thanks for the patches, I had to make this fixup (squashed) to fix vbus detect to work on axp221: -- drivers/gpio/sunxi_gpio.c -- index 6296092..670af0c 100644 @@ -21,6 +21,9 @@ #ifdef CONFIG_AXP209_POWER #include axp209.h #endif +#ifdef

Re: [U-Boot] [PATCH 0/3] sunxi: Yones Toptech BD1078 support

2015-03-23 Thread Hans de Goede
Hi, Thanks. The entire set has been queued up in u-boot-sunxi/next for upstream merging. Regards, Hans On 22-03-15 18:12, Paul Kocialkowski wrote: This series goes on top of my previous series that concludes with Ainol AW1 support. Also, if you're interested by the idea of using

Re: [U-Boot] [PATCH 1/2] power: axp152: Registers definitions in header

2015-03-23 Thread Hans de Goede
Hi, Thanks, I've also queued these 2 up in u-boot-sunxi/next. Regards, Hans On 22-03-15 18:08, Paul Kocialkowski wrote: Signed-off-by: Paul Kocialkowski cont...@paulk.fr --- drivers/power/axp152.c | 11 --- include/axp152.h | 12 2 files changed, 12

[U-Boot] [PATCH] sunxi: axp221: Use vbus-available rather then vbus-usable for vbus-detect

2015-03-23 Thread Hans de Goede
vbus-usable does not get set if power is provided through the power barrel connector, even if external 5v is also present on the otg connector. vbus-available correctly always reflects if there is 5v present on the otg connector. Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers

<    7   8   9   10   11   12   13   14   15   16   >