RE: [PATCH 7/7] nxp: Remove local arch/arm/dts/imx8mm-pinfunc.h

2025-05-28 Thread Peng Fan
; sync with upstream now. > > Signed-off-by: Tom Rini Acked-by: Peng Fan

Re: [PATCH 13/13] imx8mp-venice-gw74xx: add w_disable2 gpio configuration

2025-05-26 Thread Peng Fan
ed-off-by: Tim Harvey Reviewed-by: Peng Fan

Re: [PATCH 03/13] board: venice: move soc-specific dram config into soc-specific files

2025-05-26 Thread Peng Fan
On Fri, May 23, 2025 at 10:20:08AM -0700, Tim Harvey wrote: >Move the determination of the dram timings into the soc-specific files. > >Signed-off-by: Tim Harvey Reviewed-by: Peng Fan

Re: [PATCH 12/13] board: venice: append configuration string to model

2025-05-26 Thread Peng Fan
On Fri, May 23, 2025 at 10:20:17AM -0700, Tim Harvey wrote: >Append the optional board configuration string to the model info. > >Signed-off-by: Tim Harvey Reviewed-by: Peng Fan

Re: [PATCH 2/4] mtd: mxs_nand_dt: Move from clk_get/clk_enable to clk_bulk api

2025-05-26 Thread Peng Fan
On Sun, May 25, 2025 at 02:23:10PM +0200, Michael Trimarchi wrote: >Make simple the clock registration and enable and allow later >to add support for other platforms > >Signed-off-by: Michael Trimarchi >--- > > drivers/mtd/nand/raw/mxs_nand_dt.c | 48 -- > 1 file changed

Re: [PATCH 05/13] board: venice: fix dram size for GW7901-SP486

2025-05-26 Thread Peng Fan
On Fri, May 23, 2025 at 10:20:10AM -0700, Tim Harvey wrote: >The GW7901-SP486 with the exception of the -C revision has 2GB DRAM >loaded but incorrectly specifies 1GB in the EEPROM. Adjust the DRAM size >to account for this. > >Signed-off-by: Tim Harvey Reviewed-by: Peng Fan

Re: [PATCH 1/4] clk: imx: add i.MX6UL clk driver

2025-05-26 Thread Peng Fan
On Sun, May 25, 2025 at 02:23:09PM +0200, Michael Trimarchi wrote: >Add i.MX6UL clk driver for i.MX6UL CLK driver model usage > >Signed-off-by: Michael Trimarchi Reviewed-by: Peng Fan

Re: [PATCH 06/13] board: venice: use baseboard model for family

2025-05-26 Thread Peng Fan
On Fri, May 23, 2025 at 10:20:11AM -0700, Tim Harvey wrote: >The venice family of baseboards which is normally GW7xxx >is being expanded to GW8xxx so we need to use the baseboard >number instead of the som. > >Signed-off-by: Tim Harvey Reviewed-by: Peng Fan

Re: [PATCH 10/13] board: venice: add FSA support

2025-05-26 Thread Peng Fan
e enabled so that >they can be probed to determine if they are actually present in >the system. If not present or not enabled the gpio expander can >not be used. This also requires livetree as the gpio expander >node if not present must be disabled. > >Signed-off-by: Tim Harvey Reviewed-by: Peng Fan

Re: [PATCH 07/13] board: venice: use SOM model for PMIC adjustment on SOM

2025-05-26 Thread Peng Fan
On Fri, May 23, 2025 at 10:20:12AM -0700, Tim Harvey wrote: >Use the SOM model to adjust PMIC settings on SOM's. > >Signed-off-by: Tim Harvey Reviewed-by: Peng Fan

Re: [PATCH 01/13] configs: imx8m*_venice: enable several commands useful for scripting

2025-05-26 Thread Peng Fan
On Fri, May 23, 2025 at 10:20:06AM -0700, Tim Harvey wrote: >enable cat, xxd, and the ability for setexpr to return values in >variables which are all useful for scripting. > >Signed-off-by: Tim Harvey Reviewed-by: Peng Fan

Re: [PATCH 02/13] configs: imx8m*_venice: enable GPT support

2025-05-26 Thread Peng Fan
On Fri, May 23, 2025 at 10:20:07AM -0700, Tim Harvey wrote: >Enable support for working with General Partition Tables via the 'gpt' >command. Also enable support for generating random UUID's for GPT. > >See: doc/README.gpt for examples > >Signed-off-by: Tim Harvey Reviewed-by: Peng Fan

Re: [PATCH 04/13] board: venice: fix dram bus config for GW7902/GW7903/GW7904

2025-05-26 Thread Peng Fan
ation and add a generic >function to patch the DDRC/PHY configs for the alternate bus layout. > >Signed-off-by: Tim Harvey Reviewed-by: Peng Fan

Re: [PATCH 08/13] board: venice: flip logic for GSC supervisor enable

2025-05-26 Thread Peng Fan
On Fri, May 23, 2025 at 10:20:13AM -0700, Tim Harvey wrote: >Flip the logic used to determine if a board has the proper hardware to >support enabling the GSC voltage supervisor so that we do not need to >keep adding new models to the list. > >Signed-off-by: Tim Harvey Reviewed-by: Peng Fan

Re: [PATCH 09/13] board: venice: add imx8mp-gw82xx support

2025-05-26 Thread Peng Fan
;Add support for it by providing its device-tree. > >Signed-off-by: Tim Harvey Reviewed-by: Peng Fan

