Re: Troubles running qemu64 target

2018-06-29 Thread Raphaël Poggi
Hi Guillaume & Andrew, Le ven. 29 juin 2018 à 01:46, Andrey Smirnov a écrit : > > Guillaume: > > I haven't used QEMU ARM64 version of the code, but I have spent some > time on i.MX8M which is ARM64 as well. See my comments below. > > On Thu, Jun 28, 2018 at 6:46 AM ranquet guillaume > wrote: >

Re: [PATCH v4 0/12] Add basic support for arm64

2016-07-04 Thread Raphaël Poggi
Hi, 2016-07-04 9:27 GMT+02:00 Sascha Hauer : > Hi Raphael, > > On Wed, Jun 29, 2016 at 10:22:07AM +0200, Raphael Poggi wrote: >> This patch series introduces a basic support for arm64. >> >> The arm64 code is merged in the current arch/arm directory. >> I try to be

Re: [PATCH v3 03/14] arm: introduce lib64 for arm64 related stuff

2016-06-29 Thread Raphaël Poggi
2016-06-29 8:00 GMT+02:00 Sascha Hauer <s.ha...@pengutronix.de>: > On Tue, Jun 28, 2016 at 09:15:06AM +0200, Raphaël Poggi wrote: >> 2016-06-28 8:47 GMT+02:00 Sascha Hauer <s.ha...@pengutronix.de>: >> > On Fri, Jun 24, 2016 at 02:23:50PM +0200, Raphael Poggi wrote

Re: [PATCH v3 03/14] arm: introduce lib64 for arm64 related stuff

2016-06-28 Thread Raphaël Poggi
2016-06-28 8:47 GMT+02:00 Sascha Hauer : > On Fri, Jun 24, 2016 at 02:23:50PM +0200, Raphael Poggi wrote: >> Signed-off-by: Raphael Poggi >> --- >> arch/arm/lib64/Makefile| 10 + >> arch/arm/lib64/armlinux.c | 104 >>

Re: [PATCH v3 06/14] arm: cpu: start: arm64 does not support relocation

2016-06-28 Thread Raphaël Poggi
2016-06-28 8:50 GMT+02:00 Sascha Hauer : > On Fri, Jun 24, 2016 at 02:23:53PM +0200, Raphael Poggi wrote: >> For now, the relocation is not supported in arm64, so >> enclosed call to "setup_c" with #if directive >> >> Signed-off-by: Raphael Poggi >>

Re:

2016-06-24 Thread Raphaël Poggi
Hi Sascha, Beside the comments on [PATCH 01/12] and [PATCH 03/12], do you have any comments about the series ? I have a v3 series ready to be sent (with your recent suggestions). Thanks, Raphaël 2016-06-14 9:06 GMT+02:00 Raphael Poggi : > Change since v1: > PATCH

Re: [PATCH v2 01/12] arm: add armv8 Kconfig entries

2016-06-23 Thread Raphaël Poggi
2016-06-15 8:33 GMT+02:00 Sascha Hauer : > Hi Raphael, > > On Tue, Jun 14, 2016 at 09:06:35AM +0200, Raphael Poggi wrote: >> Signed-off-by: Raphael Poggi >> --- >> arch/arm/Kconfig | 23 +++ >> arch/arm/cpu/Kconfig | 29

Re: [PATCH 12/12] arm: boards: add virt board

2016-06-07 Thread Raphaël Poggi
2016-06-07 14:59 GMT+02:00 Antony Pavlov <antonynpav...@gmail.com>: > On Tue, 7 Jun 2016 13:53:49 +0200 > Raphaël Poggi <poggi.r...@gmail.com> wrote: > >> 2016-06-07 13:00 GMT+02:00 Antony Pavlov <antonynpav...@gmail.com>: >> > On Thu, 2 Jun 2016

Re: [PATCH 12/12] arm: boards: add virt board

2016-06-07 Thread Raphaël Poggi
2016-06-07 13:00 GMT+02:00 Antony Pavlov : > On Thu, 2 Jun 2016 10:06:58 +0200 > Raphael Poggi wrote: > >> Add qemu virt board which emulates arm64 board. >> >> Signed-off-by: Raphael Poggi >> --- >> arch/arm/Kconfig

Re: [PATCH 12/12] arm: boards: add virt board

2016-06-07 Thread Raphaël Poggi
gt;> new file mode 100644 >> index 000..eb072c0 >> --- /dev/null >> +++ b/arch/arm/boards/virt/Makefile >> @@ -0,0 +1 @@ >> +obj-y += init.o >> diff --git a/arch/arm/boards/virt/env/bin/_update >> b/arch/arm/boards/virt/env/bin/_update > &g

Re: [PATCH 0/12] Add basic support for arm64

2016-06-03 Thread Raphaël Poggi
Hi, 2016-06-03 11:16 GMT+02:00 Sascha Hauer : > On Thu, Jun 02, 2016 at 10:06:46AM +0200, Raphael Poggi wrote: >> Hello, >> >> This patch series introduces a basic support for arm64. >> >> The arm64 code is merged in the current arch/arm directory. >> I try to be iterative

