RE: [PATCH] arm: fsl: imx8mn_bsh_smm_s2: Migrate to OF_UPSTREAM

2024-06-10 Thread Peng Fan
> Subject: [PATCH] arm: fsl: imx8mn_bsh_smm_s2: Migrate to OF_UPSTREAM > > Migrate imx8mn_bsh_smm_s2 and imx8mn_bsh_smm_s2pro boards to > OF_UPSTREAM. > > Signed-off-by: Patrick Barsanti > Tested-by: Michael Trimarchi LGTM, Reviewed-by: Peng Fan

RE: [PATCH] ARM: imx: mx5: Enable BMODE command on MX53 Menlo board

2024-05-21 Thread Peng Fan
> Subject: [PATCH] ARM: imx: mx5: Enable BMODE command on MX53 Menlo > board > > The board can do primary/secondary boot switching, enable the bmode > command. > > Signed-off-by: Marek Vasut Reviewed-by: Peng Fan > --- > Cc: "NXP i.MX U-Boot Team" >

RE: [PATCH] ARM: dts: imx8mm: Enable CPLD_Dn pull down resistor on MX8Menlo

2024-05-21 Thread Peng Fan
> Subject: [PATCH] ARM: dts: imx8mm: Enable CPLD_Dn pull down resistor on > MX8Menlo > > Enable CPLD_Dn pull down resistor instead of pull up to avoid intefering with > CPLD power off functionality. > > Signed-off-by: Marek Vasut > --- > Cc: "NXP i.MX U-Boot Team" > Cc: Fabio Estevam > Cc:

RE: [PATCH] ARM: dts: imx8mm: Update iMX8MM Menlo board configuration

2024-05-21 Thread Peng Fan
> Subject: [PATCH] ARM: dts: imx8mm: Update iMX8MM Menlo board > configuration > > Synchronize Toradex Verdin iMX8MM based MX8Menlo board configuration > with Toradex Verdin iMX8MM and enable convenience commands like cat, > hexdump, xxd. > > Signed-off-by: Marek Vasut

RE: [PATCH 061/149] board: freescale: Remove and add needed includes

2024-05-01 Thread Peng Fan
> Subject: [PATCH 061/149] board: freescale: Remove and add > needed includes > > Remove from this board vendor directory and when needed > add missing include files directly. > > Signed-off-by: Tom Rini Acked-by: Peng Fan > --- > Cc: Stefano Babic > Cc: Fa

RE: [PATCH 23/33] arm: imx: Remove and add needed includes

2024-04-30 Thread Peng Fan
> Subject: [PATCH 23/33] arm: imx: Remove and add needed > includes > > Remove from all mach-imx, CPU specific sub-directories and > include/asm/arch-mx* files and when needed add missing include files > directly. > > Signed-off-by: Tom Rini Acked-by: Peng Fan &

RE: [PATCH 32/33] arm: fsl-layerscape: Remove and add needed includes

2024-04-30 Thread Peng Fan
> Subject: [PATCH 32/33] arm: fsl-layerscape: Remove and add > needed includes > > Remove from all fsl-layerscape related files and when needed > add missing include files directly. > > Signed-off-by: Tom Rini Acked-by: Peng Fan > --- > Cc: Peng Fan > ---

[PATCH 2/2] imx: imx93-11x11-evk: convert to OF_UPSTREAM

2024-04-24 Thread Peng Fan (OSS)
From: Peng Fan Convert to OF_UPSTREAM for i.MX93 11x11 EVK. Signed-off-by: Peng Fan --- arch/arm/dts/Makefile| 1 - arch/arm/dts/imx93-11x11-evk-u-boot.dtsi | 118 + arch/arm/dts/imx93-11x11-evk.dts | 322 --- arch/arm/dts/imx93-u

[PATCH 1/2] dt-bindings: imx93: sync clock header

2024-04-24 Thread Peng Fan (OSS)
From: Peng Fan Sync clock header with kernel 6.8 Signed-off-by: Peng Fan --- include/dt-bindings/clock/imx93-clock.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/dt-bindings/clock/imx93-clock.h b/include/dt-bindings/clock/imx93-clock.h index 35a1f62053a

[PATCH 0/2] imx93-11x11-evk: Convert to OF_UPSTREAM

2024-04-24 Thread Peng Fan (OSS)
From: Peng Fan patch 1 is to avoid build break when using upstream dts Patch 2 is moving to OF_UPSTREAM This is a resend of V3 imx93: Conver to OF_UPSTREAM patch 5,6 Peng Fan (2): dt-bindings: imx93: sync clock header imx: imx93-11x11-evk: convert to OF_UPSTREAM arch/arm/dts/Makefile

[GIT PULL] please pull fsl-qoriq-2024-4-24

2024-04-23 Thread Peng Fan
Hi Tom, Please pull fsl-qoriq-2024-4-24 --- move to OF_UPSTREAM for sl28 --- CI: https://source.denx.de/u-boot/custodians/u-boot-fsl-qoriq/-/pipelines/20501 Thanks, Peng. The following changes since commit

Re: [PATCH] board: sl28: move to OF_UPSTREAM

2024-04-23 Thread Peng Fan
On Mon, Apr 15, 2024 at 10:14:56AM +0200, Michael Walle wrote: >On Wed Mar 6, 2024 at 5:19 PM CET, Michael Walle wrote: >> Use the new device devicetree files in dts/upstream/ and delete the old >> ones. Still keep the -u-boot.dtsi with all u-boot specifics around. >> >> There is one catch and

RE: [PATCH v1] arm: dts: verdin-imx8mm/imx8mp: use gpio-hog for sleep moci