Re: [PATCH 11/13] board: venice: update model representation for venice-flex

2025-05-26 Thread Peng Fan
On Fri, May 23, 2025 at 10:20:16AM -0700, Tim Harvey wrote: >Update the model string representation for the Venice-Flex product >family (GW8xxx). > >Signed-off-by: Tim Harvey Reviewed-by: Peng Fan

RE: [PATCH] mmc: am654_sdhci: Clear UHS_MODE_SELECT when < MMC_HS_52

2025-05-20 Thread Peng Fan
at modes < MMC_HS_52. Typo: '<' -> '<=' > > This fixes eMMC writes on j7200 EVM. > > Fixes: 6067aa66b3bb ("mmc: am654_sdhci: Add > am654_sdhci_set_control_reg") > Signed-off-by: Judith Mendez Reviewed-by: Peng Fan

[GIT PULL] Please pull mmc-2025-05-20

2025-05-20 Thread Peng Fan
Hi Tom, Please pull mmc-2025-05-20 - Fix mmc cv1800b build without MMC_SUPPORTS_TUNING - CI: https://source.denx.de/u-boot/custodians/u-boot-mmc/-/pipelines/26241 Thanks, Peng The following changes

Re: [PATCH] mmc: cv1800b: Fix build without MMC_SUPPORTS_TUNING

2025-05-20 Thread Peng Fan (OSS)
From: Peng Fan On Sun, 27 Apr 2025 23:46:19 +0200, Alexander Sverdlin wrote: > That's how it looks like without CONFIG_MMC_SUPPORTS_TUNING before the > patch: > > aarch64-buildroot-linux-gnu-ld.bfd: drivers/mmc/cv1800b_sdhci.o: in function > `cv1800b_execute_tu

RE: [PATCH v3 2/2] arm: imx: imx8m: soc: replace ifdef by IS_ENABLED()

2025-05-15 Thread Peng Fan
> Subject: [PATCH v3 2/2] arm: imx: imx8m: soc: replace ifdef by > IS_ENABLED() > > Standardize on using the IS_ENABLED macro. > > Signed-off-by: Dario Binacchi > Reviewed-by: Peng Fan

RE: [PATCH v3 1/2] arm: imx: imx8m: soc: fix the macro name

2025-05-15 Thread Peng Fan
led. So rename the macro > SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION to > CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION. > > Fixes: 2a00d73d081a ("spl: mmc: Try to clean up raw-mode options") > Signed-off-by: Michael Trimarchi > Signed-off-by: Dario Binacchi > Reviewed-by: Quentin Schulz > > --- Reviewed-by: Peng Fan

RE: [PATCH 2/3] arm64: imx: imx8mn-beacon: Enable BOOTAUX

2025-05-05 Thread Peng Fan
BOOTAUX=y > CONFIG_REMAKE_ELF=y > CONFIG_FIT=y > CONFIG_FIT_EXTERNAL_OFFSET=0x3000 > -- Reviewed-by: Peng Fan

RE: [PATCH] mmc: cv1800b: Fix build without MMC_SUPPORTS_TUNING

2025-04-27 Thread Peng Fan
b_execute_tuning': > drivers/mmc/cv1800b_sdhci.c:47:(.text.cv1800b_execute_tuning+0x50 > ): undefined reference to `mmc_send_tuning' > > Signed-off-by: Alexander Sverdlin Reviewed-by: Peng Fan

Re: [PATCH] power: regulator: scmi: Move regulator subnode hack to scmi_regulator

2025-04-23 Thread Peng Fan (OSS)
From: Peng Fan On Sat, 22 Mar 2025 02:44:40 +0100, Marek Vasut wrote: > The current code attempts to bind scmi_voltage_domain to regulator subnode > of the SCMI protocol node, so scmi_voltage_domain can then bind regulators > directly to subnodes of its node. This kind of behavior shou

Re: [PATCH 1/1] mmc: type 'Relatvie'

2025-04-23 Thread Peng Fan (OSS)
From: Peng Fan On Mon, 14 Apr 2025 13:49:43 +0200, Heinrich Schuchardt wrote: > %s/Relatvie/Relative' > > Applied, thanks! [1/1] mmc: type 'Relatvie' commit: 392a5860bd65c467696deb6c0713b488a66d1b28 Best regards, -- Peng Fan

Re: [PATCH 0/2] mmc: omap_hsmmc: Restore the init_stream sequence

2025-04-23 Thread Peng Fan (OSS)
From: Peng Fan On Thu, 10 Apr 2025 11:00:19 +0200, Mathieu Othacehe wrote: > Back in 2019, the init_stream sequence was disabled with db52e19ced because: > > This is not required. The MMC core sends CMD0 right after the > initialization and it serves the same purpose. >

[GIT PULL] Please pull mmc-2025-04-23

2025-04-23 Thread Peng Fan
Hi Tom, Please pull mmc-2025-04-23 - - Introducing back send_init_stream for omap_hsmmc to perform the 74 clocks cycle sequence - Move scmi regulator subnode hack to scmi_regulator - Typo fix - I pi

Re: 回复: 回复: [EXT] [PATCH] power: regulator: scmi: Move regulator subnode hack to scmi_regulator

2025-04-22 Thread Peng Fan
On Fri, Apr 18, 2025 at 10:52:00AM +0800, Peng Fan wrote: >On Wed, Apr 09, 2025 at 06:42:14AM +, Alice Guo (OSS) wrote: >>> -邮件原件- >>> 发件人: Marek Vasut >>> 发送时间: 2025年4月9日 2:31 >>> 收件人: Alice Guo (OSS) ; u-boot@lists.denx.de >>> 抄送:

