mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-17 12:46:59 +02:00
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 <alice.guo@nxp.com> Signed-off-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Ji Luo <ji.luo@nxp.com> Signed-off-by: Jindong Yue <jindong.yue@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Ranjani Vaidyanathan <ranjani.vaidyanathan@nxp.com> Signed-off-by: Ye Li <ye.li@nxp.com>
27 lines
509 B
C
27 lines
509 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright (C) 2022 NXP
|
|
*/
|
|
|
|
#ifndef __ARCH_IMX9_SYS_PROTO_H
|
|
#define __ARCH_IMX9_SYS_PROTO_H
|
|
|
|
#include <asm/mach-imx/sys_proto.h>
|
|
|
|
enum imx9_soc_voltage_mode {
|
|
VOLT_LOW_DRIVE = 0,
|
|
VOLT_NOMINAL_DRIVE,
|
|
VOLT_OVER_DRIVE,
|
|
VOLT_SUPER_OVER_DRIVE,
|
|
};
|
|
|
|
void soc_power_init(void);
|
|
bool m33_is_rom_kicked(void);
|
|
int m33_prepare(void);
|
|
|
|
enum imx9_soc_voltage_mode soc_target_voltage_mode(void);
|
|
|
|
#define is_voltage_mode(mode) (soc_target_voltage_mode() == (mode))
|
|
|
|
#endif
|