diff options
| author | Ye Li <[email protected]> | 2026-01-08 19:06:56 +0800 |
|---|---|---|
| committer | Fabio Estevam <[email protected]> | 2026-01-17 15:00:23 -0300 |
| commit | e77d6948f5c2b5fee49b64dbd76bd334219ff963 (patch) | |
| tree | ecdff733f212e7e10a21e766bdc568a5adfe8bd8 /arch | |
| parent | ab24985b8cd03472352a6178f1aef9d4e8ce54d8 (diff) | |
misc: ele_api: Add Voltage change start and finish APIs
On GDET enabled part, need to call voltage change start and finish
APIs when adjust the voltage more than 100mv. Otherwise GDET will be
triggered and system is reset
Reviewed-by: Peng Fan <[email protected]>
Signed-off-by: Ye Li <[email protected]>
Signed-off-by: Peng Fan <[email protected]>
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/arm/include/asm/mach-imx/ele_api.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/include/asm/mach-imx/ele_api.h b/arch/arm/include/asm/mach-imx/ele_api.h index 64b243dcaaa..4e1afc42bd8 100644 --- a/arch/arm/include/asm/mach-imx/ele_api.h +++ b/arch/arm/include/asm/mach-imx/ele_api.h @@ -14,6 +14,8 @@ #define ELE_PING_REQ (0x01) #define ELE_FW_AUTH_REQ (0x02) #define ELE_RESTART_RST_TIMER_REQ (0x04) +#define ELE_VOLT_CHANGE_START_REQ (0x12) +#define ELE_VOLT_CHANGE_FINISH_REQ (0x13) #define ELE_DUMP_DEBUG_BUFFER_REQ (0x21) #define ELE_OEM_CNTN_AUTH_REQ (0x87) #define ELE_VERIFY_IMAGE_REQ (0x88) @@ -160,4 +162,6 @@ int ele_return_lifecycle_update(ulong signed_msg_blk, u32 *response); int ele_start_rng(void); int ele_write_shadow_fuse(u32 fuse_id, u32 fuse_val, u32 *response); int ele_read_shadow_fuse(u32 fuse_id, u32 *fuse_val, u32 *response); +int ele_volt_change_start_req(void); +int ele_volt_change_finish_req(void); #endif |