Re: [PATCH 0/2] mmc: omap_hsmmc: Restore the init_stream sequence

2025-04-18 Thread Peng Fan
en since 2019. > >I guess that most of the other devices out there are able to cope with those >74 clocks sequence missing and can respond directly to CMD0, which is why that >went unnoticed with the omap_hsmmc driver users. This patchset looks good to me. Reviewd-by: Peng Fan But b

Re: 回复: 回复: [EXT] [PATCH] power: regulator: scmi: Move regulator subnode hack to scmi_regulator

2025-04-17 Thread Peng Fan
On Wed, Apr 09, 2025 at 06:42:14AM +, Alice Guo (OSS) wrote: >> -邮件原件- >> 发件人: Marek Vasut >> 发送时间: 2025年4月9日 2:31 >> 收件人: Alice Guo (OSS) ; u-boot@lists.denx.de >> 抄送: Alice Guo ; Ilias Apalodimas >> ; Jaehoon Chung ; >> Tom Rini >> 主题: Re: 回复: [EXT] [PATCH] power: regulator: scmi: M

RE: [PATCH 1/1] mmc: type 'Relatvie'

2025-04-14 Thread Peng Fan
> Subject: [PATCH 1/1] mmc: type 'Relatvie' > > %s/Relatvie/Relative' > > Signed-off-by: Heinrich Schuchardt > Acked-by: Peng Fan

[GIT PULL] Please pull mmc-2025-04-11

2025-04-10 Thread Peng Fan
mode Luke Wang (1): mmc: mmc_boot: Support Sandisk and Micron eMMC BOOT/RPMB hardware partition resizing Marek Vasut (2): mmc: Simplify poll CD logic in case cyclic framework is enabled mmc: Exit from mmc_init() if mmc_complete_init() fails Peng Fan (1): mmc: Optimize

Re: [PATCH] mmc: Optimize eMMC erase speed

2025-04-10 Thread Peng Fan (OSS)
From: Peng Fan On Mon, 20 Jan 2025 12:30:09 +0800, Peng Fan (OSS) wrote: > Per JESD84-B51 6.6.9 Erase: > The host can erase a contiguous range of Erase Groups. Starting the erase > process is a three steps sequence. First the host defines the start address > of the ran

Re: [PATCH v3] mmc: mmc_boot: Support Sandisk and Micron eMMC BOOT/RPMB hardware partition resizing

2025-04-10 Thread Peng Fan (OSS)
From: Peng Fan On Tue, 25 Mar 2025 16:29:14 +0800, ziniu.wan...@nxp.com wrote: > Current mmc bootpart-resize command only support Samsung eMMC BOOT/RPMB > hardware partition resizing. Add Sandisk and Micron eMMC BOOT/RPMB hardware > partition resizing support. The commands and param

Re: [PATCH] mmc: Avoid uniniting twice

2025-04-10 Thread Peng Fan (OSS)
From: Peng Fan On Sun, 16 Feb 2025 05:55:59 -0700, Simon Glass wrote: > Each MMC device has a child which ihs a block device. At present we call > mmc_deinit() when the block device is removed. > > But the MMC struct (i.e. struct mmc) is attached to the MMC's device, > no

Re: [PATCH] mmc: Kconfig: Correct dependencies SDHCI ADMA options

2025-04-10 Thread Peng Fan (OSS)
From: Peng Fan On Tue, 14 Jan 2025 20:07:36 -0600, Tom Rini wrote: > The option MMC_SDHCI_ADMA_FORCE_32BIT is only tested or used when > MMC_SDHCI_ADMA or SPL_MMC_SDHCI_ADMA is enabled. And for > MMC_SDHCI_ADMA_64BIT the same is true except we also require > MMC_SDHCI_ADMA_FORCE

Re: [PATCH] mmc: sdhci: Fix possible Synchronous Abort using PIO mode

2025-04-10 Thread Peng Fan (OSS)
From: Peng Fan On Thu, 23 Jan 2025 21:48:48 +, Jonas Karlman wrote: > When MMC_SDHCI_SDMA=y or MMC_SDHCI_ADMA=y and PIO mode is used > dma_unmap_single() is called on an unmapped address, 0x0. This may > result in a Synchronous Abort: > > ## Checking hash(es) for Image a

Re: [PATCH v2] mmc: Simplify poll CD logic in case cyclic framework is enabled

2025-04-10 Thread Peng Fan (OSS)
From: Peng Fan On Sat, 18 Jan 2025 04:09:53 +0100, Marek Vasut wrote: > Simplify 90cc07fd786d ("mmc: Poll CD in case cyclic framework is enabled") > according to suggestions by Rasmus. The struct cyclic_info is zero-size in > case CONFIG_CYCLIC is not enabled and does not add

Re: [PATCH] mmc: Exit from mmc_init() if mmc_complete_init() fails

2025-04-10 Thread Peng Fan (OSS)
From: Peng Fan On Sat, 18 Jan 2025 04:27:34 +0100, Marek Vasut wrote: > In case mmc_complete_init() returns error, exit from mmc_init() > without possibly calling cyclic_register(), which at that point > would be undesired. > > Applied, thanks! [1/1] mmc: Exit fro

Re: [PATCH] mmc: sdhci: Fix possible Synchronous Abort using PIO mode

