Re: [PATCH v2 00/19] PCI and Tegra series revamp

2014-10-07 Thread Sascha Hauer
On Sat, Oct 04, 2014 at 07:40:06PM +0200, Lucas Stach wrote: > Ok, I got around to work a bit more on this. I now > actually finished the rtl8169 network driver, so > this series yields working PCI attached ethernet > on Tegra30 Beaver. > > For Jetson K1 some work is left to setup the PHYs, but >

Re: [PATCH 1/2] ARM: tegra30: add environment path to Beaver DT

2014-10-07 Thread Sascha Hauer
On Sun, Oct 05, 2014 at 09:39:42PM +0200, Lucas Stach wrote: > Signed-off-by: Lucas Stach > --- > arch/arm/dts/tegra30-beaver.dts | 9 - > 1 file changed, 8 insertions(+), 1 deletion(-) Applied both, thanks Sascha > > diff --git a/arch/arm/dts/tegra30-beaver.dts b/arch/arm/dts/tegra30

[PATCH] input: Let input support depend on !CONSOLE_NONE

2014-10-07 Thread Sascha Hauer
Without console support the input devices make no sense, so add a depends on !CONSOLE_NONE. Signed-off-by: Sascha Hauer --- drivers/input/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/Kconfig b/drivers/input/Kconfig index 07545ed..b4e86fd 100644 --- a/drivers/input/Kc

Re: most xxx_defconfig stop linking when console support set to CONSOLE_NONE

2014-10-07 Thread Sascha Hauer
Hi Kevin, On Wed, Oct 08, 2014 at 01:42:36PM +0800, Kevin Du Huanpeng wrote: > > I am confusing with CONSOLE_NONE, what is it mean? > 1. the board don't have a console? > is the board still can have a serial port, but not accepts input? > 2. where should the debug messages go? > t

most xxx_defconfig stop linking when console support set to CONSOLE_NONE

2014-10-07 Thread Kevin Du Huanpeng
Hi, I find that most xxx_defconfig stop linking when console support set to CONSOLE_NONE compile log like: http://paste.ubuntu.com/8518456/ - - - - | Symbol: CONSOLE_NONE [=y] | | Type : boolean

[no subject]

2014-10-07 Thread Kevin Du Huanpeng
Hi, I find that most xxx_defconfig stop linking when console support set to CONSOLE_NONE compile log like: http://paste.ubuntu.com/8518456/ - - - - | Symbol: CONSOLE_NONE [=y] | | Type : boolean

Re: [PATCH] pci: split out device init

2014-10-07 Thread Antony Pavlov
On Tue, 7 Oct 2014 19:42:06 +0400 Antony Pavlov wrote: Please ignore this message. Sorry! > From: Lucas Stach > > To make it reusable and the code more readable. > > Signed-off-by: Lucas Stach > --- > drivers/pci/pci.c | 137 > +- > 1 f

[PATCH] clock.c: fix whitespaces

2014-10-07 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- common/clock.c | 94 +- 1 file changed, 47 insertions(+), 47 deletions(-) diff --git a/common/clock.c b/common/clock.c index 76ce881..2ee81da 100644 --- a/common/clock.c +++ b/common/clock.c @@ -41,25 +41,25

[PATCH] pci: split out device init

2014-10-07 Thread Antony Pavlov
From: Lucas Stach To make it reusable and the code more readable. Signed-off-by: Lucas Stach --- drivers/pci/pci.c | 137 +- 1 file changed, 74 insertions(+), 63 deletions(-) diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index a1b7680..

[PATCH] clock.c: fix whitespaces

2014-10-07 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- common/clock.c | 94 +- 1 file changed, 47 insertions(+), 47 deletions(-) diff --git a/common/clock.c b/common/clock.c index 76ce881..2ee81da 100644 --- a/common/clock.c +++ b/common/clock.c @@ -41,25 +41,25

[PATCH 13/19] MPC5xxx/serial: re-factor the code to share it between MPC5200/MPC5125

