回复: [RESEND PATCH] phy: phy-imx8mq-usb: Add support for i.MX95 USB3 PHY

2025-08-03 Thread Alice Guo (OSS)
> -邮件原件- > 发件人: Tim Harvey > 发送时间: 2025年7月9日 23:24 > 收件人: u-boot@lists.denx.de > 抄送: Marek Vasut ; Fabio Estevam ; > Alice Guo (OSS) ; dl-uboot-imx ; > Peng Fan ; Stefano Babic ; Ye Li > ; Tom Rini ; thar...@gateworks.com > 主题: [RESEND PATCH] phy: phy-imx8mq-

[PATCH] imx95_evk: Restore support for i.MX95 A0 silicon

2025-08-01 Thread Alice Guo (OSS)
From: Alice Guo This patch is used to restore support for i.MX95 A0 silicon. The usage is updated in imx95_evk.rst. Fixes: 9936724aa9b ("imx95_evk: Add i.MX95 B0 support") Signed-off-by: Alice Guo --- arch/arm/mach-imx/imx9/Kconfig| 5 +- arch/arm/mach-imx/imx9/scmi/container.cf

回复: [PATCH v2 0/4] imx: add i.MX95 b0 support

2025-07-31 Thread Alice Guo (OSS)
> -邮件原件- > 发件人: Tim Harvey > 发送时间: 2025年7月30日 0:03 > 收件人: Alice Guo (OSS) ; Peng Fan > ; Ye Li > 抄送: Stefano Babic ; Fabio Estevam > ; dl-uboot-imx ; Tom Rini > ; u-boot@lists.denx.de; Alice Guo ; > Jacky Bai > 主题: Re: [PATCH v2 0/4] imx: add i.MX95 b0 sup

回复: [PATCH v2 0/4] imx: add i.MX95 b0 support

2025-07-29 Thread Alice Guo (OSS)
> -邮件原件- > 发件人: Fabio Estevam > 发送时间: 2025年7月30日 7:37 > 收件人: thar...@gateworks.com > 抄送: Alice Guo (OSS) ; Peng Fan > ; Ye Li ; Stefano Babic > ; dl-uboot-imx ; Tom Rini > ; u-boot@lists.denx.de; Alice Guo ; > Jacky Bai ; Francesco Dolcini > > 主题: Re:

[PATCH 6/6] imx95: Add support for booting from USB SDP on USB3

2025-07-29 Thread Alice Guo (OSS)
From: Alice Guo USB3 nodes have been added to dts files in dts/upstream now. This patch is used to enable USB Gadget in SPL to make i.MX95 19x19 evk board can use SDP on USB3 interface. Signed-off-by: Alice Guo --- arch/arm/dts/imx95-19x19-evk-u-boot.dtsi | 8 configs/imx95_19x19_evk

[PATCH 5/6] usb: dwc3: gadget: Add delay after software writes DCTL in dwc3_gadget_run_stop()

2025-07-29 Thread Alice Guo (OSS)
From: Alice Guo When using NXP UUU to download flash.bin to i.MX95 19x19 evk board, it will get stuck in a loop at sdp_init() without this change. Signed-off-by: Alice Guo --- drivers/usb/dwc3/gadget.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/

[PATCH 4/6] imx95: Remove ROM info USB instance workaround for B0

2025-07-29 Thread Alice Guo (OSS)
From: Ye Li There was a bug in ROM on A0 for USB instance: USB1 is 3, USB2 is 4. So u-boot had a workaround to match with it. Since the issue is fixed on B0, so need a additional change. Signed-off-by: Ye Li Signed-off-by: Alice Guo Reviewed-by: Peng Fan --- arch/arm/mach-imx/imx9/scmi/soc.c

[PATCH 3/6] usb: f_sdp: Update SDP driver to support PQC container

2025-07-29 Thread Alice Guo (OSS)
From: Ye Li Since PQC container has changed version to 0x2 in container header, update the header's check. Signed-off-by: Ye Li Signed-off-by: Alice Guo Acked-by: Peng Fan Reviewed-by: Jacky Bai --- drivers/usb/gadget/f_sdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 2/6] Add serial# for SPL SDP download

2025-07-29 Thread Alice Guo (OSS)
From: Frank Li After update this, uuu(>1.6) can use below command to filter out devices when multi boards connected. uuu -ms ... [sudo] uuu -lsusb can list known devices with serial# informaiton. Signed-off-by: Frank Li Signed-off-by: Alice Guo Reviewed-by: Ye Li --- arch/arm/mach-imx/spl.

[PATCH 1/6] Update VID/PID

2025-07-29 Thread Alice Guo (OSS)
From: Ye Li VID 0x525 and PID 0xa4a5 already registered as PLX Technology, Inc. Linux-USB File-backed Storage Gadget But fastboot device is not mass storage devices windowns 10 latest update already cached above vid/pid Change to use Freescale VID 0x1fc9 PID 0x151, for SPL SDP HID download PID

[PATCH 0/6] imx95: support USB SDP on USB3 interface

2025-07-29 Thread Alice Guo (OSS)
Signed-off-by: Alice Guo --- Alice Guo (2): usb: dwc3: gadget: Add delay after software writes DCTL in dwc3_gadget_run_stop() imx95: Add support for booting from USB SDP on USB3 Frank Li (1): Add serial# for SPL SDP download Ye Li (3): Update VID/PID usb: f_sdp: Up

回复: [PATCH v2 0/4] imx: add i.MX95 b0 support

2025-07-28 Thread Alice Guo (OSS)
Best Regards, Alice Guo > -邮件原件- > 发件人: Tim Harvey > 发送时间: 2025年7月29日 2:02 > 收件人: Alice Guo (OSS) ; Ye Li > 抄送: Stefano Babic ; Fabio Estevam > ; dl-uboot-imx ; Tom Rini > ; u-boot@lists.denx.de; Alice Guo ; > Jacky Bai ; Peng Fan > 主题: Re: [PATCH v2 0/4] imx:

