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

2014-06-24 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

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

2014-06-24 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. > > Signed-o

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

2014-06-24 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 1/2] sama5d3x: fix HSMC MODE register offset and add TIMINGS register

2014-06-24 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 wr

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

2014-06-24 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. > > Pat

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

2014-06-24 Thread Antony Pavlov
We already have 'select COMMON_CLK' so 'select HAVE_CLK' is redundant. Signed-off-by: Antony Pavlov --- arch/mips/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 9a240b7..dcd0e58 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -61,

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

2014-06-24 Thread Bo Shen
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: As stated in section 29.19.35 of SAMA5D3 Series Datasheet, MODE

[PATCH] i2c: omap: fix typo in dt_ids

2014-06-24 Thread Raphael Poggi
Signed-off-by: Raphaƫl Poggi --- drivers/i2c/busses/i2c-omap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c index f7108c2..adc952b 100644 --- a/drivers/i2c/busses/i2c-omap.c +++ b/drivers/i2c/busses/i2c-omap.

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

2014-06-24 Thread Sebastian Hesselbarth
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 kwboot utility from u-boot instead. Signed-off-by: Alexander Aring --- I go

[PATCH 1/3] drivers: of: import PCI bus specific translator

2014-06-24 Thread Sebastian Hesselbarth
DT PCI address translation needs a special handling. This imports the corresponding translator into of/address.c but makes it selectable through Kconfig. Compared to the Linux version, we don't check for struct device_node's type which does not exist on Barebox but directly for device_type property

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

2014-06-24 Thread Sebastian Hesselbarth
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 nodes. Patch 2 selects above PCI OF address translation for MVEBU SoCs. Patch 3

[PATCH 2/3] ARM: mvebu: select PCI specific DT bus translator

2014-06-24 Thread Sebastian Hesselbarth
Marvell MVEBU DT files contain some nodes mapped to PCI address space, add the translator Kconfig to be able to iomap those node's addresses. Signed-off-by: Sebastian Hesselbarth --- Cc: barebox@lists.infradead.org --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm

[PATCH 3/3] ARM: mvebu: determine SoC id and revision from PCIe nodes

2014-06-24 Thread Sebastian Hesselbarth
Marvell MVEBU SoC id and revision can be read out from any PCIe port registers. This adds corresponding code to read out id and revision and provides a helper function for drivers to use it. Signed-off-by: Sebastian Hesselbarth --- Cc: barebox@lists.infradead.org --- arch/arm/mach-mvebu/common.c

[PATCH 2/2] sama5d3x: HSMC NAND initialize TIMINGS and import values from U-Boot

2014-06-24 Thread Matteo Fortini
The configuration for NAND has been aligned with values from U-Boot and completed with TIMINGS initialization Signed-off-by: Matteo Fortini --- arch/arm/boards/sama5d3xek/init.c | 31 +-- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/arch/arm/boards/

[PATCH V2] SAMA5D3 SMC: Fix CS offset and add TIMINGS register

2014-06-24 Thread Matteo Fortini
As stated in section 29.19.35 of SAMA5D3 Series Datasheet, MODE register has offset 0x10 while at offset 0x0C there is a TIMINGS register. This patch series adds the register and configures it for sama5d3xek using timings from U-Boot [PATCH 1/2] sama5d3x: fix HSMC MODE register offset and add TIM

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

2014-06-24 Thread Matteo Fortini
As stated in section 29.19.35 of SAMA5D3 Series Datasheet, MODE register has offset 0x10 and at offset 0x0C there is a TIMINGS register. Signed-off-by: Matteo Fortini --- arch/arm/mach-at91/include/mach/at91sam9_smc.h | 35 +- arch/arm/mach-at91/sam9_smc.c

[PATCH 4/4] net: phy: add support for Marvell PHY drivers

2014-06-24 Thread Sebastian Hesselbarth
This adds initial support for Marvell PHY specific drivers. As a first PHY, a driver for MV88E1121R is ported over from Linux. Signed-off-by: Sebastian Hesselbarth --- Cc: barebox@lists.infradead.org --- drivers/net/phy/Kconfig | 5 ++ drivers/net/phy/Makefile | 1 + drivers/net/phy/marve

