summaryrefslogtreecommitdiffstats
path: root/include/dt-bindings/clock
diff options
context:
space:
mode:
authorGabriel Fernandez2018-03-09 07:57:30 +0100
committerStephen Boyd2018-03-19 21:44:53 +0100
commitfa6f3985056eb70ecd8051e560b726495cd1ddf0 (patch)
tree1425cb7ddccef2474cb16d977bbafaa98ead132e /include/dt-bindings/clock
parentLinux 4.16-rc1 (diff)
downloadkernel-qcow2-linux-fa6f3985056eb70ecd8051e560b726495cd1ddf0.tar.gz
kernel-qcow2-linux-fa6f3985056eb70ecd8051e560b726495cd1ddf0.tar.xz
kernel-qcow2-linux-fa6f3985056eb70ecd8051e560b726495cd1ddf0.zip
clk: stm32: END_PRIMARY_CLK should be declare after CLK_SYSCLK
Update of END_PRIMARY_CLK was missed, it should be after CLK_SYSCLK hsi and sysclk are overwritten by gpioa and gpiob. Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com> Tested-by: Philippe Cornu <philippe.cornu@st.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'include/dt-bindings/clock')
-rw-r--r--include/dt-bindings/clock/stm32fx-clock.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/dt-bindings/clock/stm32fx-clock.h b/include/dt-bindings/clock/stm32fx-clock.h
index 49bb3c203e5c..4d523b09aa92 100644
--- a/include/dt-bindings/clock/stm32fx-clock.h
+++ b/include/dt-bindings/clock/stm32fx-clock.h
@@ -33,11 +33,11 @@
#define CLK_SAI2 11
#define CLK_I2SQ_PDIV 12
#define CLK_SAIQ_PDIV 13
-
-#define END_PRIMARY_CLK 14
-
#define CLK_HSI 14
#define CLK_SYSCLK 15
+
+#define END_PRIMARY_CLK 16
+
#define CLK_HDMI_CEC 16
#define CLK_SPDIF 17
#define CLK_USART1 18