Re: [PATCH v1] doc: imx: imxrt1170: Document imxrt1170-evk board

2024-02-01 Thread Giulio Benetti
Hi Jesse, On 01/02/24 16:00, Jesse Taube wrote: Add documentation for imxrt1170-evk. Signed-off-by: Jesse Taube looks good to me Reviewed-by: Giulio Benetti Best regards -- Giulio Benetti CEO@Benetti Engineering sas --- doc/board/nxp/imxrt1170-evk.rst | 42

Re: [PATCH v1 1/2] imx: imxrt1050-evk: Add support for SPI flash booting

2024-01-31 Thread Giulio Benetti
can keep it as is or implement armv7m complete mmu_set_region_dcache_behaviour() Best regards -- Giulio Benetti CEO@Benetti Engineering sas

Re: [PATCH v1 1/2] imx: imxrt1050-evk: Add support for SPI flash booting

2024-01-29 Thread Giulio Benetti
ile mode 100644 index 00..fb7b6489a3 --- /dev/null +++ b/board/freescale/imxrt1050-evk/imximage-nor.cfg @@ -0,0 +1,41 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (C) 2019 + * Author(s): Giulio Benetti thanks for giving me credits but I haven't worked on this, so please dro

Re: [PATCH] net: phy: broadcom: add BCM5221 phy support

2023-08-12 Thread Giulio Benetti
Hello Marek, thanks for reviewing, On 12/08/23 08:19, Marek Vasut wrote: On 8/11/23 23:42, Giulio Benetti wrote: Add BCM5221 phy support. Why not port Linux drivers/net/sungem_phy.c instead ? That already supports the PHY . That was my idea too in the beginning, but sungem_phy.c

[PATCH] net: phy: broadcom: add BCM5221 phy support

2023-08-11 Thread Giulio Benetti
Add BCM5221 phy support. Sponsored by: Tekvox Inc. Cc: Jim Reinhart Cc: James Autry Cc: Matthew Maron Signed-off-by: Giulio Benetti --- drivers/net/phy/broadcom.c | 99 ++ 1 file changed, 99 insertions(+) diff --git a/drivers/net/phy/broadcom.c b/drivers

Re: [PATCH] arm: mx6: module_fuse: fix build failure due to wrong argument name

2023-06-15 Thread Giulio Benetti
Hello All, On 07/04/23 03:52, Peng Fan wrote: On 4/7/2023 12:17 AM, Giulio Benetti wrote: nodeoff variable should be variable off returned by fdt_path_offset() so let's rename it to off. Signed-off-by: Giulio Benetti Reviewed-by: Peng Fan I kindly ping Best regards -- CEO/CTO@Benetti

Re: Support for NXP S32K3 Family

2023-04-20 Thread Giulio Benetti
Hi Ashok, On 20/04/23 11:19, Ashok Kumar wrote: Hey Simon, Thanks for the suggestions. Sure, I will try to get some more information to build u-boot for S32K family. I have ported i.MXRT10xx family to uboot while Jesse the i.MXRT11xx family and then we ported the initial support to Linux

[PATCH] arm: mx6: module_fuse: fix build failure due to wrong argument name

2023-04-06 Thread Giulio Benetti
nodeoff variable should be variable off returned by fdt_path_offset() so let's rename it to off. Signed-off-by: Giulio Benetti --- arch/arm/mach-imx/mx6/module_fuse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/mx6/module_fuse.c b/arch/arm/mach-imx/mx6

[PATCH 2/2] sunxi: video: Add support for active low LCD power pin

2022-11-22 Thread Giulio Benetti
On some board gpio to power LCD can be active low, so let's add CONFIG_VIDEO_LCD_POWER_ACTIVE_LOW to allow this. Signed-off-by: Giulio Benetti --- arch/arm/mach-sunxi/Kconfig | 7 +++ drivers/video/sunxi/sunxi_display.c | 4 2 files changed, 11 insertions(+) diff --git a/arch

[PATCH 1/2] pwm: sunxi: enable pwm0 support on sun7i

2022-11-22 Thread Giulio Benetti
sun7i pwm is equal to sun4i and sun5i so enable pwm0 the same way for sun7i. Signed-off-by: Giulio Benetti --- arch/arm/include/asm/arch-sunxi/pwm.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/include/asm/arch-sunxi/pwm.h b/arch/arm/include/asm/arch-sunxi

Re: [PATCH v5 3/8] imxrt1050: synchronise device tree with linux

2022-11-07 Thread Giulio Benetti
into the -u-boot.dtsi device tree include files which BTW get included automatically by the U-Boot build system. Signed-off-by: Marcel Ziswiler Reviewed-by: Giulio Benetti and I've tested on the board and both lcd and usb works correctly so: Tested-by: Giulio Benetti Thank you

Re: [PATCH v4 3/8] imxrt1050: synchronise device tree with linux

2022-11-07 Thread Giulio Benetti
/dts/imxrt1050-evk-u-boot.dtsi index 617cece448..d6eba12576 100644 --- a/arch/arm/dts/imxrt1050-evk-u-boot.dtsi +++ b/arch/arm/dts/imxrt1050-evk-u-boot.dtsi @@ -4,9 +4,13 @@ * Author(s): Giulio Benetti */ +#include +#include "imxrt1050-pinfunc.h" + / { chosen {

Re: [PATCH v4 2/8] imxrt1020: migrate to build system included -u-boot.dtsi

2022-11-06 Thread Giulio Benetti
Hi Marcel, On 05/11/22 12:30, Marcel Ziswiler wrote: From: Marcel Ziswiler Migrate to using automatic build system included -u-boot.dtsi device tree include files. Signed-off-by: Marcel Ziswiler Reviewed-by: Giulio Benetti and: Tested-by: Giulio Benetti -- Giulio Benetti CEO/CTO