[PATCH 1/4] of: net: respect phy-connection-type property

2014-06-24 Thread Sebastian Hesselbarth
ePAPR defines phy-connection-type as standard property for PHY interface between Ethernet device and PHY device. Add corresponding property check to of_get_phy_mode. Signed-off-by: Sebastian Hesselbarth --- Cc: barebox@lists.infradead.org --- drivers/of/of_net.c | 2 ++ 1 file changed, 2 inserti

[PATCH 3/4] net: orion-gbe: extend RGMII detection to delayed modes

2014-06-24 Thread Sebastian Hesselbarth
RGMII PHY modes include delayed interface modes RGMII_ID, RGMII_TXID, and RGMII_RXID. Also check for those modes when setup RGMII mode in port serial ctrl register. Signed-off-by: Sebastian Hesselbarth --- Cc: barebox@lists.infradead.org --- drivers/net/orion-gbe.c | 5 - 1 file changed, 4 i

[PATCH 2/4] net: orion: generate unique port device names

2014-06-24 Thread Sebastian Hesselbarth
Marvell Orion ethernet IP originally is multi-port capable, but SoCs using the IP usually have multiple single-port controllers built in. Currently, orion-gbe driver registers each port device with a constant name, which causes a name conflict with multiple controller instances. This patch uniquif

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

2014-06-24 Thread Sebastian Hesselbarth
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 resolves a device name conflict on orion-gbe port names when using more than one

Re: [RFC] incorporate picotcp into barebox

2014-06-24 Thread Daniele Lacamera
On Tue, Jun 24, 2014 at 8:18 AM, Antony Pavlov wrote: > Hi, Daniele! > > Do you have any progress on introducing barebox-related ping and dhcp client > changes into picotcp? > > -- > Best regards, > Antony Pavlov Hello Antony, Yes, I've been working on the components themselves in order to com

Re: [PATCH 1/3] arm: imx6: move imx6_init_lowlevel to single initcall

2014-06-24 Thread Sascha Hauer
On Tue, Jun 24, 2014 at 08:33:14AM +0200, Lucas Stach wrote: > Instead of repeating the same lowlevel init for every board > move it to it's own initcall. > > Avoids code bloat and shaves off almost 1.5kB of uncompressed > barebox size for a default imx_v7_defconfig build. > > For boards wherethe

Re: [PATCH 0/7] MIPS: malta: enable gpio & i2c stuff

2014-06-24 Thread Sascha Hauer
On Tue, Jun 24, 2014 at 01:21:06AM +0400, Antony Pavlov wrote: > Antony Pavlov (7): > gpio: add Malta CBUS FPGA I2C driver > MIPS: add header file > MIPS: malta: enable gpiolib > MIPS: dts: qemu-malta.dts: enable CBUS FPGA I2C gpio driver > i2c: i2c_gpio: add devicetree support > MIPS:

Re: [PATCH 5/7] i2c: i2c_gpio: add devicetree support

2014-06-24 Thread Sascha Hauer
On Tue, Jun 24, 2014 at 01:21:11AM +0400, Antony Pavlov wrote: > Signed-off-by: Antony Pavlov > --- > .../devicetree/bindings/gpio/gpio_i2c.txt | 32 + > drivers/i2c/busses/i2c-gpio.c | 54 +++-- > include/of_gpio.h

Re: [PATCH 00/11] Convert MVEBU SoCs to DT and PBL_MULTI_IMAGE

2014-06-24 Thread Sascha Hauer
On Mon, Jun 23, 2014 at 10:10:51PM +0200, Sebastian Hesselbarth wrote: > This patch set converts Kirkwood and Armada 370/XP to DT and provides > PBL_MULTI_IMAGE support as we already have for Dove. > > Patch 1 resorts pbl entries in arch/arm/dts/Makefile back to alphabetical > order. > > Patch 2