From patchwork Wed Feb 18 16:14:59 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 44787 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f70.google.com (mail-wg0-f70.google.com [74.125.82.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 29A1321573 for ; Wed, 18 Feb 2015 16:15:29 +0000 (UTC) Received: by mail-wg0-f70.google.com with SMTP id y19sf1461591wgg.1 for ; Wed, 18 Feb 2015 08:15:28 -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=7K+Aw7t4cYcKrWm/wsdvytJzrLYKGIt8nuN/+7woCsc=; b=aUJyUCZA2aqDDFabQQRxuj2DMmw+sUoog8hM7k1glrdCUd3QorecBGJ2453n4M6Taf PHyG+vpAfPHZMY8hLFQY9WZGGAk9CuMaTYNNraOj5pM9IjYaJx7cHW59VOc4EFs/QTo1 FaeGOEQ9NhzDNKjo7zU6tNbSxPVN22U0B09FspwEcheH54K+KxPVE2FdU0Wt6MADKlwm TomqWzq+YpteOPHsF3MvXCpW6QYoZAPrD6mXhnjdt2r9pSj/Ow86/j7X3fduzmb1/r01 lbU/18PfSYofALy5t8pk5LiP9+wGmQF3RXDJuYQWsMvppftnIITn8S6fcVE8hluegVA3 3+cg== X-Gm-Message-State: ALoCoQkqD8TqNrw5pmTuQn4kvLnKgeA02+aDpVDwJrENvkJ4kukvYyCCrqB5zU1RtShQygm37AgZ X-Received: by 10.194.11.70 with SMTP id o6mr21480wjb.6.1424276128430; Wed, 18 Feb 2015 08:15:28 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.153.7.75 with SMTP id da11ls37123lad.95.gmail; Wed, 18 Feb 2015 08:15:28 -0800 (PST) X-Received: by 10.152.7.38 with SMTP id g6mr34687431laa.65.1424276128133; Wed, 18 Feb 2015 08:15:28 -0800 (PST) Received: from mail-lb0-f178.google.com (mail-lb0-f178.google.com. [209.85.217.178]) by mx.google.com with ESMTPS id ld7si15253914lac.57.2015.02.18.08.15.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Feb 2015 08:15:28 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.178 as permitted sender) client-ip=209.85.217.178; Received: by lbdu14 with SMTP id u14so2121444lbd.1 for ; Wed, 18 Feb 2015 08:15:28 -0800 (PST) X-Received: by 10.112.26.110 with SMTP id k14mr34042243lbg.29.1424276127930; Wed, 18 Feb 2015 08:15:27 -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 h5csp2948111lbj; Wed, 18 Feb 2015 08:15:27 -0800 (PST) X-Received: by 10.68.211.228 with SMTP id nf4mr128523pbc.66.1424276122167; Wed, 18 Feb 2015 08:15:22 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fa9si25237849pdb.76.2015.02.18.08.15.20; Wed, 18 Feb 2015 08:15:22 -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 S1752895AbbBRQPR (ORCPT + 28 others); Wed, 18 Feb 2015 11:15:17 -0500 Received: from mail-we0-f179.google.com ([74.125.82.179]:39289 "EHLO mail-we0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752816AbbBRQPN (ORCPT ); Wed, 18 Feb 2015 11:15:13 -0500 Received: by wesx3 with SMTP id x3so2109602wes.6 for ; Wed, 18 Feb 2015 08:15:12 -0800 (PST) X-Received: by 10.194.185.68 with SMTP id fa4mr10270605wjc.111.1424276110877; Wed, 18 Feb 2015 08:15:10 -0800 (PST) Received: from localhost.localdomain (host109-148-233-190.range109-148.btcentralplus.com. [109.148.233.190]) by mx.google.com with ESMTPSA id dx11sm30384677wjb.23.2015.02.18.08.15.09 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 18 Feb 2015 08:15:09 -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 v2 2/4] ARM: sti: stih407-family: Provide Clock Domain information Date: Wed, 18 Feb 2015 16:14:59 +0000 Message-Id: <1424276101-30137-3-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1424276101-30137-1-git-send-email-lee.jones@linaro.org> References: <1424276101-30137-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.178 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..49af509 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 = "always-on-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>;