2024-04-17 Thread Peng Fan
ot patch can be applied without it and will not break the build. > > Signed-off-by: Stefan Eichenberger Reviewed-by: Peng Fan > --- > arch/arm/dts/imx8mm-verdin-wifi-dev-u-boot.dtsi | 5 + > arch/arm/dts/imx8mp-verdin-wifi-dev-u-boot.dtsi | 4 > 2 files changed, 9 inser

RE: [PATCH v6 0/5] imx93: Conver to OF_UPSTREAM

2024-04-15 Thread Peng Fan
> Subject: Re: [PATCH v6 0/5] imx93: Conver to OF_UPSTREAM > > Hi Peng, > > On Fri, Apr 12, 2024 at 10:40 AM Fabio Estevam > wrote: > > > > On Fri, Apr 12, 2024 at 10:24 AM Peng Fan (OSS) > wrote: > > > > > > A few nodes were added to soc and

RE: [PATCH v6 5/5] imx93: convert to OF_UPSTREAM

2024-04-14 Thread Peng Fan
> Subject: Re: [PATCH v6 5/5] imx93: convert to OF_UPSTREAM > > > Hello, > > I was able to test this series on the imx93-phyboard-segin. Up to that > specific > commit no issue to report. > > That specific commit however, using an updated dts subtree at 2639a0e2fd, > fails to boot. > > There

[PATCH v6 5/5] imx93: convert to OF_UPSTREAM

2024-04-12 Thread Peng Fan (OSS)
From: Peng Fan Convert all i.MX93 boards to OF_UPSTREAM. Add lpi2c2 nodes for imx93-11x11-evk-u-boot.dtsi. Add usbotg1 nodes in imx93-u-boot.dtsi and board u-boot.dtsi. The nodes could be removed after upstream linux supports them. Signed-off-by: Peng Fan --- arch/arm/dts/Makefile

[PATCH v6 4/5] clk: imx93: fix anatop base

2024-04-12 Thread Peng Fan (OSS)
From: Peng Fan The PLL clk needs use anatop base, otherwise wrong PLL address will be used. Fixes: 9c153e46661b ("clk: imx: add i.MX93 CCF driver") Signed-off-by: Peng Fan --- drivers/clk/imx/clk-imx93.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/c

[PATCH v6 3/5] cpu: drop imx9_cpu

2024-04-12 Thread Peng Fan (OSS)
From: Peng Fan This was wrongly committed, no user, remove it. Signed-off-by: Peng Fan --- drivers/cpu/imx9_cpu.c | 224 - 1 file changed, 224 deletions(-) diff --git a/drivers/cpu/imx9_cpu.c b/drivers/cpu/imx9_cpu.c deleted file mode 100644

[PATCH v6 2/5] serial: lpuart: use ipg clk for i.MX7ULP

2024-04-12 Thread Peng Fan (OSS)
From: Peng Fan To i.MX7ULP compatible lpuart, there is only ipg clk, no per clk. So add a devtype check for i.MX7ULP. Signed-off-by: Peng Fan --- drivers/serial/serial_lpuart.c | 42 ++ 1 file changed, 26 insertions(+), 16 deletions(-) diff --git

[PATCH v6 1/5] gpio: imx_rgpio2p: support one address

2024-04-12 Thread Peng Fan (OSS)
From: Peng Fan The i.MX8ULP/93 gpio dt-schema have been updated to only have one address entry, update the driver to support it. Signed-off-by: Peng Fan --- drivers/gpio/imx_rgpio2p.c | 42 ++ 1 file changed, 38 insertions(+), 4 deletions(-) diff --git

[PATCH v6 0/5] imx93: Conver to OF_UPSTREAM

2024-04-12 Thread Peng Fan (OSS)
: please help test the boards you maintain when you have time. Thanks, Peng. To: Stefano Babic To: Fabio Estevam To: "NXP i.MX U-Boot Team" To: Mathieu Othacehe Cc: u-boot@lists.denx.de Signed-off-by: Peng Fan Changes in v6: - Update the serial lpuart patch, to rename per_clk to

RE: [PATCH v5 2/5] serial: lpuart: use ipg clk for i.MX7ULP

2024-04-12 Thread Peng Fan
> Subject: Re: [PATCH v5 2/5] serial: lpuart: use ipg clk for i.MX7ULP > > Hi Peng, > > On Thu, Apr 11, 2024 at 12:23 AM Peng Fan (OSS) > wrote: > > > > From: Peng Fan > > > > To i.MX7ULP compatible lpuart, there is only ipg clk, no per cl

[PATCH v5 5/5] imx93: convert to OF_UPSTREAM

2024-04-10 Thread Peng Fan (OSS)
From: Peng Fan Convert all i.MX93 boards to OF_UPSTREAM. Add lpi2c2 nodes for imx93-11x11-evk-u-boot.dtsi. Add usbotg1 nodes in imx93-u-boot.dtsi and board u-boot.dtsi. The nodes could be removed after upstream linux supports them. Signed-off-by: Peng Fan --- arch/arm/dts/Makefile

[PATCH v5 4/5] clk: imx93: fix anatop base

2024-04-10 Thread Peng Fan (OSS)
From: Peng Fan The PLL clk needs use anatop base, otherwise wrong PLL address will be used. Fixes: 9c153e46661b ("clk: imx: add i.MX93 CCF driver") Signed-off-by: Peng Fan --- drivers/clk/imx/clk-imx93.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/c

[PATCH v5 3/5] cpu: drop imx9_cpu

2024-04-10 Thread Peng Fan (OSS)
From: Peng Fan This was wrongly committed, no user, remove it. Signed-off-by: Peng Fan --- drivers/cpu/imx9_cpu.c | 224 - 1 file changed, 224 deletions(-) diff --git a/drivers/cpu/imx9_cpu.c b/drivers/cpu/imx9_cpu.c deleted file mode 100644

