From patchwork Sun Jul 15 20:35:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: saravanan sekar X-Patchwork-Id: 10525193 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 B60C86020A for ; Sun, 15 Jul 2018 20:36:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A8CBB28947 for ; Sun, 15 Jul 2018 20:36:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9A9F328911; Sun, 15 Jul 2018 20:36:24 +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=-2.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 4131E28911 for ; Sun, 15 Jul 2018 20:36:24 +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=t6sLYO8A4QFU38xc2RBam2UdAJgrSxli3VktcTTp1zw=; b=Kya47VTRCuskgAdec+oP7XeNCP POA8ayMHJQKBfDoVMAHwDILUc5S1coaMdr90R/vZYy0HMfkz5x+6zfoAhP8AIpjFLiyB4Dbkl9XFb c38KiCWHRgGNGf+MZfPbVVqub6CClLW2UTz9cHEdf2PDxkOKuUm6KgT8juldkXHqoXNvnnwXI30lb gJWXVfAzgOVSVep5fdBUhd+6Ivo+chEEIDP+KD3FkX+idqAZ1sXfp+yYHLXiNT6UA01X+moXeiEXI YTkVAvSVc4STRfU9dcsfl2QdSpXvM74FYphest139LCfiWU4KoToLvD4IYKo2O0FYOtA6zFEswwNI 9rOgBaRg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fenkh-0006vR-7Y; Sun, 15 Jul 2018 20:36:19 +0000 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fenk7-00069d-Oq for linux-arm-kernel@lists.infradead.org; Sun, 15 Jul 2018 20:35:46 +0000 Received: by mail-wm0-x243.google.com with SMTP id v25-v6so13190575wmc.0 for ; Sun, 15 Jul 2018 13:35:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=YRj6yLCAtwa4d5ow6tddlLv3TA5jF/PNAMI5Oag6lBI=; b=HDAHIoZKxecphGncVKxJ+5UCrLL/ArU3Cyn/TWI3rg6O++fEWjZGkrZAmX8ODai68I qAvg2xiFbJd4Ou1d5HlR+wXclnOOeBWMMzTo7XMszV8fUMotMNt454KP4UsPt6YsnM0d G+d+vyBoTNhk4p3WlSPHRYVd0ButHGvd8aONTFLUwvqcT70rO9B/KMkgvTFqVrubDIHk p4U5x4Skrb0eocpi5LHQvraHZoNusoIfy5p5yJaD+3B+SfXC5HQRmeGMFC3WQIvIEB/A 26mGRQhYILKP5suBgsjs4IjTkxfdcUKQUWyyvy8/bhWPZFe4zaJlMHWOadLqZD8TTo4/ SZlg== 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=YRj6yLCAtwa4d5ow6tddlLv3TA5jF/PNAMI5Oag6lBI=; b=sjahWjluyL1hQKwM7eeMnLoLKwmVel/fcEJWE7hMWeYj2xbt6/OKHVQD/2vTaPt0m9 kt91C1a9uzR/3hrqALnhX6sB4ZQEm/GKrmfzEGuV0vqL3UjrXrOq5AzqzMx5/rELmyUe QklPkQnmhbqdta70FE6mCQa/1cfMd/MfqDQQBOlW0ovdL5BxxLcf4FqevDHPYgMCbPZE 98IwOKbTkWB1tl7Wr+hLN/cgd5lmTg66pkZI4cTdJMSOVoikyekPOlaIp83x+Hn55fHI f1Zj4ObngCHW19dx/8A7oBPwbqrURT3fQ0QkVqeKxFDEfMeKBb21taqTqZtr9svINbDt b61w== X-Gm-Message-State: AOUpUlEEDeXIRGJOnW3zPqpnfFusA22BVSiGUn4fp4OcG9MTbCOWaNxo CZYjKxwFY27sYbpLYBPrbqk= X-Google-Smtp-Source: AAOMgpfyoXrdNeW72hzA2lK+DPAodoxH2Xn2+mLwf22y222cGgbx/QkUL+cRN1/YtpAWdElefhkAOg== X-Received: by 2002:a1c:98a:: with SMTP id 132-v6mr8438649wmj.86.1531686935273; Sun, 15 Jul 2018 13:35:35 -0700 (PDT) Received: from parthiban.fritz.box ([62.91.12.240]) by smtp.gmail.com with ESMTPSA id u25-v6sm11768387wrd.61.2018.07.15.13.35.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 15 Jul 2018 13:35:34 -0700 (PDT) From: Saravanan Sekar To: afaerber@suse.de, manivannan.sadhasivam@linaro.org, sboyd@kernel.org Subject: [PATCH v6 4/5] arm64: dts: actions: Add Clock Management Unit for S700 Date: Sun, 15 Jul 2018 22:35:23 +0200 Message-Id: <20180715203524.11948-5-sravanhome@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180715203524.11948-1-sravanhome@gmail.com> References: <20180715203524.11948-1-sravanhome@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180715_133543_955552_56CB47AB X-CRM114-Status: GOOD ( 10.81 ) 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: mark.rutland@arm.com, devicetree@vger.kernel.org, linux@cubietech.com, sravanhome@gmail.com, support@cubietech.com, catalin.marinas@arm.com, mturquette@baylibre.com, will.deacon@arm.com, linux-kernel@vger.kernel.org, thomas.liau@actions-semi.com, darren@cubietech.com, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, pn@denx.de, linux-clk@vger.kernel.org, jeff.chen@actions-semi.com, mp-cs@actions-semi.com 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 Clock Management Unit for Actions Semi S700 SoC. Signed-off-by: Parthiban Nallathambi Signed-off-by: Saravanan Sekar --- arch/arm64/boot/dts/actions/s700.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/actions/s700.dtsi b/arch/arm64/boot/dts/actions/s700.dtsi index 66dd5309f0a2..4497741d48b2 100644 --- a/arch/arm64/boot/dts/actions/s700.dtsi +++ b/arch/arm64/boot/dts/actions/s700.dtsi @@ -4,6 +4,7 @@ */ #include +#include / { compatible = "actions,s700"; @@ -44,6 +45,13 @@ }; }; + cmu: clock-controller@e0168000 { + compatible = "actions,s700-cmu"; + reg = <0x0 0xe0168000 0x0 0x1000>; + clocks = <&hosc>, <&losc>; + #clock-cells = <1>; + }; + reserved-memory { #address-cells = <2>; #size-cells = <2>; @@ -87,6 +95,12 @@ #clock-cells = <0>; }; + losc: losc { + compatible = "fixed-clock"; + clock-frequency = <32768>; + #clock-cells = <0>; + }; + soc { compatible = "simple-bus"; #address-cells = <2>;