Re: [PATCH v3 3/8] imxrt1050: synchronise device tree with linux

2022-10-23 Thread Giulio Benetti
Hi Marcel, > Il giorno 24 ott 2022, alle ore 00:13, Marcel Ziswiler > ha scritto: > > Hi Giulio > >> On Sun, 2022-10-23 at 01:47 +0200, Giulio Benetti wrote: >> Hi Marcel, >> >> Il 22/10/2022 23:42, Marcel Ziswiler ha scritto: >>> From: M

Re: [PATCH v3 2/8] imxrt1020: fix lpuart issue in common u-boot device tree

2022-10-23 Thread Giulio Benetti
Hi Marcel, > Il giorno 24 ott 2022, alle ore 00:01, Marcel Ziswiler > ha scritto: > > Hi Giulio > >> On Sun, 2022-10-23 at 01:32 +0200, Giulio Benetti wrote: >> Hi Marcel, >> >> thanks for contributing, > > You are very welcome. > &g

Re: [PATCH v3 3/8] imxrt1050: synchronise device tree with linux

2022-10-22 Thread Giulio Benetti
-boot.dtsi @@ -4,8 +4,12 @@ * Author(s): Giulio Benetti */ +#include +#include "imxrt1050-pinfunc.h" + / { chosen { + tick-timer = u-boot,dm-spl; }; @@ -15,6 +19,52 @@ soc { u-boot,dm-spl; + +

Re: [PATCH v3 2/8] imxrt1020: fix lpuart issue in common u-boot device tree

2022-10-22 Thread Giulio Benetti
evk-u-boot.dtsi" This ^^^ is needed, please revert it. #include "imxrt1020-pinfunc.h" / { Have you also tested the change on a board? Best regards -- Giulio Benetti CEO/CTO@Benetti Engineering sas

Re: Wolfgang Denk

2022-10-21 Thread Giulio Benetti
ciples. We will miss him. Rest in peace, my friend Stefano Babic I'm very sorry, rest in peace Wolfgang Denk and thank you for what you have created. -- Giulio Benetti Benetti Engineering sas

Re: [PATCH 6/6] sunxi: add CherryPi-F1C200s support

2022-10-20 Thread Giulio Benetti
Hi Andre, On 18/10/22 16:01, Andre Przywara wrote: On Fri, 14 Oct 2022 01:04:18 -0400 Jesse Taube wrote: Hi Jesse, Giulio, thanks for having a look and for the testing! You're welcome: Tested-by: Giulio Benetti Best regards -- Giulio Benetti CEO/CTO@Benetti Engineering sas On 10/13/22

Re: [PATCH v2 8/8] ARM: imxrt1170_defconfig: Add i.MXRT1170 defconfig

2022-06-18 Thread Giulio Benetti
. Best regards -- Giulio Benetti CTO/CEO@Benetti Engineering sas

Re: [PATCH] drivers/adc/rockchip-saradc: remove double semi-colon