[PATCH v5 2/5] serial: lpuart: use ipg clk for i.MX7ULP

2024-04-10 Thread Peng Fan (OSS)
From: Peng Fan To i.MX7ULP compatible lpuart, there is only ipg clk, no per clk. So add a devtype check for i.MX7ULP. Signed-off-by: Peng Fan --- drivers/serial/serial_lpuart.c | 28 +++- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/drivers/serial

[PATCH v5 1/5] gpio: imx_rgpio2p: support one address

2024-04-10 Thread Peng Fan (OSS)
From: Peng Fan The i.MX8ULP/93 gpio dt-schema have been updated to only have one address entry, update the driver to support it. Signed-off-by: Peng Fan --- drivers/gpio/imx_rgpio2p.c | 42 ++ 1 file changed, 38 insertions(+), 4 deletions(-) diff --git

[PATCH v5 0/5] imx93: Conver to OF_UPSTREAM

2024-04-10 Thread Peng Fan (OSS)
: please help test the boards you maintain when you have time. Thanks, Peng. To: Stefano Babic To: Fabio Estevam To: "NXP i.MX U-Boot Team" To: Mathieu Othacehe Cc: u-boot@lists.denx.de Signed-off-by: Peng Fan Changes in v5: - Correct uart clk checking - Link to v4: https://lore.ke

RE: [PATCH v4 0/5] imx93: Conver to OF_UPSTREAM

2024-04-07 Thread Peng Fan
> Subject: Re: [PATCH v4 0/5] imx93: Conver to OF_UPSTREAM > > Hello Peng, > > Some minor nitpicks... s/Conver to/Convert to/ in the patch subject, and a > couple more below. > > > On 2024-03-28 06:05, Peng Fan (OSS) wrote: > > A few nodes were added to soc an

RE: [PATCH v4 0/5] imx93: Conver to OF_UPSTREAM

2024-04-07 Thread Peng Fan
> Subject: Re: [PATCH v4 0/5] imx93: Conver to OF_UPSTREAM > > Hi Peng, > > Here are some comments unrelated to the UART issue. > > On Sun, Apr 7, 2024 at 7:35 AM Peng Fan wrote: > > > SOC: 0xa1009300 > > LC: 0x2040010 > > M33 prepare ok &g

RE: [PATCH v4 0/5] imx93: Conver to OF_UPSTREAM

2024-04-07 Thread Peng Fan
Hi Mathieu, > Subject: RE: [PATCH v4 0/5] imx93: Conver to OF_UPSTREAM > > Hi Mathieu, > > Subject: Re: [PATCH v4 0/5] imx93: Conver to OF_UPSTREAM > > > > > > > Any comments? > > > > Yes, see: > > Sorry, I missed your comment. Could you please help try this on top of this patchset? Seems this

RE: [PATCH v4 0/5] imx93: Conver to OF_UPSTREAM