2025-04-10 Thread Peng Fan
Hi Jonas, On Thu, Jan 23, 2025 at 09:48:48PM +, Jonas Karlman wrote: >When MMC_SDHCI_SDMA=y or MMC_SDHCI_ADMA=y and PIO mode is used >dma_unmap_single() is called on an unmapped address, 0x0. This may >result in a Synchronous Abort: > > ## Checking hash(es) for Image atf-1 ... sha256+ OK > C

Re: [PATCH 4/4] qcom_defconfig: enable capsule update support

2025-03-27 Thread Peng Fan
On Wed, Mar 26, 2025 at 06:40:37PM +0100, Caleb Connolly wrote: >We can now correctly identify which partition U-Boot is flashed to >between uefi, xbl, and boot (including A/B support) so enable capsule >update support for all boards. > >Signed-off-by: Caleb Connolly >--- > configs/qcm6490_defconf

RE: [PATCH v8 02/19] pinctrl: nxp: add a pin controller driver based on SCMI pin control protocol

2025-03-25 Thread Peng Fan
> Subject: Re: [PATCH v8 02/19] pinctrl: nxp: add a pin controller driver > based on SCMI pin control protocol > > On 3/26/25 2:52 AM, Peng Fan wrote: > >> Subject: Re: [PATCH v8 02/19] pinctrl: nxp: add a pin controller > >> driver based on SCMI pin control protoco

RE: [PATCH v8 02/19] pinctrl: nxp: add a pin controller driver based on SCMI pin control protocol

2025-03-25 Thread Peng Fan
> Subject: Re: [PATCH v8 02/19] pinctrl: nxp: add a pin controller driver > based on SCMI pin control protocol > > On 3/25/25 9:06 AM, Peng Fan wrote: > > [...] > > >>> diff --git a/include/scmi_protocols.h b/include/scmi_protocols.h > >>> inde

Re: [PATCH V4 0/7] Migrate IMX8, IMX8M and IMX9 to use imx8_cpu

2025-03-25 Thread Peng Fan
efault > imx: imx9: Imply CPU_IMX by default > > arch/arm/mach-imx/imx8/Kconfig | 2 ++ > arch/arm/mach-imx/imx8m/Kconfig | 3 ++ > arch/arm/mach-imx/imx9/Kconfig | 3 ++ > drivers/cpu/imx8_cpu.c | 54 - > 4 files changed, 54 insertions(+), 8 deletions(-) > Reviewed-by: Peng Fan >-- >2.45.2 >

Re: [PATCH v8 02/19] pinctrl: nxp: add a pin controller driver based on SCMI pin control protocol