回复: [PATCH v2] clk: scmi: Fix clock identifier passed to struct scmi_clk_parent_set_in

2025-07-27 Thread Alice Guo (OSS)
Kindly ping. Best Regards, Alice Guo > -邮件原件- > 发件人: U-Boot 代表 Alice Guo (OSS) > 发送时间: 2025年7月8日 4:21 > 收件人: lu...@denx.de; sean...@gmail.com; tr...@konsulko.com; > feste...@gmail.com; Alice Guo ; > patrice.chot...@foss.st.com; patrick.delau...@foss.st.com;

回复: [PATCH v2] usb: ehci-mx6: Add i.MX95 OTG support

2025-07-21 Thread Alice Guo (OSS)
Reviewed-by: Alice Guo Best Regards, Alice Guo > -邮件原件- > 发件人: Tim Harvey > 发送时间: 2025年7月22日 2:02 > 收件人: Marek Vasut ; Fabio Estevam ; > Alice Guo (OSS) ; dl-uboot-imx ; > Peng Fan ; Stefano Babic ; Ye Li > > 抄送: u-boot@lists.denx.de; thar...@gateworks.com &g

回复: [RESEND PATCH] usb: ehci-mx6: Add i.MX95 OTG support

2025-07-21 Thread Alice Guo (OSS)
Hi Tim, I tend to replace is_imx93() || is_imx95() with is_imx9() because this driver works for iMX91, iMX93 and iMX95. Best Regards, Alice Guo > -邮件原件- > 发件人: Tim Harvey > 发送时间: 2025年7月9日 23:23 > 收件人: u-boot@lists.denx.de > 抄送: Marek Vasut ; Fabio Estevam ; > Al

[PATCH v2 3/4] spl: imx: Add support for new PQC container

2025-07-14 Thread Alice Guo (OSS)
From: Ye Li To support PQC container format which is used for post quantum authentication on new i.MX parts like i.MX94 The major changes compared to legacy container format is in signature block, new container tag and version, and new alignment of container header. Signed-off-by: Ye Li Signed

[PATCH v2 4/4] imx95_evk: Add i.MX95 B0 support

2025-07-14 Thread Alice Guo (OSS)
From: Alice Guo i.MX95 B0 uses image container format v2 and needs DUMMY_DDR so that update imximage.cfg and container.cfg for it. Signed-off-by: Alice Guo --- arch/arm/dts/imx95-u-boot.dtsi| 8 arch/arm/mach-imx/imx9/Kconfig| 1 + arch/arm/mach-imx/imx9/scmi

[PATCH v2 2/4] tools: imx8image: Add 2 new commands CMD_CNTR_VERSION and CMD_DUMMY_DDR

