Re: [PATCH 0/4] Orion GBE fixes and Marvell PHY driver

2014-06-25 Thread Sascha Hauer
On Tue, Jun 24, 2014 at 12:18:07PM +0200, Sebastian Hesselbarth wrote: This patch set comprises some fixes and improvements related with ethernet support on Marvell Orion SoC based boards. Patch 1 adds a check for ePAPR standard phy-connection-type property to of_get_phy_mode. Patch 2

Re: [PATCH 1/2] sama5d3x: fix HSMC MODE register offset and add TIMINGS register

2014-06-25 Thread Sascha Hauer
On Wed, Jun 25, 2014 at 09:45:49AM +0800, Bo Shen wrote: Hi Matteo, Thanks for your patch. Hi Jean-Christophe PLAGNIOL-VILLARD, For this patch series, can you give some comments (maybe the question from I need more discussion)? Thanks. On 06/24/2014 07:26 PM, Matteo Fortini wrote:

Re: [PATCH 0/3] MVEBU SoC ID and revision detection

2014-06-25 Thread Sascha Hauer
On Tue, Jun 24, 2014 at 01:45:33PM +0200, Sebastian Hesselbarth wrote: This patch set adds support for reading SoC ID and revision from PCIe controllers found on Marvell MVEBU SoCs. Patch 1 adds PCI bus specific OF address translation required for reg property parsing of PCIe controller

Re: [PATCH v2] pinctrl: mvebu: add pinctrl drivers for Dove and Kirkwood

2014-06-25 Thread Sascha Hauer
On Tue, Jun 24, 2014 at 12:43:48PM +0200, Sebastian Hesselbarth wrote: This adds pinctrl drivers for Marvell Dove and Kirkwood SoCs based on a common driver stub. This design is based on the corresponding Linux driver and should ease additional drivers for Marvell Armada SoCs.

Re: [RFC 2/2] dns325: initial support for D-Link DNS-325

2014-06-25 Thread Sascha Hauer
On Tue, Jun 24, 2014 at 01:54:07PM +0200, Sebastian Hesselbarth wrote: On 06/22/2014 10:34 PM, Alexander Aring wrote: This patch add a basic support for the D-Link DNS-325. Currently only booting via uart with kwboot is supported. The barebox kwboot utility doesn't work at the moment. Use

Re: [PATCH] MIPS: mach-ath79: drop extra 'select HAVE_CLK'

2014-06-25 Thread Sascha Hauer
On Wed, Jun 25, 2014 at 09:30:44AM +0400, Antony Pavlov wrote: We already have 'select COMMON_CLK' so 'select HAVE_CLK' is redundant. Signed-off-by: Antony Pavlov antonynpav...@gmail.com Applied, thanks Sascha --- arch/mips/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCH 4/4] arm: tegra: enable ARM errata workarounds

2014-06-25 Thread Lucas Stach
From: Lucas Stach l.st...@pengutronix.de Signed-off-by: Lucas Stach l.st...@pengutronix.de --- arch/arm/mach-tegra/tegra_maincomplex_init.c | 21 +++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-tegra/tegra_maincomplex_init.c

[PATCH 2/4] arm: imx6: add cpu lowlevel init function

2014-06-25 Thread Lucas Stach
From: Lucas Stach l.st...@pengutronix.de Enables all relevant errata workarounds for the i.MX6 SoC. Signed-off-by: Lucas Stach l.st...@pengutronix.de --- arch/arm/mach-imx/Makefile | 1 + arch/arm/mach-imx/cpu_init.c | 27 +++

[PATCH 3/4] arm: imx6: use imx6 specific cpu init function

2014-06-25 Thread Lucas Stach
From: Lucas Stach l.st...@pengutronix.de Signed-off-by: Lucas Stach l.st...@pengutronix.de --- arch/arm/boards/boundarydevices-nitrogen6x/lowlevel.c | 5 +++-- arch/arm/boards/datamodul-edm-qmx6/lowlevel.c | 3 ++- arch/arm/boards/dfi-fs700-m60/lowlevel.c | 7 ---

[PATCH 1/4] arm: add errata workarounds

