summaryrefslogtreecommitdiff
path: root/contrib/apps/LwipMibCompiler/CCodeGeneration/CodeContainerBase.cs
diff options
context:
space:
mode:
authorPrimoz Fiser <primoz.fiser@norik.com>2025-09-19 09:51:42 +0200
committerFabio Estevam <festevam@gmail.com>2025-09-21 09:09:13 -0300
commit1f95591cee01ea5e065b61d99a9853b164acbcf8 (patch)
tree0736a0f4ebb5336be0a1988ef4608a9f284f6722 /contrib/apps/LwipMibCompiler/CCodeGeneration/CodeContainerBase.cs
parent2d7a6f19bbbc0f5eaff79b50497a1b4af1717432 (diff)
board: phytec: phycore-imx93: Fix i.MX93 voltage modes
Fix support for i.MX93 voltage modes on phyCORE-i.MX93 SoM boards. First of all, Kconfig option CONFIG_IMX9_LOW_DRIVE_MODE is gone since commit c9efcad23741 ("imx93_evk: Remove CONFIG_IMX9_LOW_DRIVE_MODE and ld defconfig") and was replaced by runtime detection mechanism. Thus lets use is_voltage_mode() instead of Kconfig to detect CPU type and select proper voltage mode. Secondly, 1400MHz ND mode (Nominal Drive) requiring 0.85V BUCK voltage was not supported with current power_init_board() PMIC settings. Add check also for this CPU type and set BUCK voltage accordingly. Last but not least, add printf() printouts about PMIC voltage mode to the console. This makes it more apparent and verbose about voltage mode in use. Also our internal tests depend on this printout to catch issues with i.MX93 CPU types and set PMIC voltage modes. Signed-off-by: Primoz Fiser <primoz.fiser@norik.com>
Diffstat (limited to 'contrib/apps/LwipMibCompiler/CCodeGeneration/CodeContainerBase.cs')
0 files changed, 0 insertions, 0 deletions