2025-07-14 Thread Alice Guo (OSS)
From: Alice Guo i.MX95 B0 uses image container format v2, and `one container header occupies 0x4000, so that CMD_CNTR_VERSION needs to be added. The purpose of CMD_DUMMY_DDR is to create a dummy image entry in boot container prior the DDR OEI image entry. ROM reads the address of DUMMY DDR image

[PATCH v2 0/4] imx: add i.MX95 b0 support

2025-07-14 Thread Alice Guo (OSS)
Signed-off-by: Alice Guo --- Alice Guo (2): tools: imx8image: Add 2 new commands CMD_CNTR_VERSION and CMD_DUMMY_DDR imx95_evk: Add i.MX95 B0 support Ye Li (2): arm: imx: Update ELE get_info structure for i.MX94 spl: imx: Add support for new PQC container arch/arm/dts/imx

[PATCH v2 1/4] arm: imx: Update ELE get_info structure for i.MX94

2025-07-14 Thread Alice Guo (OSS)
From: Ye Li Since i.MX94, the ELE get_info structure is updated to add OEM PQC SRK hash, so update it. Signed-off-by: Ye Li Signed-off-by: Jacky Bai Signed-off-by: Alice Guo Acked-by: Peng Fan --- arch/arm/include/asm/mach-imx/ele_api.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/

[PATCH v2] clk: scmi: Fix clock identifier passed to struct scmi_clk_parent_set_in

2025-07-14 Thread Alice Guo (OSS)
From: Alice Guo Commit aa7bdc1af505 ("clk: scmi: manage properly the clk identifier with CFF") enables CONFIG_CLK_AUTO_ID, so need to use clk_get_id() to get the real SCMI CLK ID, otherwise wrong ID is used when set clk parent. Fixes: aa7bdc1af505 ("clk: scmi: manage properly the clk identifier

[PATCH] clk: scmi: Fix clock identifier passed to struct scmi_clk_parent_set_in

2025-07-14 Thread Alice Guo (OSS)
From: Alice Guo Clock identifier passed to struct scmi_clk_parent_set_in should also use clk_get_id() to obtain. Fixes: aa7bdc1af505 ("clk: scmi: manage properly the clk identifier with CCF") Signed-off-by: Alice Guo --- drivers/clk/clk_scmi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 dele

回复: imx95 SDP support?

2025-07-03 Thread Alice Guo (OSS)
Hi Tim, I do not know the reason for the problems you met and will try to enable imx95 SDP recently. USB 2.0 can also be used. Best Regards, Alice Guo > -邮件原件- > 发件人: Tim Harvey > 发送时间: 2025年7月3日 9:16 > 收件人: Alice Guo (OSS) > 抄送: u-boot ; Fabio Estevam > 主题: Re:

回复: imx95 SDP support?

2025-07-01 Thread Alice Guo (OSS)
> -邮件原件- > 发件人: Tim Harvey > 发送时间: 2025年7月2日 3:50 > 收件人: Alice Guo (OSS) > 抄送: u-boot ; Fabio Estevam > 主题: Re: imx95 SDP support? > > On Tue, Jul 1, 2025 at 6:07 AM Alice Guo (OSS) wrote: > > > > Hi Tim, > > > > i.MX95 needs to enable

回复: imx95 SDP support?

2025-07-01 Thread Alice Guo (OSS)
Hi Tim, i.MX95 needs to enable USB gadget in SPL to load the U-Boot proper. It cannot use boot ROM API. Best Regards, Alice Guo > -邮件原件- > 发件人: Tim Harvey > 发送时间: 2025年7月1日 8:07 > 收件人: u-boot ; Alice Guo (OSS) > ; Fabio Estevam > 主题: imx95 SDP support? >

[PATCH v2] tools: imx8image: Fix the value passed to dcd_skip of build_container()

2025-06-24 Thread Alice Guo (OSS)
From: Alice Guo The value passed to dcd_skip of build_container() should be obtained by parsing .cfg file, and should not be fixed to false. For i.MX8QXP, dcd data needs to be skipped, in which case dcd_skip should be true. Fixes: 5f28a6599f01("tools: imx8image: add i.MX95 support") Signed-off-

回复: [PATCH v1 4/8] imx: imx8qm: update packing i.MX8QM MEK flash.bin

2025-06-19 Thread Alice Guo (OSS)
> -邮件原件- > 发件人: Francesco Dolcini > 发送时间: 2025年6月18日 16:02 > 收件人: Alice Guo (OSS) > 抄送: Tom Rini ; Alice Guo ; > Stefano Babic ; Fabio Estevam ; > dl-uboot-imx ; Peng Fan ; > u-boot@lists.denx.de; Enric Balletbo i Serra > 主题: Re: [PATCH v1 4/8] imx: imx8qm:

回复: [PATCH 0/8] (no cover subject)

2025-06-19 Thread Alice Guo (OSS)
> -邮件原件- > 发件人: Fabio Estevam > 发送时间: 2025年6月20日 9:02 > 收件人: Alice Guo (OSS) > 抄送: Tom Rini ; Alice Guo ; > Stefano Babic ; dl-uboot-imx ; > Peng Fan ; u-boot@lists.denx.de; Enric Balletbo i Serra > ; Ye Li ; Jacky Bai > ; Francesco Dolcini > 主题: Re:

[PATCH v1 8/8] imx95_evk: Add i.MX95 B0 support

2025-06-18 Thread Alice Guo (OSS)
From: Alice Guo i.MX95 B0 uses image container format v2 and needs DUMMY_DDR so that update imximage.cfg and container.cfg for it. Signed-off-by: Alice Guo --- arch/arm/dts/imx95-u-boot.dtsi| 8 arch/arm/mach-imx/imx9/Kconfig| 1 + arch/arm/mach-imx/imx9/scmi

[PATCH v1 5/8] arm: imx: Update ELE get_info structure for i.MX94

2025-06-18 Thread Alice Guo (OSS)
From: Ye Li Since i.MX94, the ELE get_info structure is updated to add OEM PQC SRK hash, so update it. Signed-off-by: Ye Li Signed-off-by: Jacky Bai Signed-off-by: Alice Guo Acked-by: Peng Fan --- arch/arm/include/asm/mach-imx/ele_api.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/

[PATCH v1 3/8] imx: imx8qxp: update packing i.MX8QXP MEK flash.bin

2025-06-18 Thread Alice Guo (OSS)
From: Alice Guo Using this patch, a bootable flash.bin can be generated. It contains seco container image, scfw image, u-boot-spl.bin, atf and u-boot.bin. Signed-off-by: Alice Guo --- arch/arm/dts/imx8qxp-u-boot.dtsi| 40 ++--- board/freescale/imx8qxp_mek/im

[PATCH v1 7/8] spl: imx: Add support for new PQC container

2025-06-18 Thread Alice Guo (OSS)
From: Ye Li To support PQC container format which is used for post quantum authentication on new i.MX parts like i.MX94 The major changes compared to legacy container format is in signature block, new container tag and version, and new alignment of container header. Signed-off-by: Ye Li Signed

[PATCH v1 6/8] tools: imx8image: Add 2 new commands CMD_CNTR_VERSION and CMD_DUMMY_DDR

2025-06-18 Thread Alice Guo (OSS)
From: Alice Guo i.MX95 B0 uses image container format v2, and `one container header occupies 0x4000, so that CMD_CNTR_VERSION needs to be added. The purpose of CMD_DUMMY_DDR is to create a dummy image entry in boot container prior the DDR OEI image entry. ROM reads the address of DUMMY DDR image

[PATCH v1 4/8] imx: imx8qm: update packing i.MX8QM MEK flash.bin

2025-06-18 Thread Alice Guo (OSS)
From: Alice Guo Using this patch, a bootable flash.bin can be generated. It contains seco container image, scfw image, u-boot-spl.bin, atf and u-boot.bin. Signed-off-by: Alice Guo --- arch/arm/dts/imx8qm-u-boot.dtsi| 38 ++ board/freescale/imx8qm_mek/imx

[PATCH v1 2/8] arm: mach-imx: Change to use IMX_CONTAINER_CFG to specify i.MX8 container config file

2025-06-18 Thread Alice Guo (OSS)
From: Alice Guo CONFIG_IMX_CONTAINER_CFG="xxx" specifies i.MX8 container config file which is used to pack u-boot container. Signed-off-by: Alice Guo --- arch/arm/mach-imx/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-im

[PATCH v1 1/8] tools: imx8image: Fix the value passed to dcd_skip of build_container()

2025-06-18 Thread Alice Guo (OSS)
From: Alice Guo The value passed to dcd_skip of build_container() should be obtained by parsing .cfg file, and should not be fixed to false. For i.MX8QXP, dcd data needs to be skipped, in which case dcd_skip should be true. Fixes: 5f28a6599f01("tools: imx8image: add i.MX95 support") Signed-off-

[PATCH 0/8] (no cover subject)

