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:
>
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
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
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
>>
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
>>
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
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
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
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
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
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
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
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
.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
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
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
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
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
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
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
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
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
/listinfo/barebox
Thanks,
Raphaël Poggi
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
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
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
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
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
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
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
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
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
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
: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
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
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
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
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
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
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
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
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
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
.
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
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
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
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
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
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
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
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
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
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
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
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
---
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
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
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
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
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
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
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
) 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
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
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
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
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
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
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
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
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
-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
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
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
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
---
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
).
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
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
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
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
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
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
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
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
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
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
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
...).
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
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
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
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
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
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
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)) {
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
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
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
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
+++
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(-)
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
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 - 100 of 104 matches
Mail list logo