]> git.baikalelectronics.ru Git - uboot.git/commit
stm32mp1: clk: support digital bypass
authorPatrick Delaunay <patrick.delaunay@st.com>
Mon, 16 Jul 2018 08:41:46 +0000 (10:41 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 20 Jul 2018 19:55:07 +0000 (15:55 -0400)
commit1851c226953dbc1940ee0a1228d0761d1e050783
tree25f7ff616528dbe10565fca2dc3d6654d4464752
parent641d927092be4167f96134cfc0538261fc846e90
stm32mp1: clk: support digital bypass

HSE and LSE bypass shall support both analog and digital signals.
This patch add a way to select digital bypas case in the device tree
and set the associated bit DIGBYP in RCC_BDCR and RCC_OCEN register
during clock tree initialization.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
doc/device-tree-bindings/clock/st,stm32mp1.txt
drivers/clk/clk_stm32mp1.c