2025-06-18 Thread Alice Guo (OSS)
imx: update the building bootloader image related part for i.MX8QXP, i.MX8QM and i.MX95 B0. Signed-off-by: Alice Guo --- Alice Guo (6): tools: imx8image: Fix the value passed to dcd_skip of build_container() arm: mach-imx: Change to use IMX_CONTAINER_CFG to specify i.MX8 container co

回复: [PATCH v11 17/21] tools: imx8image: add i.MX95 support

2025-06-16 Thread Alice Guo (OSS)
> -邮件原件- > 发件人: Enric Balletbo i Serra > 发送时间: 2025年6月12日 22:18 > 收件人: Alice Guo (OSS) > 抄送: Tom Rini ; Lukasz Majewski ; > Sean Anderson ; Jaehoon Chung > ; Simon Glass ; Stefano > Babic ; Fabio Estevam ; Alper Nebi > Yasak ; Alice Guo ; > u-boot@lists.den

回复: [PATCH] net: fsl_enetc: fix imdio register calculation

2025-05-11 Thread Alice Guo (OSS)
Reviewed-by: Alice Guo Best Regards, Alice Guo > -邮件原件- > 发件人: U-Boot 代表 Heiko Thiery > 发送时间: 2025年4月28日 18:00 > 收件人: u-boot@lists.denx.de > 抄送: Joe Hershberger ; Ramon Fried > ; Tom Rini ; Marek Vasut > ; Alice Guo ; Ye Li ; > thar...@gateworks.com; Michael Walle ; Thomas > Schäfer ; H

回复: [PATCH] imx95_evk: enable PCI early

2025-05-11 Thread Alice Guo (OSS)
Reviewed-by: Alice Guo Best Regards, Alice Guo > -邮件原件- > 发件人: U-Boot 代表 Fabio Estevam > 发送时间: 2025年5月9日 10:59 > 收件人: Alice Guo > 抄送: tr...@konsulko.com; u-boot@lists.denx.de; thar...@gateworks.com; > Fabio Estevam > 主题: [PATCH] imx95_evk: enable PCI early > > From: Tim Harvey > >

[PATCH v11 17/21] tools: imx8image: add i.MX95 support

2025-04-28 Thread Alice Guo (OSS)
From: Alice Guo i.MX95 uses binman to invoke mkimage to create image container. 2 image containers are needed currently. The first one is composed of ahab-container.img, LPDDR firmware images, OEI images, System Manager image and u-boot-spl.bin. The second one is consisted of ARM Trusted firmware

[PATCH v11 21/21] Makefile: add some files to CLEAN_FILES

2025-04-28 Thread Alice Guo (OSS)
From: Alice Guo When building the flash.bin of i.MX95 with binman, mkimage.imx-boot.spl, mkimage.imx-boot.u-boot, mkimage-out.imx-boot.spl and mkimage-out.imx-boot.u-boot are created. Add these files to CLEAN_FILES so that they can be removed when running "make clean". Signed-off-by: Alice Guo

[PATCH v11 18/21] imx: container: add V2X container support for i.MX95

2025-04-28 Thread Alice Guo (OSS)
From: Ye Li This patch adds V2X container support for i.MX95. Since V2X container may not be included in ahab-container.img of i.MX95, check if V2X container exists in order to get the correct image end. Signed-off-by: Ye Li Signed-off-by: Alice Guo Reviewed-by: Peng Fan --- arch/arm/mach-im

[PATCH v11 20/21] imx95_evk: add i.MX95 19x19 EVK board basic support

2025-04-28 Thread Alice Guo (OSS)
From: Ye Li This patch adds i.MX95 19x19 EVK board basic support. Messaging unit for EdgeLock Secure Enclave, messaging unit for System Manager, uSDHC for SD Card, gpio, lpuart are supported now. Signed-off-by: Ye Li Signed-off-by: Alice Guo Reviewed-by: Peng Fan --- arch/arm/dts/imx95-19x1

[PATCH v11 19/21] doc: imx: add document for i.MX95 Image Container Format

2025-04-28 Thread Alice Guo (OSS)
From: Alice Guo This patch add a document for i.MX95 Image Container Format. Signed-off-by: Alice Guo --- doc/imx/imx95_container.txt | 136 1 file changed, 136 insertions(+) diff --git a/doc/imx/imx95_container.txt b/doc/imx/imx95_container.txt ne

[PATCH v11 16/21] binman: add a new entry type for packing DDR PHY firmware images

2025-04-28 Thread Alice Guo (OSS)
From: Alice Guo i.MX95 needs to combine DDR PHY firmware images and their byte counts together, so add a new entry type nxp-header-ddrfw for this requirement. Signed-off-by: Alice Guo --- tools/binman/entries.rst | 10 ++ tools/binman/etype/nxp_header_ddrfw.py| 29

[PATCH v11 14/21] imx9: add i.MX95 Kconfig and Makefile

2025-04-28 Thread Alice Guo (OSS)
From: Ye Li This patch adds i.MX95 Kconfig and Makefile. i.MX95 uses SCMI. Signed-off-by: Ye Li Signed-off-by: Alice Guo Reviewed-by: Peng Fan --- arch/arm/mach-imx/imx9/Kconfig | 7 +++ arch/arm/mach-imx/imx9/Makefile | 9 +++-- 2 files changed, 14 insertions(+), 2 deletions(-) di

[PATCH v11 15/21] imx: Kconfig: IMX8_ROMAPI is not configured for i.MX95

2025-04-28 Thread Alice Guo (OSS)
From: Alice Guo i.MX95 only supports low power boot, which means A55 is kicked by M33. There is no ROM runs on A55 in such case so that deselect IMX8_ROMAPI for i.MX95. Signed-off-by: Alice Guo --- arch/arm/mach-imx/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ar

[PATCH v11 13/21] spl: imx: use trampoline buffer to load images to secure region

2025-04-28 Thread Alice Guo (OSS)
From: Ye Li When SPL loading image to secure region, for example, ATF and tee to DDR secure region. Because the USDHC controller is non-secure master, it can't access this region and will cause loading issue. So use a trampoline buffer in non-secure region, then use CPU to copy the image from tr

