From patchwork Sun Jul 15 12:31:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: saravanan sekar X-Patchwork-Id: 10525025 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 3712860384 for ; Sun, 15 Jul 2018 12:33:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 242DB286C0 for ; Sun, 15 Jul 2018 12:33:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 17C582893D; Sun, 15 Jul 2018 12:33:05 +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 BCC45286C0 for ; Sun, 15 Jul 2018 12:33:04 +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=EjXQe0NugmGh974Q4CUhAx12svzCrGB08ec4YEiiu+8=; b=dZN8G5tYaibX1RJXAl41F9fjkf oHDapdp2UZlo3A168kSTBqpNUpNze3258xpgFbL4dcmN/jn1dMyQMjKhIdwnawQQmnaEKEjAeXzq6 W/0WoUenIR5ZH8B297Rw27oeFiIF3bJw/EIK3H8E3NGRppF5U/2+hMbhToarcopD8Elas2jT07xrK HaxRcSwOthHpApOJF0EO+Rb7AgezI6RaSI70omSlAvWNLPwFpF1a7a7csqrsn4wAtcHdV1uc1Lc4r D4l5MjueNftOBMbU3zxHMr2bGJJDI0d7tgRhq+mRXQmljJbHwxMw2spYgl+590evaY2nz8l6mUV2o nd8ca8AA==; 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 1fegCn-0002eS-O0; Sun, 15 Jul 2018 12:32:49 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fegC6-0001dv-IX for linux-arm-kernel@lists.infradead.org; Sun, 15 Jul 2018 12:32:10 +0000 Received: by mail-wr1-x442.google.com with SMTP id c13-v6so29175123wrt.1 for ; Sun, 15 Jul 2018 05:31:56 -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=SSxoovz6AtLg4s67+lXJdu1E7iFSavJ8Pwu8uBjftdY=; b=i/a6qkS5ha3O6vd1MhAm1whFW3fNlf/IwdM32j0r5nKO3RsYVXfVRBS26SkHYhp7Tt Ms3q7B0NKQgSHLtB72h2MxnpGeM+uHk0oAPJrdLcDWxAFdf17RPXV28WxTMT64U+E1q5 8udGvw7IDUdYAaofoBF3nN+LgdTAzfTy5MHc6ysmkpomiY2zGn+81yQwslTQWL2vAxvJ BgBI/hoIe8cpjM18GNuc9wvLIdOZNETmlcIKN6R4mMTvHpu5TBsMmPI2LYfh4s07f/6E PIR+srLGfZhXgtFSe4BN+hfpx1c15R9HF5nwSeciYh22qpMCRdFV5Av6LBoA362gufBM YDQw== 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=SSxoovz6AtLg4s67+lXJdu1E7iFSavJ8Pwu8uBjftdY=; b=nBwpQe+YQ/0gGw+ePyIsiHLaJ3tWe+SoheCgNuFr7dtJr/SNebzmb5rt8F3A73o4/w PqpQEk9iAx/3I8bidtgrbcgwm6OSziXqqFpXEuDwlmQ6JN2XenFWoL8TfVzPrnIzqij4 0J666DB0qJA1CKYSYZOK2Fimf9Acyd0KlbheFOmlxQWx9ZQPCxO6NLr6LU5o6ioxUk9E +XtYO4defI9NDoilSUfh344oiQAGsFHvibadbJOMh7zKSp1pBjpQ4qQ2Ae4IyOTnxq34 1NqQvBnuXZaRh35mb7otqNw8abGgPCUeiC6NsU6S0AGK/38BoW7tSZhipCE6cLK2z4hu 65tQ== X-Gm-Message-State: AOUpUlF7oCFGVpXqjWLRoyKts4VqZ6/Lad0o7ELLPqfTRP6JpcIi0oLf 6ZaznWWGnMJ2LEWVfrV/89c= X-Google-Smtp-Source: AAOMgpcPCIkw3yt9FCI6kQmpcdGTYChr3o8s9jAxe/VNAlLLmNojUiVGBVA5Nj6KSuTkKBLbDc1YRg== X-Received: by 2002:adf:9996:: with SMTP id y22-v6mr10138154wrb.69.1531657914867; Sun, 15 Jul 2018 05:31:54 -0700 (PDT) Received: from parthiban.fritz.box ([62.91.12.240]) by smtp.gmail.com with ESMTPSA id s10-v6sm16358688wmb.12.2018.07.15.05.31.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 15 Jul 2018 05:31:54 -0700 (PDT) From: Saravanan Sekar To: afaerber@suse.de, manivannan.sadhasivam@linaro.org, sboyd@kernel.org Subject: [PATCH v4 4/5] arm64: dts: actions: Enable clock controller for S700 Date: Sun, 15 Jul 2018 14:31:44 +0200 Message-Id: <20180715123145.16975-5-sravanhome@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180715123145.16975-1-sravanhome@gmail.com> References: <20180715123145.16975-1-sravanhome@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180715_053206_972050_B1094DC5 X-CRM114-Status: GOOD ( 11.06 ) 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 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>;