2014-10-07 Thread Juergen Borleis
The MPC5200 and MPC5125 PSC units differs in: - register layout and status and control bits - configuration (baudrate, data format) - FIFO handling - clocking Signed-off-by: Juergen Borleis --- drivers/serial/serial_mpc5xxx.c | 84 ++--- 1 file changed, 6

[PATCH 17/19] MPC5125/FEC: add another FEC driver for the MPC5125 SoC

2014-10-07 Thread Juergen Borleis
This FEC differs slightly from the one used in the MPC5200. Maybe both can share the most of the code, but I'm not sure if its worth the effort. Note: this is tested on a MPC2125 only. It might work on an MPC5121/MPC5123 as well, but it's untested. Signed-off-by: Juergen Borleis --- drivers/net/

[PATCH 14/19] arch/MPC5xxx: add MPC5125 SoC support

2014-10-07 Thread Juergen Borleis
The MPC5125 shares most of the internals with the MPC52000 but differs in many details. It also differs from the the MPC5121/MPC5123, so the latter SoCs are not supported yet. Signed-off-by: Juergen Borleis --- arch/ppc/include/asm/processor.h | 11 + arch/ppc/lib/Makefile

[PATCH 07/19] arch/MPC5xxx: separate architecture's main SoC header file

2014-10-07 Thread Juergen Borleis
Signed-off-by: Juergen Borleis --- arch/ppc/mach-mpc5xxx/include/mach/mpc5200.h | 794 +++ arch/ppc/mach-mpc5xxx/include/mach/mpc5xxx.h | 793 +- 2 files changed, 798 insertions(+), 789 deletions(-) create mode 100644 arch/ppc/mach-mpc5xxx/include/

[PATCH 01/19] arch/MPC5xxx: fix linker script for MPC5200

2014-10-07 Thread Juergen Borleis
Without this change the barebox.bin ends up with: 79 ba 8f 79 00 00 00 00 75 39 6e d1 74 27 00 00 |y..yu9n.t'..| 0010 01 00 00 00 00 00 00 00 28 80 ad db 8d c7 a8 67 |(..g| 0020 4e 07 00 00 10 00 00 00 2f 63 6f 6e 66 69 67 00 |N.../config.| 0030 8

[PATCH 08/19] arch/MPC5xxx: separate clock functions

2014-10-07 Thread Juergen Borleis
In order to support the MPC5125 SoC we need a different set of clock functions. Signed-off-by: Juergen Borleis --- arch/ppc/mach-mpc5xxx/include/mach/clocks.h | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/ppc/mach-mpc5xxx/include/mach/clocks.h b/arch/ppc/mach-

[PATCH 15/19] arch/MPC5xxx: add MPC5125 to the build-system

2014-10-07 Thread Juergen Borleis
Signed-off-by: Juergen Borleis --- arch/ppc/Makefile| 1 + arch/ppc/mach-mpc5xxx/Kconfig| 8 arch/ppc/mach-mpc5xxx/Makefile | 6 ++ arch/ppc/mach-mpc5xxx/include/mach/mpc5xxx.h | 2 ++ 4 files changed, 17 insertions(+) diff -

[PATCH 11/19] MPC5xxx/serial: provide an easier way to share register description

2014-10-07 Thread Juergen Borleis
Separate the register definition to be able to add more SoCs to use them. Signed-off-by: Juergen Borleis --- arch/ppc/mach-mpc5xxx/include/mach/mpc5xxx_psc.h | 154 +++ 1 file changed, 154 insertions(+) create mode 100644 arch/ppc/mach-mpc5xxx/include/mach/mpc5xxx_psc.h dif

[PATCH 18/19] MPC5125/WDG: add a watchdog driver

2014-10-07 Thread Juergen Borleis
This watchdog is always enabled after reset and can be configured only once. Signed-off-by: Juergen Borleis --- drivers/watchdog/Kconfig | 6 ++ drivers/watchdog/Makefile | 1 + drivers/watchdog/mpc5125.c | 148 + 3 files changed, 155 insertions