2025-03-24 Thread Peng Fan
On Sat, Mar 22, 2025 at 01:46:02AM +0100, Marek Vasut wrote: >On 3/21/25 8:15 AM, Alice Guo (OSS) wrote: > >[...] > >> +static int imx_scmi_pinctrl_probe(struct udevice *dev) >> +{ >> +struct imx_scmi_pinctrl_priv *priv = dev_get_priv(dev); >> + >> +priv->daisy_offset = is_imx93() ? DAISY_O

Re: [PATCH v2 00/24] clk: Add clk_resolve_parent_clk() and fix up iMX clock drivers

2025-03-24 Thread Peng Fan
30 +-- > drivers/clk/imx/clk-pllv3.c| 9 +- > drivers/clk/imx/clk.h | 116 +- > include/clk.h | 9 + > include/linux/clk-provider.h | 10 +- > 21 files changed, 783 insertions(+), 769 deletions(-) > >--- >Cc: Adam Ford

Re: [PATCH v2] mmc: mmc_boot: support sandisk and micron emmc boot/rpmb partition resizing

2025-03-24 Thread Peng Fan
zing partitions >are different for each manufacturer. Select the corresponding function >according to cid. > >Signed-off-by: Luke Wang LGTM: Reviewed-by: Peng Fan

RE: [PATCH] imx8m: soc: cope with existing optee node

2025-03-15 Thread Peng Fan
> Subject: Re: [PATCH] imx8m: soc: cope with existing optee node > > On Wed, Mar 12, 2025 at 12:10 PM Peng Fan > wrote: > > > Partially right. > > But The issue here is to handle the case that the node is created by > > optee os and uboot should bypass creating

Re: [PATCH V2 09/10] configs: imx8mp_beacon: Select SPL_CLK_IMX8MP

2025-03-15 Thread Peng Fan
utomatically. > >Signed-off-by: Adam Ford Reviewed-by: Peng Fan

RE: [PATCH] imx93_evk: Fix wrong VDDQ voltage setting for LPDDR4x

2025-03-12 Thread Peng Fan
: Ye Li > --- Acked-by: Peng Fan

RE: [PATCH] imx8m: soc: cope with existing optee node

2025-03-12 Thread Peng Fan
> Subject: Re: [PATCH] imx8m: soc: cope with existing optee node > > Hi Vincent, > > On Mon, Mar 10, 2025 at 9:36 AM Vincent Stehlé > wrote: > > > --- a/arch/arm/mach-imx/imx8m/soc.c > > +++ b/arch/arm/mach-imx/imx8m/soc.c > > @@ -1270,8 +1270,9 @@ static int ft_add_optee_node(void *fdt, > stru

Re: [PATCH V2 10/10] board: beacon: imx8mp: Let clock system enable UART clock

2025-03-12 Thread Peng Fan
On Tue, Mar 11, 2025 at 07:30:30PM -0500, Adam Ford wrote: >Now that the UART driver can enable the required clocks, remove >the hard-coded clock enable. > >Signed-off-by: Adam Ford Reviewed-by: Peng Fan

Re: [PATCH V2 08/10] clk: imx: select SPL_CLK_COMPOSITE_CCF when SPL_CLK_IMX8MP

2025-03-11 Thread Peng Fan
>Signed-off-by: Adam Ford Reviewed-by: Peng Fan

Re: [PATCH V2 07/10] board: beacon: imx8mn: Let clock system enable UART clock

2025-03-11 Thread Peng Fan
On Tue, Mar 11, 2025 at 07:30:27PM -0500, Adam Ford wrote: >Now that the UART driver can enable the required clocks, remove >the hard-coded clock enable. > >Signed-off-by: Adam Ford Reviewed-by: Peng Fan

Re: [PATCH V2 06/10] board: beacon: imx8mm: Let clock system enable UART clock

2025-03-11 Thread Peng Fan
On Tue, Mar 11, 2025 at 07:30:26PM -0500, Adam Ford wrote: >Now that the UART driver can enable the required clocks, remove >the hard-coded clock enable. This requires a small re-order >of a couple functions. > >Signed-off-by: Adam Ford Reviewed-by: Peng Fan

Re: [PATCH V2 05/10] serial: mxc: Support bulk enabling clocks

2025-03-11 Thread Peng Fan
y enable the clock. > >This is made dependent on CLK_CCF which is used on imx6q, >imx8m[mnqp], several imxrt, imx9. If/when the UART clock >registration is done for older boards, this limitation >could be updated. > >Signed-off-by: Adam Ford Reviewed-by: Peng Fan

Re: [PATCH V2 04/10] clk: imx8mn: register UART clocks

2025-03-11 Thread Peng Fan
On Tue, Mar 11, 2025 at 07:30:24PM -0500, Adam Ford wrote: >In order to let the serial driver enable the clocks, the UART clocks >must be registered first. > >Signed-off-by: Adam Ford Reviewed-by: Peng Fan

Re: [PATCH V2 03/10] clk: imx8mm: register UART clocks

2025-03-11 Thread Peng Fan
On Tue, Mar 11, 2025 at 07:30:23PM -0500, Adam Ford wrote: >In order to let the serial driver enable the clocks, the UART clocks >must be registered first. > >Signed-off-by: Adam Ford Reviewed-by: Peng Fan

Re: [PATCH V2 01/10] clk: imx6q: Properly handle imx6qp ECSPI clk_sels

2025-03-11 Thread Peng Fan
dingly. > >Signed-off-by: Adam Ford >Reviewed-by: Michael Trimarchi Reviewed-by: Peng Fan

RE: [PATCH] imx8m: soc: cope with existing optee node

2025-03-11 Thread Peng Fan
imx8mm-cl-iot-gate* defconfigs). > > Deal with an existing optee node gracefully at runtime to fix this issue. > > Signed-off-by: Vincent Stehlé > Cc: Stefano Babic > Cc: Fabio Estevam > Cc: Tom Rini > Cc: Tim Harvey Reviewed-by: Peng Fan

RE: [PATCH V2 02/10] clk: imx6q: Register UART clocks

2025-03-11 Thread Peng Fan
> UART can register for both scenarios. > > Signed-off-by: Adam Ford Reviewed-by: Peng Fan

[GIT PULL] please pull fsl-qoriq-2025-3-3

2025-03-03 Thread Peng Fan
Hi Tom, Please pull fsl-qoriq-2025-3-3. Re-arm packet buffer in error case in tsec driver fix LS1021a build fix flush dcache alignment in caam_hash CI: https://sourc

Re: [PATCH 2/2] powerpc: mpc8xxx_spi: Catch bad chip variants earlier

2025-03-02 Thread Peng Fan
Hi, On Mon, Feb 17, 2025 at 04:48:48PM +0100, J. Neuschäfer via B4 Relay wrote: >From: "J. Neuschäfer" > >Currently, enabling the MPC8xxx SPI driver on an unexpected SoC results >in a wall of errors because spi8xxx_t isn't defined. This is quite a bad >experience, so let's catch this kind of issu

Re: [PATCH] crypto: fsl_hash: fix flush dcache alignment in caam_hash()

2025-03-02 Thread Peng Fan
On Fri, Feb 28, 2025 at 09:00:28AM +0100, Benjamin Lemouzy wrote: >Hi Peng, > >On Fri, 28 Feb 2025 12:17:56 +0800 >Peng Fan wrote: > >> Hi Benjamin, >> >> On Fri, Feb 21, 2025 at 08:05:01AM +0100, blemouzy...@gmail.com wrote: >> >From: Benjamin Lemouzy

[PATCH V2] board: freescale: fix LS1021a build

2025-02-27 Thread Peng Fan (OSS)
From: Benjamin Lemouzy Fix build error "undefined reference to `is_warm_boot'" when ls1021atsn and ls1021atwr boards are built with CONFIG_SPL=y and CONFIG_DEEP_SLEEP=n. Signed-off-by: Benjamin Lemouzy Signed-off-by: Peng Fan --- V2: Use CONFIG_IS_ENABLED board/frees

Re: [PATCH] crypto: fsl_hash: fix flush dcache alignment in caam_hash()

2025-02-27 Thread Peng Fan
Hi Benjamin, On Fri, Feb 21, 2025 at 08:05:01AM +0100, blemouzy...@gmail.com wrote: >From: Benjamin Lemouzy > >Loading a FIT kernel image with hash hardware acceleration enabled >(CONFIG_SHA_HW_ACCEL=y) displays the following CACHE warning: Sorry for my lazyness, the following patch should be ab

Re: [PATCH] board: freescale: fix LS1021a build

2025-02-27 Thread Peng Fan
On Mon, Feb 17, 2025 at 04:36:03PM +0100, blemouzy...@gmail.com wrote: >From: Benjamin Lemouzy > >Fix build error "undefined reference to `is_warm_boot'" when >ls1021atsn and ls1021atwr boards are built with CONFIG_SPL=y and >CONFIG_DEEP_SLEEP=n. > >Signed-off-by: Benjamin Lemouzy >--- > board/fr

RE: [PATCH] mmc: fsl_esdhc: Migrate ESDHCI_QUIRK_BROKEN_TIMEOUT_VALUE to Kconfig

2025-02-27 Thread Peng Fan
IS_ENABLED() macro. > > Signed-off-by: Tom Rini Reviewed-by: Peng Fan

RE: [PATCH] imx9: container.cfg: Guard tee.bin inclusion

2025-02-27 Thread Peng Fan
ot found, resulting binary may be not-functional > BINMAN .binman_stamp > OFCHK .config > > Signed-off-by: Fabio Estevam Reviewed-by: Peng Fan

RE: [PATCH 2/2] imx8mp_evk: Pass kernel_addr_r

2025-02-27 Thread Peng Fan
booting via bootstd. > > Signed-off-by: Fabio Estevam Reviewed-by: Peng Fan

RE: [PATCH 1/2] imx93_evk: Pass kernel_addr_r

2025-02-27 Thread Peng Fan
booting via bootstd. > > Signed-off-by: Fabio Estevam Reviewed-by: Peng Fan

RE: [PATCH 2/2] imx8mm: imx8mm_evk: fix BOOTSTD boot

2025-02-26 Thread Peng Fan
> Subject: Re: [PATCH 2/2] imx8mm: imx8mm_evk: fix BOOTSTD boot > > Hi Peng, > > On Thu, Feb 27, 2025 at 12:11 AM Peng Fan > wrote: > > > I am just trying your setup. > > Appreciate your effort on helping this. > > From what I can see, it is only imx93-

RE: [PATCH 2/2] imx8mm: imx8mm_evk: fix BOOTSTD boot

2025-02-26 Thread Peng Fan
> Subject: Re: [PATCH 2/2] imx8mm: imx8mm_evk: fix BOOTSTD boot > > On Wed, Feb 26, 2025 at 11:27 PM Tom Rini > wrote: > > > Did you reset the environment at some point to be the new default? > > Yes, this was the issue, thanks. > > Besides that, I also need to set kernel_addr_r for the boot t

RE: [PATCH 1/2] sunxi: mmc: Fix T113-s3 MMC clock divider

2025-02-26 Thread Peng Fan
> Subject: Re: [PATCH 1/2] sunxi: mmc: Fix T113-s3 MMC clock divider > > On Thu, Feb 27, 2025 at 12:31:59AM +0000, Peng Fan wrote: > > Hi Andre, > > > > > Subject: [PATCH 1/2] sunxi: mmc: Fix T113-s3 MMC clock divider > > > > > > On the All

RE: [PATCH 2/2] sunxi: sun50i_h6: clock: fix PLL_PERIPH0 rate calculation

2025-02-26 Thread Peng Fan
at here. > + */ > + if (IS_ENABLED(CONFIG_MACH_SUN50I_H6)) > + m = 4; > + else > + m = 2; > + Nit: not sure you need CONFIG_IS_ENABLED or not. Reviewed-by: Peng Fan Regards Peng > return 2400U * n / m / div1 / div2; } > -- > 2.25.1

