]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx9: soc: Add function to get target voltage mode
authorYe Li <ye.li@nxp.com>
Thu, 19 Sep 2024 04:01:26 +0000 (12:01 +0800)
committerFabio Estevam <festevam@gmail.com>
Thu, 19 Sep 2024 03:12:41 +0000 (00:12 -0300)
commit46f72ebad960c5b7d66ec3d901fc6c957dd2a395
tree9cae5c87e98126fdc9b423e7f9e541a6c6039653
parent3166537ae42006df649c654fd7ceba40554643fa
imx9: soc: Add function to get target voltage mode

Replace the static CONFIG_IMX9_LOW_DRIVE_MODE with runtime target
voltage mode by checking the part's SPEED GRADE fuse.
SPL will configure to highest A55 speed which is indicated by the SPEED
fuse and select corresponding voltage mode.

Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/include/asm/arch-imx9/sys_proto.h
arch/arm/mach-imx/imx9/clock.c
arch/arm/mach-imx/imx9/soc.c
board/freescale/imx93_evk/spl.c