From patchwork Mon Mar 26 17:38:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 132424 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp4116302ljb; Mon, 26 Mar 2018 10:41:46 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/9wkayoRuwWSYUm8hzXQnWuXoLF4adOn53snAMgId+sJx0aXi1BEHYnI1yhwJSuOGxPsN4 X-Received: by 10.98.178.20 with SMTP id x20mr706099pfe.32.1522086106183; Mon, 26 Mar 2018 10:41:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522086106; cv=none; d=google.com; s=arc-20160816; b=olvykhOPvpdb8+X0S8Tv3E0S6NwpqthCtbelyujZobOODZ+dC+J497Uo1kf3hblpDD etX02jffvNvXXOSy9kn8JEgCEXBWVj8NLT5ZpcI4DULuM48uPdLDnl5O3HTeqWD0WPBX tDangZ83750N1zMvBGlHnK9xgrSjc6QafPR7pZWWaM7dgBcKi28XrUuc0hbyTGhgFE2V eGys7vEKolSTz5mLKFmnT7bIYo0EWdi0YcQOsfpO/g4y2V3QhJURC8iBZ+fVR7Faluap tRdMnRnIVnD6jiwp7rW2T6CTtsjvXDviij1cKR2H8MXk7VT0vsmdFcHCH8hMtLAErVTE 5B6Q== 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=HL5yk831w8iniSjN2dOA4JWU9QejjmpQ37WP/KgAJVE=; b=SFwnoh8JxXJrRXb4ryb9cI7ZAaXEvjI0ZmcfZtfEkZFggVTZtU3pBfgm5LSqnz/jcw VEpzHW1H5Yf35I4KKmG1lAbhQUI5tt0LFw6uJki4bsV3ubXSduIN8KJoUZtMPBoodni1 RXGakf1nCcx/QKojeG2q/fjDOOglPNu2dpFSJ6cBecb/pYaKaqlLPBpSpXNOalLOBSAX Os6ib5uL6mfzeZBTXCmzaoZNVIqkIhqT7u7cRtX3dOfnZYYD/Iit2EujGCSyA0/yCrFX CN7FlSUqUmJDbt1917TnaHbA/GyEgwJStSUcDF3nu1aoron7QCZ08jUHNQ31rbzDonpe qpmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Guj98SEs; 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 b31-v6si15903536plb.111.2018.03.26.10.41.45; Mon, 26 Mar 2018 10:41:46 -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; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Guj98SEs; 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 S1752795AbeCZRlm (ORCPT + 28 others); Mon, 26 Mar 2018 13:41:42 -0400 Received: from mail-pl0-f68.google.com ([209.85.160.68]:38537 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752686AbeCZRlj (ORCPT ); Mon, 26 Mar 2018 13:41:39 -0400 Received: by mail-pl0-f68.google.com with SMTP id m22-v6so12392851pls.5 for ; Mon, 26 Mar 2018 10:41:39 -0700 (PDT) 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=HL5yk831w8iniSjN2dOA4JWU9QejjmpQ37WP/KgAJVE=; b=Guj98SEsNujPIiDQgJNHnkIsHi058sS7kEY7Xb5gRg181PwDN9JLT04gLd0WVaoA8f sXOD+KQdmduIG4RgVTuTVQp8ATxdNWvVSXB3kSwKOGKLe2KXaangTWPipsPLc10pGi72 xRnIAJEg91DANZCSFUPkeoVy7WKq56auzON7g= 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=HL5yk831w8iniSjN2dOA4JWU9QejjmpQ37WP/KgAJVE=; b=IbYlujnF9DrbChyIlRWxLOUNiQTVE53imrWG8dPno3VaIypPBNG9t9MsTA5N9TOrJq rFInIBZInBKgO+BeEIqJvdBzVEfx3rGNn/Jz745Da7LO3lIPD0FS/208EmxyHkHLFRNA bJeEhm37KgoeFV0b9YkU41cfn5e3t4hkdbUARwWVos81JmaWBJWuSOoKYJIFJLJiPSOP xLeylFtVCtcVK1Amnx6Xl/D6cC5UsFHpG8EF4uwDxpLYFht8rYhxZ0nk4fWagkFIarS9 AOOv+0l2degIXQssewWQF9mRabGST703dGKDFLw7m2avBcx2ECSHqpAFNWcL7P+XK3E7 tEHA== X-Gm-Message-State: AElRT7FXxtWrp48kckWtHBk1UIpHYM6FIPwq3U1kKKOrHjndTdQ4p/Pi Tz9WXSQvwgBGZPmcw7M6stKGkyFaSw== X-Received: by 2002:a17:902:f24:: with SMTP id 33-v6mr41457699ply.242.1522086099039; Mon, 26 Mar 2018 10:41:39 -0700 (PDT) Received: from localhost.localdomain ([2405:204:73cc:afee:304e:6518:873b:59b1]) by smtp.gmail.com with ESMTPSA id x14sm24986115pgo.82.2018.03.26.10.41.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Mar 2018 10:41:38 -0700 (PDT) From: Manivannan Sadhasivam To: mturquette@baylibre.com, sboyd@kernel.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, davem@davemloft.net, mchehab@kernel.org, daniel.thompson@linaro.org, amit.kucheria@linaro.org, viresh.kumar@linaro.org, hzhang@ucrobotics.com, bdong@ucrobotics.com, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, manivannanece23@gmail.com, Manivannan Sadhasivam Subject: [PATCH v7 01/11] arm64: dts: actions: Add S900 clock management unit nodes Date: Mon, 26 Mar 2018 23:08:55 +0530 Message-Id: <20180326173905.22313-2-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180326173905.22313-1-manivannan.sadhasivam@linaro.org> References: <20180326173905.22313-1-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 --- arch/arm64/boot/dts/actions/s900.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) -- 2.14.1 diff --git a/arch/arm64/boot/dts/actions/s900.dtsi b/arch/arm64/boot/dts/actions/s900.dtsi index 11406f6d3a6d..fee0c9557656 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 = <0x0 0xe0160000 0x0 0x1000>; + clocks = <&hosc>, <&losc>; + #clock-cells = <1>; + }; + timer: timer@e0228000 { compatible = "actions,s900-timer"; reg = <0x0 0xe0228000 0x0 0x8000>;