2024-04-07 Thread Peng Fan
Hi Mathieu, > Subject: Re: [PATCH v4 0/5] imx93: Conver to OF_UPSTREAM > > > > Any comments? > > Yes, see: Sorry, I missed your comment. >From my test just now, log below. For your uart not work proper, I think it is the uart clk not setup U-Boot SPL 2024.04-rc5-00388-g351988e2dce (Apr 07 2024

RE: [PATCH v4 0/5] imx93: Conver to OF_UPSTREAM

2024-04-07 Thread Peng Fan
c > To: Fabio Estevam > To: "NXP i.MX U-Boot Team" > To: Mathieu Othacehe > Cc: u-boot@lists.denx.de > Signed-off-by: Peng Fan > > Changes in v4: > - Convert all i.MX93 boards > - Link to v3: https://lore.kernel.org/r/20240328-imx93-of-v3-0- > 4e7f341ed...@nxp.co

[PATCH v4 5/5] imx93: convert to OF_UPSTREAM

2024-03-28 Thread Peng Fan (OSS)
From: Peng Fan Convert all i.MX93 boards to OF_UPSTREAM. Add lpi2c2 nodes for imx93-11x11-evk-u-boot.dtsi. Add usbotg1 nodes in imx93-u-boot.dtsi and board u-boot.dtsi. The nodes could be removed after upstream linux supports them. Signed-off-by: Peng Fan --- arch/arm/dts/Makefile

[PATCH v4 4/5] clk: imx93: fix anatop base

2024-03-27 Thread Peng Fan (OSS)
From: Peng Fan The PLL clk needs use anatop base, otherwise wrong PLL address will be used. Fixes: 9c153e46661b ("clk: imx: add i.MX93 CCF driver") Signed-off-by: Peng Fan --- drivers/clk/imx/clk-imx93.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/c

[PATCH v4 3/5] cpu: drop imx9_cpu

2024-03-27 Thread Peng Fan (OSS)
From: Peng Fan This was wrongly committed, no user, remove it. Signed-off-by: Peng Fan --- drivers/cpu/imx9_cpu.c | 224 - 1 file changed, 224 deletions(-) diff --git a/drivers/cpu/imx9_cpu.c b/drivers/cpu/imx9_cpu.c deleted file mode 100644

[PATCH v4 2/5] serial: lpuart: use ipg clk for i.MX7ULP

2024-03-27 Thread Peng Fan (OSS)
From: Peng Fan To i.MX7ULP compatible lpuart, there is only ipg clk, no per clk. So add a devtype check for i.MX7ULP. Signed-off-by: Peng Fan --- drivers/serial/serial_lpuart.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/serial/serial_lpuart.c b/drivers

[PATCH v4 1/5] gpio: imx_rgpio2p: support one address

2024-03-27 Thread Peng Fan (OSS)
From: Peng Fan The i.MX8ULP/93 gpio dt-schema have been updated to only have one address entry, update the driver to support it. Signed-off-by: Peng Fan --- drivers/gpio/imx_rgpio2p.c | 42 ++ 1 file changed, 38 insertions(+), 4 deletions(-) diff --git

[PATCH v4 0/5] imx93: Conver to OF_UPSTREAM

2024-03-27 Thread Peng Fan (OSS)
: please help test the boards you maintain when you have time. Thanks, Peng. To: Sébastien Szymanski To: Stefano Babic To: Fabio Estevam To: "NXP i.MX U-Boot Team" To: Mathieu Othacehe Cc: u-boot@lists.denx.de Signed-off-by: Peng Fan Changes in v4: - Convert all i.MX93 boards -

RE: [PATCH v3 6/6] imx: imx93-11x11-evk: convert to OF_UPSTREAM

2024-03-27 Thread Peng Fan
> Subject: Re: [PATCH v3 6/6] imx: imx93-11x11-evk: convert to > OF_UPSTREAM > > On Wed, Mar 27, 2024 at 8:53 PM Peng Fan (OSS) > wrote: > > > + { > > + #address-cells = <1>; > > + #size-cells = <0>; > > + clock-freq

[PATCH v2 4/4] imx: imx8mp_evk: convert to OF_UPSTREAM

2024-03-27 Thread Peng Fan (OSS)
From: Peng Fan Convert to OF_UPSTREAM for i.MX8MP EVK Signed-off-by: Peng Fan --- arch/arm/dts/Makefile | 1 - arch/arm/dts/imx8mp-evk.dts | 684 arch/arm/mach-imx/imx8m/Kconfig | 1 + configs/imx8mp_evk_defconfig| 2 +- 4 files

[PATCH v2 3/4] imx: imx8mn-evk: convert to OF_UPSTREAM

2024-03-27 Thread Peng Fan (OSS)
From: Peng Fan Convert i.MX8MN-EVK and i.MX8MN-DDR4-EVK to OF_UPSTREAM Signed-off-by: Peng Fan --- arch/arm/dts/Makefile | 2 - arch/arm/dts/imx8mn-ddr4-evk.dts | 160 -- arch/arm/dts/imx8mn-evk.dts | 128

[PATCH v2 2/4] imx: imx8mm_evk: convert to OF_UPSTREAM

2024-03-27 Thread Peng Fan (OSS)
From: Peng Fan Convert i.MX8MM EVK to OF_UPSTREAM Signed-off-by: Peng Fan --- arch/arm/dts/Makefile | 1 - arch/arm/dts/imx8mm-evk.dts | 128 arch/arm/dts/imx8mm-evk.dtsi | 615 -- arch/arm/mach-imx/imx8m/Kconfig | 1

[PATCH v2 1/4] imx: imx8mq_evk: convert to OF_UPSTREAM

2024-03-27 Thread Peng Fan (OSS)
From: Peng Fan Convert i.MX8MQ EVK to OF_UPSTREAM Signed-off-by: Peng Fan --- arch/arm/dts/Makefile | 1 - arch/arm/dts/imx8mq-evk.dts | 712 arch/arm/mach-imx/imx8m/Kconfig | 1 + configs/imx8mq_evk_defconfig| 2 +- 4 files

[PATCH v2 0/4] imx8m: convert i.MX8MM/Q/N/P-EVK to OF_UPSTREAM

2024-03-27 Thread Peng Fan (OSS)
This patchset is to convert NXP i.MX8M[Q,M,N,P] EVK boards to OF_UPSTREAM Signed-off-by: Peng Fan --- Changes in v2: - Sorry for the quick respin. - Drop the dtb build in arch/arm/dts/Makefile - Link to v1: https://lore.kernel.org/r/20240328-imx8m-v1-0-2be5e6657...@nxp.com --- Peng Fan (4

RE: [PATCH v3 6/6] imx: imx93-11x11-evk: convert to OF_UPSTREAM

2024-03-27 Thread Peng Fan
> Subject: Re: [PATCH v3 6/6] imx: imx93-11x11-evk: convert to > OF_UPSTREAM > > Hi Peng, > > On Wed, Mar 27, 2024 at 9:40 PM Peng Fan wrote: > > > I could help convert all imx93 boards, but I could only test nxp > > imx93 boards, not able to test others. >

RE: [PATCH 4/4] imx: imx8mp_evk: convert to OF_UPSTREAM

2024-03-27 Thread Peng Fan
> Subject: Re: [PATCH 4/4] imx: imx8mp_evk: convert to OF_UPSTREAM > > Hi Peng, > > On Wed, Mar 27, 2024 at 10:27 PM Peng Fan (OSS) > wrote: > > > --- a/arch/arm/dts/Makefile > > +++ b/arch/arm/dts/Makefile > > @@ -1105,7 +1105,6 @@ dtb-$(CONFIG_ARCH_IM

[PATCH 4/4] imx: imx8mp_evk: convert to OF_UPSTREAM

2024-03-27 Thread Peng Fan (OSS)
From: Peng Fan Convert to OF_UPSTREAM for i.MX8MP EVK Signed-off-by: Peng Fan --- arch/arm/dts/Makefile | 1 - arch/arm/dts/imx8mp-evk.dts | 684 arch/arm/mach-imx/imx8m/Kconfig | 1 + configs/imx8mp_evk_defconfig| 2 +- 4 files

[PATCH 3/4] imx: imx8mn-evk: convert to OF_UPSTREAM

2024-03-27 Thread Peng Fan (OSS)
From: Peng Fan Convert i.MX8MN-EVK and i.MX8MN-DDR4-EVK to OF_UPSTREAM Signed-off-by: Peng Fan --- arch/arm/dts/imx8mn-ddr4-evk.dts | 160 -- arch/arm/dts/imx8mn-evk.dts | 128 -- arch/arm/mach-imx/imx8m/Kconfig | 2

[PATCH 2/4] imx: imx8mm_evk: convert to OF_UPSTREAM

2024-03-27 Thread Peng Fan (OSS)
From: Peng Fan Convert i.MX8MM EVK to OF_UPSTREAM Signed-off-by: Peng Fan --- arch/arm/dts/imx8mm-evk.dts | 128 arch/arm/dts/imx8mm-evk.dtsi | 615 -- arch/arm/mach-imx/imx8m/Kconfig | 1 + configs/imx8mm_evk_defconfig | 2

[PATCH 1/4] imx: imx8mq_evk: convert to OF_UPSTREAM

2024-03-27 Thread Peng Fan (OSS)
From: Peng Fan Convert i.MX8MQ EVK to OF_UPSTREAM Signed-off-by: Peng Fan --- arch/arm/dts/imx8mq-evk.dts | 712 arch/arm/mach-imx/imx8m/Kconfig | 1 + configs/imx8mq_evk_defconfig| 2 +- 3 files changed, 2 insertions(+), 713 deletions

[PATCH 0/4] imx8m: convert i.MX8MM/Q/N/P-EVK to OF_UPSTREAM

2024-03-27 Thread Peng Fan (OSS)
This patchset is to convert NXP i.MX8M[Q,M,N,P] EVK boards to OF_UPSTREAM Signed-off-by: Peng Fan --- Peng Fan (4): imx: imx8mq_evk: convert to OF_UPSTREAM imx: imx8mm_evk: convert to OF_UPSTREAM imx: imx8mn-evk: convert to OF_UPSTREAM imx: imx8mp_evk: convert

RE: [PATCH v3 6/6] imx: imx93-11x11-evk: convert to OF_UPSTREAM

2024-03-27 Thread Peng Fan
> Subject: Re: [PATCH v3 6/6] imx: imx93-11x11-evk: convert to > OF_UPSTREAM > > On Wed, Mar 27, 2024 at 8:53 PM Peng Fan (OSS) > wrote: > > > + { > > + #address-cells = <1>; > > + #size-cells = <0>; > > + clock-freq

[PATCH v3 6/6] imx: imx93-11x11-evk: convert to OF_UPSTREAM

2024-03-27 Thread Peng Fan (OSS)
From: Peng Fan Convert to OF_UPSTREAM for i.MX93 11x11 EVK. Signed-off-by: Peng Fan --- arch/arm/dts/Makefile| 1 - arch/arm/dts/imx93-11x11-evk-u-boot.dtsi | 118 +++ arch/arm/dts/imx93-11x11-evk.dts | 322 --- arch/arm/dts

[PATCH v3 5/6] dt-bindings: imx93: sync clock header

2024-03-27 Thread Peng Fan (OSS)
From: Peng Fan Sync clock header with kernel 6.8 Signed-off-by: Peng Fan --- include/dt-bindings/clock/imx93-clock.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/dt-bindings/clock/imx93-clock.h b/include/dt-bindings/clock/imx93-clock.h index 35a1f62053a

[PATCH v3 4/6] clk: imx93: fix anatop base

2024-03-27 Thread Peng Fan (OSS)
From: Peng Fan The PLL clk needs use anatop base, otherwise wrong PLL address will be used. Fixes: 9c153e46661b ("clk: imx: add i.MX93 CCF driver") Signed-off-by: Peng Fan --- drivers/clk/imx/clk-imx93.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/c

[PATCH v3 3/6] cpu: drop imx9_cpu

2024-03-27 Thread Peng Fan (OSS)
From: Peng Fan This was wrongly committed, no user, remove it. Signed-off-by: Peng Fan --- drivers/cpu/imx9_cpu.c | 224 - 1 file changed, 224 deletions(-) diff --git a/drivers/cpu/imx9_cpu.c b/drivers/cpu/imx9_cpu.c deleted file mode 100644

[PATCH v3 2/6] serial: lpuart: use ipg clk for i.MX7ULP

2024-03-27 Thread Peng Fan (OSS)
From: Peng Fan To i.MX7ULP compatible lpuart, there is only ipg clk, no per clk. So add a devtype check for i.MX7ULP. Signed-off-by: Peng Fan --- drivers/serial/serial_lpuart.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/serial/serial_lpuart.c b/drivers

[PATCH v3 1/6] gpio: imx_rgpio2p: support one address

2024-03-27 Thread Peng Fan (OSS)
From: Peng Fan The i.MX8ULP/93 gpio dt-schema have been updated to only have one address entry, update the driver to support it. Signed-off-by: Peng Fan --- drivers/gpio/imx_rgpio2p.c | 42 ++ 1 file changed, 38 insertions(+), 4 deletions(-) diff --git

[PATCH v3 0/6] imx93-11x11-evk: convert to OF_UPSTREAM

2024-03-27 Thread Peng Fan (OSS)
-off-by: Peng Fan --- Changes in v3: - Update patch 5, to drop the imx8mp-evk changes which are wrongly included - Link to v2: https://lore.kernel.org/r/20240328-imx93-of-v2-0-909f5d37d...@nxp.com Changes in v2: - Add a new patch to sync clock header to avoid breaking - Drop the Makefile change

RE: [PATCH v2 0/6] imx93-11x11-evk: convert to OF_UPSTREAM

2024-03-27 Thread Peng Fan
Please ignore this patchset. I need resend. Thanks. > -Original Message- > From: Peng Fan (OSS) > Sent: Thursday, March 28, 2024 8:47 AM > To: Stefano Babic ; Fabio Estevam ; > dl-uboot-imx > Cc: Sumit Garg ; Tom Rini ; u- > b...@lists.denx.de; Peng Fan > Subje

[PATCH v2 6/6] imx: imx93-11x11-evk: convert to OF_UPSTREAM

2024-03-27 Thread Peng Fan (OSS)
From: Peng Fan Convert to OF_UPSTREAM for i.MX93 11x11 EVK. Signed-off-by: Peng Fan --- arch/arm/dts/Makefile| 1 - arch/arm/dts/imx93-11x11-evk-u-boot.dtsi | 118 +++ arch/arm/dts/imx93-11x11-evk.dts | 322 --- arch/arm/dts

[PATCH v2 5/6] dt-bindings: imx93: sync clock header

2024-03-27 Thread Peng Fan (OSS)
From: Peng Fan Sync clock header with kernel 6.8 Signed-off-by: Peng Fan --- arch/arm/dts/imx8mp-evk.dts | 684 include/dt-bindings/clock/imx93-clock.h | 3 +- 2 files changed, 2 insertions(+), 685 deletions(-) diff --git a/arch/arm/dts/imx8mp

[PATCH v2 4/6] clk: imx93: fix anatop base

2024-03-27 Thread Peng Fan (OSS)
From: Peng Fan The PLL clk needs use anatop base, otherwise wrong PLL address will be used. Fixes: 9c153e46661b ("clk: imx: add i.MX93 CCF driver") Signed-off-by: Peng Fan --- drivers/clk/imx/clk-imx93.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/c

[PATCH v2 3/6] cpu: drop imx9_cpu

2024-03-27 Thread Peng Fan (OSS)
From: Peng Fan This was wrongly committed, no user, remove it. Signed-off-by: Peng Fan --- drivers/cpu/imx9_cpu.c | 224 - 1 file changed, 224 deletions(-) diff --git a/drivers/cpu/imx9_cpu.c b/drivers/cpu/imx9_cpu.c deleted file mode 100644

[PATCH v2 2/6] serial: lpuart: use ipg clk for i.MX7ULP

2024-03-27 Thread Peng Fan (OSS)
From: Peng Fan To i.MX7ULP compatible lpuart, there is only ipg clk, no per clk. So add a devtype check for i.MX7ULP. Signed-off-by: Peng Fan --- drivers/serial/serial_lpuart.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/serial/serial_lpuart.c b/drivers

[PATCH v2 1/6] gpio: imx_rgpio2p: support one address

2024-03-27 Thread Peng Fan (OSS)
From: Peng Fan The i.MX8ULP/93 gpio dt-schema have been updated to only have one address entry, update the driver to support it. Signed-off-by: Peng Fan --- drivers/gpio/imx_rgpio2p.c | 42 ++ 1 file changed, 38 insertions(+), 4 deletions(-) diff --git

[PATCH v2 0/6] imx93-11x11-evk: convert to OF_UPSTREAM

2024-03-27 Thread Peng Fan (OSS)
-off-by: Peng Fan --- Changes in v2: - Add a new patch to sync clock header to avoid breaking - Drop the Makefile change which change including order - Link to v1: https://lore.kernel.org/r/20240327-imx93-of-v1-0-afab6b314...@nxp.com --- Peng Fan (6): gpio: imx_rgpio2p: support one address

RE: [PATCH] warp7: Convert to watchdog driver model

2024-03-27 Thread Peng Fan
ch is the > preferred method for implementing the watchdog reset. > > Signed-off-by: Fabio Estevam Reviewed-by: Peng Fan > --- > arch/arm/dts/imx7s-warp-u-boot.dtsi | 10 ++ > configs/warp7_defconfig | 3 +++ > 2 files changed, 13 insertions(+) > >

RE: [PATCH 5/6] Makefile: tune the include order

2024-03-27 Thread Peng Fan
> Subject: Re: [PATCH 5/6] Makefile: tune the include order > > Hi Peng, > > On Wed, 27 Mar 2024 at 18:41, Peng Fan (OSS) > wrote: > > > > From: Peng Fan > > > > For OF_UPSTREAM support, the U-Boot headers under dt-bindings/ maybe > > differ

[PATCH 6/6] imx: imx93-11x11-evk: convert to OF_UPSTREAM

2024-03-27 Thread Peng Fan (OSS)
From: Peng Fan Convert to OF_UPSTREAM for i.MX93 11x11 EVK. Signed-off-by: Peng Fan --- arch/arm/dts/Makefile| 1 - arch/arm/dts/imx93-11x11-evk-u-boot.dtsi | 118 +++ arch/arm/dts/imx93-11x11-evk.dts | 322 --- arch/arm/dts

[PATCH 5/6] Makefile: tune the include order

2024-03-27 Thread Peng Fan (OSS)
From: Peng Fan For OF_UPSTREAM support, the U-Boot headers under dt-bindings/ maybe different with OF_UPSTREAM headers. So let OF_UPSTREAM headers be included first when migrating to OF_UPSTREAM. Signed-off-by: Peng Fan --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions

[PATCH 4/6] clk: imx93: fix anatop base

2024-03-27 Thread Peng Fan (OSS)
From: Peng Fan The PLL clk needs use anatop base, otherwise wrong PLL address will be used. Fixes: 9c153e46661b ("clk: imx: add i.MX93 CCF driver") Signed-off-by: Peng Fan --- drivers/clk/imx/clk-imx93.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/c

[PATCH 3/6] cpu: drop imx9_cpu

2024-03-27 Thread Peng Fan (OSS)
From: Peng Fan This was wrongly committed, no user, remove it. Signed-off-by: Peng Fan --- drivers/cpu/imx9_cpu.c | 224 - 1 file changed, 224 deletions(-) diff --git a/drivers/cpu/imx9_cpu.c b/drivers/cpu/imx9_cpu.c deleted file mode 100644

[PATCH 2/6] serial: lpuart: use ipg clk for i.MX7ULP

2024-03-27 Thread Peng Fan (OSS)
From: Peng Fan To i.MX7ULP compatible lpuart, there is only ipg clk, no per clk. So add a devtype check for i.MX7ULP. Signed-off-by: Peng Fan --- drivers/serial/serial_lpuart.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/serial/serial_lpuart.c b/drivers

[PATCH 1/6] gpio: imx_rgpio2p: support one address

2024-03-27 Thread Peng Fan (OSS)
From: Peng Fan The i.MX8ULP/93 gpio dt-schema have been updated to only have one address entry, update the driver to support it. Signed-off-by: Peng Fan --- drivers/gpio/imx_rgpio2p.c | 42 ++ 1 file changed, 38 insertions(+), 4 deletions(-) diff --git

[PATCH 0/6] imx93-11x11-evk: convert to OF_UPSTREAM

2024-03-27 Thread Peng Fan (OSS)
-off-by: Peng Fan --- Peng Fan (6): gpio: imx_rgpio2p: support one address serial: lpuart: use ipg clk for i.MX7ULP cpu: drop imx9_cpu clk: imx93: fix anatop base Makefile: tune the include order imx: imx93-11x11-evk: convert to OF_UPSTREAM Makefile

RE: [PATCH] arm: imx: fix signature_block_hdr struct fields order

2024-03-26 Thread Peng Fan
+Ye > Subject: [PATCH] arm: imx: fix signature_block_hdr struct fields order > > According to the documentation (for example AN13994), for AHAB-enabled > devices the format of the signature block is: > > +--+--+--+-+ > | Tag | Length -

RE: [PATCH] apalis-imx8: Fix sc_misc_otp_fuse_read() error check

2024-03-12 Thread Peng Fan
> -Original Message- > From: Fabio Estevam > Sent: Wednesday, March 13, 2024 9:00 AM > To: feste...@gmail.com > Cc: Marcel Ziswiler ; > hiago.fra...@toradex.com; Francesco Dolcini > ; u-boot@lists.denx.de; Peng Fan > ; joao.goncal...@toradex.com > Subjec

RE: [PATCH] colibri-imx8x: Fix sc_misc_otp_fuse_read() error check

2024-03-12 Thread Peng Fan
> > This inversion causes board_mem_get_layout() to report incorrect RAM size. > > Go back the original error check logic to fix the problem. > > Fixes: aa6e698a7acd ("imx: toradex/colibri-imx8x: correct SCU API usage") > Reported-by: Hiago De Franco > Signed-off-by

RE: [PATCH] arm: dts: imx8mp-beacon-kit: Resync DTS with Linux 6.8

2024-03-10 Thread Peng Fan
nerate a 100MHz reference clock > by default, a proper driver isn't really necessary. > > Signed-off-by: Adam Ford Acked-by: Peng Fan > > diff --git a/arch/arm/dts/imx8mp-beacon-kit-u-boot.dtsi > b/arch/arm/dts/imx8mp-beacon-kit-u-boot.dtsi > index 393fd8ec2e..ed183f83a7 100644 >

RE: [PATCH 2/2] clk: clk-imx8qm: Add LPUART IPG entries

2024-03-08 Thread Peng Fan
cks inside get_rate(), set_rate() and enable() functions. > > Fix the boot regression by adding the LPUART IPG entries. > > Fixes: cc7df0b9e8bc ("serial: lpuart: Enable IPG clock") > Reported-by: Marcel Ziswiler > Signed-off-by: Fabio Estevam Reviewed-by: Peng Fan > --

RE: [PATCH 1/2] clk: clk-imx8qxp: Add LPUART IPG entries

2024-03-08 Thread Peng Fan
cks inside get_rate(), set_rate() and enable() functions. > > Fix the boot regression by adding the LPUART IPG entries. > > Fixes: cc7df0b9e8bc ("serial: lpuart: Enable IPG clock") > Reported-by: Marcel Ziswiler > Signed-off-by: Fabio Estevam Reviewed-by: Peng Fan >

[GIT PULL] please pull fsl-qoriq-2024-2-8

2024-02-08 Thread Peng Fan
Hi Tom, Please pull fsl-qoriq-2024-2-8. Sorry for not being active in the past time, will try to catch up. --- Add TJA1120 driver support fsl-layerscape/soc.c: do not destroy bootcmd environment --- CI:

[PATCH] xen: xenguest_arm64: map all VIRTIO MMIO region

2024-01-26 Thread Peng Fan (OSS)
From: Peng Fan When run `virtio scan` on i.MX95, there is abort when accessing virtio mmio region. The issue is the mmio region is not mapped. So let's map all virtio mmio regions. Signed-off-by: Peng Fan --- board/xen/xenguest_arm64/xenguest_arm64.c | 17 + 1 file changed, 17

Re: FIELD_RETURN on i.MX8MNANOLPD4 EVK

2024-01-10 Thread Peng Fan
+Ye 在 1/9/2024 4:52 PM, Thomas Schaefer 写道: Hi all, We are trying to enable FIELD RETURN on the NXP i.MX8MNano LPD4 EVK board. We enabled Secure Boot in u-boot in the first step. After checking proper execution of a signed bootloader image we closed the board blowing the SEC_CONFIG fuse.

Re: [PATCH 3/3] imx8m: Select BINMAN at SoC level

2024-01-08 Thread Peng Fan
On 1/9/2024 5:11 AM, Fabio Estevam wrote: From: Fabio Estevam All i.MX8M targets rely on using binman to generate the U-Boot binary. Select it at the SoC level instead of per board. Signed-off-by: Fabio Estevam Reviewed-by: Peng Fan

Re: [PATCH 2/3] imx9: Select BINMAN at SoC level

2024-01-08 Thread Peng Fan
On 1/9/2024 5:11 AM, Fabio Estevam wrote: From: Fabio Estevam All i.MX93 targets rely on using binman to generate the U-Boot binary. Select it at the SoC level instead of per board. Signed-off-by: Fabio Estevam Reviewed-by: Peng Fan

Re: [PATCH 1/3] doc: imx93_var_som: Adjust the underline length

2024-01-08 Thread Peng Fan
On 1/9/2024 5:11 AM, Fabio Estevam wrote: From: Fabio Estevam Adjust the underline length so that it matches the title length. Signed-off-by: Fabio Estevam Reviewed-by: Peng Fan

Re: [PATCH v6 0/4] Add imx93-var-som support

2024-01-08 Thread Peng Fan
Mathieu Othacehe (4): spl: binman: Disable u_boot_any symbols for i.MX93 boards mach-imx: Add i.MX93 binman support. imx9: imx93_evk: Add binman support. Add imx93-var-som support The patchset looks good to me. Reviewed-by: Peng Fan arch/arm/dts/Makefile

Re: [PATCH v4] imx8mp-evk: Add USB0 OTG support

2023-10-19 Thread Peng Fan
such as USB gadget and fastboot. Tested by running "ums 0 mmc 2". Signed-off-by: Fabio Estevam Reviewed-by: Marek Vasut Reviewed-by: Peng Fan --- Changes since v3: - Fixed the alphabetical order once again. arch/arm/dts/imx8mp-evk-u-boot.dtsi | 13 configs/imx8mp_evk

Re: [PATCH 2/2] imx8mp_evk: Add myself to MAINTAINERS

2023-10-19 Thread Peng Fan
On 10/19/2023 3:17 AM, Fabio Estevam wrote: From: Fabio Estevam I would like to help maintaining the imx8mp_evk board. Add myself to MAINTAINERS. Signed-off-by: Fabio Estevam Acked-by: Peng Fan --- board/freescale/imx8mp_evk/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff

Re: [PATCH 1/2] imx8mp_evk: Convert to DM_PMIC

2023-10-19 Thread Peng Fan
-by: Peng Fan --- arch/arm/dts/imx8mp-evk-u-boot.dtsi | 18 ++- board/freescale/imx8mp_evk/spl.c| 50 +++-- configs/imx8mp_evk_defconfig| 12 +++ 3 files changed, 47 insertions(+), 33 deletions(-) diff --git a/arch/arm/dts/imx8mp-evk-u

[GIT PULL] please pull fsl-qoirq-2023-10-10

2023-10-10 Thread Peng Fan
Hi Tom, Please pull fsl-qoirq-2023-10-10 --- Drop legacy PPA secure FW support support for MC reserved memory reset the FLSHxCR1 registers for nxp_fspi --- CI:

Re: [RFC 0/6] firmware: scmi: add SCMI pinctrl protocol support

2023-09-08 Thread Peng Fan
On 9/7/2023 5:58 PM, AKASHI Takahiro wrote: Hi Peng, On Wed, Sep 06, 2023 at 12:09:45AM -0300, Fabio Estevam wrote: Adding Peng Fan, who is working on scmi/pinctrl support for i.MX9: Thanks for looping me. https://lore.kernel.org/all/ZO9GLG5tQynYyAvR@pluto/T/ I made a comment

Re: [PATCH 0/2] fsl-layerscape: drop support for obsolete PPA secure firmware

2023-08-24 Thread Peng Fan
: delete defconfigs using legacy PPA secure FW fsl-layerscape: drop obsolete PPA secure firmware support Good to see this. Acked-by: Peng Fan

Re: [PATCH] doc: csf_examples: csf.sh: Remove unneeded export ATF_LOAD_ADDR line

2023-08-24 Thread Peng Fan
the unneeded export ATF_LOAD_ADDR line. Signed-off-by: Fabio Estevam Acked-by: Peng Fan

[GIT PULL] please pull fsl-qoriq-2023-8-9

2023-08-09 Thread Peng Fan
Hi Tom, Please pull fsl-qoriq-2023-8-9, only one minor cleanup patch. -- Drop one unused function for layerscape -- CI:

Re: [PATCH 2/2] doc: imx8mp_evk: Use in-tree build in the example

2023-08-08 Thread Peng Fan
On 8/7/2023 9:42 PM, Fabio Estevam wrote: From: Fabio Estevam To make it consistent with the instructions from other NXP imx8m boards, such as imx8mm-evk and imx8mn-evk, use U-Boot in-tree build in the examples. Signed-off-by: Fabio Estevam Reviewed-by: Peng Fan

Re: [PATCH 1/2] doc: imx8mp_evk: Remove unneeded export ATF_LOAD_ADDR line

2023-08-08 Thread Peng Fan
lt;0x97>; atf_blob: atf-blob { filename = "bl31.bin"; type = "atf-bl31"; }; }; Remove the unneeded export ATF_LOAD_ADDR line. Signed-off-by: Fabio Estevam Reviewed-by: Peng Fan

  1   2   3   4   5   6   7   8   9   10   >