Re: [PATCH v3 3/3] at91sam9g45: add device tree gpio clocks

2014-09-03 Thread Sascha Hauer
On Tue, Sep 02, 2014 at 01:08:00PM +0200, Raphaël Poggi wrote: Signed-off-by: Raphaël Poggi poggi.r...@gmail.com --- arch/arm/mach-at91/at91sam9g45.c |5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/mach-at91/at91sam9g45.c b/arch/arm/mach-at91/at91sam9g45.c index

Re: [PATCH v3 2/3] pinctrl: at91: add pinctrl driver

2014-09-03 Thread Sascha Hauer
On Tue, Sep 02, 2014 at 01:07:59PM +0200, Raphaël Poggi wrote: +static int at91_gpio_probe(struct device_d *dev) +{ + struct at91_gpio_chip *at91_gpio; + struct clk *clk; + int ret; + int alias_idx = of_alias_get_id(dev-device_node, gpio); + + BUG_ON(dev-id

Re: [PATCH v3 1/3] arm: mach-at91: move gpio.h to include folder

2014-09-03 Thread Sascha Hauer
On Tue, Sep 02, 2014 at 01:07:58PM +0200, Raphaël Poggi wrote: This commit add functions from mach-at91/gpio.h in include/mach/gpio.h. This allow to use these functions outside the mach-at91 folder. Signed-off-by: Raphaël Poggi poggi.r...@gmail.com Applied this one for now, thanks Sascha

Re: [PATCH] mtd: atmel_nand: fix null pointer dereference

2014-09-03 Thread Sascha Hauer
On Tue, Sep 02, 2014 at 09:04:48PM +0200, Raphaël Poggi wrote: I think this patch could be squash in [PATCH v3 3/3] mtd: atmel_nand: add support for device tree Did that, thanks. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions

Re: [PATCH v3 2/3] pinctrl: at91: add pinctrl driver

2014-09-03 Thread Raphaël Poggi
Sounds good, but files like at91samXXX_devices.c need gpio functions. I think the problem is that the mach-at91/gpio.c file include a gpio driver which not belong to be here, the right place is in the driver/pinctrl (like my patch). But all files like at91samXXX_devices.c are using the functions

[PATCH] EFI: add missing include

2014-09-03 Thread Michael Olbrich
Otherwise building produces these warnings: [...] arch/efi/efi/efi-image.c:48:2: warning: implicit declaration of function 'read_file' [-Wimplicit-function-declaration] arch/efi/efi/efi-image.c:48:6: warning: assignment makes pointer from integer without a cast [enabled by default] [...] And

Re: [PATCH v3 2/3] pinctrl: at91: add pinctrl driver

2014-09-03 Thread Sascha Hauer
On Wed, Sep 03, 2014 at 01:23:14PM +0200, Raphaël Poggi wrote: Sounds good, but files like at91samXXX_devices.c need gpio functions. I think the problem is that the mach-at91/gpio.c file include a gpio driver which not belong to be here, the right place is in the driver/pinctrl (like my

Re: [PATCH] EFI: add missing include

2014-09-03 Thread Sascha Hauer
On Wed, Sep 03, 2014 at 03:18:15PM +0200, Michael Olbrich wrote: Otherwise building produces these warnings: [...] arch/efi/efi/efi-image.c:48:2: warning: implicit declaration of function 'read_file' [-Wimplicit-function-declaration] arch/efi/efi/efi-image.c:48:6: warning: assignment makes

Re: [PATCH v3 2/3] pinctrl: at91: add pinctrl driver

2014-09-03 Thread Raphaël Poggi
This patch is perfect :-). You just miss to check the return value in at91_gpio_probe. Do I have to integrate this patch in mine ? or you will apply it yourself ? 2014-09-03 15:52 GMT+02:00 Sascha Hauer s.ha...@pengutronix.de: On Wed, Sep 03, 2014 at 01:23:14PM +0200, Raphaël Poggi wrote:

[PATCH] Documentation: .gitignore: ignore 'commands/' generated directory

2014-09-03 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- Documentation/.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/.gitignore b/Documentation/.gitignore index 1454566..5c36dc3 100644 --- a/Documentation/.gitignore +++ b/Documentation/.gitignore @@ -1,2 +1,3 @@

[PATCH] Makefile: remove never reached code

2014-09-03 Thread Bo Shen
Signed-off-by: Bo Shen voice.s...@atmel.com --- Makefile | 8 1 file changed, 8 deletions(-) diff --git a/Makefile b/Makefile index 5cd0369..7a7ad38 100644 --- a/Makefile +++ b/Makefile @@ -180,14 +180,6 @@ endif

Re: [PATCH] Makefile: remove never reached code

2014-09-03 Thread Bo Shen
Hi, Sorry for this noise, it goes wrong to the barebox ML. Please ignore it. On 09/04/2014 09:43 AM, Bo Shen wrote: Signed-off-by: Bo Shen voice.s...@atmel.com --- Makefile | 8 1 file changed, 8 deletions(-) diff --git a/Makefile b/Makefile index 5cd0369..7a7ad38 100644 ---