dm: clk: add clk driver support for stm32h7 SoCs
authorPatrice Chotard <[email protected]>
Wed, 13 Sep 2017 16:00:06 +0000 (18:00 +0200)
committerTom Rini <[email protected]>
Fri, 22 Sep 2017 11:40:01 +0000 (07:40 -0400)
commit4c3aebd56a035740f04fce44ce6c398afbb5ad86
tree33fa54d04d6cf3f7c966f018d8bb135cb71a08cd
parent776b2ddbfaa155745342963bf4d03280710f11e4
dm: clk: add clk driver support for stm32h7 SoCs

This driver implements basic clock setup, only clock gating
is implemented.

This driver doesn't implement .of_match as it's binded
by MFD RCC driver.

Files include/dt-bindings/clock/stm32h7-clks.h and
doc/device-tree-bindings/clock/st,stm32h7-rcc.txt
will be available soon in a kernel tag, as all the
bindings have been acked by Rob Herring [1].

[1] http://lkml.iu.edu/hypermail/linux/kernel/1704.0/00935.html

Signed-off-by: Patrice Chotard <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
doc/device-tree-bindings/clock/st,stm32h7-rcc.txt [new file with mode: 0644]
drivers/clk/Makefile
drivers/clk/clk_stm32h7.c [new file with mode: 0644]
include/dt-bindings/clock/stm32h7-clks.h [new file with mode: 0644]