diff options
author | Patrick Delaunay <patrick.delaunay@st.com> | 2020-05-25 12:19:45 +0200 |
---|---|---|
committer | Patrick Delaunay <patrick.delaunay@st.com> | 2020-07-07 16:01:23 +0200 |
commit | 4e62642aef59ef89e00fe05ef1c27f263d80bcf6 (patch) | |
tree | b36ad90b8fbfa2205d9da4218f2683be601531d6 /arch/arm/mach-stm32mp | |
parent | 37ad8377af00128adc47fb1192142ac9dfbf1f9d (diff) | |
download | u-boot-4e62642aef59ef89e00fe05ef1c27f263d80bcf6.tar.gz u-boot-4e62642aef59ef89e00fe05ef1c27f263d80bcf6.tar.xz u-boot-4e62642aef59ef89e00fe05ef1c27f263d80bcf6.zip |
arm: stm32mp: add weak function to save vddcore
Add a weak functions to save the vddcore voltage value provided
in the OPP node when the clock tree is initialized.
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
Diffstat (limited to 'arch/arm/mach-stm32mp')
-rw-r--r-- | arch/arm/mach-stm32mp/include/mach/sys_proto.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-stm32mp/include/mach/sys_proto.h b/arch/arm/mach-stm32mp/include/mach/sys_proto.h index 4b6c7b8bdd..4149d3a133 100644 --- a/arch/arm/mach-stm32mp/include/mach/sys_proto.h +++ b/arch/arm/mach-stm32mp/include/mach/sys_proto.h @@ -48,3 +48,6 @@ void get_soc_name(char name[SOC_NAME_SIZE]); u32 get_bootmode(void); int setup_mac_address(void); + +/* board power management : configure vddcore according OPP */ +void board_vddcore_init(u32 voltage_mv); |