2014-06-25 Thread Lucas Stach
From: Lucas Stach l.st...@pengutronix.de Header only implementation, so they can be pulled into the individual SoC cpu init functions. Signed-off-by: Lucas Stach l.st...@pengutronix.de --- arch/arm/include/asm/errata.h | 67 +++ 1 file changed, 67

Re: [PATCH v2] pinctrl: mvebu: add pinctrl drivers for Dove and Kirkwood

2014-06-25 Thread Sebastian Hesselbarth
On 06/25/2014 08:56 AM, Sascha Hauer wrote: On Tue, Jun 24, 2014 at 12:43:48PM +0200, Sebastian Hesselbarth wrote: This adds pinctrl drivers for Marvell Dove and Kirkwood SoCs based on a common driver stub. This design is based on the corresponding Linux driver and should ease additional

Re: [PATCH v2] pinctrl: mvebu: add pinctrl drivers for Dove and Kirkwood

2014-06-25 Thread Alexander Aring
Hi, I resend this mail. My last one was malformed, because I tried to answert this mail via smartphone while boring lecture at university. On Wed, Jun 25, 2014 at 08:56:15AM +0200, Sascha Hauer wrote: On Tue, Jun 24, 2014 at 12:43:48PM +0200, Sebastian Hesselbarth wrote: This adds pinctrl

Re: i.MX6 frame buffer inside barebox?

2014-06-25 Thread Holger Schurig
I just noticed that simplefb wouldn't work with i.MX6 anyway, even if I adapt it. When I setup the framebuffer from barebox and display a splash and then boot into Linux, then my framebuffer vanishes. Even when I don't have simplefb or ipu enabled. I think (!) the reason is the clock

[PATCH FIXUP] pinctrl: mvebu: fixup mpp_base check

2014-06-25 Thread Sebastian Hesselbarth
Sascha, unfortunately, your dev_request_mem_region fixup introduced a typo (map_base instead of mpp_base). I took the chance to also add a corresponding check for dove's pinctrl stub. Please squash into commmit 8d3f0c2496afe397667e35ff6b94153bcecdb6ad (pinctrl: mvebu: add pinctrl drivers for

[PATCH RFC 2/4] ARM: dts: add new USB nodes to Kirkwood Guruplug

2014-06-25 Thread Sebastian Hesselbarth
Add new MVEBU usb controller nodes to Guruplug dts overlay to show how it should be included upstream. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: barebox@lists.infradead.org Cc: Jason Cooper ja...@lakedaemon.net Cc: Andrew Lunn and...@lunn.ch Cc: Gregory Clement

[PATCH RFC 4/4] ARM: dts: add new USB nodes to Armada 370 Mirabox

2014-06-25 Thread Sebastian Hesselbarth
Add new MVEBU usb controller nodes to Mirabox dts overlay to show how it should be included upstream. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: barebox@lists.infradead.org Cc: Jason Cooper ja...@lakedaemon.net Cc: Andrew Lunn and...@lunn.ch Cc: Gregory Clement

[PATCH RFC 1/4] usb: add Marvell MVEBU USB support

2014-06-25 Thread Sebastian Hesselbarth
This adds support for Marvell specific implementation of ChipIdea dual role USB controllers found on Marvell MVEBU SoCs (Armada 370, XP, Dove, Kirkwood). Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: barebox@lists.infradead.org Cc: Jason Cooper ja...@lakedaemon.net

[PATCH RFC 0/4] MVEBU SoC full USB support

2014-06-25 Thread Sebastian Hesselbarth
This *RFC* adds a driver stub for ChipIdea USB dual role controllers found on Marvell MVEBU SoCs. Although, I consider this driver quite finished, the corresponding DT binding is not. Also, we currently have no corresponding driver in Linux for both MVEBU CI stub and USB PHY. The reason I send it

Re: [PATCH RFC 0/4] MVEBU SoC full USB support

2014-06-25 Thread Jason Cooper
On Wed, Jun 25, 2014 at 04:08:44PM +0200, Sebastian Hesselbarth wrote: This *RFC* adds a driver stub for ChipIdea USB dual role controllers found on Marvell MVEBU SoCs. Although, I consider this driver quite finished, the corresponding DT binding is not. Also, we currently have no

