[PATCH 2/2] ARM: i.MX53: dts: add support for MCIMX53-START-R

2014-01-09 Thread Steffen Trumtrar
The start-r QSB has a different pmic than the older start QSB. Add a new dts for the QSRB and let barebox generate two images when LOCO is selected. Signed-off-by: Steffen Trumtrar --- arch/arm/boards/freescale-mx53-loco/lowlevel.c | 13 +++ arch/arm/dts/Makefile | 3

[PATCH 1/2] ARM: i.MX53: dts: move QSB pmic to own file

2014-01-09 Thread Steffen Trumtrar
There are two versions of the i.MX53 LOCO: - the MCIMX53-START board - the MCIMX53-START-R board The MCIMX53-START-R has a mc34708 pmic and is otherwise the similar to the MCIMX53-START. To prepare for the START-R, move all common nodes to a new imx53-qsb-common.dtsi and re

Re: [PATCH] Make number of GPT partitions a configurable option

2014-01-09 Thread Santosh Sivaraj
* Santosh Sivaraj wrote (on 2014-01-09 21:36:41 +0530): adding list, missed it. > * Jean-Christophe PLAGNIOL-VILLARD wrote (on > 2014-01-09 08:29:14 +0100): > > > On 15:07 Wed 08 Jan , Sascha Hauer wrote: > > > Hi Santosh, > > > > > > On Wed, Jan 08, 2014 at 08:15:39AM +0530, Santosh Siv

[PATCH 1/3] gpiolib: gpio_request(): print message on error

2014-01-09 Thread Antony Pavlov
Just copy gpiod_request() function logic from linux-v3.13-rc7. Signed-off-by: Antony Pavlov --- drivers/gpio/gpiolib.c | 23 +-- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c index cafef90..b7430b0 100644 --- a/

[PATCH 3/3] gpiolib: gpiolib command: show label only for requested pins

2014-01-09 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- drivers/gpio/gpiolib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c index 5f13d5f..193c36c 100644 --- a/drivers/gpio/gpiolib.c +++ b/drivers/gpio/gpiolib.c @@ -334,7 +334,7 @@ static int do_gpi

[PATCH 0/3] gpiolib: add checks and error message

2014-01-09 Thread Antony Pavlov
This patchseries adds additional trivial checks and error message. [PATCH 1/3] gpiolib: gpio_request(): print message on error [PATCH 2/3] gpiolib: gpio_free: clear gpio's "label" field too [PATCH 3/3] gpiolib: gpiolib command: show label only for requested ___

[PATCH 2/3] gpiolib: gpio_free: clear gpio's "label" field too

2014-01-09 Thread Antony Pavlov
If an error occured during gpio_request_array() then we can get not requested gpio with nonempty garbage "label" field value. Afterward the "gpiolib" command can try to use this nonempty garbage value. This patch prevents this error situation. Signed-off-by: Antony Pavlov --- drivers/gpio/gpiol

Porting barebox (devicetree) to Variscite iMX6 SOM

2014-01-09 Thread Michael Burkey
Sascha, Since I am still having issues with the kernel booting -- and needed a bit of a break to clear my mind -- I decided to delve into the initial barebox bootup from NAND a bit more. Correct me if I am wrong, but how I understand things right now... The iMX6 requires a BCB header prior to th

Re: [PATCH] of: platform: Fix possible crash

2014-01-09 Thread Sascha Hauer
On Tue, Jan 07, 2014 at 10:48:17PM +0400, Alexander Shiyan wrote: > "dev" may uninitialized or points to incorrect device. Nice catch. Applied and while at it made the message more informative: debug("%s: register device %s, io=0x%08x\n", __func__, dev_name(dev), (num_reg)

Re: [PATCH 1/2] ARM: i.MX51: Sync DT files with kernel

2014-01-09 Thread Alexander Shiyan
Hello. Пятница, 10 января 2014, 8:39 +01:00 от Sascha Hauer : > On Wed, Jan 08, 2014 at 09:44:15AM +0400, Alexander Shiyan wrote: > > This patch includes update i.MX51 template and porting some barebox > > DTS files to use new template. > > > > Signed-off-by: Alexander Shiyan > > Applied, thank