RE: [PATCH 1/2] sunxi: mmc: Fix T113-s3 MMC clock divider

2025-02-26 Thread Peng Fan
Hi Andre, > Subject: [PATCH 1/2] sunxi: mmc: Fix T113-s3 MMC clock divider > > On the Allwinner D1/R528/T113-s3 SoCs the MMC clock source > selected by mux value 1 is PLL_PERIPH0(1x), not (2x), as in the other > SoCs. > But we have still the hidden divisor of 2 in the MMC mod clock, so > need to

RE: [PATCH 2/2] imx8mm: imx8mm_evk: fix BOOTSTD boot

2025-02-26 Thread Peng Fan
> Subject: Re: [PATCH 2/2] imx8mm: imx8mm_evk: fix BOOTSTD boot > > On Wed, Feb 26, 2025 at 7:47 PM Fabio Estevam > wrote: > > > How can we fix this boot regression? This affects imx8mm-evk, > > imx8mn-evk, imx8mp-evk as well. It boots well with NXP yocto generated image, anyway I will try buil

RE: [PATCH 2/2] imx8mm: imx8mm_evk: fix BOOTSTD boot

2025-02-26 Thread Peng Fan
Hi Fabio, > Subject: Re: [PATCH 2/2] imx8mm: imx8mm_evk: fix BOOTSTD boot > > Hi Peng, > > On Sat, Feb 22, 2025 at 8:10 AM Peng Fan (OSS) > wrote: > > > > From: Peng Fan > > > > Select BOOTSTD_FULL and BOOTSTD_BOOTCOMMAND Correct &

Re: 回复: 回复: [PATCH v4 04/20] firmware: scmi: add pin control protocol support to SCMI agent