2022-03-14 Thread Giulio Benetti
mmit rules :( Oh, I've forgotten about this in u-boot. Just sent V2: https://patchwork.ozlabs.org/project/uboot/patch/20220314090943.821630-1-giulio.bene...@benettiengineering.com/ and tagged V1 as superseded in patchwork. Best regards -- Giulio Benetti Benetti Engineering sas Thanks, - Kever Giul

[PATCH v2] rockchip: saradc: remove double semi-colon

2022-03-14 Thread Giulio Benetti
Remove double semi-colon that has been forgotten while adding the driver. This is only a style fix since it doesn't change the functionality of the driver. Signed-off-by: Giulio Benetti --- V1->V2: * Improved commit log as suggested by Kever Yang --- drivers/adc/rockchip-saradc.c | 2 +- 1 f

Re: [PATCH v1 1/9] arm: nuvoton: Add support for Nuvoton NPCM845 BMC

2022-03-10 Thread Giulio Benetti
look at upstreamed .dts files and look for uboot.dtsi suffix files. Best regards —- Giulio Benetti Benetti Engineering sas > Thanks a lot for your comments. > > -- > Stanley > >> On Fri, Mar 11, 2022 at 2:49 AM Tom Rini wrote: >> >>> On Wed, Dec 15, 202

Re: [PATCH v1 1/9] arm: nuvoton: Add support for Nuvoton NPCM845 BMC

2022-03-10 Thread Giulio Benetti
On 11/03/22 02:06, Giulio Benetti wrote: Hi Stanley, On 11/03/22 01:50, Stanley Chu wrote: Hi Giulio, Thank you for your comment, I've submitted a clk driver patch to address this. https://patchwork.ozlabs.org/project/uboot/patch/20220225075954.3965-1-ys...@nuvoton.com/ Good to see

Re: [PATCH v1 1/9] arm: nuvoton: Add support for Nuvoton NPCM845 BMC

2022-03-10 Thread Giulio Benetti
patches have been applied then send only the ones not applied. But as I can see here they are still not applied. Kind regards -- Giulio Benetti Benetti Engineering sas -- Stanley On Wed, Dec 15, 2021 at 8:12 PM Giulio Benetti wrote: Hi Stanley, On 15/12/21 03:57, Stanley Chu wrote: Add

[PATCH] drivers/adc/rockchip-saradc: remove double semi-colon

2022-02-03 Thread Giulio Benetti
Signed-off-by: Giulio Benetti --- drivers/adc/rockchip-saradc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/adc/rockchip-saradc.c b/drivers/adc/rockchip-saradc.c index e464d33f22..e0cbab6aa0 100644 --- a/drivers/adc/rockchip-saradc.c +++ b/drivers/adc/rockchip

Re: Please test U-Boot Allwinner F1C100s support

2022-01-31 Thread Giulio Benetti
Hi Andre, Jesse, All, On 31/01/22 19:13, Jesse Taube wrote: On 1/31/22 08:07, Giulio Benetti wrote: Hi Andre, Il giorno 31 gen 2022, alle ore 13:57, Andre Przywara ha scritto: On Mon, 31 Jan 2022 13:17:52 +0100 Giulio Benetti wrote: Hi All, I've tried several times on both F1C100s

Re: Please test U-Boot Allwinner F1C100s support

2022-01-31 Thread Giulio Benetti
Hi Andre, On 31/01/22 14:57, Andre Przywara wrote: On Mon, 31 Jan 2022 14:07:54 +0100 Giulio Benetti wrote: Hi Giulio, Il giorno 31 gen 2022, alle ore 13:57, Andre Przywara ha scritto: On Mon, 31 Jan 2022 13:17:52 +0100 Giulio Benetti wrote: Hi All, I've tried several times

Re: Please test U-Boot Allwinner F1C100s support

2022-01-31 Thread Giulio Benetti
Hi Andre, > Il giorno 31 gen 2022, alle ore 13:57, Andre Przywara > ha scritto: > > On Mon, 31 Jan 2022 13:17:52 +0100 > Giulio Benetti wrote: > >> Hi All, >> >> I've tried several times on both F1C100s and F1C200s, maybe I'm doing >> something w

Re: Please test U-Boot Allwinner F1C100s support

2022-01-31 Thread Giulio Benetti
see it's written at 0x2000, so 8K offset, like the mangoPI image for example. But no uart output. Am I doing something wrong? Best regards -- Giulio Benetti Benetti Engineering sas On 31/01/22 11:47, Giulio Benetti wrote: Hi Andre and Jesse, I test it today on both F1C100s and F1C200s! Lichee

Re: Please test U-Boot Allwinner F1C100s support

2022-01-31 Thread Giulio Benetti
Hi Andre and Jesse, I test it today on both F1C100s and F1C200s! Lichee Pi Nano and the Jesse’s board with F1C200s. Best regards —- Giulio Benetti Benetti Engineering sas > Il giorno 31 gen 2022, alle ore 03:12, Jesse Taube > ha scritto: > >  > >> On 1/30/22 21:04,

Re: [PATCH 1/2] clk: imx: select [SPL_]CLK_COMPOSITE_CCF for imxrt10{20|50}

2022-01-30 Thread Giulio Benetti
Hi Heiko, > Il giorno 30 gen 2022, alle ore 07:38, Heiko Thiery > ha scritto: > > The clock composite is required when using the clock framework. So > select it automatically. > > Signed-off-by: Heiko Thiery Thank you Reviewed-by: Giulio Benetti Best regards —- G

Re: [PATCH 2/2] configs/*imxrt10*: remove [SPL_]CLK_COMPOSITE_CCF

2022-01-30 Thread Giulio Benetti
Hi Heiko, > Il giorno 30 gen 2022, alle ore 07:39, Heiko Thiery > ha scritto: > > This option is selected implicitly when [SPL_]CLK_IMXRT10{20|50} is selected. > > Signed-off-by: Heiko Thiery Thank you Reviewed-by: Giulio Benetti Best regards —- Giulio Benetti Benet

Re: [PATCH 09/11] sunxi: Add support for SUNIV architecture

2022-01-29 Thread Giulio Benetti
egisters. Thanks sam, looking at the stack is the best option. I've been too late :-) So happy assembly coding Jesse! Best regards -- Giulio Benetti Benetti Engineering sas

Re: [PATCH 09/11] sunxi: Add support for SUNIV architecture

2022-01-29 Thread Giulio Benetti
t;>-#if !defined(CONFIG_ARM_CORTEX_CPU_IS_UP) && !defined(CONFIG_ARM64) >>>>>> +#if !defined(CONFIG_ARM_CORTEX_CPU_IS_UP) && !defined(CONFIG_ARM64) && \ >>>>>> +!defined(CONFIG_MACH_SUNIV) >>>>> >>>>>

Re: [PATCH 09/11] sunxi: Add support for SUNIV architecture

2022-01-29 Thread Giulio Benetti
art.S#L40 since that is the very beginning of SPL using a #ifdef SUNIV/#endif the sp is also a good idea. This is also another good option. But if the previous works I would go for that IMHO. Best regards -- Giulio Benetti Benetti Engineering sas

Re: [PATCH 00/11] Add support for SUNIV and F1C100s.

2022-01-05 Thread Giulio Benetti
time, this way I'll be able to give a Tested-by: me. Best regards -- Giulio Benetti Benetti Engineering sas I don't have any hardware, so would need to rely on others to make sure this code is somewhat sane. I can send you one of my many boards :) And it basically looks like a v2 of Icenowy's

Re: [PATCH v1 1/9] arm: nuvoton: Add support for Nuvoton NPCM845 BMC

2021-12-15 Thread Giulio Benetti
/configs/arbel.h | 54 arbel should be arbel-evk I stop here, because there could be big changes if others agree. Best regards -- Giulio Benetti Benetti Engineering sas 17 files changed, 924 insertions(+) create mode 100644 arch/arm/include/asm/arch-npcm8xx/clock.h

[PATCH 1/2] board/sunxi/dram_sun4i_auto: use DRAM_MEMORY_TYPE_DDR3 instead of magic number 3

2021-12-02 Thread Giulio Benetti
Since DRAM_MEMORY_TYPE_DDR3 is defined let's use it instead of magic number 3. Signed-off-by: Giulio Benetti --- board/sunxi/dram_sun4i_auto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/sunxi/dram_sun4i_auto.c b/board/sunxi/dram_sun4i_auto.c index e8bbee4ee5

[PATCH 2/2] board/sunxi/dram_sun5i_auto: use DRAM_MEMORY_TYPE_DDR3 instead of magic number 3

2021-12-02 Thread Giulio Benetti
Since DRAM_MEMORY_TYPE_DDR3 is defined let's use it instead of magic number 3. Signed-off-by: Giulio Benetti --- board/sunxi/dram_sun5i_auto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/sunxi/dram_sun5i_auto.c b/board/sunxi/dram_sun5i_auto.c index a5f4f8b743

[PATCH] video: mxsfb: fix clk_get_by_name() return value check

2021-10-23 Thread Giulio Benetti
If clk_get_by_name() returns 0 it means it executed successfully while now we consider it as an error. So let's check if return value is negative to be an error. Otherwise this prevents "axi" and "disp_axi" to be enabled. Signed-off-by: Giulio Benetti --- drivers/video/mxsf

Re: External dts building

2021-10-14 Thread Giulio Benetti
Hi Simon, > Il giorno 15 ott 2021, alle ore 02:53, Simon Glass ha > scritto: > > Hi Giulio, > >> On Thu, 14 Oct 2021 at 15:12, Giulio Benetti >> wrote: >> >> Hi Simon, >> >> Il giorno 14 ott 2021, alle ore 22:43, Simon Glass ha >&g

Re: External dts building

2021-10-14 Thread Giulio Benetti
On 10/14/21 8:22 PM, Tom Rini wrote: On Thu, Oct 14, 2021 at 08:08:37PM +0200, Giulio Benetti wrote: Il giorno 14 ott 2021, alle ore 15:45, Tom Rini ha scritto: On Thu, Oct 14, 2021 at 02:53:30AM +0200, Giulio Benetti wrote: Hello All, is there a way to pass a dts file without touching

Re: External dts building

2021-10-14 Thread Giulio Benetti
Hi Simon, > Il giorno 14 ott 2021, alle ore 22:43, Simon Glass ha > scritto: > > Hi Giulio, > >> On Thu, 14 Oct 2021 at 13:23, Giulio Benetti >> wrote: >> >> Hi Simon, >> >>>> Il giorno 14 ott 2021, alle ore 20:24, Simon Glass ha

Re: External dts building

2021-10-14 Thread Giulio Benetti
Hi Simon, > Il giorno 14 ott 2021, alle ore 20:24, Simon Glass ha > scritto: > > Hi, > >> On Thu, 14 Oct 2021 at 07:46, Tom Rini wrote: >> >>> On Thu, Oct 14, 2021 at 02:53:30AM +0200, Giulio Benetti wrote: >>> >>> Hello All, >&

Re: External dts building

2021-10-14 Thread Giulio Benetti
> Il giorno 14 ott 2021, alle ore 15:45, Tom Rini ha > scritto: > > On Thu, Oct 14, 2021 at 02:53:30AM +0200, Giulio Benetti wrote: > >> Hello All, >> >> is there a way to pass a dts file without touching the >> arch/arm/boot/dts/Makefile? >>

External dts building

2021-10-13 Thread Giulio Benetti
to prepend the dts file in the Makefile above, but this has drawbacks, like we reconfigure(it keeps adding files every time). So I ask you, is there a more canonical way already to achieve this? Thanks in advance Best regards Giulio Benetti Benetti Engineering sas

[PATCH 6/6] configs: imxrt1050-evk: enable host usb support and its command

2021-05-20 Thread Giulio Benetti
Now that usb host is supported let's enable it on this board. Signed-off-by: Giulio Benetti --- configs/imxrt1050-evk_defconfig | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/configs/imxrt1050-evk_defconfig b/configs/imxrt1050-evk_defconfig index 9c8bdb07dc

[PATCH 5/6] ARM: dts: imxrt1050-evk: enable usbotg1 node as host

2021-05-20 Thread Giulio Benetti
Enable usbotg1 port node as host usb. Signed-off-by: Giulio Benetti --- arch/arm/dts/imxrt1050-evk.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/dts/imxrt1050-evk.dts b/arch/arm/dts/imxrt1050-evk.dts index 81db1a446d..324cf7af96 100644 --- a/arch/arm/dts/imxrt1050

[PATCH 4/6] ARM: dts: imxrt1050: add usbotg1, usbphy1 and usbmisc nodes

2021-05-20 Thread Giulio Benetti
Usb is now supported so add all required nodes for it in imxrt1050. Signed-off-by: Giulio Benetti --- arch/arm/dts/imxrt1050.dtsi | 27 +++ 1 file changed, 27 insertions(+) diff --git a/arch/arm/dts/imxrt1050.dtsi b/arch/arm/dts/imxrt1050.dtsi index ec1eb88e45

[PATCH 3/6] usb: ehci-mx6: add support for i.MXRT

2021-05-20 Thread Giulio Benetti
Add support for usb1 and usb2 present on i.IMXRT. Signed-off-by: Giulio Benetti --- arch/arm/include/asm/arch-imxrt/imx-regs.h | 4 drivers/usb/host/Kconfig | 2 +- drivers/usb/host/ehci-mx6.c| 13 +++-- 3 files changed, 12 insertions(+), 7

[PATCH 1/6] ARM: IMXRT: introduce is_imxrt*() macros and get_cpu_rev()

2021-05-20 Thread Giulio Benetti
We need those macros to instruct drivers on how to behave for SoC specific quirks, so let's add it as done for other i.MX SoCs. Signed-off-by: Giulio Benetti --- arch/arm/include/asm/arch-imx/cpu.h | 3 +++ arch/arm/include/asm/mach-imx/sys_proto.h | 4 arch/arm/mach-imx/imxrt

[PATCH 2/6] clk: imx: clk-imxrt1050: introduce IMXRT1050_CLK_USBOH3

2021-05-20 Thread Giulio Benetti
Usb needs IMXRT1050_CLK_USBOH3 clock to be enabled, so let's add it to clock driver. Signed-off-by: Giulio Benetti --- drivers/clk/imx/clk-imxrt1050.c | 2 ++ include/dt-bindings/clock/imxrt1050-clock.h | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers

[PATCH 0/6] i.MXRT1050 add Usb Host support

2021-05-20 Thread Giulio Benetti
This patchset adds Usb Host support for imxrt1050-evk board adjusting the compatible driver ehci-mx6. This allows to read a FAT usb key connected to usbotg1 port of imxrt1050-evk board. Giulio Benetti (6): ARM: IMXRT: introduce is_imxrt*() macros and get_cpu_rev() clk: imx: clk-imxrt1050

[PATCH 2/3] ARM: dts: imxrt1020-evk: move all u-boot, dm-spl to imxrt1020-evk-u-boot.dtsi file

2021-05-16 Thread Giulio Benetti
to imxrt1020-evk-u-boot.dtsi file. Signed-off-by: Giulio Benetti --- arch/arm/dts/imxrt1020-evk-u-boot.dtsi | 34 ++ arch/arm/dts/imxrt1020.dtsi| 10 2 files changed, 34 insertions(+), 10 deletions(-) diff --git a/arch/arm/dts/imxrt1020-evk-u-boot.dtsi b

[PATCH 3/3] ARM: dts: imxrt1020: add gpio5 node to this SoC

2021-05-16 Thread Giulio Benetti
i.MXRT1020 supports gpio5, so let's add a node for it. Signed-off-by: Giulio Benetti --- arch/arm/dts/imxrt1020.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/dts/imxrt1020.dtsi b/arch/arm/dts/imxrt1020.dtsi index 884d57f614..5ba314f995 100644 --- a/arch/arm/dts

[PATCH 1/3] ARM: dts: imxrt1050-evk: move all u-boot, dm-spl to imxrt1050-evk-u-boot.dtsi file

2021-05-16 Thread Giulio Benetti
to imxrt1050-evk-u-boot.dtsi file. Signed-off-by: Giulio Benetti --- arch/arm/dts/imxrt1050-evk-u-boot.dtsi | 38 ++ arch/arm/dts/imxrt1050.dtsi| 13 - 2 files changed, 38 insertions(+), 13 deletions(-) diff --git a/arch/arm/dts/imxrt1050-evk-u-boot.dtsi b

Re: [PATCH 0/5] Fix i.MXRT1050 hang on lcdif init and improve DT for mxsfb

2021-05-13 Thread Giulio Benetti
Hi Stefano, On 5/13/21 10:14 AM, Stefano Babic wrote: Hi Giulio, On 13.05.21 00:12, Giulio Benetti wrote: Hi Stefano, On 5/2/21 1:44 AM, Giulio Benetti wrote: On 4/13/21 1:05 AM, Giulio Benetti wrote: On 4/13/21 1:03 AM, Giulio Benetti wrote: This patchset fixes u-boot hang on i.MXRT1050

[PATCH v3 18/22] video: mxsfb: add enabling of "disp_axi" clock

2021-05-13 Thread Giulio Benetti
Some SoC needs "disp_axi" clock to be enabled, so let's try to retrieve it and enabling. If it fails it gives only a debug(), but this clock as well as "axi" clock is not mandatory. Signed-off-by: Giulio Benetti --- drivers/video/mxsfb.c | 11 +++ 1 file changed, 11

[PATCH v3 15/22] ARM: dts: imxrt1050-evk: add device_type = "memory" to memory node

2021-05-13 Thread Giulio Benetti
Now device_type = "memory" is mandatory to allow u-boot to read memory node, so let's add it to memory node. Signed-off-by: Giulio Benetti --- arch/arm/dts/imxrt1050-evk.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/imxrt1050-evk.dts b/arch/arm/dts/imxrt1050-evk

[PATCH v3 07/22] ARM: dts: imxrt1020-evk-u-boot: make gpt1 present for SPL

2021-05-13 Thread Giulio Benetti
Timer needs to be already enabled in spl, so let's add its node to spl dtb. Signed-off-by: Giulio Benetti --- arch/arm/dts/imxrt1020-evk-u-boot.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/imxrt1020-evk-u-boot.dtsi b/arch/arm/dts/imxrt1020-evk-u-boot.dtsi index

[PATCH v3 13/22] ARM: dts: imxrt1050-evk: set gpt1 as tick-timer for u-boot

2021-05-13 Thread Giulio Benetti
Let's set gpt1 as u-boot timer. Signed-off-by: Giulio Benetti --- arch/arm/dts/imxrt1050-evk.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/imxrt1050-evk.dts b/arch/arm/dts/imxrt1050-evk.dts index e592330332..6d21f2b738 100644 --- a/arch/arm/dts/imxrt1050-evk.dts +++ b

[PATCH v3 14/22] ARM: dts: imxrt1050-evk-u-boot: make gpt1 present for SPL

2021-05-13 Thread Giulio Benetti
Timer needs to be already enabled in spl, so let's add its node to spl dtb. Signed-off-by: Giulio Benetti --- arch/arm/dts/imxrt1050-evk-u-boot.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/imxrt1050-evk-u-boot.dtsi b/arch/arm/dts/imxrt1050-evk-u-boot.dtsi index

[PATCH v3 21/22] ARM: dts: imxrt1050: set lcdif clocks according to mxsfb driver

2021-05-13 Thread Giulio Benetti
Lcdif needs both "pix" and "axi" clocks to be enabled so let's add them to lcdif node. Signed-off-by: Giulio Benetti --- arch/arm/dts/imxrt1050.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/imxrt1050.dtsi b/arch/arm/dts/

[PATCH v3 19/22] clk: imx: clk-imxrt1050: introduce LCDIF_PIX and rename LCDIF to LCDIF_APB

2021-05-13 Thread Giulio Benetti
Lcd peripheral needs 2 different gates to be enable to work, so let's introduce the missing one(LCDIF_PIX) and rename the existing one (LCDIF_APB). Signed-off-by: Giulio Benetti --- drivers/clk/imx/clk-imxrt1050.c | 6 -- include/dt-bindings/clock/imxrt1050-clock.h | 5 +++-- 2

[PATCH v3 18/22] video: mxsfb: add enabling of "disp_axi" clock

2021-05-13 Thread Giulio Benetti
Some SoC needs "disp_axi" clock to be enabled, so let's try to retrieve it and enabling. If it fails it gives only a debug(), but this clock as well as "axi" clock is not mandatory. Signed-off-by: Giulio Benetti --- drivers/video/mxsfb.c | 11 +++ 1 file changed, 11

[PATCH v3 11/22] ARM: dts: imxrt1050: add gpt1 node

2021-05-13 Thread Giulio Benetti
Add gpt1 node for using it as timer. Signed-off-by: Giulio Benetti --- arch/arm/dts/imxrt1050.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/imxrt1050.dtsi b/arch/arm/dts/imxrt1050.dtsi index b7cc3fbc2a..6f9da3fe8a 100644 --- a/arch/arm/dts/imxrt1050.dtsi +++ b

Re: [PATCH v3 18/22] video: mxsfb: add enabling of "disp_axi" clock

2021-05-13 Thread Giulio Benetti
Sorry for this patch sent twice. My e-mail provider doesn't let me send more than 18 e-mail at a time, so I need to send it in 2 times and I've left this. Best regards -- Giulio Benetti Benetti Engineering sas On 5/13/21 12:19 PM, Giulio Benetti wrote: Some SoC needs "disp_axi&q

[PATCH v3 20/22] ARM: dts: imxrt1050: move lcdif assigned clock to dtsi

2021-05-13 Thread Giulio Benetti
Since we assume pll5 is the default lcdif clock source let's move assigned-clocks(-parents) properties to .dtsi file. Signed-off-by: Giulio Benetti --- arch/arm/dts/imxrt1050-evk.dts | 3 --- arch/arm/dts/imxrt1050.dtsi| 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git

[PATCH v3 22/22] ARM: dts: imxrt1050-evk: remove u-boot,dm-spl

2021-05-13 Thread Giulio Benetti
We don't need lcdif to be enable in SPL, so let's remove u-boot,dm-spl. Signed-off-by: Giulio Benetti --- arch/arm/dts/imxrt1050-evk.dts | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/dts/imxrt1050-evk.dts b/arch/arm/dts/imxrt1050-evk.dts index dc66fc9c37..81db1a446d 100644

[PATCH v3 10/22] ARM: dts: imxrt1050: add node label to osc

2021-05-13 Thread Giulio Benetti
Let's add node label to osc to be used as clock source for other nodes. Signed-off-by: Giulio Benetti --- arch/arm/dts/imxrt1050.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/imxrt1050.dtsi b/arch/arm/dts/imxrt1050.dtsi index a9281001e5..b7cc3fbc2a 100644

[PATCH v3 17/22] video: mxsfb: add enabling of "axi" clock other than "per" clock

2021-05-13 Thread Giulio Benetti
y with already existing .dts lcdif nodes implementation. Signed-off-by: Giulio Benetti --- drivers/video/mxsfb.c | 25 ++--- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c index e1fd36a62d..147bd668fe 100644 --- a/drivers/v

[PATCH v3 16/22] configs: imxrt1050-evk: enable imx gpt timer as tick-timer

2021-05-13 Thread Giulio Benetti
Let's enable imx-gpt-timer in imx1050-evk defconfig. Signed-off-by: Giulio Benetti --- configs/imxrt1050-evk_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/imxrt1050-evk_defconfig b/configs/imxrt1050-evk_defconfig index d03572e7db..9c8bdb07dc 100644 --- a/configs

[PATCH v3 01/22] arm: imxrt: soc: make mpu regions generic

2021-05-13 Thread Giulio Benetti
This mpu handling works for every i.MXRT SoC that we have, so let's generalize imxrt1050_region_config to imxrt_region_config. Signed-off-by: Giulio Benetti --- arch/arm/mach-imx/imxrt/soc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-imx/imxrt/soc.c

[PATCH v3 12/22] ARM: dts: imxrt1050-evk: enable gpt1 timer

2021-05-13 Thread Giulio Benetti
Enable gpt1 timer. Signed-off-by: Giulio Benetti --- arch/arm/dts/imxrt1050-evk.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/imxrt1050-evk.dts b/arch/arm/dts/imxrt1050-evk.dts index b5e781275e..e592330332 100644 --- a/arch/arm/dts/imxrt1050-evk.dts +++ b/arch/arm/dts

[PATCH v3 03/22] ARM: dts: imxrt1020: add node label to osc

2021-05-13 Thread Giulio Benetti
Let's add node label to osc to be used as clock source for other nodes. Signed-off-by: Giulio Benetti --- arch/arm/dts/imxrt1020.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/imxrt1020.dtsi b/arch/arm/dts/imxrt1020.dtsi index 97f3cec9f3..0a3a3b451a 100644

[PATCH v3 09/22] configs: imxrt1020-evk: enable imx gpt timer as tick-timer

2021-05-13 Thread Giulio Benetti
Let's enable imx-gpt-timer in imx1020-evk defconfig. Signed-off-by: Giulio Benetti --- configs/imxrt1020-evk_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/imxrt1020-evk_defconfig b/configs/imxrt1020-evk_defconfig index ad408ebef8..f0b05b7165 100644 --- a/configs

[PATCH v3 08/22] ARM: dts: imxrt1020-evk: add device_type = "memory" to memory node

2021-05-13 Thread Giulio Benetti
Now device_type = "memory" is mandatory to allow u-boot to read memory node, so let's add it to memory node. Signed-off-by: Giulio Benetti --- arch/arm/dts/imxrt1020-evk.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/imxrt1020-evk.dts b/arch/arm/dts/imxrt1020-evk

[PATCH v3 06/22] ARM: dts: imxrt1020-evk: set gpt1 as tick-timer for u-boot

2021-05-13 Thread Giulio Benetti
Let's set gpt1 as u-boot timer. Signed-off-by: Giulio Benetti --- arch/arm/dts/imxrt1020-evk.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/imxrt1020-evk.dts b/arch/arm/dts/imxrt1020-evk.dts index a471ff3838..b527206fcf 100644 --- a/arch/arm/dts/imxrt1020-evk.dts +++ b

[PATCH v3 05/22] ARM: dts: imxrt1020-evk: enable gpt1 timer

2021-05-13 Thread Giulio Benetti
Enable gpt1 timer. Signed-off-by: Giulio Benetti --- arch/arm/dts/imxrt1020-evk.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/imxrt1020-evk.dts b/arch/arm/dts/imxrt1020-evk.dts index ece13601bd..a471ff3838 100644 --- a/arch/arm/dts/imxrt1020-evk.dts +++ b/arch/arm/dts

[PATCH v3 04/22] ARM: dts: imxrt1020: add gpt1 node

2021-05-13 Thread Giulio Benetti
Add gpt1 node for using it as timer. Signed-off-by: Giulio Benetti --- arch/arm/dts/imxrt1020.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/imxrt1020.dtsi b/arch/arm/dts/imxrt1020.dtsi index 0a3a3b451a..cab608c644 100644 --- a/arch/arm/dts/imxrt1020.dtsi +++ b

[PATCH v3 02/22] timer: imx-gpt: Add timer support for i.MX SoCs family

2021-05-13 Thread Giulio Benetti
This timer driver uses GPT Timer (General Purpose Timer) available on a lot of i.MX SoCs family. This driver deals with both 24Mhz oscillator as well as peripheral clock. Signed-off-by: Giulio Benetti [Giulio: added the driver's stub and handled peripheral clock prescaler setting making driver

[PATCH v3 00/22] Fix i.MXRT1020/50

2021-05-13 Thread Giulio Benetti
lcdif init hang * improve some commit log --- Giulio Benetti (22): arm: imxrt: soc: make mpu regions generic timer: imx-gpt: Add timer support for i.MX SoCs family ARM: dts: imxrt1020: add node label to osc ARM: dts: imxrt1020: add gpt1 node ARM: dts: imxrt1020-evk: enable gpt1 timer AR

[PATCH v3 00/22] Fix i.MXRT1020/50

2021-05-13 Thread Giulio Benetti
lcdif init hang * improve some commit log --- Giulio Benetti (22): arm: imxrt: soc: make mpu regions generic timer: imx-gpt: Add timer support for i.MX SoCs family ARM: dts: imxrt1020: add node label to osc ARM: dts: imxrt1020: add gpt1 node ARM: dts: imxrt1020-evk: enable gpt1 timer AR

Re: [PATCH 0/5] Fix i.MXRT1050 hang on lcdif init and improve DT for mxsfb

2021-05-12 Thread Giulio Benetti
Hi Stefano, On 5/2/21 1:44 AM, Giulio Benetti wrote: On 4/13/21 1:05 AM, Giulio Benetti wrote: On 4/13/21 1:03 AM, Giulio Benetti wrote: This patchset fixes u-boot hang on i.MXRT1050 while setting lcdif in mxsfb driver. There are 2 gates to be enabled to initialize mxsfb so let's introduce

Re: [PATCH 03/16] ARM: dts: imxrt1020: add alias to osc

2021-05-03 Thread Giulio Benetti
> Il giorno 3 mag 2021, alle ore 20:21, Fabio Estevam ha > scritto: > > On Mon, May 3, 2021 at 2:52 PM Giulio Benetti > wrote: > >> Ok, is it ok if it even repeats the first line? Because I don’t know what >> write more than that. > > Ye

Re: [PATCH 03/16] ARM: dts: imxrt1020: add alias to osc

2021-05-03 Thread Giulio Benetti
Hi Gabio, > Il giorno 3 mag 2021, alle ore 16:01, Fabio Estevam ha > scritto: > > Hi Giulio, > >> On Wed, Apr 7, 2021 at 4:03 PM Giulio Benetti >> wrote: >> >> Signed-off-by: Giulio Benetti >> --- >> arch/arm/dts/imxrt1020.dtsi |

Re: [PATCH 0/5] Fix i.MXRT1050 hang on lcdif init and improve DT for mxsfb

2021-05-01 Thread Giulio Benetti
On 4/13/21 1:05 AM, Giulio Benetti wrote: On 4/13/21 1:03 AM, Giulio Benetti wrote: This patchset fixes u-boot hang on i.MXRT1050 while setting lcdif in mxsfb driver. There are 2 gates to be enabled to initialize mxsfb so let's introduce the missing gate as a clock and rename "per&q

[PATCH v2 16/16] configs: imxrt1050-evk: enable imx gpt timer as tick-timer

2021-05-01 Thread Giulio Benetti
Signed-off-by: Giulio Benetti --- configs/imxrt1050-evk_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/imxrt1050-evk_defconfig b/configs/imxrt1050-evk_defconfig index f639ea7623..e74473511d 100644 --- a/configs/imxrt1050-evk_defconfig +++ b/configs/imxrt1050-evk_defconfig

[PATCH v2 15/16] ARM: dts: imxrt1050-evk: add device_type = "memory" to memory node

2021-05-01 Thread Giulio Benetti
Now device_type = "memory" is mandatory to allow u-boot to read memory node, so let's add it to memory node. Signed-off-by: Giulio Benetti --- arch/arm/dts/imxrt1050-evk.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/imxrt1050-evk.dts b/arch/arm/dts/imxrt1050-evk

[PATCH v2 14/16] ARM: dts: imxrt1050-evk-u-boot: make gpt1 present for SPL

2021-05-01 Thread Giulio Benetti
Signed-off-by: Giulio Benetti --- arch/arm/dts/imxrt1050-evk-u-boot.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/imxrt1050-evk-u-boot.dtsi b/arch/arm/dts/imxrt1050-evk-u-boot.dtsi index fb4f7f6f9d..a4b50f0bb2 100644 --- a/arch/arm/dts/imxrt1050-evk-u-boot.dtsi +++ b

[PATCH v2 13/16] ARM: dts: imxrt1050-evk: set gpt1 as tick-timer for u-boot

2021-05-01 Thread Giulio Benetti
Signed-off-by: Giulio Benetti --- arch/arm/dts/imxrt1050-evk.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/imxrt1050-evk.dts b/arch/arm/dts/imxrt1050-evk.dts index e592330332..6d21f2b738 100644 --- a/arch/arm/dts/imxrt1050-evk.dts +++ b/arch/arm/dts/imxrt1050-evk.dts

[PATCH v2 12/16] ARM: dts: imxrt1050-evk: enable gpt1 timer

2021-05-01 Thread Giulio Benetti
Signed-off-by: Giulio Benetti --- arch/arm/dts/imxrt1050-evk.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/imxrt1050-evk.dts b/arch/arm/dts/imxrt1050-evk.dts index b5e781275e..e592330332 100644 --- a/arch/arm/dts/imxrt1050-evk.dts +++ b/arch/arm/dts/imxrt1050-evk.dts

[PATCH v2 11/16] ARM: dts: imxrt1050: add gpt1 node

2021-05-01 Thread Giulio Benetti
Signed-off-by: Giulio Benetti --- arch/arm/dts/imxrt1050.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/imxrt1050.dtsi b/arch/arm/dts/imxrt1050.dtsi index b7cc3fbc2a..6f9da3fe8a 100644 --- a/arch/arm/dts/imxrt1050.dtsi +++ b/arch/arm/dts/imxrt1050.dtsi @@ -154,5

[PATCH v2 10/16] ARM: dts: imxrt1050: add alias to osc

2021-05-01 Thread Giulio Benetti
Signed-off-by: Giulio Benetti --- arch/arm/dts/imxrt1050.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/imxrt1050.dtsi b/arch/arm/dts/imxrt1050.dtsi index a9281001e5..b7cc3fbc2a 100644 --- a/arch/arm/dts/imxrt1050.dtsi +++ b/arch/arm/dts/imxrt1050.dtsi

[PATCH v2 09/16] configs: imxrt1020-evk: enable imx gpt timer as tick-timer

2021-05-01 Thread Giulio Benetti
Signed-off-by: Giulio Benetti --- configs/imxrt1020-evk_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/imxrt1020-evk_defconfig b/configs/imxrt1020-evk_defconfig index 9bddb69cd4..51ff702bc6 100644 --- a/configs/imxrt1020-evk_defconfig +++ b/configs/imxrt1020-evk_defconfig

[PATCH v2 08/16] ARM: dts: imxrt1020-evk: add device_type = "memory" to memory node

2021-05-01 Thread Giulio Benetti
Now device_type = "memory" is mandatory to allow u-boot to read memory node, so let's add it to memory node. Signed-off-by: Giulio Benetti --- arch/arm/dts/imxrt1020-evk.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/imxrt1020-evk.dts b/arch/arm/dts/imxrt1020-evk

[PATCH v2 07/16] ARM: dts: imxrt1020-evk-u-boot: make gpt1 present for SPL

2021-05-01 Thread Giulio Benetti
Signed-off-by: Giulio Benetti --- arch/arm/dts/imxrt1020-evk-u-boot.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/imxrt1020-evk-u-boot.dtsi b/arch/arm/dts/imxrt1020-evk-u-boot.dtsi index d32c98de9c..34d19e06c5 100644 --- a/arch/arm/dts/imxrt1020-evk-u-boot.dtsi +++ b

[PATCH v2 06/16] ARM: dts: imxrt1020-evk: set gpt1 as tick-timer for u-boot

2021-05-01 Thread Giulio Benetti
Signed-off-by: Giulio Benetti --- arch/arm/dts/imxrt1020-evk.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/imxrt1020-evk.dts b/arch/arm/dts/imxrt1020-evk.dts index a471ff3838..b527206fcf 100644 --- a/arch/arm/dts/imxrt1020-evk.dts +++ b/arch/arm/dts/imxrt1020-evk.dts

[PATCH v2 05/16] ARM: dts: imxrt1020-evk: enable gpt1 timer

2021-05-01 Thread Giulio Benetti
Signed-off-by: Giulio Benetti --- arch/arm/dts/imxrt1020-evk.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/imxrt1020-evk.dts b/arch/arm/dts/imxrt1020-evk.dts index ece13601bd..a471ff3838 100644 --- a/arch/arm/dts/imxrt1020-evk.dts +++ b/arch/arm/dts/imxrt1020-evk.dts

  1   2   3   4   5   >