From patchwork Tue Jul 3 09:25: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: 10503599 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 5E01E60225 for ; Tue, 3 Jul 2018 09:37:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4B04C289AD for ; Tue, 3 Jul 2018 09:37:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3E1A1289F1; Tue, 3 Jul 2018 09:37:47 +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 E15FD289AD for ; Tue, 3 Jul 2018 09:37:46 +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=KPXU1cZSwJITf0cxRsWAUZN10VLxBs7pym85dlzPFro=; b=Ty5qiC/Hc+kth7iRULdfcoVdjv 3cVxXQDlflXcWjJPL4RGGicrETC7DIAJNzBpg+A78XeoZFUFKE7b/q3oobNpG/TySb1EhpPokZgyr 8yRK4shgBDBSkOahaCTznv0TSYbE4jhLCLm6MFxdWcykcY14e0m2kz0L2MdBSZKTaLXP+laWiMlIz HlCQwE83g7uhIjHADOupQIo8u/ad1mNA1LmOnDUFLvXN+e2Nh93n9b++VK8lYnT/jY5OaERp4d3UJ ATDSMjnJ7OP65jDbzO/pkt2UJoj7opS5ctXiJqpyuo5Hp+jELSCwwRI/5KAQRmnTCXi+Sat7yblHl NukrzdsQ==; 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 1faHkh-00074o-1Z; Tue, 03 Jul 2018 09:37:39 +0000 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1faHZa-0001kn-9f for linux-arm-kernel@lists.infradead.org; Tue, 03 Jul 2018 09:26:16 +0000 Received: by mail-wm0-x241.google.com with SMTP id v16-v6so1522027wmv.5 for ; Tue, 03 Jul 2018 02:25:59 -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=nu/FJNgD64YmotN84uV2r0IN3JTthtczd7CappcHDzY=; b=avIXNv0kylM5zUE4QvCkIARmGkvq6BU0VvHBZMXdUCUX7UB2BDwd5sN+IIzz0q+cVm T9NjCBUjbD1SVfxd9TXps3Ey/yDjjxRAjgCuG1QYIueiibci5crr88wt3P19a21o3RnB I37A/Pn+qS5uwYbNYplNVqIlBN928UlHtqKDmKdr/jkT1zDpl9AhGdr/San3uAsRgvF1 OSELwNHAB8xFr3yZgeNuEGMEtBgbWY5bizGCwJOGBD1TF/e0oqMbXdoYCEC3tBCX3PyL XpSNaSLMdWlcsoeP0dJk50Oj7OtSpnW9POM4Is3Szf02+FgRrwmu6bt2tZWJZKqVyArJ TBdA== 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=nu/FJNgD64YmotN84uV2r0IN3JTthtczd7CappcHDzY=; b=IT1LWdprBujVsfTgASPyHsDKT1gGkQIbJQN2gyyxrNW/SkffaI7ZbKynfICSoS8ii3 3xqbaw9K9WmAeNifhTjpIeAoYQyV2yg1AUXxSsg50Djz4Ow0EQvwtmu0xcz35T7eorsc nZiFqbWkZ3FJjqDVVrhbaEueXngcDUeujknpaN7k40g0O1fRmvwkvcrR+J9Wr3VFCkcO J0HT95z609bkSMG+qs+fUrg0I7r0vXcDhClIWUgNKk9jRC9H+8eG9xaJttD4fohNjf5K ozHLhk8OR/f+OtWxaA753KfQiELC6KFoQ34rYbeHqjCgfIMxlvcZa/HxNgoXFO16Wtzv +qyQ== X-Gm-Message-State: APt69E3SrsE7vMW0LxUupeVTvnu65yntrwc3ZCgqVxN5nGYZ3X115voj qURnLrn5M4bMO8ygG26xUys= X-Google-Smtp-Source: AAOMgpcWw2999ulKabFNa0y6WqC3X42ts+UD69tCYxFf6KyYupkCeAeit8Qzn2Z7QgveH1ULedhIYQ== X-Received: by 2002:a1c:15ce:: with SMTP id 197-v6mr3660978wmv.99.1530609958604; Tue, 03 Jul 2018 02:25:58 -0700 (PDT) Received: from xpert.denx.de ([62.91.23.180]) by smtp.gmail.com with ESMTPSA id r194-v6sm1819280wmd.36.2018.07.03.02.25.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 03 Jul 2018 02:25:57 -0700 (PDT) From: Saravanan Sekar To: afaerber@suse.de, sboyd@kernel.org, manivannan.sadhasivam@linaro.org Subject: [PATCH v3 4/5] arm64: dts: actions: Enable clock controller for S700 Date: Tue, 3 Jul 2018 11:25:23 +0200 Message-Id: <20180703092524.1697111-5-sravanhome@gmail.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180703092524.1697111-1-sravanhome@gmail.com> References: <20180703092524.1697111-1-sravanhome@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180703_022610_716182_0E3490D2 X-CRM114-Status: GOOD ( 11.77 ) 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, jeff.chen@actions-semi.com, pn@denx.de, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, 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 Added clock management controller for S700 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..19998f19af60 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 @@ }; }; + clock: clock-controller@e0168000 { + compatible = "actions,s700-cmu"; + reg = <0 0xe0168000 0 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>;