[PATCH v11 12/21] cpu: imx95: add i.MX95 support

2025-04-28 Thread Alice Guo (OSS)
From: Alice Guo This patch is used to add the imx type string of i.MX95 ao that the i.MX95 CPU info can be printed. Signed-off-by: Alice Guo --- drivers/cpu/imx8_cpu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/cpu/imx8_cpu.c b/drivers/cpu/imx8_cpu.c index 4e1eccaa5b0..4836b

[PATCH v11 10/21] scmi_protocols: update struct scmi_base_discover_list_protocols_out

2025-04-28 Thread Alice Guo (OSS)
From: Ye Li @protocols is an array of protocol identifiers that are implemented, excluding the Base protocol. Four protocol identifiers are packed into each array element. The number of elements of @protocols is specified by callee-side. Signed-off-by: Ye Li Signed-off-by: Alice Guo --- drive

[PATCH v11 11/21] imx9: scmi: add i.MX95 SoC and clock related code

2025-04-28 Thread Alice Guo (OSS)
From: Peng Fan This patch adds i.MX95 SoC and clock related code. Because they are based on SCMI, put them in the scmi subfolder. Signed-off-by: Alice Guo Signed-off-by: Frank Li Signed-off-by: Ji Luo Signed-off-by: Jindong Yue Signed-off-by: Peng Fan Signed-off-by: Ranjani Vaidyanathan Si

[PATCH v11 09/21] sandbox: add SCMI clock control permissions to sandbox

2025-04-28 Thread Alice Guo (OSS)
From: Alice Guo This patch is used to add SCMI clock control permissions to sandbox for testing. Signed-off-by: Alice Guo --- arch/sandbox/include/asm/scmi_test.h | 2 ++ drivers/firmware/scmi/sandbox-scmi_agent.c | 56 -- 2 files changed, 55 insertions(+), 3

[PATCH v11 08/21] clk: scmi: check the clock state/parent/rate control permissions

2025-04-28 Thread Alice Guo (OSS)
From: Alice Guo Clock driver based on SCMI clock management protocol in Linux checks clock state, parent and rate control permissions. To be consistent with the kernel driver, add this check here. CLOCK_GET_PERMISSIONS is from ARM System Control and Management Interface Platform Design Document 3

[PATCH v11 07/21] clk: scmi: add the command CLOCK_PARENT_SET

2025-04-28 Thread Alice Guo (OSS)
From: Peng Fan This patch adds the command CLOCK_PARENT_SET that can be used to set the parent of a clock. ARM SCMI Version 3.2 supports to change the parent of a clock device. Signed-off-by: Peng Fan Signed-off-by: Alice Guo Reviewed-by: Ye Li Reviewed-by: Marek Vasut --- drivers/clk/clk_s

[PATCH v11 06/21] scmi_protocols: add SCMI Performance domain management protocol message IDs

2025-04-28 Thread Alice Guo (OSS)
From: Peng Fan SCMI Performance domain management protocol is intended for performance management of groups of devices or APs that run in the same performance domain. The functionality provided by the callee-side can be used by passing the corresponding message_id. Signed-off-by: Peng Fan Signe

[PATCH v11 05/21] scmi_protocols: add SCMI misc protocol protocol_id and message_id for getting the ROM passover data

2025-04-28 Thread Alice Guo (OSS)
From: Peng Fan SCMI misc protocol is intended for miscellaneous functions which are device specific and are usually defined to access bit fields. It is i.MX specific. This patch adds SCMI misc protocol protocol_id and message_id for getting the ROM passover data. Signed-off-by: Peng Fan Signed-

[PATCH v11 04/21] firmware: scmi_agent: add SCMI pin control protocol support

2025-04-28 Thread Alice Guo (OSS)
From: Alice Guo This patch adds SCMI pin control protocol support to make the pin controller driver based on SCMI, such as drivers/pinctrl/nxp/pinctrl-imx-scmi.c, can be bound to the SCMI agent device whose protocol id is 0x19. Signed-off-by: Alice Guo --- drivers/firmware/scmi/scmi_agent-ucla

[PATCH v11 03/21] pinctrl: nxp: add a pin controller driver based on SCMI pin control protocol

2025-04-28 Thread Alice Guo (OSS)
From: Alice Guo This patch provides a pinctrl driver based on SCMI pin control protocol. Currently, only the PINCTRL_CONFIG_SET command is implemented. Signed-off-by: Ranjani Vaidyanathan Signed-off-by: Peng Fan Signed-off-by: Alice Guo Reviewed-by: Ye Li --- drivers/pinctrl/nxp/Kconfig

[PATCH v11 02/21] firmware: scmi: use scmi_proto_driver_get() function to get SCMI protocol driver

2025-04-28 Thread Alice Guo (OSS)
From: Alice Guo If there is a SoC specific SCMI protocol driver, using scmi_proto_driver_get() function can avoid to add SoC specific code to scmi_agent-uclass.c. Signed-off-by: Alice Guo --- drivers/clk/clk_scmi.c| 8 drivers/firmware/scmi/scmi_agent-uclass.c | 2

[PATCH v11 01/21] firmware: scmi: support to manage SCMI protocol drivers with a linker-genetated array

2025-04-28 Thread Alice Guo (OSS)
From: Alice Guo U_BOOT_SCMI_PROTO_DRIVER macro is used to add a SCMI protocol driver to scmi_proto_driver list. scmi_proto_driver_get() function can be used to match a SCMI protocol id and its driver. Signed-off-by: Alice Guo --- drivers/firmware/scmi/scmi_agent-uclass.c | 16

[PATCH v11 00/21] imx: add i.MX95 support

