clk: stm32f7: add clock .get_rate() callback

Add clock framework .get_rate callback.
This step will allow to convert all drivers which was using
proprietary clock_get() to use clock framework .get_rate().

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Acked-by: Vikas MANOCHA <vikas.manocha@st.com>
This commit is contained in:
Patrice Chotard
2017-07-18 09:29:05 +02:00
committed by Tom Rini
parent 199a2178fe
commit 288f17e648
2 changed files with 64 additions and 0 deletions

View File

@@ -8,6 +8,8 @@
#ifndef _STM32_RCC_H
#define _STM32_RCC_H
#include <dt-bindings/mfd/stm32f7-rcc.h>
/*
* RCC AHB1ENR specific definitions
*/