From patchwork Sat Feb 10 02:41:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 127886 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp1187289ljc; Fri, 9 Feb 2018 18:42:14 -0800 (PST) X-Google-Smtp-Source: AH8x227/8X9hEndXcvIhC1FvmW74bhktbI62hFBAyK/zGqtYdU4aoBzXX5kNqooGmyGDGvJuvoLb X-Received: by 10.99.63.11 with SMTP id m11mr4106173pga.422.1518230534786; Fri, 09 Feb 2018 18:42:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518230534; cv=none; d=google.com; s=arc-20160816; b=TINCzsJ7QffMUtvxR5OKDgv9UoOp8IEP9y8pj9QkoLcPSOBTc4CnJVHjJaS/Rmc1fM 4EQ/WZb9MlERcYYHakivetxjzJyuQq9zXlkMmLWlTGvAtFHUhms5NY1XaCg02+rde0do Gq8o3KlEiOEtmXz+3B+K+3M/zzKEscvTDRS96yxco/4F0xk2LbR5lb8JLvR/Mwk/qAcP jrQS/RGm+BspLmk2+UBioF2msEouwkmIU2aNzebPw+1vIFuw8QCCqtbF4yt7TEw3gz8i E+GOwDhvVheaoIUQeCGcC7/EHBsdt0JBjBfnlIRpoOka6+TD9TPj2DBpgCnn1dgzXkAN uGQw== 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=qLotJ9GpLiEItWKVB65eLgS78maXo+PUS3XOwd1HXEnb9OYC/BJZjy9s+eekIF2qzx EwbzkuKwohbinpnId9CfOxrgy1p7ORoZ7P5/ZlGlTk4ettASziQ+Zvq8rNoiscOHWsig 3iKcLp3gW9Zo7jaQIzKXXW6WdzTCm+nFAQEQ9iDEV+k0yD4hL57CY1v40b0uV1eG3XWp w4aXFEFrp1RIEn39+AoOjgrgq/7xibjDKL0yjHGMhmRALUf3tDBe0IriGyN7LUjzx5Ld 523BKO561/cmm8ZOnT+/FE4f+D1sG0NSN5IHtz9HRzZN3e37fdU7hCJ69mO8fSF/RWCD XMxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=McEUcYnN; 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 l63-v6si2396643plb.565.2018.02.09.18.42.14; Fri, 09 Feb 2018 18:42:14 -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=McEUcYnN; 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 S1752054AbeBJCmL (ORCPT + 18 others); Fri, 9 Feb 2018 21:42:11 -0500 Received: from mail-pg0-f68.google.com ([74.125.83.68]:40851 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751550AbeBJCmH (ORCPT ); Fri, 9 Feb 2018 21:42:07 -0500 Received: by mail-pg0-f68.google.com with SMTP id g2so4851819pgn.7 for ; Fri, 09 Feb 2018 18:42:07 -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=HL5yk831w8iniSjN2dOA4JWU9QejjmpQ37WP/KgAJVE=; b=McEUcYnNMWCl1nR9Ckt0pZz+0BY1BG3LQvlGkAHGKQoTFKAtYbiKx0OqeuBUBQXlLk l7RWuF9ARRmYviG3dm+8FK5eswCeXKebNu9mmv2xv3WVG9iyfEY8GATzi44lOH/ON6OS 5BJ7ytB6VR6n55BAiO22YuBe8eej4oeJfAD0o= 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=WzjUg90dLQ5/D3fMW5ssY3MciuaVvLV+o+WFKYBeNF3VRDSmx6k/rcEloIIx3brQDO bnYzIjmnRlsPTTv3xb+PKxSPpIHHoBlO5quiid/JRI14ocW3EgbLpBLM7wtdcezzNNjR tLIYoaR0AxVqOkUHPG/5XyVlRKmuS6AQnU/KlABhbK1Na7c9W3Jv0lTcbIv+CDtZbxnd R2LXPoQ8XvKeQ1q67PCNdiUEwZ/MZ/P5rSwatPioQRLZAIwyCkS2u/bz542UccXmaipC bi3Ku3x5+fSVj0iwFV9GBhjGU2Bs3r024OHBBLRNbmIXiFHJatFCRDhiooEOu0qNm8LX Yo6Q== X-Gm-Message-State: APf1xPDvecXfPFdzPGNQVwgjSPtOWRAavrUlwsn6IfdmByj1SbsmF3M0 qQurOz5llYkZsfNkPHcTCsqM X-Received: by 10.98.0.17 with SMTP id 17mr4755126pfa.63.1518230527249; Fri, 09 Feb 2018 18:42:07 -0800 (PST) Received: from localhost.localdomain ([2405:204:7185:1f8f:fdb9:648e:14d3:8b97]) by smtp.gmail.com with ESMTPSA id z6sm7883286pgu.49.2018.02.09.18.42.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Feb 2018 18:42:06 -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, 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, Manivannan Sadhasivam Subject: [PATCH v3 02/11] arm64: dts: actions: Add S900 clock management unit nodes Date: Sat, 10 Feb 2018 08:11:11 +0530 Message-Id: <20180210024120.27503-3-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180210024120.27503-1-manivannan.sadhasivam@linaro.org> References: <20180210024120.27503-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>;