2025-04-28 Thread Alice Guo (OSS)
Changes for v11: - update spl_imx_container.c according to comments from Lothar Waßmann Signed-off-by: Alice Guo --- Alice Guo (12): firmware: scmi: support to manage SCMI protocol drivers with a linker-genetated array firmware: scmi: use scmi_proto_driver_get() function to get SCMI

[PATCH v10 17/21] tools: imx8image: add i.MX95 support

2025-04-23 Thread Alice Guo (OSS)
From: Alice Guo i.MX95 uses binman to invoke mkimage to create image container. 2 image containers are needed currently. The first one is composed of ahab-container.img, LPDDR firmware images, OEI images, System Manager image and u-boot-spl.bin. The second one is consisted of ARM Trusted firmware

[PATCH v10 10/21] scmi_protocols: update struct scmi_base_discover_list_protocols_out

2025-04-23 Thread Alice Guo (OSS)
From: Ye Li @protocols is an array of protocol identifiers that are implemented, excluding the Base protocol. Four protocol identifiers are packed into each array element. The number of elements of @protocols is specified by callee-side. Signed-off-by: Ye Li Signed-off-by: Alice Guo --- drive

[PATCH v10 13/21] spl: imx: use trampoline buffer to load images to secure region

2025-04-23 Thread Alice Guo (OSS)
From: Ye Li When SPL loading image to secure region, for example, ATF and tee to DDR secure region. Because the USDHC controller is non-secure master, it can't access this region and will cause loading issue. So use a trampoline buffer in non-secure region, then use CPU to copy the image from tr

[PATCH v10 05/21] scmi_protocols: add SCMI misc protocol protocol_id and message_id for getting the ROM passover data

2025-04-23 Thread Alice Guo (OSS)
From: Peng Fan SCMI misc protocol is intended for miscellaneous functions which are device specific and are usually defined to access bit fields. It is i.MX specific. This patch adds SCMI misc protocol protocol_id and message_id for getting the ROM passover data. Signed-off-by: Peng Fan Signed-

[PATCH v10 08/21] clk: scmi: check the clock state/parent/rate control permissions

2025-04-23 Thread Alice Guo (OSS)
From: Alice Guo Clock driver based on SCMI clock management protocol in Linux checks clock state, parent and rate control permissions. To be consistent with the kernel driver, add this check here. CLOCK_GET_PERMISSIONS is from ARM System Control and Management Interface Platform Design Document 3

[PATCH v10 21/21] Makefile: add some files to CLEAN_FILES

2025-04-23 Thread Alice Guo (OSS)
From: Alice Guo When building the flash.bin of i.MX95 with binman, mkimage.imx-boot.spl, mkimage.imx-boot.u-boot, mkimage-out.imx-boot.spl and mkimage-out.imx-boot.u-boot are created. Add these files to CLEAN_FILES so that they can be removed when running "make clean". Signed-off-by: Alice Guo

[PATCH v10 20/21] imx95_evk: add i.MX95 19x19 EVK board basic support

2025-04-23 Thread Alice Guo (OSS)
From: Ye Li This patch adds i.MX95 19x19 EVK board basic support. Messaging unit for EdgeLock Secure Enclave, messaging unit for System Manager, uSDHC for SD Card, gpio, lpuart are supported now. Signed-off-by: Ye Li Signed-off-by: Alice Guo Reviewed-by: Peng Fan --- arch/arm/dts/imx95-19x1

[PATCH v10 19/21] doc: imx: add document for i.MX95 Image Container Format

2025-04-23 Thread Alice Guo (OSS)
From: Alice Guo This patch add a document for i.MX95 Image Container Format. Signed-off-by: Alice Guo --- doc/imx/imx95_container.txt | 136 1 file changed, 136 insertions(+) diff --git a/doc/imx/imx95_container.txt b/doc/imx/imx95_container.txt ne

[PATCH v10 18/21] imx: container: add V2X container support for i.MX95

2025-04-23 Thread Alice Guo (OSS)
From: Ye Li This patch adds V2X container support for i.MX95. Since V2X container may not be included in ahab-container.img of i.MX95, check if V2X container exists in order to get the correct image end. Signed-off-by: Ye Li Signed-off-by: Alice Guo Reviewed-by: Peng Fan --- arch/arm/mach-im

[PATCH v10 16/21] binman: add a new entry type for packing DDR PHY firmware images

2025-04-23 Thread Alice Guo (OSS)
From: Alice Guo i.MX95 needs to combine DDR PHY firmware images and their byte counts together, so add a new entry type nxp-header-ddrfw for this requirement. Signed-off-by: Alice Guo --- tools/binman/entries.rst | 10 ++ tools/binman/etype/nxp_header_ddrfw.py| 29

[PATCH v10 15/21] imx: Kconfig: IMX8_ROMAPI is not configured for i.MX95

2025-04-23 Thread Alice Guo (OSS)
From: Alice Guo i.MX95 only supports low power boot, which means A55 is kicked by M33. There is no ROM runs on A55 in such case so that deselect IMX8_ROMAPI for i.MX95. Signed-off-by: Alice Guo --- arch/arm/mach-imx/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ar

[PATCH v10 14/21] imx9: add i.MX95 Kconfig and Makefile

2025-04-23 Thread Alice Guo (OSS)
From: Ye Li This patch adds i.MX95 Kconfig and Makefile. i.MX95 uses SCMI. Signed-off-by: Ye Li Signed-off-by: Alice Guo Reviewed-by: Peng Fan --- arch/arm/mach-imx/imx9/Kconfig | 7 +++ arch/arm/mach-imx/imx9/Makefile | 9 +++-- 2 files changed, 14 insertions(+), 2 deletions(-) di

[PATCH v10 12/21] cpu: imx95: add i.MX95 support

2025-04-23 Thread Alice Guo (OSS)
From: Alice Guo This patch is used to add the imx type string of i.MX95 ao that the i.MX95 CPU info can be printed. Signed-off-by: Alice Guo --- drivers/cpu/imx8_cpu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/cpu/imx8_cpu.c b/drivers/cpu/imx8_cpu.c index 4e1eccaa5b0..4836b