Re: [PATCH RFC 0/4] MVEBU SoC full USB support

2014-06-25 Thread Sebastian Hesselbarth
On 06/25/2014 09:18 PM, Jason Cooper wrote: On Wed, Jun 25, 2014 at 04:08:44PM +0200, Sebastian Hesselbarth wrote: This *RFC* adds a driver stub for ChipIdea USB dual role controllers found on Marvell MVEBU SoCs. Although, I consider this driver quite finished, the corresponding DT binding is

Re: [PATCH RFC 0/4] MVEBU SoC full USB support

2014-06-25 Thread Thomas Petazzoni
Dear Sebastian Hesselbarth, On Wed, 25 Jun 2014 16:08:44 +0200, Sebastian Hesselbarth wrote: This *RFC* adds a driver stub for ChipIdea USB dual role controllers found on Marvell MVEBU SoCs. Although, I consider this driver quite finished, the corresponding DT binding is not. Also, we

[RFC v3 3/5] net: add RealTek RTL-8139 PCI Ethernet driver

2014-06-25 Thread Antony Pavlov
This driver is based on Linux 2.6.39 8139too driver. Signed-off-by: Antony Pavlov antonynpav...@gmail.com Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- drivers/net/Kconfig | 8 + drivers/net/Makefile| 1 + drivers/net/rtl8139.c | 621

[RFC v3 5/5] MIPS: qemu-malta_defconfig: enable PCI network stuff

2014-06-25 Thread Antony Pavlov
qemu usage: # ifconfig br0:1 172.20.0.1 # qemu-system-mips -nodefaults -nographic -M malta -m 256 \ -serial stdio -monitor null \ -bios ./barebox-flash-image \ -net nic,vlan=0,model=rtl8139 \ -net tap,vlan=0,script=net_br0.sh ... barebox:/ eth0.ipaddr=172.20.0.2

[RFC v3 1/5] PCI: initial commit

2014-06-25 Thread Antony Pavlov
used shorten version of linux-2.6.39 pci_ids.h Signed-off-by: Antony Pavlov antonynpav...@gmail.com Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- drivers/Makefile| 1 + drivers/pci/Kconfig | 12 ++ drivers/pci/Makefile| 8

[RFC v3 4/5] MIPS: add PCI support for GT64120-based Malta board

2014-06-25 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- arch/mips/Kconfig| 22 ++ arch/mips/include/asm/gt64120.h | 53 + arch/mips/mach-malta/Makefile| 1 + arch/mips/mach-malta/include/mach/mach-gt64120.h | 2 +

[RFC v3 0/5] barebox PCI support

2014-06-25 Thread Antony Pavlov
This patchseries introduce simple PCI bus support for barebox. Previous (RFC v2) version can be found here: http://lists.infradead.org/pipermail/barebox/2012-March/006327.html TODOs for RFC v3: * no PCI bridges support; * introduce dma_alloc_coherent(); * introduce

[RFC v3 2/5] commands: add 'lspci' command

2014-06-25 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- commands/Kconfig | 8 commands/Makefile | 1 + commands/lspci.c | 49 + 3 files changed, 58 insertions(+) create mode 100644 commands/lspci.c diff --git a/commands/Kconfig

Re: [RFC 2/2] dns325: initial support for D-Link DNS-325

2014-06-25 Thread Alexander Aring
Hi, On Sun, Jun 22, 2014 at 11:50:56PM +0200, Sebastian Hesselbarth wrote: On 06/22/2014 10:34 PM, Alexander Aring wrote: This patch add a basic support for the D-Link DNS-325. Currently only booting via uart with kwboot is supported. The barebox kwboot utility doesn't work at the

Re: How to disable console late?

2014-06-25 Thread Sascha Hauer
On Wed, Jun 25, 2014 at 06:22:04PM +0200, Holger Schurig wrote: On my i.MX6 I have CONFIG_CONSOLE_FULL and CONSOLE_ACTIVATE_NONE defined. But still my serial is automatically activated as a console. barebox:/ devinfo cs0 Bus: platform Parameters: baudrate: 115200 active: ioe I'd