[PATCH 12/19] MPC5xxx/serial: use new shared register description

2014-10-07 Thread Juergen Borleis
Signed-off-by: Juergen Borleis --- arch/ppc/mach-mpc5xxx/include/mach/mpc5200.h | 154 --- drivers/serial/serial_mpc5xxx.c | 1 + 2 files changed, 1 insertion(+), 154 deletions(-) diff --git a/arch/ppc/mach-mpc5xxx/include/mach/mpc5200.h b/arch/ppc/mach-mp

[PATCH 19/19] MPC5125/GPIO: add a generic GPIO driver

2014-10-07 Thread Juergen Borleis
The MPC5125 can handle up to 64 GPIOs divided in two units to control them. Note: this driver cannot be used with a MPC521 or MPC5123! Signed-off-by: Juergen Borleis --- arch/ppc/include/asm/gpio.h | 28 ++ arch/ppc/mach-mpc5xxx/Kconfig| 1 + arch/ppc/mach

[RFC] Add PowerPC MPC5125 support

2014-10-07 Thread Juergen Borleis
This is a try to add the MPC5125 SoC to Barebox. This kind of SoC shares some embedded devices with the MPC5200 and the MPC5121/MPC5123 (at least it uses the same names for them) but differs in many annoying details. So this adaption can only be used on a MPC5125 and is completely untested on MPC51

[PATCH 09/19] arch/MPC5xxx: just use macros instead of anonymous digits

2014-10-07 Thread Juergen Borleis
Signed-off-by: Juergen Borleis --- arch/ppc/mach-mpc5xxx/include/mach/mpc5200.h | 1 + arch/ppc/mach-mpc5xxx/start.S| 12 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/arch/ppc/mach-mpc5xxx/include/mach/mpc5200.h b/arch/ppc/mach-mpc5xxx/include/mach

[PATCH 02/19] arch/MPC5xxx: use a mach specific linker script instead of a board specific one