[PATCH v10 11/21] imx9: scmi: add i.MX95 SoC and clock related code

2025-04-23 Thread Alice Guo (OSS)
From: Peng Fan This patch adds i.MX95 SoC and clock related code. Because they are based on SCMI, put them in the scmi subfolder. Signed-off-by: Alice Guo Signed-off-by: Frank Li Signed-off-by: Ji Luo Signed-off-by: Jindong Yue Signed-off-by: Peng Fan Signed-off-by: Ranjani Vaidyanathan Si

[PATCH v10 09/21] sandbox: add SCMI clock control permissions to sandbox

2025-04-23 Thread Alice Guo (OSS)
From: Alice Guo This patch is used to add SCMI clock control permissions to sandbox for testing. Signed-off-by: Alice Guo --- arch/sandbox/include/asm/scmi_test.h | 2 ++ drivers/firmware/scmi/sandbox-scmi_agent.c | 56 -- 2 files changed, 55 insertions(+), 3

[PATCH v10 07/21] clk: scmi: add the command CLOCK_PARENT_SET

2025-04-23 Thread Alice Guo (OSS)
From: Peng Fan This patch adds the command CLOCK_PARENT_SET that can be used to set the parent of a clock. ARM SCMI Version 3.2 supports to change the parent of a clock device. Signed-off-by: Peng Fan Signed-off-by: Alice Guo Reviewed-by: Ye Li Reviewed-by: Marek Vasut --- drivers/clk/clk_s

[PATCH v10 04/21] firmware: scmi_agent: add SCMI pin control protocol support

2025-04-23 Thread Alice Guo (OSS)
From: Alice Guo This patch adds SCMI pin control protocol support to make the pin controller driver based on SCMI, such as drivers/pinctrl/nxp/pinctrl-imx-scmi.c, can be bound to the SCMI agent device whose protocol id is 0x19. Signed-off-by: Alice Guo --- drivers/firmware/scmi/scmi_agent-ucla

[PATCH v10 06/21] scmi_protocols: add SCMI Performance domain management protocol message IDs

2025-04-23 Thread Alice Guo (OSS)
From: Peng Fan SCMI Performance domain management protocol is intended for performance management of groups of devices or APs that run in the same performance domain. The functionality provided by the callee-side can be used by passing the corresponding message_id. Signed-off-by: Peng Fan Signe

[PATCH v10 03/21] pinctrl: nxp: add a pin controller driver based on SCMI pin control protocol

2025-04-23 Thread Alice Guo (OSS)
From: Alice Guo This patch provides a pinctrl driver based on SCMI pin control protocol. Currently, only the PINCTRL_CONFIG_SET command is implemented. Signed-off-by: Ranjani Vaidyanathan Signed-off-by: Peng Fan Signed-off-by: Alice Guo Reviewed-by: Ye Li --- drivers/pinctrl/nxp/Kconfig

[PATCH v10 00/21] imx: add i.MX95 support

2025-04-23 Thread Alice Guo (OSS)
Changes for v10: - make firmware: scmi: support to manage SCMI protocol drivers with a linker-genetated array part of add i.MX95 support Signed-off-by: Alice Guo --- Alice Guo (12): firmware: scmi: support to manage SCMI protocol drivers with a linker-genetated array firmware: sc

[PATCH v10 02/21] firmware: scmi: use scmi_proto_driver_get() function to get SCMI protocol driver

2025-04-23 Thread Alice Guo (OSS)
From: Alice Guo If there is a SoC specific SCMI protocol driver, using scmi_proto_driver_get() function can avoid to add SoC specific code to scmi_agent-uclass.c. Signed-off-by: Alice Guo --- drivers/clk/clk_scmi.c| 8 drivers/firmware/scmi/scmi_agent-uclass.c | 2

[PATCH v10 01/21] firmware: scmi: support to manage SCMI protocol drivers with a linker-genetated array

2025-04-23 Thread Alice Guo (OSS)
From: Alice Guo U_BOOT_SCMI_PROTO_DRIVER macro is used to add a SCMI protocol driver to scmi_proto_driver list. scmi_proto_driver_get() function can be used to match a SCMI protocol id and its driver. Signed-off-by: Alice Guo --- drivers/firmware/scmi/scmi_agent-uclass.c | 16

回复: [PATCH RESEND] firmware: scmi: support to manage SCMI protocol drivers with a linker-genetated array

2025-04-11 Thread Alice Guo (OSS)
> -邮件原件- > 发件人: Fabio Estevam > 发送时间: 2025年4月11日 20:46 > 收件人: Alice Guo (OSS) > 抄送: ma...@denx.de; tr...@konsulko.com; u-boot@lists.denx.de > 主题: Re: [PATCH RESEND] firmware: scmi: support to manage SCMI protocol > drivers with a linker-genetated array > > On

回复: [PATCH RESEND] firmware: scmi: support to manage SCMI protocol drivers with a linker-genetated array

2025-04-11 Thread Alice Guo (OSS)
> -邮件原件- > 发件人: Fabio Estevam > 发送时间: 2025年4月11日 21:02 > 收件人: Alice Guo (OSS) > 抄送: ma...@denx.de; tr...@konsulko.com; u-boot@lists.denx.de > 主题: Re: [PATCH RESEND] firmware: scmi: support to manage SCMI protocol > drivers with a linker-genetated array > >

[PATCH v9 10/20] imx9: scmi: add i.MX95 SoC and clock related code

2025-04-11 Thread Alice Guo (OSS)
From: Peng Fan This patch adds i.MX95 SoC and clock related code. Because they are based on SCMI, put them in the scmi subfolder. Signed-off-by: Alice Guo Signed-off-by: Frank Li Signed-off-by: Ji Luo Signed-off-by: Jindong Yue Signed-off-by: Peng Fan Signed-off-by: Ranjani Vaidyanathan Si