Re: [PATCH 02/12] arm: Makefile: rework makefile to handle armv8

2016-06-03 Thread Raphaël Poggi
2016-06-03 9:27 GMT+02:00 Sascha Hauer : > On Thu, Jun 02, 2016 at 10:06:48AM +0200, Raphael Poggi wrote: >> Signed-off-by: Raphael Poggi >> --- >> arch/arm/Makefile | 30 -- >> 1 file changed, 28 insertions(+), 2

Re: [PATCH] bitops: fls64: add missing include

2016-04-15 Thread Raphaël Poggi
2016-04-14 9:58 GMT+02:00 Sascha Hauer : > On Wed, Apr 13, 2016 at 04:18:58PM +0200, Raphael Poggi wrote: >> Signed-off-by: Raphael Poggi >> --- >> include/asm-generic/bitops/fls64.h | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git

Re: support of arm64 architecture

2016-04-11 Thread Raphaël Poggi
.de>: > Hi Raphaël, > > On Fri, Apr 08, 2016 at 02:01:21PM +0200, Raphaël Poggi wrote: >> Hi all, >> >> I am working on porting barebox on arm64 architecture. >> >> So I have some questions about it: >> >> - Is there any interest for b

support of arm64 architecture

2016-04-08 Thread Raphaël Poggi
nd a patch with [RFC] tag is needed. If you have any suggestions or questions, tell me. Thank you, Raphaël Poggi ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

[PATCH] i2c: at91: add at91sam9x5 config

2014-09-24 Thread Raphaël Poggi
Signed-off-by: Raphaël Poggi poggi.r...@gmail.com --- drivers/i2c/busses/i2c-at91.c | 19 ++- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/drivers/i2c/busses/i2c-at91.c b/drivers/i2c/busses/i2c-at91.c index 2ce3fa3..9490822 100644 --- a/drivers/i2c/busses/i2c

[PATCH] i2c: at91: fix coding style issue

2014-09-24 Thread Raphaël Poggi
Signed-off-by: Raphaël Poggi poggi.r...@gmail.com --- drivers/i2c/busses/i2c-at91.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/i2c/busses/i2c-at91.c b/drivers/i2c/busses/i2c-at91.c index 399f6a9..2ce3fa3 100644 --- a/drivers/i2c/busses/i2c-at91.c +++ b/drivers

[PATCH] I2C: at91: fix the method for interrupt

2014-09-24 Thread Raphaël Poggi
From: Bo Shen voice.s...@atmel.com As the i2c-at91 driver won't work in the interrupt mode, so need to poll the interrupts. Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/i2c/busses/i2c-at91.c | 38 +++--- 1 file changed, 23 insertions(+), 15

[PATCH] i2c: at91: add support of device tree

2014-09-24 Thread Raphaël Poggi
Signed-off-by: Raphaël Poggi poggi.r...@gmail.com --- drivers/i2c/busses/i2c-at91.c | 41 ++--- 1 file changed, 34 insertions(+), 7 deletions(-) diff --git a/drivers/i2c/busses/i2c-at91.c b/drivers/i2c/busses/i2c-at91.c index 9490822..a2236ed 100644

[PATCH] of: fdt: fix typo in header