2025-02-23 Thread Peng Fan
On Fri, Feb 21, 2025 at 06:55:41PM +0100, Marek Vasut wrote: >On 2/21/25 2:47 AM, Alice Guo (OSS) wrote: >> > -邮件原件- >> > 发件人: Marek Vasut >> > 发送时间: 2025年2月21日 6:35 >> > 收件人: Alice Guo (OSS) ; Tom Rini >> > ; Stefano Babic ; Fabio Estevam >> > ; dl-uboot-imx ; Lukasz >> > Majewski ; Sean

[PATCH 2/2] imx8mm: imx8mm_evk: fix BOOTSTD boot

2025-02-22 Thread Peng Fan (OSS)
From: Peng Fan Select BOOTSTD_FULL and BOOTSTD_BOOTCOMMAND Correct DEFAULT_FDT_FILE Correct env file for imx8mm_evk_fspi_defconfig Fixes: 364ba68ed1a ("imx: imx8mm_evk: Switch to BOOTSTD") Reported-by: Ludwig Nussel Signed-off-by: Peng Fan --- arch/arm/mach-imx/imx8m/Kco

[PATCH 1/2] imx8mq: imx8mq_evk: fix DEFAULT_FDT_FILE

2025-02-22 Thread Peng Fan (OSS)
From: Peng Fan The CONFIG_DEFAULT_FDT_FILE should be imx8mq_evk.dtb for this board Fixes: 7050bd925f7 ("imx: imx8mq_evk: Switch to BOOTSTD") Reported-by: Ludwig Nussel Signed-off-by: Peng Fan --- configs/imx8mq_evk_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

RE: [PATCH] imx: fix imx8mm_evk config

2025-02-19 Thread Peng Fan
Hi Fabio, > Subject: Re: [PATCH] imx: fix imx8mm_evk config > > Hi Peng, > > On Thu, Feb 13, 2025 at 2:34 PM Ludwig Nussel > wrote: > > > > Commit 364ba68ed1a adjusted Kconfig for imx8mn_evk instead of > > You haven't tested 364ba68ed1a, have you? Not test all the targets, 93 and 8mp were tes

[PATCH] mmc: Optimize eMMC erase speed

2025-01-19 Thread Peng Fan (OSS)
From: Peng Fan Per JESD84-B51 6.6.9 Erase: The host can erase a contiguous range of Erase Groups. Starting the erase process is a three steps sequence. First the host defines the start address of the range using the ERASE_GROUP_START (CMD35) command, next it defines the last address of the range

RE: [PATCH] ARM: dts: imxrt1050: Migrate to OF_UPSTREAM

2025-01-16 Thread Peng Fan
> Subject: [PATCH] ARM: dts: imxrt1050: Migrate to OF_UPSTREAM > > The device tree for imxrt1050 is now > available in the /dts/upstream directory. > Migrate board to use OF_UPSTREAM. > > Signed-off-by: Jesse Taube > --- > Please note /dts/upstream still needs to be updated > the upstream commit

RE: [PATCH v2] imx8m: Guard binman nodes with CONFIG_OPTEE

2025-01-16 Thread Peng Fan
Trusted Execution Environment (OP-TEE) and build with > TEE=/path/to/tee.bin > > Some images are invalid > make: *** [Makefile:1135: .binman_stamp] Error 103 > > While at it, only pass tee to the loadables lines when CONFIG_OPTEE is > defined. > > Reported-by: Tim Harvey > Signed-off-by: Fabio Estevam > Reviewed-by: Tom Rini Reviewed-by: Peng Fan

RE: [PATCH] mmc: Kconfig: Correct dependencies SDHCI ADMA options

2025-01-14 Thread Peng Fan
DHCI_ADMA_FORCE_32BIT to be disabled. > > Signed-off-by: Tom Rini > --- > Cc: Peng Fan > Cc: Jaehoon Chung Acked-by: Peng Fan

Re: 回复: 回复: 回复: [EXT] Re: [PATCH v3 02/17] firmware: scmi: smt: Interrupt communication enable

2025-01-10 Thread Peng Fan
On Wed, Jan 08, 2025 at 07:38:30PM +0100, Marek Vasut wrote: >On 1/8/25 3:55 AM, Alice Guo (OSS) wrote: >> > -邮件原件- >> > 发件人: Marek Vasut >> > 发送时间: 2025年1月7日 19:11 >> > 收件人: Alice Guo (OSS) ; Tom Rini >> > ; Stefano Babic ; Fabio Estevam >> > ; dl-uboot-imx ; Lukasz >> > Majewski ; Sean A

Re: 回复: 回复: [EXT] Re: [PATCH v3 03/17] pinctrl: nxp: add SCMI pin control protocol driver

2025-01-10 Thread Peng Fan
On Tue, Jan 07, 2025 at 01:37:06PM +0100, Marek Vasut wrote: >On 1/7/25 1:11 PM, Peng Fan wrote: > >[...] > >> > > You cannot replace System Manager with optee-os. >> > >> > I think optee-os is also capable of being SCMI provider, so I have to >>

Re: [PATCH v3 11/17] imx9: scmi: soc: Override h_spl_load_read with trampoline buffer

2025-01-10 Thread Peng Fan
; it can't access this region and will cause loading issue. >> >> So override h_spl_load_read to use a trampoline buffer in nonsecure >> region, then use CPU to copy the image from trampoline buffer to >> destination secure region. >> >> Signed-off-by: Ye L

[PATCH v3 17/17] gpio: adp5585: Update compatible string