[PATCH v9 20/20] Makefile: add some files to CLEAN_FILES

2025-04-11 Thread Alice Guo (OSS)
From: Alice Guo When building the flash.bin of i.MX95 with binman, mkimage.imx-boot.spl, mkimage.imx-boot.u-boot, mkimage-out.imx-boot.spl and mkimage-out.imx-boot.u-boot are created. Add these files to CLEAN_FILES so that they can be removed when running "make clean". Signed-off-by: Alice Guo

[PATCH v9 19/20] imx95_evk: add i.MX95 19x19 EVK board basic support

2025-04-11 Thread Alice Guo (OSS)
From: Ye Li This patch adds i.MX95 19x19 EVK board basic support. Messaging unit for EdgeLock Secure Enclave, messaging unit for System Manager, uSDHC for SD Card, gpio, lpuart are supported now. Signed-off-by: Ye Li Signed-off-by: Alice Guo Reviewed-by: Peng Fan --- arch/arm/dts/imx95-19x1

[PATCH v9 18/20] doc: imx: add document for i.MX95 Image Container Format

2025-04-11 Thread Alice Guo (OSS)
From: Alice Guo This patch add a document for i.MX95 Image Container Format. Signed-off-by: Alice Guo --- doc/imx/imx95_container.txt | 136 1 file changed, 136 insertions(+) create mode 100644 doc/imx/imx95_container.txt diff --git a/doc/imx/imx95_contai

[PATCH v9 17/20] imx: container: add V2X container support for i.MX95

2025-04-11 Thread Alice Guo (OSS)
From: Ye Li This patch adds V2X container support for i.MX95. Since V2X container may not be included in ahab-container.img of i.MX95, check if V2X container exists in order to get the correct image end. Signed-off-by: Ye Li Signed-off-by: Alice Guo Reviewed-by: Peng Fan --- arch/arm/mach-im

[PATCH v9 16/20] tools: imx8image: add i.MX95 support

2025-04-11 Thread Alice Guo (OSS)
From: Alice Guo i.MX95 uses binman to invoke mkimage to create image container. 2 image containers are needed currently. The first one is composed of ahab-container.img, LPDDR firmware images, OEI images, System Manager image and u-boot-spl.bin. The second one is consisted of ARM Trusted firmware

[PATCH v9 15/20] binman: add a new entry type for packing DDR PHY firmware images

2025-04-11 Thread Alice Guo (OSS)
From: Alice Guo i.MX95 needs to combine DDR PHY firmware images and their byte counts together, so add a new entry type nxp-header-ddrfw for this requirement. Signed-off-by: Alice Guo --- tools/binman/entries.rst | 10 tools/binman/etype/nxp_header_ddrfw.py| 29 ++

[PATCH v9 14/20] imx: Kconfig: IMX8_ROMAPI is not configured for i.MX95

2025-04-11 Thread Alice Guo (OSS)
From: Alice Guo i.MX95 only supports low power boot, which means A55 is kicked by M33. There is no ROM runs on A55 in such case so that deselect IMX8_ROMAPI for i.MX95. Signed-off-by: Alice Guo --- arch/arm/mach-imx/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ar

[PATCH v9 13/20] imx9: add i.MX95 Kconfig and Makefile

2025-04-11 Thread Alice Guo (OSS)
From: Ye Li This patch adds i.MX95 Kconfig and Makefile. i.MX95 uses SCMI. Signed-off-by: Ye Li Signed-off-by: Alice Guo Reviewed-by: Peng Fan --- arch/arm/mach-imx/imx9/Kconfig | 7 +++ arch/arm/mach-imx/imx9/Makefile | 9 +++-- 2 files changed, 14 insertions(+), 2 deletions(-) di

[PATCH v9 12/20] spl: imx: use trampoline buffer to load images to secure region

2025-04-11 Thread Alice Guo (OSS)
From: Ye Li When SPL loading image to secure region, for example, ATF and tee to DDR secure region. Because the USDHC controller is non-secure master, it can't access this region and will cause loading issue. So use a trampoline buffer in non-secure region, then use CPU to copy the image from tr

[PATCH v9 11/20] cpu: imx95: add i.MX95 support

2025-04-11 Thread Alice Guo (OSS)
From: Alice Guo This patch is used to add the imx type string of i.MX95 ao that the i.MX95 CPU info can be printed. Signed-off-by: Alice Guo --- drivers/cpu/imx8_cpu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/cpu/imx8_cpu.c b/drivers/cpu/imx8_cpu.c index 4e1eccaa5b0..4836b

[PATCH v9 08/20] sandbox: add SCMI clock control permissions to sandbox

2025-04-11 Thread Alice Guo (OSS)
From: Alice Guo This patch is used to add SCMI clock control permissions to sandbox for testing. Signed-off-by: Alice Guo --- arch/sandbox/include/asm/scmi_test.h | 2 + drivers/firmware/scmi/sandbox-scmi_agent.c | 56 -- 2 files changed, 55 insertions(+), 3 deletion

[PATCH v9 06/20] clk: scmi: add the command CLOCK_PARENT_SET

2025-04-11 Thread Alice Guo (OSS)
From: Peng Fan This patch adds the command CLOCK_PARENT_SET that can be used to set the parent of a clock. ARM SCMI Version 3.2 supports to change the parent of a clock device. Signed-off-by: Peng Fan Signed-off-by: Alice Guo Reviewed-by: Ye Li Reviewed-by: Marek Vasut --- drivers/clk/clk_s

[PATCH v9 09/20] scmi_protocols: update struct scmi_base_discover_list_protocols_out

2025-04-11 Thread Alice Guo (OSS)
From: Ye Li @protocols is an array of protocol identifiers that are implemented, excluding the Base protocol. Four protocol identifiers are packed into each array element. The number of elements of @protocols is specified by callee-side. Signed-off-by: Ye Li Signed-off-by: Alice Guo --- drive

  1   2   3   >