From patchwork Tue Oct 20 16:57:56 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Georgi Djakov X-Patchwork-Id: 55328 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lf0-f72.google.com (mail-lf0-f72.google.com [209.85.215.72]) by patches.linaro.org (Postfix) with ESMTPS id CEAD822EA2 for ; Tue, 20 Oct 2015 17:00:27 +0000 (UTC) Received: by lfaz124 with SMTP id z124sf7684339lfa.0 for ; Tue, 20 Oct 2015 10:00:26 -0700 (PDT) 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=XQBCmqB2bhPI88GscZCEFMo2zRH6y67T9aeXzJfE61o=; b=QFfsN9JSDxZP4t1zDIJndma8xbfAbqcUZmexrhtMQEnRy3cJGbBPv8N7cNy31atEBH knWpnaSIKG/t+QoeWIOZ4Bni/91m4QNPFptP7ewUVOjobmNc5vGYleuMtiWbuk+JitxD 9IxXK0dFZRd21h56+ODgSIXcCStJKWMLt/Yf+dfphc9xYAscvojA+efjeDb9akodQa9b S5DfMmbBvJ/EgXYDo0Jcb0dGcNX72Dq6iFLjfwqTTflRVjSFH4aS1SMSmGc/AZJhKW/O OOz54M3FZnDy8vPxlNxjciYO+RPFcEOo+xG+mlzbFoSOs2BScBHrk3VfUgLZyAf9SuzQ vJUw== X-Gm-Message-State: ALoCoQlRkY8lKIaBVQWsZ5hMngwrFOuOS63GvfcS0aD7nIy5lUfME2mfZ99UuQ2zyxv2m6G82sw7 X-Received: by 10.112.150.229 with SMTP id ul5mr911166lbb.2.1445360426774; Tue, 20 Oct 2015 10:00:26 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.77.80 with SMTP id a77ls104466lfb.70.gmail; Tue, 20 Oct 2015 10:00:26 -0700 (PDT) X-Received: by 10.25.213.12 with SMTP id m12mr1605195lfg.74.1445360426510; Tue, 20 Oct 2015 10:00:26 -0700 (PDT) Received: from mail-lb0-x22a.google.com (mail-lb0-x22a.google.com. [2a00:1450:4010:c04::22a]) by mx.google.com with ESMTPS id m8si3018019lbs.23.2015.10.20.10.00.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Oct 2015 10:00:26 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c04::22a as permitted sender) client-ip=2a00:1450:4010:c04::22a; Received: by lbbes7 with SMTP id es7so20080459lbb.2 for ; Tue, 20 Oct 2015 10:00:26 -0700 (PDT) X-Received: by 10.112.129.202 with SMTP id ny10mr2468595lbb.112.1445360426355; Tue, 20 Oct 2015 10:00:26 -0700 (PDT) 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.59.35 with SMTP id w3csp2198341lbq; Tue, 20 Oct 2015 10:00:24 -0700 (PDT) X-Received: by 10.68.197.168 with SMTP id iv8mr4978774pbc.81.1445360424498; Tue, 20 Oct 2015 10:00:24 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id yv10si6453363pac.91.2015.10.20.10.00.24; Tue, 20 Oct 2015 10:00:24 -0700 (PDT) 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; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752974AbbJTRAI (ORCPT + 28 others); Tue, 20 Oct 2015 13:00:08 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:36829 "EHLO mail-wi0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752686AbbJTQ6k (ORCPT ); Tue, 20 Oct 2015 12:58:40 -0400 Received: by wicfx6 with SMTP id fx6so55143813wic.1 for ; Tue, 20 Oct 2015 09:58:39 -0700 (PDT) X-Received: by 10.194.10.162 with SMTP id j2mr5489462wjb.43.1445360319151; Tue, 20 Oct 2015 09:58:39 -0700 (PDT) Received: from mms.qualcomm.mm-sol.com ([37.157.136.206]) by smtp.googlemail.com with ESMTPSA id ex17sm20092069wid.23.2015.10.20.09.58.37 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Oct 2015 09:58:38 -0700 (PDT) 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 v3 4/8] arm64: dts: qcom: 8x16: Add fixed rate sleep clock oscillator Date: Tue, 20 Oct 2015 19:57:56 +0300 Message-Id: <1445360280-2347-5-git-send-email-georgi.djakov@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1445360280-2347-1-git-send-email-georgi.djakov@linaro.org> References: <1445360280-2347-1-git-send-email-georgi.djakov@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Original-Sender: georgi.djakov@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c04::22a as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=neutral (body hash did not verify) header.i=@linaro_org.20150623.gappssmtp.com 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: , The sleep clock oscillator should be in the DT instead of being hard-coded into the clock drivers. Signed-off-by: Georgi Djakov --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 7 +++++++ 1 file changed, 7 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 355a2acea796..fda4d5cd574a 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -87,6 +87,13 @@ clock-frequency = <19200000>; clock-output-names = "xo_board"; }; + + sleep_clk: sleep_clk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <32768>; + clock-output-names = "sleep_clk_src"; + }; }; soc: soc {