1 /* SPDX-License-Identifier: BSD-2-Clause */ 2 /* 3 * Copyright (C) STMicroelectronics 2024 - All Rights Reserved 4 */ 5 6 #ifndef __DRIVERS_STM32MP2_RCC_UTIL_H__ 7 #define __DRIVERS_STM32MP2_RCC_UTIL_H__ 8 9 #include <drivers/clk.h> 10 #include <types_ext.h> 11 12 /* Return RCC base address */ 13 vaddr_t stm32_rcc_base(void); 14 15 /* Return the clock handle related to a clock DT binding ID */ 16 struct clk *stm32mp_rcc_clock_id_to_clk(unsigned long clock_id); 17 18 #endif /*__DRIVERS_STM32MP2_RCC_UTIL_H__*/ 19