2014-10-07 Thread Juergen Borleis
For easier maintenance in the future. Signed-off-by: Juergen Borleis --- arch/ppc/Makefile | 5 - arch/ppc/boards/pcm030/Makefile| 1 - arch/ppc/mach-mpc5xxx/Makefile | 1 + arch/ppc/{boards/pcm030 => mach-m

[PATCH 10/19] MPC5xxx/serial: use dedicated I/O functions instead of memory access

2014-10-07 Thread Juergen Borleis
This forces the driver to use the hardware synchronized commands. Signed-off-by: Juergen Borleis --- drivers/serial/serial_mpc5xxx.c | 37 +++-- 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/drivers/serial/serial_mpc5xxx.c b/drivers/serial/serial

[PATCH 04/19] arch/MPC5xxx: Simplify the calculation

2014-10-07 Thread Juergen Borleis
Signed-off-by: Juergen Borleis --- arch/ppc/mach-mpc5xxx/start.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/ppc/mach-mpc5xxx/start.S b/arch/ppc/mach-mpc5xxx/start.S index 291f625..6a32718 100644 --- a/arch/ppc/mach-mpc5xxx/start.S +++ b/arch/ppc/mach-mpc5xxx/st

[PATCH 06/19] arch/MPC5xxx: move away existing files to be able to add a new SoC type

2014-10-07 Thread Juergen Borleis
Signed-off-by: Juergen Borleis --- arch/ppc/mach-mpc5xxx/Makefile | 8 arch/ppc/mach-mpc5xxx/{cpu.c => cpu-mpc5200.c} | 0 arch/ppc/mach-mpc5xxx/{cpu_init.c => cpu_init-mpc5200.c} | 0 arch/ppc/mach-mpc5xxx/{speed.c => speed-mpc5200.c} | 0 4 fil

[PATCH 16/19] MPC5xxx/serial: add support for the MPC5125 SoC

2014-10-07 Thread Juergen Borleis
Signed-off-by: Juergen Borleis --- arch/ppc/mach-mpc5xxx/include/mach/mpc5xxx_psc.h | 98 ++ drivers/serial/Kconfig | 4 +- drivers/serial/serial_mpc5xxx.c | 157 +++ 3 files changed, 257 insertions(+), 2 deletions(-)

[PATCH 03/19] arch/MPC5xxx: replace 'depends on' by 'select'

2014-10-07 Thread Juergen Borleis
This change will simplify the addition of new SOCs. Signed-off-by: Juergen Borleis --- arch/ppc/mach-mpc5xxx/Kconfig | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/arch/ppc/mach-mpc5xxx/Kconfig b/arch/ppc/mach-mpc5xxx/Kconfig index 1ecce3a..5eebf2a 100644 --- a/arch

[PATCH 05/19] arch/MPC5xxx: just a format clean up

2014-10-07 Thread Juergen Borleis
Signed-off-by: Juergen Borleis --- arch/ppc/mach-mpc5xxx/start.S | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/ppc/mach-mpc5xxx/start.S b/arch/ppc/mach-mpc5xxx/start.S index 6a32718..8402345 100644 --- a/arch/ppc/mach-mpc5xxx/start.S +++ b/arch/ppc/mach-mpc5xxx/start.

Re: at91 usbserial issue

2014-10-07 Thread Grégory Hermant
Hi Sacha, Thanks for your feedback. Greg On 06/10/2014 07:52, Sascha Hauer wrote: > Hi Greg, > > On Fri, Oct 03, 2014 at 09:05:17AM +0200, Grégory Hermant wrote: >> Hi all, >> The usbserial seems to be broken for board equipped with an Atmel >> sam9260/9g20 Soc. >> I ran the lastest version of b

[PATCH 3/4] boards: Add phytec-phyflex-am335x

2014-10-07 Thread Teresa Gámez
From: Stefan Müller-Klieser Add support for PHYTEC's phyFLEX-AM335x. Signed-off-by: Stefan Müller-Klieser [clean ups] Signed-off-by: Teresa Gámez --- arch/arm/boards/Makefile | 1 + arch/arm/boards/phytec-phyflex-am335x/Makefile | 3 + arch/arm/boards/phytec-

[PATCH 0/4] Add phyFLEX-AM335x support

2014-10-07 Thread Teresa Gámez
This patchset adds phyFLEX-AM335x support. This is based on Jan's work and was rewitten for device tree and multi image support by Stefan. I cleaned up the code and rebased it to master. Teresa Jan Weitzel (2): net: cpsw: Allow gigabit connection net: micrel: Add ksz8081 support Stefan Mülle

[PATCH 1/4] net: cpsw: Allow gigabit connection

2014-10-07 Thread Teresa Gámez
From: Jan Weitzel Signed-off-by: Jan Weitzel --- drivers/net/cpsw.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/cpsw.c b/drivers/net/cpsw.c index 167b2dd..50890c4 100644 --- a/drivers/net/cpsw.c +++ b/drivers/net/cpsw.c @@ -581,8 +581,7 @@ static void cpsw_

[PATCH 2/4] net: micrel: Add ksz8081 support

2014-10-07 Thread Teresa Gámez
From: Jan Weitzel Signed-off-by: Jan Weitzel --- drivers/net/phy/micrel.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c index 88c64e5..866391c 100644 --- a/drivers/net/phy/micrel.c +++ b/drivers/net/phy/micrel.c

[PATCH 4/4] pfla03: add to am335x_defconfig

2014-10-07 Thread Teresa Gámez
From: Stefan Müller-Klieser Signed-off-by: Stefan Müller-Klieser --- arch/arm/configs/am335x_defconfig | 1 + arch/arm/configs/am335x_mlo_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm/configs/am335x_defconfig b/arch/arm/configs/am335x_defconfig index 6ef9c83..0f9