2014-09-24 Thread Raphaël Poggi
Signed-off-by: Raphaël Poggi poggi.r...@gmail.com --- drivers/of/fdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c index 8e4c775..cfe1833 100644 --- a/drivers/of/fdt.c +++ b/drivers/of/fdt.c @@ -1,5 +1,5 @@ /* - * dtb.c - flat

[PATCH] I2C: at91: fix the method for interrupt

2014-09-17 Thread Raphaël Poggi
From: Bo Shen voice.s...@atmel.com As the i2c-at91 driver won't work in the interrupt mode, so need to poll the interrupts. Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/i2c/busses/i2c-at91.c | 38 +++--- 1 file changed, 23 insertions(+), 15

[PATCH] i2c: at91: add support of device tree

2014-09-17 Thread Raphaël Poggi
Signed-off-by: Raphaël Poggi poggi.r...@gmail.com --- drivers/i2c/busses/i2c-at91.c | 91 ++- 1 file changed, 73 insertions(+), 18 deletions(-) diff --git a/drivers/i2c/busses/i2c-at91.c b/drivers/i2c/busses/i2c-at91.c index 399f6a9..6494401 100644

Re: [PATCH 8/9] ARM: at91: add sama5d4 soc support #2

2014-09-17 Thread Raphaël Poggi
/listinfo/barebox Thanks, Raphaël Poggi ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

Re: AT91 pinctrl/gpio fixes

2014-09-09 Thread Raphaël Poggi
will take care of that. Thanks, Raphaël 2014-09-09 10:19 GMT+02:00 Sascha Hauer s.ha...@pengutronix.de: On Mon, Sep 08, 2014 at 03:36:16PM +0200, Raphaël Poggi wrote: Hello, I just send patchs, to fix all this issues. Not really all, there are still some compile errors in a board you don't compile

[PATCH] pinctrl: at91: add driver data

2014-09-08 Thread Raphaël Poggi
This commit adds the driver data for the gpio-at91 driver. Signed-off-by: Raphaël Poggi poggi.r...@gmail.com --- drivers/pinctrl/pinctrl-at91.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c index d3423d0..29e54cf

[PATCH] pinctrl: at91: fix the pin_to_controller function

2014-09-08 Thread Raphaël Poggi
Other functions use pin_to_controller to retrieve a at91_gpio_chip structure, so fix pin_to_controller to return the correct value. Signed-off-by: Raphaël Poggi poggi.r...@gmail.com --- drivers/pinctrl/pinctrl-at91.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers

[PATCH] pinctrl: at91: retrieve device id in non dtb probe

2014-09-08 Thread Raphaël Poggi
We need to retrieve the device id in device tree/non device tree case. Signed-off-by: Raphaël Poggi poggi.r...@gmail.com --- drivers/pinctrl/pinctrl-at91.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl

[PATCH] mach-at91: declare device tree clock

2014-09-08 Thread Raphaël Poggi
This commit use the clkdev_add_physbase function, to declare device tree and non device tree gpio clocks. Signed-off-by: Raphaël Poggi poggi.r...@gmail.com --- arch/arm/mach-at91/at91sam9g45.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-at91

Re: AT91 pinctrl/gpio fixes

2014-09-08 Thread Raphaël Poggi
Hello, I just send patchs, to fix all this issues. 2014-09-08 15:23 GMT+02:00 Sascha Hauer s.ha...@pengutronix.de: Unfortunately the transition to pinctrl for AT91 caused some damage. The 926x do not compile anymore. Even when this is fixed the boards won't work since the new pinctrl driver

[PATCH v2] pinctrl: at91: add driver data

2014-09-08 Thread Raphaël Poggi
This commit adds the driver data for the gpio-at91 driver. Signed-off-by: Raphaël Poggi poggi.r...@gmail.com --- drivers/pinctrl/pinctrl-at91.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c index d3423d0..3c6b38c

[PATCH v2] mach-at91: declare device tree clock

2014-09-08 Thread Raphaël Poggi
This commit use the clkdev_add_physbase function, to declare device tree and non device tree gpio clocks. Signed-off-by: Raphaël Poggi poggi.r...@gmail.com --- arch/arm/mach-at91/at91sam9g45.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-at91

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

2014-09-04 Thread Raphaël Poggi
Perfect thank you, so I just have to send one patch for the gpio clock registration. 2014-09-04 11:26 GMT+02:00 Sascha Hauer s.ha...@pengutronix.de: On Wed, Sep 03, 2014 at 05:10:33PM +0200, Raphaël Poggi wrote: This patch is perfect :-). You just miss to check the return value

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

2014-09-03 Thread Raphaël Poggi
: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 MAX_GPIO_BANKS); + + at91_gpio

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

Re: [PATCH v2 1/2] pinctrl: at91: add pinctrl driver

2014-09-02 Thread Raphaël Poggi
Hi, I can add all the functions from mach-at91/gpio.h in mach-at91/include/gpio.h and remove mach-at91/gpio.h. Is this a valid solution ? 2014-09-01 12:08 GMT+02:00 Sascha Hauer s.ha...@pengutronix.de: On Tue, Aug 05, 2014 at 01:09:16PM -0700, Raphaël Poggi wrote: diff --git a/drivers/pinctrl

[PATCH v3 0/3] Add atmel pinctrl driver

2014-09-02 Thread Raphaël Poggi
pinctrl/gpio driver and the corresponding clocks for the at91sam9g45 device. The pinctrl driver also include the gpio driver (like in linux) because the gpio and pinctrl parts share same structures. Raphaël Poggi (3): (1) arm: mach-at91: move gpio.h to include folder (2) pinctrl

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

2014-09-02 Thread Raphaël Poggi
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 d19d26a..8c020fa 100644 --- a/arch/arm/mach-at91/at91sam9g45.c +++ b/arch

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

2014-09-02 Thread Raphaël Poggi
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 --- arch/arm/mach-at91/gpio.c |2 +- arch/arm/mach-at91/gpio.h | 148

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

2014-09-02 Thread Raphaël Poggi
This driver is based on mach-at91/gpio.c and linux pinctrl driver. The driver contains the gpio and pinctrl parts (like in linux) because the two parts share some structures and logics. Signed-off-by: Raphaël Poggi poggi.r...@gmail.com --- drivers/pinctrl/Kconfig|6 + drivers

[PATCH] mtd: atmel_nand: fix null pointer dereference

2014-09-02 Thread Raphaël Poggi
We need to allocate pdata for device tree and non device tree probe. In device tree probe we use pdata to fill structure member with dts data. In non device tree probe we use the pdata to handle platform_data. Signed-off-by: Raphaël Poggi poggi.r...@gmail.com --- drivers/mtd/nand/atmel_nand.c

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

2014-09-02 Thread Raphaël Poggi
I think this patch could be squash in [PATCH v3 3/3] mtd: atmel_nand: add support for device tree 2014-09-02 21:02 GMT+02:00 Raphaël Poggi poggi.r...@gmail.com: We need to allocate pdata for device tree and non device tree probe. In device tree probe we use pdata to fill structure member

[PATCH v3 3/3] mtd: atmel_nand: add support for device tree

2014-09-01 Thread Raphaël Poggi
Signed-off-by: Raphaël Poggi poggi.r...@gmail.com --- drivers/mtd/nand/atmel_nand.c | 111 - 1 file changed, 110 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c index 2246602..910ecc3 100644

[PATCH v3 0/3] Add device tree support of Atmel NAND driver

2014-09-01 Thread Raphaël Poggi
. With this, we can use the same logics for device tree and non device tree probing of the driver. It also adds the ecc_mode on boards which are missing it (boards which use NAND_ECC_SOFT). The third patch adds the device tree in the atmel_nand driver. Raphaël Poggi (4): (1) mtd: nand: add has_pmecc

[PATCH v3 2/3] mtd: atmel_nand: retrieve ecc_mode from pdata

2014-09-01 Thread Raphaël Poggi
By retrieving the ecc_mode from pdata we can use the same code for device tree and non device tree probing. Which was not possible before, because ecc_mode was arbitrarily set to NAND_ECC_SOFT. Signed-off-by: Raphaël Poggi poggi.r...@gmail.com --- arch/arm/boards/at91sam9260ek/init.c|1

Re: [PATCH 1/2] pinctrl: at91: add pinctrl driver

2014-08-06 Thread Raphaël Poggi
Ok, let's do it like that Best regards, Raphaël Poggi 2014-08-06 5:48 GMT+02:00 Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com: On Aug 6, 2014, at 11:46 AM, Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com wrote: On Aug 5, 2014, at 7:38 PM, Raphaël Poggi raphi...@gmail.com

Re: [PATCH V2 0/2] Add device tree support of i2c Atmel driver

2014-08-06 Thread Raphaël Poggi
Ok, about the signed-off, do I have to let your name ? or my name + your name ? Sorry if my question seems stupid, but i'm new to open source development. 2014-08-06 3:06 GMT+02:00 Bo Shen voice.s...@atmel.com: Hi Raphaël Poggi, On 08/06/2014 04:05 AM, Raphaël Poggi wrote: I am ready

Re: [PATCH 1/5] mtd: nand: remove NAND_ATMEL_PMECC

2014-08-06 Thread Raphaël Poggi
handle device tree/non device tree probing. Or maybe you have a better idea. Best regards, Raphaël Poggi 2014-08-06 6:08 GMT+02:00 Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com: On 11:14 Tue 05 Aug , Rapha??l Poggi wrote: By removing this CONFIG_, we can use a structure member

Re: [PATCH V2 0/2] Add device tree support of i2c Atmel driver

2014-08-06 Thread Raphaël Poggi
All right, thanks. Raphaël Poggi 2014-08-06 9:33 GMT+02:00 Bo Shen voice.s...@atmel.com: Hi Raphaël Poggi, On 08/06/2014 03:16 PM, Raphaël Poggi wrote: Ok, about the signed-off, do I have to let your name ? or my name + your name ? Sorry if my question seems stupid, but i'm new to open

[PATCH v3 2/3] at91sam9g45: clock: add i2c clocks

2014-08-06 Thread Raphaël Poggi
Add the device tree and non device tree at91 i2c clocks. Signed-off-by: Raphaël Poggi poggi.r...@gmail.com --- arch/arm/mach-at91/at91sam9g45.c |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-at91/at91sam9g45.c b/arch/arm/mach-at91/at91sam9g45.c index 9a50deb..d19d26a

[PATCH v3 1/3] i2c: at91: add support of device tree

2014-08-06 Thread Raphaël Poggi
Signed-off-by: Raphaël Poggi poggi.r...@gmail.com --- drivers/i2c/busses/i2c-at91.c | 92 - 1 file changed, 73 insertions(+), 19 deletions(-) diff --git a/drivers/i2c/busses/i2c-at91.c b/drivers/i2c/busses/i2c-at91.c index 399f6a9..651cfc7 100644

[PATCH v3 3/3] I2C: at91: fix the method for interrupt

2014-08-06 Thread Raphaël Poggi
From: Bo Shen voice.s...@atmel.com As the i2c-at91 driver won't work in the interrupt mode, so need to poll the interrupts. Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/i2c/busses/i2c-at91.c | 38 +++--- 1 file changed, 23 insertions(+), 15

[PATCH 5/5] mtd: atmel_nand: add support for device tree

2014-08-05 Thread Raphaël Poggi
Signed-off-by: Raphaël Poggi poggi.r...@gmail.com --- drivers/mtd/nand/atmel_nand.c | 111 - 1 file changed, 110 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c index 780d266..a5d05d8 100644

[PATCH 1/5] mtd: nand: remove NAND_ATMEL_PMECC

2014-08-05 Thread Raphaël Poggi
By removing this CONFIG_, we can use a structure member to retrieve the config, either through the plateform data or through the device tree. So we can handle cases when the driver is probed using device tree or not. Signed-off-by: Raphaël Poggi poggi.r...@gmail.com --- arch/arm/mach-at91

[PATCH v2 0/5] Add device tree support of Atmel NAND driver

2014-08-05 Thread Raphaël Poggi
NAND_ECC_SOFT). The fifth patch adds the device tree in the atmel_nand driver. Raphaël Poggi (5) : (1) mtd: nand: remove NAND_ATMEL_PMECC (2) board: atmel: initialise the has_pmecc member (3) mtd: atmel_nand: retrieve ecc_mode from pdata (4) board: atmel: initialise

[PATCH 2/5] board: atmel: initialise the has_pmecc member

2014-08-05 Thread Raphaël Poggi
--- arch/arm/boards/at91sam9n12ek/init.c|1 + arch/arm/boards/at91sam9x5ek/init.c |1 + arch/arm/boards/sama5d3_xplained/init.c |1 + arch/arm/boards/sama5d3xek/init.c |1 + 4 files changed, 4 insertions(+) diff --git a/arch/arm/boards/at91sam9n12ek/init.c

[PATCH 4/5] board: atmel: initialise ecc_mode

2014-08-05 Thread Raphaël Poggi
This commit initialise the ecc_mode (NAND_ECC_SOFT) on atmel board init which missing it. Signed-off-by: Raphaël Poggi poggi.r...@gmail.com --- arch/arm/boards/at91sam9260ek/init.c|1 + arch/arm/boards/at91sam9261ek/init.c|1 + arch/arm/boards/at91sam9263ek/init.c|1

[PATCH 3/5] mtd: atmel_nand: retrieve ecc_mode from pdata

2014-08-05 Thread Raphaël Poggi
By retrieving the ecc_mode from pdata we can use the same code for device tree and non device tree probing. Which was not possible before, because ecc_mode was arbitrarily set to NAND_ECC_SOFT. Signed-off-by: Raphaël Poggi poggi.r...@gmail.com --- drivers/mtd/nand/atmel_nand.c |2 +- 1

Re: [PATCH v2 0/5] Add device tree support of Atmel NAND driver

2014-08-05 Thread Raphaël Poggi
I forget to add a v2 tag on the patches, do I need to resend all the serie ? Thanks, Raphaël Poggi 2014-08-05 11:14 GMT+02:00 Raphaël Poggi poggi.r...@gmail.com: Change since v1: * Reorder patchs * Fix some clean style issue. This patchset adds the device tree support

Re: [PATCH 1/2] pinctrl: at91: add pinctrl driver

2014-08-05 Thread Raphaël Poggi
Ok, so I drop my patch ? Or your version is very similar of my patch and you can review mine to improve/clean it ? Best regards, Raphaël Poggi 2014-08-05 12:26 GMT+02:00 Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com: On Aug 5, 2014, at 2:37 AM, Raphaël Poggi raphi...@gmail.com wrote

Re: [PATCH V2 0/2] Add device tree support of i2c Atmel driver

2014-08-05 Thread Raphaël Poggi
I am ready to send a v3. Are you going to send your fix or you want me to squash it in v3 ? Best Regards, Raphaël Poggi 2014-08-05 10:32 GMT+02:00 Raphaël Poggi raphi...@gmail.com: Hello, The patch works fine for me. Thanks for your review/help. Best Regards, Raphaël Poggi 2014-08-05 8

[PATCH v2 2/2] at91sam9g45: add device tree gpio clocks

2014-08-05 Thread Raphaël Poggi
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 d19d26a..8c020fa 100644 --- a/arch/arm/mach-at91/at91sam9g45.c +++ b/arch/arm

[PATCH v2 0/2] Add atmel pinctrl driver

2014-08-05 Thread Raphaël Poggi
) because the gpio and pinctrl parts share same structures. Raphaël Poggi (2) : (1) pinctrl: at91: add pinctrl driver (2) at91sam9g45: add device tree gpio clocks arch/arm/mach-at91/at91sam9g45.c | 5 ++ drivers/pinctrl/Kconfig | 6 ++ drivers/pinctrl/Makefile

[PATCH v2 1/2] pinctrl: at91: add pinctrl driver

2014-08-05 Thread Raphaël Poggi
This driver is based on mach-at91/gpio.c and linux pinctrl driver. The driver contains the gpio and pinctrl parts (like in linux) because the two parts share some structures and logics. Signed-off-by: Raphaël Poggi poggi.r...@gmail.com --- drivers/pinctrl/Kconfig| 6 + drivers/pinctrl

[PATCH V2 1/2] i2c: at91: add support of device tree

2014-08-04 Thread Raphaël Poggi
Signed-off-by: Raphaël Poggi poggi.r...@gmail.com --- drivers/i2c/busses/i2c-at91.c | 66 - 1 file changed, 58 insertions(+), 8 deletions(-) diff --git a/drivers/i2c/busses/i2c-at91.c b/drivers/i2c/busses/i2c-at91.c index 399f6a9..944a8b3 100644

[PATCH V2 2/2] at91sam9g45: clock: add i2c clocks

2014-08-04 Thread Raphaël Poggi
Add the device tree and non device tree at91 i2c clocks. Signed-off-by: Raphaël Poggi poggi.r...@gmail.com --- arch/arm/mach-at91/at91sam9g45.c |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-at91/at91sam9g45.c b/arch/arm/mach-at91/at91sam9g45.c index f6031f0..d0f950c

[PATCH V2 0/2] Add device tree support of i2c Atmel driver

2014-08-04 Thread Raphaël Poggi
Change since v1: * Squash the commit [1] which adds the sam9x5 config. This patcheset adds the device tree support for i2c Atmel driver and the corresping clocks for the at91sam9g45 device. Raphaël Poggi (2) : (1) i2c: at91: add support of device tree (2) at91sam9g45

Re: [PATCH V2 0/2] Add device tree support of i2c Atmel driver

2014-08-04 Thread Raphaël Poggi
Hi, I have tested it on a custom board which use a sam9m10 and it worked... Tell me more when we have found something suspicious. Thanks for your test. Raphaël Poggi 2014-08-04 11:11 GMT+02:00 Bo Shen voice.s...@atmel.com: Hi Raphaël Poggi, I try to manage to make the i2c driver work

Re: [PATCH V2 2/2] at91sam9g45: clock: add i2c clocks

2014-08-04 Thread Raphaël Poggi
Hi, I have used CLKDEV_CON_DEV_ID because it is like that in Linux, but ok I will replace it by CLKDEV_DEV_ID. Btw, can you explain me why in Linux it's CLKDEV_CON_DEV_ID ? (just by curiosity) Thanks, Raphaël Poggi 2014-08-04 11:17 GMT+02:00 Bo Shen voice.s...@atmel.com: Hi Raphaël Poggi

Re: [PATCH V2 1/2] i2c: at91: add support of device tree

2014-08-04 Thread Raphaël Poggi
Hi Raphaël Poggi, On 08/04/2014 04:31 PM, Raphaël Poggi wrote: Signed-off-by: Raphaël Poggi poggi.r...@gmail.com --- drivers/i2c/busses/i2c-at91.c | 66 - 1 file changed, 58 insertions(+), 8 deletions(-) diff --git a/drivers/i2c/busses/i2c

Re: [PATCH 1/5] mtd: atmel_nand: add support for device tree

2014-08-04 Thread Raphaël Poggi
Hi Sascha, Thanks for your review. I will send a v2 with the modification. I will also reorder patches in the patchset. Raphaël 2014-08-04 19:43 GMT+02:00 Sascha Hauer s.ha...@pengutronix.de: On Fri, Aug 01, 2014 at 03:23:20PM +0200, Raphaël Poggi wrote: Signed-off-by: Raphaël Poggi poggi.r

Re: [PATCH 1/2] pinctrl: at91: add pinctrl driver

2014-08-04 Thread Raphaël Poggi
-VILLARD plagn...@jcrosoft.com: why do we need it on barebox? this driver was design for dt-only in linux Best Regards, J. On Aug 1, 2014, at 9:24 PM, Raphaël Poggi poggi.r...@gmail.com wrote: This driver is based on mach-at91/gpio.c and linux pinctrl driver. The driver contains the gpio

[PATCH 1/2] i2c: at91: add support of device tree

2014-08-01 Thread Raphaël Poggi
Signed-off-by: Raphaël Poggi poggi.r...@gmail.com --- drivers/i2c/busses/i2c-at91.c | 60 +++-- 1 file changed, 52 insertions(+), 8 deletions(-) diff --git a/drivers/i2c/busses/i2c-at91.c b/drivers/i2c/busses/i2c-at91.c index 4aa4e4e..944a8b3 100644

[PATCH 2/2] at91sam9g45: clock: add i2c clocks

2014-08-01 Thread Raphaël Poggi
Add the device tree and non device tree at91 i2c clocks. Signed-off-by: Raphaël Poggi poggi.r...@gmail.com --- arch/arm/mach-at91/at91sam9g45.c |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-at91/at91sam9g45.c b/arch/arm/mach-at91/at91sam9g45.c index f6031f0..d0f950c

[PATCH 0/2] Add device tree support of i2c Atmel driver

2014-08-01 Thread Raphaël Poggi
This patcheset adds the device tree support for i2c Atmel driver and the corresping clocks for the at91sam9g45 device. Raphaël Poggi (2) : (1) i2c: at91: add support of device tree (2) at91sam9g45: clock: add i2c clocks arch/arm/mach-at91/at91sam9g45.c |4 +++ drivers/i2c

[PATCH 3/5] board: atmel: initialise the has_pmecc member

2014-08-01 Thread Raphaël Poggi
--- arch/arm/boards/at91sam9n12ek/init.c|1 + arch/arm/boards/at91sam9x5ek/init.c |1 + arch/arm/boards/sama5d3_xplained/init.c |1 + arch/arm/boards/sama5d3xek/init.c |1 + 4 files changed, 4 insertions(+) diff --git a/arch/arm/boards/at91sam9n12ek/init.c

[PATCH 0/5] Add device tree support of Atmel NAND driver

2014-08-01 Thread Raphaël Poggi
). Raphaël Poggi (5) : (1) mtd: atmel_nand: add support for device tree (2) mtd: nand: remove NAND_ATMEL_PMECC (3) board: atmel: initialise the has_pmecc member (4) mtd: atmel_nand: retrieve ecc_mode from pdata (5) board: atmel: initialise ecc_mode arch/arm

[PATCH 2/5] mtd: nand: remove NAND_ATMEL_PMECC

2014-08-01 Thread Raphaël Poggi
By removing this CONFIG_, we can use a structure member to retrieve the config, either through the plateform data or through the device tree. So we can handle cases when the driver is probed using device tree or not. Signed-off-by: Raphaël Poggi poggi.r...@gmail.com --- arch/arm/mach-at91

[PATCH 5/5] board: atmel: initialise ecc_mode

2014-08-01 Thread Raphaël Poggi
This commit initialise the ecc_mode (NAND_ECC_SOFT) on atmel board init which missing it. Signed-off-by: Raphaël Poggi poggi.r...@gmail.com --- arch/arm/boards/at91sam9260ek/init.c|1 + arch/arm/boards/at91sam9261ek/init.c|1 + arch/arm/boards/at91sam9263ek/init.c|1

[PATCH 1/5] mtd: atmel_nand: add support for device tree

2014-08-01 Thread Raphaël Poggi
Signed-off-by: Raphaël Poggi poggi.r...@gmail.com --- drivers/mtd/nand/atmel_nand.c | 108 - 1 file changed, 107 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c index 337e225..b7b0e3a 100644

[PATCH 4/5] mtd: atmel_nand: retrieve ecc_mode from pdata

2014-08-01 Thread Raphaël Poggi
By retrieving the ecc_mode from pdata we can use the same code for device tree and non device tree probing. Which was not possible before, because ecc_mode was arbitrarily set to NAND_ECC_SOFT. Signed-off-by: Raphaël Poggi poggi.r...@gmail.com --- drivers/mtd/nand/atmel_nand.c |4 ++-- 1

[PATCH 2/2] at91sam9g45: add device tree gpio clocks

2014-08-01 Thread Raphaël Poggi
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 9a50deb..f6031f0 100644 --- a/arch/arm/mach-at91/at91sam9g45.c +++ b/arch

[PATCH 1/2] pinctrl: at91: add pinctrl driver

2014-08-01 Thread Raphaël Poggi
This driver is based on mach-at91/gpio.c and linux pinctrl driver. The driver contains the gpio and pinctrl parts (like in linux) because the two parts share some structures and logics. Signed-off-by: Raphaël Poggi poggi.r...@gmail.com --- drivers/pinctrl/Kconfig|6 + drivers

[PATCH 0/2] Add atmel pinctrl driver

2014-08-01 Thread Raphaël Poggi
This patchset add atmel pinctrl/gpio driver and the corresponding clocks for the at91sam9g45 device. The pinctrl driver also include the gpio driver (like in linux) because the gpio and pinctrl parts share same structures. Raphaël Poggi (2) : (1) pinctrl: at91: add pinctrl driver

[PATCH] i2c: at91: add at91sam9x5 config

2014-08-01 Thread Raphaël Poggi
Signed-off-by: Raphaël Poggi poggi.r...@gmail.com --- drivers/i2c/busses/i2c-at91.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/i2c/busses/i2c-at91.c b/drivers/i2c/busses/i2c-at91.c index 399f6a9..4aa4e4e 100644 --- a/drivers/i2c/busses/i2c-at91.c +++ b/drivers/i2c/busses

[PATCH] of_mtd: add soft_bch and hw_oob_first ecc modes

2014-08-01 Thread Raphaël Poggi
Signed-off-by: Raphaël Poggi poggi.r...@gmail.com --- drivers/of/of_mtd.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/of/of_mtd.c b/drivers/of/of_mtd.c index 239f1f9..46eef67 100644 --- a/drivers/of/of_mtd.c +++ b/drivers/of/of_mtd.c @@ -20,6 +20,8 @@ static const char

Re: [PATCH 0/2] Add initial support of at91sam9m10g45ek device tree

2014-08-01 Thread Raphaël Poggi
tree binding file. Raphaël Poggi (2) : (1) dt-bindings: pinctrl: add at91 file (2) dts: at91: initial support of at91sam9m10g45ek dts arch/arm/dts/Makefile |1 + arch/arm/dts/at91sam9g45.dtsi | 105 arch/arm/dts

at91: device tree

2014-07-27 Thread Raphaël Poggi
...). I wonder if barebox community is interested to add device tree support for atmel or if there is already somebody who works on it. Thanks, Raphaël Poggi ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo

Re: [PATCH] i2c: add Atmel AT91 driver

2014-07-24 Thread Raphaël Poggi
Hi Sascha, Thanks for your review, I'll correct these and send a v2. Raphaël 2014-07-24 11:34 GMT+02:00 Sascha Hauer s.ha...@pengutronix.de: Hi Raphaël, Looks mostly fine to me. Two small comments: On Wed, Jul 23, 2014 at 12:09:04PM -0700, Raphaël Poggi wrote: + +static int

[PATCH v2] i2c: add Atmel AT91 driver

2014-07-24 Thread Raphaël Poggi
Signed-off-by: Raphaël Poggi poggi.r...@gmail.com --- drivers/i2c/busses/Kconfig|4 + drivers/i2c/busses/Makefile |1 + drivers/i2c/busses/i2c-at91.c | 437 + 3 files changed, 442 insertions(+) create mode 100644 drivers/i2c/busses/i2c-at91

[PATCH] i2c: add Atmel AT91 driver

2014-07-23 Thread Raphaël Poggi
Signed-off-by: Raphaël Poggi poggi.r...@gmail.com --- drivers/i2c/busses/Kconfig| 4 + drivers/i2c/busses/Makefile | 1 + drivers/i2c/busses/i2c-at91.c | 438 ++ 3 files changed, 443 insertions(+) create mode 100644 drivers/i2c/busses/i2c-at91.c

Re: [PATCH] mtd: atmel_nand: add SOFT_BCH support

2014-07-17 Thread Raphaël Poggi
support. This commit adds the possibilty for atmel_nand to enable SOFT_BCH. Signed-off-by: Raphaël Poggi poggi.r...@gmail.com --- drivers/mtd/nand/atmel_nand.c |5 + 1 file changed, 5 insertions(+) diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c index

Re: [PATCH 2/2] mtd: atmel_nand: enable PMECC for 8k page nand

2014-07-17 Thread Raphaël Poggi
Thanks for your Acked. Yes you're right, so I split this into 2 commits and send a v2. Best regards, Raphaël Poggi 2014-07-17 12:05 GMT+02:00 Bo Shen voice.s...@atmel.com: Hi Raphael, On 07/17/2014 04:51 PM, Raphael Poggi wrote: Enable the PMECC to support 8k page. Signed-off

Nand with 256 oob

2014-07-11 Thread Raphaël Poggi
Hi all ! I want to use barebox with nand support (Soft ECC) on a custom board based on SAM9M10, but the nand has a 256 oob size and it is not supported on barebox. Barebox fails, because there is no oob scheme defined for 256 size. if (!chip-ecc.layout (chip-ecc.mode != NAND_ECC_SOFT_BCH)) {

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

2014-07-02 Thread Raphaël Poggi
Hi all ! So what's the status of these patch? Matteo, are you working on a v2 patch series ? Raphaël 2014-06-25 8:42 GMT+02:00 Sascha Hauer s.ha...@pengutronix.de: On Wed, Jun 25, 2014 at 09:45:49AM +0800, Bo Shen wrote: Hi Matteo, Thanks for your patch. Hi Jean-Christophe

Re: atmel_nand pmecc on 8k page

2014-06-13 Thread Raphaël Poggi
Hi, I'm testing with a custom board. I have just with the applied test and it's working ! I can use 8k page nand with atmel_nand driver. Do I have to wait until Matteo's patches are applied or can I submit mine right now ? Best regards, Raphaël Poggi 2014-06-13 3:26 GMT+02:00 Bo Shen voice.s

atmel_nand pmecc on 8k page

2014-06-12 Thread Raphaël Poggi
Hi, I'm working on a series of patches, to support 8k nand page in atmel_nand driver. Currently, I can detect the nand and handle an oob size of 448. But i have a problem with the pmecc, when barebox tried to perform pmecc operation, I get the following message: PMECC: Timeout to calculate

[PATCH 3/3] ARM: i.MX6: UDOO: rename UDOO image file

2014-02-20 Thread Raphaël Poggi
Rename the image file generated by barebox. Signed-off-by: Raphael Poggi poggi.r...@gmail.com --- images/Makefile.imx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/images/Makefile.imx b/images/Makefile.imx index 3303ca7..a04fd45 100644 --- a/images/Makefile.imx +++

[PATCH 2/3] ARM: i.MX6: UDOO: Add support of ethernet

2014-02-20 Thread Raphaël Poggi
Add the support of ethernet in device tree and board file. Signed-off-by: Raphael Poggi poggi.r...@gmail.com --- arch/arm/boards/udoo/board.c | 41 - arch/arm/dts/imx6qdl-udoo.dtsi | 11 +++ 2 files changed, 27 insertions(+), 25 deletions(-)

[PATCH 1/3] ARM: i.MX6: UDOO: rename watchdog function

2014-02-20 Thread Raphaël Poggi
Rename the watchdog function to fit others functions names. Signed-off-by: Raphael Poggi poggi.r...@gmail.com --- arch/arm/boards/udoo/board.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/arch/arm/boards/udoo/board.c b/arch/arm/boards/udoo/board.c index

Re: [PATCH] Adding minimal support for the UDOO board.

2014-02-17 Thread Raphaël Poggi
2014-02-17 19:54 GMT+01:00 Alexander Shiyan shc_w...@mail.ru: Hello. Понедельник, 17 февраля 2014, 19:34 +01:00 от Raphaël Poggi raphi...@gmail.com: Hi Alexander, I do not understand the problem with compatible : +#include imx6qdl-udoo.dtsi + +/ { + model = Freescale i.MX6

  1   2   >