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: 10044435 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id AD8E3602BF for ; Mon, 6 Nov 2017 20:49:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9ECA728B81 for ; Mon, 6 Nov 2017 20:49:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9122B29FFA; Mon, 6 Nov 2017 20:49:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1551328B81 for ; Mon, 6 Nov 2017 20:49:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=+TBjNW8MGKV82xdpQgrhVDiQ0BakRvV+sYAZcRohzVQ=; b=PFgJ7IoXtBJITN40EVWsAjZ+2r KYalqZLKyb87DOsVfnZTWwA50JKHgtnBubHwmedvCdnlNVxe0uFgpyXbK5Kt7iMhJsQcgsjYs6D+J Mxce4dyvlJfqMmVj8p6HvlGP4w6qfDFJQF2KSGk+tT3HjZVWi/mVOckb4xL41EtESV6uus1OqeEbX ubsige4HeKAgp1EdQZUxMM1gtNm32778lefxkjURazlSUsU7C8TCDBiUd34UOKimmAHm78FVrd7PW AJZnTct3dHyzeCI7+QyxZ0KMgM22xvomLqFQzrVwPkEpI5WOSlgpR/dsZZS4nWt5w60rZajaMnDG5 MS+e4jQA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eBoKj-0004CV-Us; Mon, 06 Nov 2017 20:49:26 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eBoKa-00044F-Hy for linux-arm-kernel@bombadil.infradead.org; Mon, 06 Nov 2017 20:49:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=yQI+3kHib4S+eh1Ls8CBz8I2ybuTSHhoCpr7KiRgFEQ=; b=qYHZokZVWKTi4w3iWbKMbqts2 F1KVoUAa47pMbo1JRWaEgrvMfHCO23YnhnsjfyPMYcuSufLd9WMcIEO4zEGeCfOw45SUTO7zxkQo4 iJwt2+yrae/jb9J92ldM9ndhyZ4I0uXP4UAyhfXGs8nL46iGWKZn1JlBgR0jNpIIQpTMmxzjZA2eJ r1SZQiVCjO8AQ6Y7pnLCt3Unky7LFUKEa0wj+NLP4DGC9NO+0HZmnMI+YBC/05TDXqZGAmTMNMHNh PT92mE1IiB1Y8tWDcln/WCgIbGAxxEo3eOtNGE9fv3cAvGeaY9VqXhwt0oQdzGbn2G2kZYOi4ZGTu bDVEMwAbg==; Received: from mail-pg0-x242.google.com ([2607:f8b0:400e:c05::242]) by merlin.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eBnN4-0003ZZ-21 for linux-arm-kernel@lists.infradead.org; Mon, 06 Nov 2017 19:47:48 +0000 Received: by mail-pg0-x242.google.com with SMTP id 15so9022866pgc.12 for ; Mon, 06 Nov 2017 11:47:24 -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=Ow2ZlLDoCOKw6PVFIggAGDX8hNeL53LEixg9HAlm/pK78f+j1PgVFwPiqjLcCSHeyb tuwJlkyll4ZAE5tHd1BvqKkI8s7cCLa+03XcQc3IHgbpxV4gMWKiR3023KqM9xo2AgjW o31GU0lnV/c7ydD6irGjRYjsLfhMTwPrFzYGj+1aPxMyFzlIh5TTmyobT42tnhaGkXbe Tp55ZJcty41UWUMXqtOEBlFLjh2tqer3rEYWgP8Y6Hf5QC3hKGtWW2gr5bFd/lTDEyhY 5KeicJ7NQQmQEsQoxN8PJZqdgx7khoCyYJzs4SU8dX9XVct5Egf1C8uaZfU3GastZ2Vf LuSg== X-Gm-Message-State: AMCzsaU0KjcSnpdyJ0iuQUalbWmx2k+7MGjho10u6h33aUPFjJFP4cK1 LDNLIIBpbwzEYgcMjvRjanm2 X-Google-Smtp-Source: ABhQp+TQfV8BP0ZJYA3AWMmWiWCn7PULh2HBwjedDa44yTX6BKCFocSfWEspD5mrRrFC9Jugx/kXXA== 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 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> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, daniel.thompson@linaro.org, manivannanece23@gmail.com, arnd@arndb.de, viresh.kumar@linaro.org, liuwei@actions-semi.com, linux-kernel@vger.kernel.org, amit.kucheria@linaro.org, linux-clk@vger.kernel.org, mp-cs@actions-semi.com, 96boards@ucrobotics.com, mchehab@kernel.org, Manivannan Sadhasivam , davem@davemloft.net, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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(+) 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>;