mbox series

[0/2] clk: stm32: STM32F769 clocks

Message ID 20190405075332.28530-1-gabriel.fernandez@st.com
Headers show
Series clk: stm32: STM32F769 clocks | expand

Message

Gabriel Fernandez April 5, 2019, 7:53 a.m. UTC
STM32F769 board is a derived of STM32F746 board.
Concerning clocks, main differences are:
- new source clock for SAI1 and SAI2 (HSI or HSE)
- Add DFSDM & DSI clock



Gabriel Fernandez (2):
  clk: stm32: Introduce clocks of STM32F769 board
  ARM: dts: stm32: Enable STM32F769 clock driver

 .../bindings/clock/st,stm32-rcc.txt           |   6 +
 arch/arm/boot/dts/stm32f769-disco.dts         |   4 +
 drivers/clk/clk-stm32f4.c                     | 307 +++++++++++++++++-
 include/dt-bindings/clock/stm32fx-clock.h     |   7 +-
 4 files changed, 314 insertions(+), 10 deletions(-)

Comments

Alexandre TORGUE April 10, 2019, 1:40 p.m. UTC | #1
Hi Gabriel

On 4/5/19 9:53 AM, Gabriel Fernandez wrote:
> This patch enables clocks for STM32F769 boards.
> 
> Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>
> ---
>   arch/arm/boot/dts/stm32f769-disco.dts | 4 ++++
>   1 file changed, 4 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/stm32f769-disco.dts b/arch/arm/boot/dts/stm32f769-disco.dts
> index 3c7216844a9b..6f1d0ac8c31c 100644
> --- a/arch/arm/boot/dts/stm32f769-disco.dts
> +++ b/arch/arm/boot/dts/stm32f769-disco.dts
> @@ -102,6 +102,10 @@
>   	};
>   };
>   
> +&rcc {
> +	compatible = "st,stm32f769-rcc", "st,stm32f746-rcc", "st,stm32-rcc";
> +};
> +
>   &cec {
>   	pinctrl-0 = <&cec_pins_a>;
>   	pinctrl-names = "default";
> 

Even if driver part is not yet merged, this DT part can be taken as we 
will run with "st,stm32f746-rcc" compatible (the current one).

So:

Applied on stm32-next.

Thanks.
Alex