From patchwork Mon Jan 26 11:13:58 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 43734 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D386723FFF for ; Mon, 26 Jan 2015 11:15:24 +0000 (UTC) Received: by mail-lb0-f200.google.com with SMTP id u10sf3891592lbd.3 for ; Mon, 26 Jan 2015 03:15:23 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=ke/pYG9rC6j23OxfiLr4A24GGgOENLsbtSWMT6gp3IU=; b=HJWIdWKRmThbbXkGCgXFISQYQfRRkU6lDFas6cOBpwNKO7FzzLdRMIVWiPWv+QEifN QpgbIlRG5SjvOlQ+/S7pt3FzUk3MIHzKL9YawlGgzJppEecodbgBCO232qTgJtfPSMao a2Y7U/TpjsE4iSs1LrZJ/hyU3SdDkf77ZrssRRYfuh57+AYDwIWTjfRSTYeefDOUoblA /6FI6KvX3KIq+uPEmeuJNnAQJ29TPrJ1HDWuqOxNTQVhOF42IdCetUx+fYw8sICj2cAW 7ozw2ryzgEPLyu5W31elN+AGkQHHm5IvJeCF5JvsuIlrXyv4T+9ULu8itd+tbs6wAqy4 /APQ== X-Gm-Message-State: ALoCoQmqYgfof32l+zSnKQxl0t9dghuqAdU6NTPMFr1vuhyrwNNG3Waj3zLZIwlxlO9m9xSwyARa X-Received: by 10.152.170.201 with SMTP id ao9mr1742690lac.5.1422270923792; Mon, 26 Jan 2015 03:15:23 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.20.132 with SMTP id n4ls408955lae.6.gmail; Mon, 26 Jan 2015 03:15:23 -0800 (PST) X-Received: by 10.112.30.135 with SMTP id s7mr4508376lbh.63.1422270923558; Mon, 26 Jan 2015 03:15:23 -0800 (PST) Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com. [209.85.217.169]) by mx.google.com with ESMTPS id a3si8719070lah.98.2015.01.26.03.15.23 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 26 Jan 2015 03:15:23 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.169 as permitted sender) client-ip=209.85.217.169; Received: by mail-lb0-f169.google.com with SMTP id f15so7025231lbj.0 for ; Mon, 26 Jan 2015 03:15:23 -0800 (PST) X-Received: by 10.152.197.5 with SMTP id iq5mr20516311lac.6.1422270923415; Mon, 26 Jan 2015 03:15:23 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.35.133 with SMTP id h5csp744977lbj; Mon, 26 Jan 2015 03:15:22 -0800 (PST) X-Received: by 10.68.69.5 with SMTP id a5mr33488646pbu.57.1422270921666; Mon, 26 Jan 2015 03:15:21 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id tj9si11996501pbc.7.2015.01.26.03.15.20; Mon, 26 Jan 2015 03:15:21 -0800 (PST) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932079AbbAZLPQ (ORCPT + 28 others); Mon, 26 Jan 2015 06:15:16 -0500 Received: from mail-ie0-f173.google.com ([209.85.223.173]:58730 "EHLO mail-ie0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754924AbbAZLOP (ORCPT ); Mon, 26 Jan 2015 06:14:15 -0500 Received: by mail-ie0-f173.google.com with SMTP id tr6so7963007ieb.4 for ; Mon, 26 Jan 2015 03:14:13 -0800 (PST) X-Received: by 10.50.25.225 with SMTP id f1mr15381929igg.29.1422270853881; Mon, 26 Jan 2015 03:14:13 -0800 (PST) Received: from localhost.localdomain (host86-129-140-127.range86-129.btcentralplus.com. [86.129.140.127]) by mx.google.com with ESMTPSA id r93sm5786253ioi.1.2015.01.26.03.14.11 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 26 Jan 2015 03:14:13 -0800 (PST) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: lee.jones@linaro.org, kernel@stlinux.com, mturquette@linaro.org, sboyd@codeaurora.org, devicetree@vger.kernel.org Subject: [PATCH 2/4] ARM: sti: stih407-family: Provide Clock Domain information Date: Mon, 26 Jan 2015 11:13:58 +0000 Message-Id: <1422270840-3039-3-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1422270840-3039-1-git-send-email-lee.jones@linaro.org> References: <1422270840-3039-1-git-send-email-lee.jones@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.169 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Certain clocks should not be turned of by clk_disable_unused. Until now we have been using the kernel command-line of the same name to prevent common clk from turning off all clocks without a reference, as this would ensure hardware lockup. This patch lists each clock which need to stay on to prevent the aforementioned issue from arising. Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih407-family.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi index 3e31d32..0478b41 100644 --- a/arch/arm/boot/dts/stih407-family.dtsi +++ b/arch/arm/boot/dts/stih407-family.dtsi @@ -34,6 +34,19 @@ reg = <0x08761000 0x1000>, <0x08760100 0x100>; }; + clk-domain { + compatible = "st,clk-domain"; + clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>, + <&clk_s_c0_flexgen CLK_COMPO_DVP>, + <&clk_s_c0_flexgen CLK_MMC_1>, + <&clk_s_c0_flexgen CLK_ICN_SBC>, + <&clk_s_c0_flexgen CLK_ICN_LMI>, + <&clk_s_c0_flexgen CLK_ICN_CPU>, + <&clk_s_c0_flexgen CLK_TX_ICN_DMU>, + <&clk_s_a0_flexgen CLK_IC_LMI0>, + <&clk_m_a9>; + }; + scu@08760000 { compatible = "arm,cortex-a9-scu"; reg = <0x08760000 0x1000>;