From patchwork Mon Nov 6 19:45:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 118090 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp3137425qgn; Mon, 6 Nov 2017 11:47:26 -0800 (PST) X-Google-Smtp-Source: ABhQp+TdmC+IsCpLlzEA8njlFq3Qf9108kTFq/jgZfrpzAlLRfaAEYZYjUFrGfrCRwA/A18Vn2xe X-Received: by 10.101.83.5 with SMTP id m5mr47338pgq.350.1509997646792; Mon, 06 Nov 2017 11:47:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1509997646; cv=none; d=google.com; s=arc-20160816; b=ZKCv4dolR2fQ9Nasis3K5k/NgcFF7PX9S4N1mxc6fW2pBuz3i4hHOWBUpi6Thx5LCS TRa5g5R1WV5dvN0TFIJE4LmVM/7KE5oGk1usfuVE9JbuTZ6D9ODtwcIj6OqQok4b9W8q IaHWlYBplywZlTHiD40sZAEDyTNLIL9xVHcDt6v+4aX51W/RiXSfdTlCZ5LP7X2usi/k vBbDQfUO9X2kmM9W71Y1Py0Jh3Lm4vRvauFR6jJlxAni4yG2EdMNhKXaWlGHNZdrVe9x lHMp14o6EWGoKAGP1BCWp1G3QjJ8tC0LmRQW8nY4buDqv32wdcF42ssXtXw2/AmVt7up Gyqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=yQI+3kHib4S+eh1Ls8CBz8I2ybuTSHhoCpr7KiRgFEQ=; b=ij9Z58EwxLIc5329MfPYQE4d+yhLpAbQsHqZjLBWEWVGIi9lyRpXxjjSaknMGajRzU PKmPBg8MUGbJ58k3VGYwXcna52VUJkJjGvneqxSQEBjVzcFi/nChssDkyUybsYm0se+j 7MFx3+ANThEHNs0bwppZcJdHBwSpjjOr9xfTyFWDmAffupXO2NR3ffpo/n3Yg5Anky7i 6z7ub8HOjJsi5/7WvclSHOLgByqFjmxDKK5Ue41rqgzNaobyOQZkm8OtI5N++W9O8COF xR/d2d4ROYmYpz1UHUBja+NSOsLHWCeCiGM7CsFmJltM2nFKkj5pxJS7XD2OYIQQZtQF t2PA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Zc8YB8V3; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 64si10455033pla.657.2017.11.06.11.47.26; Mon, 06 Nov 2017 11:47:26 -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; dkim=pass header.i=@linaro.org header.s=google header.b=Zc8YB8V3; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933247AbdKFTrZ (ORCPT + 26 others); Mon, 6 Nov 2017 14:47:25 -0500 Received: from mail-pg0-f68.google.com ([74.125.83.68]:54074 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932938AbdKFTrX (ORCPT ); Mon, 6 Nov 2017 14:47:23 -0500 Received: by mail-pg0-f68.google.com with SMTP id s2so9032158pge.10 for ; Mon, 06 Nov 2017 11:47:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=yQI+3kHib4S+eh1Ls8CBz8I2ybuTSHhoCpr7KiRgFEQ=; b=Zc8YB8V3wFYuYMNi3kNXEMVFJCqhIHTFsN2LAzMefrAxZWj0dA9GQtDpR/J9kB0WBS vsvRDPciOft5R4UBEzfoKGzWB0hc7URxRqjNPaONKoO14Hap6GWFhyl/zdl2Gut9mD+g t76jx46vsRFHZ/bpDZiPh16cxd9Kymq0rRUIc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=yQI+3kHib4S+eh1Ls8CBz8I2ybuTSHhoCpr7KiRgFEQ=; b=iAILi5VP8o5vXssGQSK3pfK1fYDHcLX0cJi80pnkJ5BznYj6BwpBkDmJuSrehC3Izb v1eJL0gN+Bq2ngu1tUUsIbVjueY+W7gGqtKWhSCMCrj0lw8NBqO7xQWRRiBM+UzEROfE wQj/w2GbPIKN21ef/cLKeK53MqL4oUICe+y3mL18FxsaOKNSooAnPzZTUE6jyQE5lbHy v+LRJFouzh7kVObRhXl6Gxqu2hf+SvXvDGwMQl8OoAVASVzzaTiZfOe7l3pvfufBVsaM Q/pQtoZdvnGW13KtspllXXapIn59sCe4sP08t71bAcsgUyzXk1WseXUy7+FzNRotYNKd NIPA== X-Gm-Message-State: AMCzsaXncA1DdU4oIWAOGx+b1NpwKr8i31NpxbkzsOQ1HuxViA67HsSV Tf08+6vGNee5Uxk94Xez3Hkr X-Received: by 10.101.75.141 with SMTP id t13mr16309446pgq.122.1509997642456; Mon, 06 Nov 2017 11:47:22 -0800 (PST) Received: from localhost.localdomain ([2405:204:71cc:8264:4544:dc65:374e:dc33]) by smtp.gmail.com with ESMTPSA id t2sm27919118pfk.90.2017.11.06.11.47.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 06 Nov 2017 11:47:22 -0800 (PST) From: Manivannan Sadhasivam To: mturquette@baylibre.com, sboyd@codeaurora.org, afaerber@suse.de, robh+dt@kernel.org, mark.rutland@arm.com Cc: liuwei@actions-semi.com, mp-cs@actions-semi.com, 96boards@ucrobotics.com, devicetree@vger.kernel.org, arnd@arndb.de, davem@davemloft.net, mchehab@kernel.org, daniel.thompson@linaro.org, amit.kucheria@linaro.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, viresh.kumar@linaro.org, manivannanece23@gmail.com, Manivannan Sadhasivam Subject: [PATCH v2 2/3] arm64: dts: actions: Add S900 clock management unit nodes Date: Tue, 7 Nov 2017 01:15:51 +0530 Message-Id: <1509997552-29718-3-git-send-email-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1509997552-29718-1-git-send-email-manivannan.sadhasivam@linaro.org> References: <1509997552-29718-1-git-send-email-manivannan.sadhasivam@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add Actions Semi S900 Clock Management Unit (CMU) nodes Signed-off-by: Manivannan Sadhasivam --- Changes in v2: 1. Fixed commit message 2. Changed "diff_24M" to "diff24M" 3. Changed clock-controller node name to "cmu" 4. Added clocks property 5. Moved "cmu" node under "soc" node 6. Sorted headers in alphabetical order arch/arm64/boot/dts/actions/s900.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) -- 2.7.4 diff --git a/arch/arm64/boot/dts/actions/s900.dtsi b/arch/arm64/boot/dts/actions/s900.dtsi index 11406f6..bc0963e 100644 --- a/arch/arm64/boot/dts/actions/s900.dtsi +++ b/arch/arm64/boot/dts/actions/s900.dtsi @@ -4,6 +4,7 @@ * SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ +#include #include / { @@ -88,6 +89,18 @@ #clock-cells = <0>; }; + losc: losc { + compatible = "fixed-clock"; + clock-frequency = <32768>; + #clock-cells = <0>; + }; + + diff24M: diff24M { + compatible = "fixed-clock"; + clock-frequency = <24000000>; + #clock-cells = <0>; + }; + soc { compatible = "simple-bus"; #address-cells = <2>; @@ -154,6 +167,13 @@ status = "disabled"; }; + cmu: clock-controller@e0160000 { + compatible = "actions,s900-cmu"; + reg = <0 0xe0160000 0 0x1000>; + clocks = <&hosc>, <&losc>; + #clock-cells = <1>; + }; + timer: timer@e0228000 { compatible = "actions,s900-timer"; reg = <0x0 0xe0228000 0x0 0x8000>;