From patchwork Sun Jul 15 20:01:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: saravanan sekar X-Patchwork-Id: 10525155 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 2048060384 for ; Sun, 15 Jul 2018 20:02:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1347E28911 for ; Sun, 15 Jul 2018 20:02:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0721D28944; Sun, 15 Jul 2018 20:02:57 +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 ACADB28911 for ; Sun, 15 Jul 2018 20:02:56 +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=EgMo73N8u9TaM8Gs+8owCLpzV5 gTUpZcQwvBhjfu3+VzTktMzlMUro6tpsMj08/4Imu25bXyo3g8rSvxIcR8y+70s3iWqWVrIh8jx+P 4j3M2M5UmiDgnpuxYmd3FLVRZdn5KHxsAE5gJ3msnHUQkS5Vsx5V55Pv478tuQiHSzy519PVQJx1O ERENCODGUqxLArz1ygBsyEDeJ/7lrumzDkA6ANW8eU/9GFTjD0rGdweoU4CQYugwokcJaq2RxMFc4 PdslWiLNpfrw9wWB7yLeeB+WqOn43/XZBKNVd9UnXfiZQDABBrvD41G0QmXK9ozfhXXptdHkdKiLg aAikTyTw==; 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 1fenEK-00015A-QI; Sun, 15 Jul 2018 20:02:52 +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 1fenDy-0000W9-Jy for linux-arm-kernel@lists.infradead.org; Sun, 15 Jul 2018 20:02:35 +0000 Received: by mail-wm0-x243.google.com with SMTP id n17-v6so13781448wmh.2 for ; Sun, 15 Jul 2018 13:02:20 -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=GHycQ3MoIZZLLuKqC/Mpf06thiu1dHZvVwyKtOKV7N11u35Zw/DPCwgGNc13kxkuaD P9lwKu2hG1SSDrP9qD8Yf+JKazKXNAyM8cEKuwrt2+1RFylzKMgy+edgXr6OGD0/lBXj NstumoiQVJlvjGgXeqzt+/XKgno3cQV0QVvx13WOCei03X2ZlYH5Y3mduYviiB8EjkVa viLPkmwwVzqm23tq5itqPBCcXiT11//vf8BnqdV0gLaDZyALEdSgR0luOXXv21QU19rn MIy1XX7tzdRYLKrdJuk3JWWiN/VwcvqDWGBJNRoMJYfkgWDNdv1U2TexsLvyzqn6Q0pf vStw== 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=J3qszBPtKc97WbdAxZTBbzjvpj+nVj2eURpfKskzFCU2obwKGaeODxTB2aMGpB6hUN 1gqXSjb0g+RcqSC3Eor0DIgpvg3kL4W69lPshg+ODRCqW4lY5nnZHPnkHa8SoGClV47N nTX26uUzouSgn/3hDfYBWVzKylfzlkEIxbqT/Aq2FKQRGZevAiKuoXWGokC8km6HS+vV ZEDqbvCYTT8ZGaZi2OMQbSZHo0Bm84z+WMIwVQ6UC7KqH+UngxZA8wUm6MAdZegu1AMV klgIOKSTgJqWTm0j/033litdT5e2KE71FPV0TVdgihYGg8XgFoqaxPKTlziebME4/5fx YQow== X-Gm-Message-State: AOUpUlFq5rT23vg4lanUx9nt6XhCwN8o8/lwYznZH1rheb3naLEOXwPD 9k4aCcHBRIXS28EML8T8zgQ= X-Google-Smtp-Source: AAOMgpcBzFA8SWCHv5TcSTbuXq7cWgN2+46pEGRW0xSi5+ZS1CL38O4IU6Hsdfjo94mXFvkRdKWMpQ== X-Received: by 2002:a1c:9947:: with SMTP id b68-v6mr7879452wme.159.1531684938902; Sun, 15 Jul 2018 13:02:18 -0700 (PDT) Received: from parthiban.fritz.box ([62.91.12.240]) by smtp.gmail.com with ESMTPSA id z7-v6sm20816234wrh.85.2018.07.15.13.02.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 15 Jul 2018 13:02:18 -0700 (PDT) From: Saravanan Sekar To: afaerber@suse.de, manivannan.sadhasivam@linaro.org, sboyd@kernel.org Subject: [PATCH v5 4/5] arm64: dts: actions: Add Clock Management Unit for S700 Date: Sun, 15 Jul 2018 22:01:50 +0200 Message-Id: <20180715200151.10416-5-sravanhome@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180715200151.10416-1-sravanhome@gmail.com> References: <20180715200151.10416-1-sravanhome@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180715_130230_949519_9E75616E X-CRM114-Status: GOOD ( 11.23 ) 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>;