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
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
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
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
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
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
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
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
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
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
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
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
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,
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
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
, 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
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
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
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
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
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
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:
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
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
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
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
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
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
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
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
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
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
)
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
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
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
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
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
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
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
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
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
-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
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
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
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
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
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
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
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
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
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
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)
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
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
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
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
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
-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
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
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
)
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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):
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.
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
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
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
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
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
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
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
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
1101 - 1200 of 2119 matches
Mail list logo