From patchwork Thu Nov 19 13:57:57 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Georgi Djakov X-Patchwork-Id: 56995 Delivered-To: patch@linaro.org Received: by 10.112.155.196 with SMTP id vy4csp3195590lbb; Thu, 19 Nov 2015 05:59:56 -0800 (PST) X-Received: by 10.68.104.229 with SMTP id gh5mr10855647pbb.130.1447941595871; Thu, 19 Nov 2015 05:59:55 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id tq1si12020658pac.125.2015.11.19.05.59.55; Thu, 19 Nov 2015 05:59:55 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dkim=neutral (body hash did not verify) header.i=@linaro-org.20150623.gappssmtp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934301AbbKSN7x (ORCPT + 28 others); Thu, 19 Nov 2015 08:59:53 -0500 Received: from mail-wm0-f53.google.com ([74.125.82.53]:38215 "EHLO mail-wm0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758538AbbKSN6L (ORCPT ); Thu, 19 Nov 2015 08:58:11 -0500 Received: by wmec201 with SMTP id c201so118932318wme.1 for ; Thu, 19 Nov 2015 05:58:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=IYBdCm1NuvRFz00mLrVDTyJVhgYLp3b6N0kRaDEAUQw=; b=ev4hDqTZ6xARQ/kkEOdUtHsTzf3nGyedWaimHSlEvehK2SdaYeVNtEwX4VL/O6TRVV fW6yB53yHStF3T4N27SLN/PiWGWPajMJT95rHQtWgG3AyyuydNTKubG/X1ENjkbkeEHp plCzM5VVAvUEuCR/3Vh/h9YtU/lb+tnIqPYdvZ5icWVZbZWZSQv1csXMO+v9+1XLT8e4 QhnR+t92kal1SLYnDtGqId4LbIn+iLnzZD5roJCIp4NR+PtGlyHlglaphsDpEWJcYukX b1ZuCs4oQXn0RCoNUCiJ9mbtkWRAGA8CtwNN1aOskcK8ns8Y1Zl660YFX3yvh96tY5C5 bppg== 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:in-reply-to :references; bh=IYBdCm1NuvRFz00mLrVDTyJVhgYLp3b6N0kRaDEAUQw=; b=mshWZgilCrJcBil2zt8LnYXoXWKh9WMwTUaqGWSqwJpN8GhMFBXnkeBuKpmrDNBckP SCd/wDVh1mQ9nh+oe8eLHbFIF1ZKNKjHKiZJPnXl/tFvTkx2uttE+f71DXPFATaGOu5l d/ALxUQUtWAYYuJXOdX0P6viILWiDyCKvnTU3c3rWZvotH2Tm6HWmJJ5iP2dOm1qMYpd n9mUd2K1owI3t/8h+nUgG3pUzfzOuvQxnkMB0jaWqaUHpASsar5f4NbwWCVwZDgZjkp0 38ov82bMSCQQdYr0tqmP449wQS1+2351hhljAwVnwVdaGKgK4kWphSq1R6AJOhIrJ2vC lrKg== X-Gm-Message-State: ALoCoQkZb4Buikj8E4sL3Inq5rOsyfODioh2fRUvOdQakKnqN1mB0nWxo787lRN53Cbp4AA0wPTk X-Received: by 10.194.95.202 with SMTP id dm10mr8647033wjb.56.1447941490826; Thu, 19 Nov 2015 05:58:10 -0800 (PST) Received: from mms.qualcomm.mm-sol.com ([37.157.136.206]) by smtp.googlemail.com with ESMTPSA id kj3sm8078904wjb.19.2015.11.19.05.58.08 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 19 Nov 2015 05:58:09 -0800 (PST) From: Georgi Djakov To: sboyd@codeaurora.org, agross@codeaurora.org Cc: mturquette@baylibre.com, linux-clk@vger.kernel.org, bjorn.andersson@sonymobile.com, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, georgi.djakov@linaro.org Subject: [PATCH v4 2/5] arm64: dts: qcom: msm8916: Add fixed rate on-board oscillator Date: Thu, 19 Nov 2015 15:57:57 +0200 Message-Id: <1447941480-27487-3-git-send-email-georgi.djakov@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1447941480-27487-1-git-send-email-georgi.djakov@linaro.org> References: <1447941480-27487-1-git-send-email-georgi.djakov@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Currently the rates of the xo and sleep clocks are hard-coded in the GCC driver, but this is a board layout description that actually should be in the DT. Moving them into DT also allows us to insert the RPM controlled clocks between the DT and GCC clocks. Signed-off-by: Georgi Djakov --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 80cf15087d01..d577127cc81e 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -95,6 +95,20 @@ ; }; + clocks { + xo_board: xo_board { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <19200000>; + }; + + sleep_clk: sleep_clk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <32768>; + }; + }; + soc: soc { #address-cells = <1>; #size-cells = <1>;