2025-01-08 Thread Peng Fan (OSS)
From: Peng Fan i.MX93-11x11-EVK has switched to use upstream device tree, and use "adi,adp5585". Since i.MX93-11x11-EVK is the only user of this driver, so it is safe to drop "adp5585". Signed-off-by: Peng Fan --- drivers/gpio/adp5585_gpio.c | 2 +- 1 file changed, 1 inse

[PATCH v3 16/17] imx: imx93-11x11-evk: drop duplicated nodes

2025-01-08 Thread Peng Fan (OSS)
From: Peng Fan The upstream dts already has the lpi2c2 subnodes, so drop the duplicated ones in u-boot dtsi. Signed-off-by: Peng Fan --- arch/arm/dts/imx93-11x11-evk-u-boot.dtsi | 118 --- 1 file changed, 118 deletions(-) diff --git a/arch/arm/dts/imx93-11x11-evk

[PATCH v3 15/17] imx: imx8mq_evk: Switch to BOOTSTD

2025-01-08 Thread Peng Fan (OSS)
From: Peng Fan Move env to imx8mq_evk.env Switch to support BOOTSTD with a bsp bootcmd as fallback. Signed-off-by: Peng Fan --- arch/arm/mach-imx/imx8m/Kconfig | 2 ++ board/freescale/imx8mq_evk/imx8mq_evk.env | 60 +++ configs/imx8mq_evk_defconfig

[PATCH v3 12/17] imx: imx8mq_evk: Cleanup headers

2025-01-08 Thread Peng Fan (OSS)
From: Peng Fan Drop unused headers and sort the order. Signed-off-by: Peng Fan --- board/freescale/imx8mq_evk/imx8mq_evk.c | 24 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/board/freescale/imx8mq_evk/imx8mq_evk.c b/board/freescale/imx8mq_evk

[PATCH v3 14/17] imx: imx8mq_evk: Enable dynamic settings to mmcdev and mmcroot

2025-01-08 Thread Peng Fan (OSS)
From: Peng Fan Enable dynamic settings to mmcdev and mmcroot for i.MX8MQ-EVK Since we are here, clean up the including headers Signed-off-by: Peng Fan --- board/freescale/imx8mq_evk/imx8mq_evk.c | 4 1 file changed, 4 insertions(+) diff --git a/board/freescale/imx8mq_evk/imx8mq_evk.c b

[PATCH v3 13/17] imx: imx8mq_evk: Drop DECLARE_GLOBAL_DATA_PTR

2025-01-08 Thread Peng Fan (OSS)
From: Peng Fan There is no gd used in the board file, so drop DECLARE_GLOBAL_DATA_PTR. Signed-off-by: Peng Fan --- board/freescale/imx8mq_evk/imx8mq_evk.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/board/freescale/imx8mq_evk/imx8mq_evk.c b/board/freescale/imx8mq_evk/imx8mq_evk.c

[PATCH v3 11/17] imx: imx8mm_evk: Switch to BOOTSTD

2025-01-08 Thread Peng Fan (OSS)
From: Peng Fan Move env to imx8mm_evk.env Switch to support BOOTSTD with a bsp bootcmd as fallback. Signed-off-by: Peng Fan --- arch/arm/mach-imx/imx8m/Kconfig | 4 ++ board/freescale/imx8mm_evk/imx8mm_evk.env | 67 +++ configs/imx8mm_evk_defconfig

[PATCH v3 10/17] imx: imx8mm_evk: Enable dynamic settings to mmcdev and mmcroot

2025-01-08 Thread Peng Fan (OSS)
From: Peng Fan Enable dynamic settings to mmcdev and mmcroot for i.MX8MM-EVK Signed-off-by: Peng Fan --- board/freescale/imx8mm_evk/imx8mm_evk.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/freescale/imx8mm_evk/imx8mm_evk.c b/board/freescale/imx8mm_evk/imx8mm_evk.c index

[PATCH v3 09/17] imx: imx8mn_evk: Switch to BOOTSTD

2025-01-08 Thread Peng Fan (OSS)
From: Peng Fan Move env to imx8mn_evk.env Switch to support BOOTSTD with a bsp bootcmd as fallback. Signed-off-by: Peng Fan --- board/freescale/imx8mn_evk/imx8mn_evk.env | 67 +++ configs/imx8mn_evk_defconfig | 2 +- include/configs/imx8mn_evk.h

[PATCH v3 08/17] imx: imx8mn_evk: Enable dynamic settings to mmcdev and mmcroot

2025-01-08 Thread Peng Fan (OSS)
From: Peng Fan Enable dynamic settings to mmcdev and mmcroot for i.MX8MN-EVK Signed-off-by: Peng Fan --- board/freescale/imx8mn_evk/imx8mn_evk.c | 5 + 1 file changed, 5 insertions(+) diff --git a/board/freescale/imx8mn_evk/imx8mn_evk.c b/board/freescale/imx8mn_evk/imx8mn_evk.c index

[PATCH v3 07/17] imx: imx8mn_evk: Drop DECLARE_GLOBAL_DATA_PTR

2025-01-08 Thread Peng Fan (OSS)
From: Peng Fan There is no users of global data in imx8mn_evk.c, drop it. Signed-off-by: Peng Fan --- board/freescale/imx8mn_evk/imx8mn_evk.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/board/freescale/imx8mn_evk/imx8mn_evk.c b/board/freescale/imx8mn_evk/imx8mn_evk.c index

  1   2   3   4   5   6   7   8   9   10   >