ARM: dts: stih410-clocks: Add PROC_STFE as a critical clock
authorPeter Griffin <peter.griffin@linaro.org>
Tue, 18 Oct 2016 15:35:00 +0000 (17:35 +0200)
committerPatrice Chotard <patrice.chotard@st.com>
Thu, 20 Oct 2016 14:20:26 +0000 (16:20 +0200)
Once the ST frontend demux HW IP has been enabled, the clock can't
be disabled otherwise the system will hang and the board will
be unserviceable.

To allow balanced clock enable/disable calls in the driver we use
the critical clock infrastructure to take an extra reference on the
clock so the clock will never actually be disabled.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
arch/arm/boot/dts/stih410-clock.dtsi

index 8598effd6c0164b7f91d7b6dbbedc9d046c4f9ba..07c8ef9d77f6e790a82e37cbde7ebf1dcd8ef5dc 100644 (file)
                                                     "clk-clust-hades",
                                                     "clk-hwpe-hades",
                                                     "clk-fc-hades";
-                               clock-critical = <CLK_ICN_CPU>,
+                               clock-critical = <CLK_PROC_STFE>,
+                                                <CLK_ICN_CPU>,
                                                 <CLK_TX_ICN_DMU>,
                                                 <CLK_EXT2F_A9>,
                                                 <CLK_ICN_LMI>,