From patchwork Thu Dec 3 14:02:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Georgi Djakov X-Patchwork-Id: 57659 Delivered-To: patch@linaro.org Received: by 10.112.155.196 with SMTP id vy4csp3514769lbb; Thu, 3 Dec 2015 06:04:03 -0800 (PST) X-Received: by 10.98.66.80 with SMTP id p77mr13435798pfa.100.1449151442956; Thu, 03 Dec 2015 06:04:02 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v6si12206068pfa.249.2015.12.03.06.04.02; Thu, 03 Dec 2015 06:04:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S932791AbbLCOEA (ORCPT + 6 others); Thu, 3 Dec 2015 09:04:00 -0500 Received: from mail-wm0-f51.google.com ([74.125.82.51]:35328 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760126AbbLCODP (ORCPT ); Thu, 3 Dec 2015 09:03:15 -0500 Received: by wmuu63 with SMTP id u63so22425052wmu.0 for ; Thu, 03 Dec 2015 06:03:14 -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=+2jCpbJ16HDutYSabeCL5wWI5K65xfTfj/Yt9Xlm6ds=; b=NtmtcOlzSoSO80IRrPExmfl85+BAskffQQau/qnYVt92K735f+MJe9utibpgGx1PZx KVlnaTNITy4+hM/vtdYYXGB1/I32/vhm2BiUkOXgZyFD6SOpwgU0ucCHuPCHJ6Y0p+/Z 8ldQNJvVAMbOzXR4zgsEFWlwlGYfK0TijrfINmEbqCQK8v/guVySvXFu7XUxR3ZrlAKy mxj/I450heLbjY1Ytk46tVxwsxn/p9QxYK5A0qqD1o5AlLqQlg+Ytew5emS8hqoYdQoz s7ao3j3rXn+qj/HNcMpI2kbNU9AEt2dh5FitDZK9zfeuAHakzbHDoXzdcEQqke/LEnwW auWg== 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=+2jCpbJ16HDutYSabeCL5wWI5K65xfTfj/Yt9Xlm6ds=; b=WyyG7wYJIjSRC0BaJEhRlNPM8tcopeRXDdX9fia1WxMmD+lKHN5J8RRmH45MuI9q4g HdS+Y/cngCdZwrMgHGykkVwWjhZ3EsGnpSeAOJtK6eHPRRX7EyrwpDhYMmL+b8zSCtqE C9IZ5XRmjhk8J5xHdzMIdmzsGQJg9yV9LZkjqM/oChlPpPWYfaYGCXEg/K7OTyTTh8xy nDJujz1djjgUwIW6xlsywVdTPXuO0GBBrwUhawIAMMlq4ag+AOm5GsndnXF2A2Lyhqg0 sdbtFuLQkbGL7oxXv6IJU62p2N3QDiuOqkK2/27ICHJEKmhs8qQhjLtrWfJfsvNSDlo8 SkXQ== X-Gm-Message-State: ALoCoQnvOjLJZ55fCrwKGCa2tXIc5SAgfGVT7pugwTkBU3rTunIAyWOsVhRBX9OFUPznwLSwIbI2 X-Received: by 10.28.224.7 with SMTP id x7mr48416628wmg.17.1449151394378; Thu, 03 Dec 2015 06:03:14 -0800 (PST) Received: from mms.qualcomm.mm-sol.com ([37.157.136.206]) by smtp.googlemail.com with ESMTPSA id q9sm7734192wjo.9.2015.12.03.06.03.12 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 03 Dec 2015 06:03:13 -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 v5 5/6] arm: dts: qcom: apq8064: Add fixed rate on-board oscillators Date: Thu, 3 Dec 2015 16:02:55 +0200 Message-Id: <1449151376-25930-6-git-send-email-georgi.djakov@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1449151376-25930-1-git-send-email-georgi.djakov@linaro.org> References: <1449151376-25930-1-git-send-email-georgi.djakov@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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/arm/boot/dts/qcom-apq8064.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index 276fef28fc1e..eb929f2693b2 100644 --- a/arch/arm/boot/dts/qcom-apq8064.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi @@ -81,6 +81,26 @@ interrupts = <1 10 0x304>; }; + clocks { + cxo_board { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <19200000>; + }; + + pxo_board { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <27000000>; + }; + + sleep_clk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <32768>; + }; + }; + soc: soc { #address-cells = <1>; #size-cells = <1>;