From patchwork Tue Oct 18 15:35:57 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 78078 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp945217qge; Tue, 18 Oct 2016 08:36:19 -0700 (PDT) X-Received: by 10.98.137.92 with SMTP id v89mr1776942pfd.64.1476804979686; Tue, 18 Oct 2016 08:36:19 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r195si32917390pgr.210.2016.10.18.08.36.19; Tue, 18 Oct 2016 08:36:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935819AbcJRPgO (ORCPT + 7 others); Tue, 18 Oct 2016 11:36:14 -0400 Received: from mail-wm0-f49.google.com ([74.125.82.49]:35316 "EHLO mail-wm0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936581AbcJRPgG (ORCPT ); Tue, 18 Oct 2016 11:36:06 -0400 Received: by mail-wm0-f49.google.com with SMTP id c78so447669wme.0 for ; Tue, 18 Oct 2016 08:36:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=p2uUsxo4bZHxey9zYli8SLej0Oll8aUP0Dm+1Eq5nfI=; b=cQVArJRDhPmiVqLEc2NxDu36bu0BDSwB49W4UDrUIi4aiaAj0yWfBakMndL/rnaATw dDNQHZ4jujIHgDhXbBnGP/GeSN2P2CdQ1eg2hw5iAEAGliGdCmbgnwOrVt7v26SbUZEm NFmhDq0+KHe8SARhLyojzIkXn/597yKefZuPw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=p2uUsxo4bZHxey9zYli8SLej0Oll8aUP0Dm+1Eq5nfI=; b=LFXxtkk3EWpV2yktXdSy5ZpWD6Yt8dSAEVE87SWoxh14CgOThnsl9DNarNoCDhQY2i FMizcv7z4A/1rbFKoB9tEABiOLjHT8OLOJaQy19TTrOtUaJZbdrH4zMZnTGE0vdDEb0o aDuVfqPSa/yaTnxj5ScIcfax2SvWOfbE+GCbLfChyu97AlVhxkKix3UN9ilOcPaBpX9K H7isIfmRVXVJNtyj9392aFGe+hIlGMohA6ICEVhWwKTn0xBez4bp+YR0CYoHHUJ8TWvU XkME36S1VBi4T8mgTihHRLRdOJwtV6ezeyikp5HkCsR5b0I8Q6EjrqdoC35BArJWJyoX KP5Q== X-Gm-Message-State: AA6/9Rkc6WU+EuFyKKk13DUkI1CIaXakIFm+oxwtBO6mWSk7fLsUhmTHhH22SV8+0Gx0gFFl X-Received: by 10.28.185.137 with SMTP id j131mr1051522wmf.73.1476804961460; Tue, 18 Oct 2016 08:36:01 -0700 (PDT) Received: from localhost.localdomain (cpc89244-aztw30-2-0-cust4998.18-1.cable.virginm.net. [86.31.179.135]) by smtp.gmail.com with ESMTPSA id h3sm63774234wjp.45.2016.10.18.08.35.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 18 Oct 2016 08:35:59 -0700 (PDT) From: Peter Griffin To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@stlinux.com, patrice.chotard@st.com Cc: peter.griffin@linaro.org, lee.jones@linaro.org, devicetree@vger.kernel.org Subject: [PATCH] ARM: sti: stih410-clocks: Add PROC_STFE as a critical clock Date: Tue, 18 Oct 2016 16:35:57 +0100 Message-Id: <1476804957-24000-1-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 --- arch/arm/boot/dts/stih410-clock.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Acked-by: Patrice Chotard 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 = , + clock-critical = , + , , , ,