--
Giulio Benetti
RD
Micronova srl
diff -urpN u-boot-2009.03.orig/cpu/arm926ejs/at91/Makefile u-boot-2009.03/cpu/arm926ejs/at91/Makefile
--- u-boot-2009.03.orig/cpu/arm926ejs/at91/Makefile 2009-03-21 22:04:41.0 +0100
+++ u-boot-2009.03/cpu/arm926ejs/at91/Makefile 2009-06-13 11:20
Jean-Christophe PLAGNIOL-VILLARD wrote:
already present
please read doc/README.at91
Best Regards,
J.
That's right,sorry.
--
Giulio Benetti
RD
Micronova srl Vigonza (PD)
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman
and read.
What do you think?
Kind regards
--
Giulio Benetti
RD
Micronova srl
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
we should put WATCHDOG_RESET() inside main_loop and nand write
and read.
What do you think?
Kind regards
--
Giulio Benetti
RD
Micronova srl
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Jean-Christophe PLAGNIOL-VILLARD wrote:
On 12:52 Sat 13 Jun , Giulio Benetti wrote:
In this way the linux driver won't work(the one by Renaud CERRATO).
Because it expects MR register not to be set, or to be set enabled.
it's work we have test it
you need to enable it in the at91bootstrap
Add WATCHDOG_REFRESH() inside nand write and read
--
Giulio Benetti
RD
Micronova srl
diff -urpN u-boot-2009.03.orig/drivers/mtd/nand/nand_util.c u-boot-2009.03/drivers/mtd/nand/nand_util.c
--- u-boot-2009.03.orig/drivers/mtd/nand/nand_util.c 2009-03-21 22:04:41.0 +0100
+++ u-boot
),
+ (blue 3) | ((green 0xf8) 2) | ((red 0xf8) 7));
#else
lcdc_writel(panel_info.mmio, ATMEL_LCDC_LUT(regno),
(blue 3) | ((green 0xfc) 3) | ((red 0xf8) 8));
--
Giulio Benetti
RD
Micronova srl
___
U-Boot mailing list
U
because at91sam9263ek was wired
swapped between red and blue. It should be in that way but I'm not sure.
Anyway I think the wiring should be done better before, instead of create a
new standard. Fortunately with software you can change more than
something, but not everything.
--
Giulio Benetti
RD
:00:00.0 +0100
+++ a/board/micronova/c5000/c5000.c 2009-06-18 12:57:52.0 +0200
@@ -0,0 +1,194 @@
+/*
+ * (C) Copyright 2007-2008
+ * Stelian Pop stelian@leadtechdesign.com
+ * Lead Tech Design www.leadtechdesign.com
+ *
+ * Giulio Benetti giulio.bene...@micronovasrl.com
);
size_t read_length;
+ WATCHDOG_RESET ();
+
if (nand_block_isbad (nand, offset ~(nand-erasesize - 1))) {
printf (Skipping bad block 0x%08zx\n,
offset ~(nand-erasesize - 1));
--
Giulio
));
-}
--
Giulio Benetti
RD
Micronova srl
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi Detlev,
RGB555 is a wiring with blue and red swapped, nothing more.
Maybe I've made too much confusion before.
And in the at91 eks there's nothing to change, because they're wired as
BGR555.
Best regards
--
Giulio Benetti
RD
Micronova srl
___
U
Il Wednesday 12 November 2008 15:42:34 Jean-Christophe PLAGNIOL-VILLARD ha
scritto:
On 13:01 Wed 12 Nov , Giulio Benetti wrote:
- Fixed finding phyter address
- Added searching for other addresses if not found
diff -urpN -X macb-exclude u-boot.orig/drivers/net/macb.c
u-boot/drivers
Il Wednesday 12 November 2008 16:43:46 Jean-Christophe PLAGNIOL-VILLARD ha
scritto:
On 16:32 Wed 12 Nov , michael wrote:
Hi,
Jean-Christophe PLAGNIOL-VILLARD wrote:
Signed-off-by: Giulio Benetti [EMAIL PROTECTED]
please move to the comment
Best Regards,
J
:16.0 +0100
@@ -1,5 +1,7 @@
/*
* Copyright (C) 2005-2006 Atmel Corporation
+ * Giulio Benetti [EMAIL PROTECTED]
+ * Micronova srl [EMAIL PROTECTED]
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published
flags member of struct timing was not initialized,
this took to unpredictable behaviour of display flags,
such DISPLAY_FLAGS_HSYNC_HIGH instead of _LOW etc.
Init timing->flags = 0
Signed-off-by: Giulio Benetti <giulio.bene...@micronovasrl.com>
---
drivers/video/sunxi/sunxi_display.c
Differently from other Lcd signals, HSYNC and VSYNC signals
result inverted if their bits are cleared to 0.
Invert their settings of IO_POL register.
Signed-off-by: Giulio Benetti <giulio.bene...@micronovasrl.com>
---
drivers/video/sunxi/lcdc.c | 4 ++--
1 file changed, 2 insertions
Hi,
please drop this patch, I've made confusion on sending.
Sorry
--
Giulio Benetti
CTO
MICRONOVA SRL
Sede: Via A. Niedda 3 - 35010 Vigonza (PD)
Tel. 049/8931563 - Fax 049/8931346
Cod.Fiscale - P.IVA 02663420285
Capitale Sociale € 26.000 i.v.
Iscritta al Reg. Imprese di Padova N. 02663420285
sed jtag pins
HMI is supplied from +12Vdc.
It comes in different flavours for connector types and can be found with
umounted features as requested by customers.
Signed-off-by: Giulio Benetti <giulio.bene...@micronovasrl.com>
---
arch/arm/dts/sun7i-a20-linova1-ct
Hi all,
Il 26/02/2018 13:31, Anatolij Gustschin ha scritto:
Hi all,
On Fri, 16 Feb 2018 14:10:25 +0100
Maxime Ripard maxime.rip...@bootlin.com wrote:
Hi,
On Thu, Feb 15, 2018 at 06:40:53PM +0100, Giulio Benetti wrote:
Differently from other Lcd signals, HSYNC and VSYNC signals
result
Il 26/10/2018 13:06, Maxime Ripard ha scritto:
On Thu, Oct 25, 2018 at 12:57:54PM +0200, Giulio Benetti wrote:
Hello Maxime,
Il 24/10/2018 19:59, Maxime Ripard ha scritto:
On Wed, Oct 24, 2018 at 03:59:56PM +0200, Giulio Benetti wrote:
Hello Jagan and Maxime,
I've looked around a lot, but I
Hello Maxime,
Il 24/10/2018 19:59, Maxime Ripard ha scritto:
On Wed, Oct 24, 2018 at 03:59:56PM +0200, Giulio Benetti wrote:
Hello Jagan and Maxime,
I've looked around a lot, but I can't find a way to use the board/sunxi:
http://git.denx.de/?p=u-boot.git;a=tree;f=board/sunxi;h
to be used to extend an
existing board?
Because I understand that probably you wouldn't add this code I'm
talking about inside board/sunxi.
This request is done with idea to upstream patch for this board.
Can you help me?
Thanks in advance
Best regards
--
Giulio Benetti
CTO
MICRONOVA SRL
Sede: Via
the new folder 'mach-imxrt'?
Also, do I find some of you in IRC sometimes?
Thanks in advance
Best regards
--
Giulio Benetti
Benetti Engineering sas
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
Hi Stefano,
On 9/11/19 8:50 AM, Stefano Babic wrote:
Hi Giulio,
On 10/09/19 20:32, Giulio Benetti wrote:
Hello everybody,
I would like to port imxrt to u-boot and I would like to ask you:
- do you have the interest on upstreaming it?
if yes:
I've seen how they've dealt with 'stm32
Hi Fabio,
On 9/11/19 12:23 AM, Fabio Estevam wrote:
Hi Giulio,
On Tue, Sep 10, 2019 at 3:32 PM Giulio Benetti
wrote:
Hello everybody,
I would like to port imxrt to u-boot and I would like to ask you:
- do you have the interest on upstreaming it?
if yes:
I've seen how they've dealt
Signed-off-by: Giulio Benetti
---
scripts/dtc/libfdt/libfdt.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/dtc/libfdt/libfdt.h b/scripts/dtc/libfdt/libfdt.h
index cf86ddba88..53d577d2a8 100644
--- a/scripts/dtc/libfdt/libfdt.h
+++ b/scripts/dtc/libfdt/libfdt.h
Hi Stefano and Fabio,
On 9/11/19 8:50 AM, Stefano Babic wrote:
Hi Giulio,
On 10/09/19 20:32, Giulio Benetti wrote:
Hello everybody,
I would like to port imxrt to u-boot and I would like to ask you:
- do you have the interest on upstreaming it?
if yes:
I've seen how they've dealt with 'stm32
Hi Fabio,
On 11/1/19 1:41 PM, Fabio Estevam wrote:
Hi Giulio,
On Wed, Oct 30, 2019 at 6:09 PM Giulio Benetti
wrote:
This patchset is a WIP for adding i.MXRT family.
It provides:
- soc family entry
- pinctrl driver
- serial driver tweaking
- partial sdram controller driver
- imxrt1050-evk
Hi Fabio,
On 11/1/19 1:40 PM, Fabio Estevam wrote:
Hi Giulio,
On Wed, Oct 30, 2019 at 6:09 PM Giulio Benetti
wrote:
Please add a commit log that briefly describes the board.
Yes.
Signed-off-by: Giulio Benetti
---
arch/arm/dts/Makefile | 2 +
arch/arm/dts
On 11/4/19 5:33 PM, Fabio Estevam wrote:
Hi Giulio,
On Thu, Oct 31, 2019 at 9:11 AM Giulio Benetti
wrote:
...in this register and the next one there are parameters like CKEOFF
and ACT2PRE impossible to lead to classic tXXX sdram timing parameters.
I've done this way inspired by stm32-sdram
TODO...
Signed-off-by: Giulio Benetti
---
arch/arm/Kconfig | 10
arch/arm/Makefile | 4 +--
arch/arm/include/asm/arch-imxrt/clock.h| 10
arch/arm/include/asm/arch-imxrt/gpio.h | 10
arch/arm/include/asm/arch
to be finished and clock driver to be done.
I would like to receive some comment from you all since this is my first
big contribution(at least for me it is).
Giulio Benetti (5):
Add support for the NXP IMXRT10xx SoC family
pinctrl: add i.MXRT driver
serial_lpuart: add support for i.MXRT
ram: add SDRAM
Signed-off-by: Giulio Benetti
---
drivers/ram/Kconfig | 8 +
drivers/ram/Makefile | 2 +
drivers/ram/imxrt_sdram.c| 406 +++
include/dt-bindings/memory/imxrt-sdram.h | 168 ++
4 files changed, 584 insertions
Add i.MXRT pinctrl driver.
Signed-off-by: Giulio Benetti
---
drivers/pinctrl/nxp/Kconfig | 14 +
drivers/pinctrl/nxp/Makefile | 1 +
drivers/pinctrl/nxp/pinctrl-imxrt.c | 40 +
include/dt-bindings/pinctrl/pins-imxrt1050.h | 993
baudrate the same way as i.MX8 does.
Signed-off-by: Giulio Benetti
---
drivers/serial/serial_lpuart.c | 15 +++
include/fsl_lpuart.h | 3 ++-
2 files changed, 13 insertions(+), 5 deletions(-)
diff --git a/drivers/serial/serial_lpuart.c b/drivers/serial/serial_lpuart.c
index
Signed-off-by: Giulio Benetti
---
arch/arm/dts/Makefile | 2 +
arch/arm/dts/imxrt1050-evk.dts| 124
arch/arm/dts/imxrt1050.dtsi | 73 +
arch/arm/mach-imx/imxrt/Kconfig | 11 +
board/freescale/imxrt1050-evk
Hi Fabio,
On 10/9/19 6:03 PM, Fabio Estevam wrote:
Hi Giulio,
On Wed, Oct 9, 2019 at 12:59 PM Giulio Benetti
wrote:
Hi Fabio and Stefano,
On 9/29/19 9:40 PM, Fabio Estevam wrote:
We try to use DM in U-Boot proper as much as possible, but using DM in
SPL is currently not a requirement
Better to register the 2 clock as 2 different drivers because they work
slightly differently depending on power_bit and powerup_set bits coming
on next patches.
Signed-off-by: Giulio Benetti
---
drivers/clk/imx/clk-pllv3.c | 20 +++-
1 file changed, 15 insertions(+), 5 deletions
baudrate the same way as i.MX8 does.
Signed-off-by: Giulio Benetti
---
drivers/serial/serial_lpuart.c | 15 +++
include/fsl_lpuart.h | 3 ++-
2 files changed, 13 insertions(+), 5 deletions(-)
diff --git a/drivers/serial/serial_lpuart.c b/drivers/serial/serial_lpuart.c
index
Add PLLV3_SYS support by adding set/get_rate() for PLLV3_SYS but keeping
generic enable()/disable(). Add a different driver because ops are
different respect to GENERIC/USB.
Signed-off-by: Giulio Benetti
---
drivers/clk/imx/clk-pllv3.c | 53 +
1 file changed
Implement set_rate() for pfd.
Signed-off-by: Giulio Benetti
---
drivers/clk/imx/clk-pfd.c | 22 ++
1 file changed, 22 insertions(+)
diff --git a/drivers/clk/imx/clk-pfd.c b/drivers/clk/imx/clk-pfd.c
index 188b2b3b90..4ae55f5a07 100644
--- a/drivers/clk/imx/clk-pfd.c
+++ b
and it loads correctly a basic Linux zImage.
Giulio Benetti (20):
armv7m: cache: add mmu_set_region_dcache_behaviour() stub for
compatibility
spl: fix entry_point equal to load_addr
clk: imx: pllv3: register PLLV3 GENERIC and USB as 2 different clocks
clk: imx: pllv3: set div_mask
Add i.MXRT1050 clk driver support.
Signed-off-by: Giulio Benetti
---
drivers/clk/imx/Kconfig | 16 ++
drivers/clk/imx/Makefile| 2 +
drivers/clk/imx/clk-imxrt1050.c | 292
include/dt-bindings/clock/imxrt1050-clock.h
Add generic set_rate() support.
Signed-off-by: Giulio Benetti
---
drivers/clk/imx/clk-pllv3.c | 27 +++
1 file changed, 27 insertions(+)
diff --git a/drivers/clk/imx/clk-pllv3.c b/drivers/clk/imx/clk-pllv3.c
index 9b37cd9cd9..a721dbee94 100644
--- a/drivers/clk/imx/clk
Add disable() support.
Signed-off-by: Giulio Benetti
---
drivers/clk/imx/clk-pllv3.c | 16
1 file changed, 16 insertions(+)
diff --git a/drivers/clk/imx/clk-pllv3.c b/drivers/clk/imx/clk-pllv3.c
index d8cbe3dd4e..9b37cd9cd9 100644
--- a/drivers/clk/imx/clk-pllv3.c
+++ b
Add support for PLLV3 AV type.
Signed-off-by: Giulio Benetti
---
drivers/clk/imx/clk-pllv3.c | 76 +
1 file changed, 76 insertions(+)
diff --git a/drivers/clk/imx/clk-pllv3.c b/drivers/clk/imx/clk-pllv3.c
index d5087a104e..fc16416d5f 100644
--- a/drivers/clk
Before set_rate() pllv3 needs enable() to power the pll up.
Add enable() taking into account different power_bit and
different powerup_set, because some pll needs its power_bit to be
set or reset to be powered on.
Signed-off-by: Giulio Benetti
---
drivers/clk/imx/clk-pllv3.c | 24
Add dtsi file for i.MXRT1050.
Signed-off-by: Giulio Benetti
---
arch/arm/dts/imxrt1050.dtsi | 146 +++
include/dt-bindings/pinctrl/pins-imxrt1050.h | 993 +++
2 files changed, 1139 insertions(+)
create mode 100644 arch/arm/dts/imxrt1050.dtsi
create mode 100644
Since some driver requires this function add it as an empty stub
when DCACHE is OFF.
Signed-off-by: Giulio Benetti
---
arch/arm/cpu/armv7m/cache.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/cpu/armv7m/cache.c b/arch/arm/cpu/armv7m/cache.c
index f4ba3ad50e..7353698557
ddr is
not an entry point.
So use image_get_ep() for entry_point assignment and image_get_load()
for load_addr assignment.
Signed-off-by: Giulio Benetti
---
common/spl/spl.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/common/spl/spl.c b/common/spl/spl.c
index
div_mask is different for GENERIC and USB pll, so set it according.
Signed-off-by: Giulio Benetti
---
drivers/clk/imx/clk-pllv3.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/clk/imx/clk-pllv3.c b/drivers/clk/imx/clk-pllv3.c
index d1e4c3fe30..02c75c37ea 100644
--- a/drivers/clk
This driver assumes that lpuart clock is already enabled before probing
but using DM only lpuart won't be automatically enabled so add
clk_enable() when probing if CONFIG_CLK is defined.
Signed-off-by: Giulio Benetti
---
drivers/serial/serial_lpuart.c | 13 +
1 file changed, 13
Add SDRAM driver for i.MXRT SoCs.
Signed-off-by: Giulio Benetti
---
drivers/ram/Kconfig | 8 +
drivers/ram/Makefile | 2 +
drivers/ram/imxrt_sdram.c| 439 +++
include/dt-bindings/memory/imxrt-sdram.h | 100
-evaluation-kit:MIMXRT1050-EVK
The initial supported/tested devices include:
- Debug serial
- SD
Signed-off-by: Giulio Benetti
---
arch/arm/dts/Makefile | 2 +
arch/arm/dts/imxrt1050-evk.dts| 209 ++
board/freescale/imxrt1050-evk/Kconfig
Add i.MXRT pinctrl driver.
Signed-off-by: Giulio Benetti
---
drivers/pinctrl/nxp/Kconfig | 14 ++
drivers/pinctrl/nxp/Makefile| 1 +
drivers/pinctrl/nxp/pinctrl-imxrt.c | 40 +
3 files changed, 55 insertions(+)
create mode 100644 drivers
Add i.IMXRT family basic support.
Signed-off-by: Giulio Benetti
---
arch/arm/Kconfig| 10 ++
arch/arm/Makefile | 4 +--
arch/arm/include/asm/arch-imxrt/clock.h | 10 ++
arch/arm/include/asm/arch-imxrt/gpio.h | 19
Not all architectures(i.e. i.MXRT) support mxc_get_clock() and use DM_CLK
instead. So building could result in failure due to missing
mxc_get_clock().
Make if(CONFIG_IS_ENABLED(CLK)) an #if statement.
Signed-off-by: Giulio Benetti
---
drivers/mmc/fsl_esdhc_imx.c | 38
Add compatible "fsl,imxrt-usdhc" to make mmc working on i.MXRT platforms
with CONFIG_DM_MMC=y.
Signed-off-by: Giulio Benetti
---
drivers/mmc/Kconfig | 2 +-
drivers/mmc/fsl_esdhc_imx.c | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/mmc/Kconfig
Hello all,
On 12/4/19 6:44 PM, Giulio Benetti wrote:
Add dtsi file for i.MXRT1050.
Signed-off-by: Giulio Benetti
---
arch/arm/dts/imxrt1050.dtsi | 146 +++
include/dt-bindings/pinctrl/pins-imxrt1050.h | 993 +++
2 files changed, 1139 insertions(+)
create
Hi Lukasz,
On 12/8/19 3:46 PM, Lukasz Majewski wrote:
On Wed, 4 Dec 2019 18:44:32 +0100
Giulio Benetti wrote:
Add dtsi file for i.MXRT1050.
Signed-off-by: Giulio Benetti
---
arch/arm/dts/imxrt1050.dtsi | 146 +++
include/dt-bindings/pinctrl/pins-imxrt1050.h | 993
Hi Lukasz,
On 12/8/19 3:40 PM, Lukasz Majewski wrote:
On Wed, 4 Dec 2019 18:44:30 +0100
Giulio Benetti wrote:
Add i.MXRT1050 clk driver support.
Signed-off-by: Giulio Benetti
---
drivers/clk/imx/Kconfig | 16 ++
drivers/clk/imx/Makefile| 2
Forgotten to ask you...
On 12/9/19 11:49 AM, Giulio Benetti wrote:
Hi Lukasz,
On 12/8/19 3:40 PM, Lukasz Majewski wrote:
On Wed, 4 Dec 2019 18:44:30 +0100
Giulio Benetti wrote:
Add i.MXRT1050 clk driver support.
Signed-off-by: Giulio Benetti
---
drivers/clk/imx/Kconfig
Hi Lukasz,
First of all thank you for reviewing my patches and...
On 12/8/19 3:37 PM, Lukasz Majewski wrote:
On Wed, 4 Dec 2019 18:44:21 +0100
Giulio Benetti wrote:
At the moment entry_point is set to image_get_load(header) that sets
it to "load address" instead of "entry p
Hi Lukasz,
On 12/8/19 3:58 PM, Lukasz Majewski wrote:
On Wed, 4 Dec 2019 18:44:34 +0100
Giulio Benetti wrote:
Add i.MXRT compatible string and cpu type support to lpuart driver,
to use little endian 32 bits configurations.
Also according to RM, the Receive RX FIFO Enable (RXFE) field
Hi Lukasz, Stefano, Fabio, all,
On 12/8/19 3:45 PM, Lukasz Majewski wrote:
On Wed, 4 Dec 2019 18:44:31 +0100
Giulio Benetti wrote:
Add i.MXRT pinctrl driver.
Signed-off-by: Giulio Benetti
---
drivers/pinctrl/nxp/Kconfig | 14 ++
drivers/pinctrl/nxp/Makefile| 1
Hi Lukasz,
On 12/8/19 3:52 PM, Lukasz Majewski wrote:
On Wed, 4 Dec 2019 18:44:33 +0100
Giulio Benetti wrote:
This driver assumes that lpuart clock is already enabled before
probing but using DM only lpuart won't be automatically enabled so add
clk_enable() when probing if CONFIG_CLK
Hi Lukasz,
On 12/8/19 4:05 PM, Lukasz Majewski wrote:
On Wed, 4 Dec 2019 18:44:28 +0100
Giulio Benetti wrote:
Add support for PLLV3 AV type.
Signed-off-by: Giulio Benetti
---
drivers/clk/imx/clk-pllv3.c | 76
+ 1 file changed, 76 insertions(+)
diff
On 12/13/19 11:09 AM, Lukasz Majewski wrote:
On Fri, 13 Dec 2019 00:02:25 +0100
Giulio Benetti wrote:
Hi Lukasz,
On 12/12/19 11:53 PM, Giulio Benetti wrote:
clk_get_by_name() requires clk_get_by_id() that is not available if
CONFIG_OF_PLATDATA is defined, so move clk_get_by_name
Hi Lukasz,
On 12/12/19 11:53 PM, Giulio Benetti wrote:
clk_get_by_name() requires clk_get_by_id() that is not available if
CONFIG_OF_PLATDATA is defined, so move clk_get_by_name() into #else
condition of #if CONFIG_IS_ENABLED(OF_PLATDATA).
Signed-off-by: Giulio Benetti
I've already
Hi Lukasz,
On 12/15/19 2:50 PM, Lukasz Majewski wrote:
Hi Giulio,
On 12/13/19 11:09 AM, Lukasz Majewski wrote:
On Fri, 13 Dec 2019 00:02:25 +0100
Giulio Benetti wrote:
Hi Lukasz,
On 12/12/19 11:53 PM, Giulio Benetti wrote:
clk_get_by_name() requires clk_get_by_id
Hi Lukasz and all,
On 12/10/19 12:48 AM, Lukasz Majewski wrote:
On Mon, 9 Dec 2019 16:20:10 +0100
Giulio Benetti wrote:
Hi Lukasz,
On 12/8/19 3:52 PM, Lukasz Majewski wrote:
On Wed, 4 Dec 2019 18:44:33 +0100
Giulio Benetti wrote:
This driver assumes that lpuart clock is already
Hi Lukasz,
On 12/10/19 12:36 AM, Lukasz Majewski wrote:
On Mon, 9 Dec 2019 11:53:05 +0100
Giulio Benetti wrote:
Forgotten to ask you...
On 12/9/19 11:49 AM, Giulio Benetti wrote:
Hi Lukasz,
On 12/8/19 3:40 PM, Lukasz Majewski wrote:
On Wed, 4 Dec 2019 18:44:30 +0100
Giulio Benetti
Hi Lukasz,
On 12/10/19 12:46 AM, Lukasz Majewski wrote:
On Mon, 9 Dec 2019 12:54:33 +0100
Giulio Benetti wrote:
Hi Lukasz, Stefano, Fabio, all,
On 12/8/19 3:45 PM, Lukasz Majewski wrote:
On Wed, 4 Dec 2019 18:44:31 +0100
Giulio Benetti wrote:
Add i.MXRT pinctrl driver.
Signed-off
On 12/10/19 1:07 AM, Lukasz Majewski wrote:
On Mon, 9 Dec 2019 18:13:04 +0100
Giulio Benetti wrote:
Hi Lukasz,
On 12/8/19 4:05 PM, Lukasz Majewski wrote:
On Wed, 4 Dec 2019 18:44:28 +0100
Giulio Benetti wrote:
Add support for PLLV3 AV type.
Signed-off-by: Giulio Benetti
clk_get_by_name() requires clk_get_by_id() that is not available if
CONFIG_OF_PLATDATA is defined, so move clk_get_by_name() into #else
condition of #if CONFIG_IS_ENABLED(OF_PLATDATA).
Signed-off-by: Giulio Benetti
---
drivers/clk/clk-uclass.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion
#
ifndef CONFIG_SYS_UBOOT_START
CONFIG_SYS_UBOOT_START := 0
endif
`
So probably broken boards try to jump to absolute 0.
A solving patch would be:
ifndef CONFIG_SYS_UBOOT_START
CONFIG_SYS_UBOOT_START := CONFIG_SYS_TEXT_BASE
endif
What do you think?
Sorry for this mess!
Best regards
--
Giulio Benetti
Benetti Engineering sas
proposal [1], but i
need some
Yes, I've missed it for few minutes.
Thanks for solving this.
Best regards
--
Giulio Benetti
Benetti Engineering sas
feedback from some boards maintainers.
[1] https://patchwork.ozlabs.org/project/uboot/list/?series=146876
Thanks
Patrice
Sorry for this mess
div_mask is different for GENERIC and USB pll, so set it according.
Signed-off-by: Giulio Benetti
---
drivers/clk/imx/clk-pllv3.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/clk/imx/clk-pllv3.c b/drivers/clk/imx/clk-pllv3.c
index 01ff5ffe6f..eb3ac9e556 100644
--- a/drivers/clk
Add generic set_rate() support.
Signed-off-by: Giulio Benetti
---
drivers/clk/imx/clk-pllv3.c | 27 +++
1 file changed, 27 insertions(+)
diff --git a/drivers/clk/imx/clk-pllv3.c b/drivers/clk/imx/clk-pllv3.c
index cb461cd5be..ea23be9b55 100644
--- a/drivers/clk/imx/clk
Not all architectures(i.e. i.MXRT) support mxc_get_clock() and use DM_CLK
instead. So building could result in failure due to missing
mxc_get_clock().
Make if(CONFIG_IS_ENABLED(CLK)) an #if statement.
Signed-off-by: Giulio Benetti
---
drivers/mmc/fsl_esdhc_imx.c | 38
.
Thanks in advance for eventually reviewing these patches.
Best regards
Giulio Benetti (18):
imx: Add basic support for the NXP IMXRT10xx SoC family
clk: imx: pllv3: register PLLV3 GENERIC and USB as 2 different clocks
clk: imx: pllv3: set div_mask differently if PLLV3 is GENERIC or USB
-evaluation-kit:MIMXRT1050-EVK
The initial supported/tested devices include:
- Debug serial
- SD
Signed-off-by: Giulio Benetti
---
arch/arm/dts/Makefile | 2 +
arch/arm/dts/imxrt1050-evk.dts| 228 ++
arch/arm/mach-imx/imxrt/Kconfig
Signed-off-by: Giulio Benetti
---
drivers/video/mxsfb.c | 30 +-
1 file changed, 25 insertions(+), 5 deletions(-)
diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c
index d73a8bac99..51c3a219c5 100644
--- a/drivers/video/mxsfb.c
+++ b/drivers/video/mxsfb.c
Signed-off-by: Giulio Benetti
---
arch/arm/include/asm/mach-imx/regs-lcdif.h | 6 +++---
drivers/video/mxsfb.c | 1 +
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/arch/arm/include/asm/mach-imx/regs-lcdif.h
b/arch/arm/include/asm/mach-imx/regs-lcdif.h
index
Add i.IMXRT family basic support.
Signed-off-by: Giulio Benetti
---
arch/arm/Kconfig| 10 ++
arch/arm/Makefile | 4 +-
arch/arm/dts/imxrt1050.dtsi | 167
arch/arm/include/asm/arch-imxrt/clock.h
Better to register the 2 clock as different because they work slightly
differently depending on power_bit and powerup_set bits coming on next
patches.
Signed-off-by: Giulio Benetti
---
drivers/clk/imx/clk-pllv3.c | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git
Add disable() support.
Signed-off-by: Giulio Benetti
---
drivers/clk/imx/clk-pllv3.c | 16
1 file changed, 16 insertions(+)
diff --git a/drivers/clk/imx/clk-pllv3.c b/drivers/clk/imx/clk-pllv3.c
index 84283ab6a9..cb461cd5be 100644
--- a/drivers/clk/imx/clk-pllv3.c
+++ b
Before set_rate() pllv3 needs enable() to power the pll up.
Add enable() taking into account different power_bit and
different powerup_set, because some pll needs its power_bit to be
set or reset to be powered on.
Signed-off-by: Giulio Benetti
---
drivers/clk/imx/clk-pllv3.c | 24
baudrate the same way as i.MX8 does.
Signed-off-by: Giulio Benetti
---
drivers/serial/serial_lpuart.c | 15 +++
include/fsl_lpuart.h | 3 ++-
2 files changed, 13 insertions(+), 5 deletions(-)
diff --git a/drivers/serial/serial_lpuart.c b/drivers/serial/serial_lpuart.c
index
Add PLLV3_SYS support by adding set/get_rate() for PLLV3_SYS
but keeping generic enable()/disable(). Add a different driver
because ops are different respect to GENERIC/USB.
Signed-off-by: Giulio Benetti
---
drivers/clk/imx/clk-pllv3.c | 53 +
1 file changed
Add i.MXRT pinctrl driver.
Signed-off-by: Giulio Benetti
---
drivers/pinctrl/nxp/Kconfig | 14 +
drivers/pinctrl/nxp/Makefile | 1 +
drivers/pinctrl/nxp/pinctrl-imxrt.c | 40 +
include/dt-bindings/pinctrl/pins-imxrt1050.h | 993
Since some driver requires this function add it as an empty stub
when DCACHE is OFF.
Signed-off-by: Giulio Benetti
---
arch/arm/cpu/armv7m/cache.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/cpu/armv7m/cache.c b/arch/arm/cpu/armv7m/cache.c
index 1106bead41..0ccd7519a1
Signed-off-by: Giulio Benetti
---
drivers/ram/Kconfig | 8 +
drivers/ram/Makefile | 2 +
drivers/ram/imxrt_sdram.c| 439 +++
include/dt-bindings/clock/imxrt-clock.h | 2 +-
include/dt-bindings/memory/imxrt
Add compatible "fsl,imxrt-usdhc" to make mmc working on i.MXRT platforms
with CONFIG_DM_MMC=y
Signed-off-by: Giulio Benetti
---
drivers/mmc/Kconfig | 2 +-
drivers/mmc/fsl_esdhc_imx.c | 15 ++-
2 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/d
This driver assumes that lpuart clock is already enabled before probing
but using DM only lpuart won't be automatically enabled so add
clk_enable() when probing if CONFIG_CLK is defined.
Signed-off-by: Giulio Benetti
---
drivers/serial/serial_lpuart.c | 13 +
1 file changed, 13
Add i.MXRT clk driver support.
Signed-off-by: Giulio Benetti
---
drivers/clk/imx/Kconfig | 16 ++
drivers/clk/imx/Makefile| 2 +
drivers/clk/imx/clk-imxrt.c | 254
include/dt-bindings/clock/imxrt-clock.h | 65 ++
4
This commit:
https://gitlab.denx.de/u-boot/u-boot/commit/d409c962169bd293e39386d0ddfa64d5222a3be4
causes build failure with ICACHE enabled. This is due to missing
invalidate_icache_all() stub. Let's add empty invalidate_icache_all() in
the case where ICACHE is not enabled.
Signed-off-by: Giulio
Hello,
On 11/21/19 12:00 AM, Giulio Benetti wrote:
This commit:
https://gitlab.denx.de/u-boot/u-boot/commit/d409c962169bd293e39386d0ddfa64d5222a3be4
causes build failure with ICACHE enabled. This is due to missing
invalidate_icache_all() stub. Let's add empty invalidate_icache_all() in
the case
ddr is
not an entry point.
So use image_get_ep() for entry_point assignment and image_get_load()
for load_addr assignment.
Signed-off-by: Giulio Benetti
---
common/spl/spl.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/common/spl/spl.c b/common/spl/spl.c
index
1 - 100 of 454 matches
Mail list logo