Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1503119

[PATCH] ARM: sti: stih410-clocks: Add PROC_STFE as a critical clock

From Peter Griffin <peter.griffin@linaro.org>
Newsgroups linux.kernel
Subject [PATCH] ARM: sti: stih410-clocks: Add PROC_STFE as a critical clock
Date 2016-10-18 17:40 +0200
Message-ID <stEEF-3BE-27@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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>
---
 arch/arm/boot/dts/stih410-clock.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/stih410-clock.dtsi b/arch/arm/boot/dts/stih410-clock.dtsi
index 8598eff..07c8ef9 100644
--- a/arch/arm/boot/dts/stih410-clock.dtsi
+++ b/arch/arm/boot/dts/stih410-clock.dtsi
@@ -208,7 +208,8 @@
 						     "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>,
-- 
1.9.1

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] ARM: sti: stih410-clocks: Add PROC_STFE as a critical clock Peter Griffin <peter.griffin@linaro.org> - 2016-10-18 17:40 +0200
  Re: [PATCH] ARM: sti: stih410-clocks: Add PROC_STFE as a critical  clock Patrice Chotard <patrice.chotard@st.com> - 2016-10-20 16:00 +0200
  Re: [PATCH] ARM: sti: stih410-clocks: Add PROC_STFE as a critical  clock Lee Jones <lee.jones@linaro.org> - 2016-10-24 11:00 +0200
    Re: [PATCH] ARM: sti: stih410-clocks: Add PROC_STFE as a critical  clock Peter Griffin <peter.griffin@linaro.org> - 2016-10-24 15:50 +0200
      Re: [PATCH] ARM: sti: stih410-clocks: Add PROC_STFE as a critical  clock Lee Jones <lee.jones@linaro.org> - 2016-10-25 09:50 +0200
        Re: [PATCH] ARM: sti: stih410-clocks: Add PROC_STFE as a critical  clock Peter Griffin <peter.griffin@linaro.org> - 2016-10-25 11:40 +0200
          Re: [PATCH] ARM: sti: stih410-clocks: Add PROC_STFE as a critical  clock Lee Jones <lee.jones@linaro.org> - 2016-10-25 12:00 +0200
            Re: [PATCH] ARM: sti: stih410-clocks: Add PROC_STFE as a critical  clock Peter Griffin <peter.griffin@linaro.org> - 2016-10-25 16:00 +0200
              Re: [PATCH] ARM: sti: stih410-clocks: Add PROC_STFE as a critical  clock Lee Jones <lee.jones@linaro.org> - 2016-10-26 10:50 +0200
                Re: [PATCH] ARM: sti: stih410-clocks: Add PROC_STFE as a critical  clock Peter Griffin <peter.griffin@linaro.org> - 2016-10-26 11:00 +0200
                Re: [PATCH] ARM: sti: stih410-clocks: Add PROC_STFE as a critical  clock Lee Jones <lee.jones@linaro.org> - 2016-10-26 15:00 +0200

csiph-web