From patchwork Thu Jul 19 09:06:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: saravanan sekar X-Patchwork-Id: 10533959 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 4AC3F600F4 for ; Thu, 19 Jul 2018 09:08:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3BD35295F7 for ; Thu, 19 Jul 2018 09:08:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2F3CE295FD; Thu, 19 Jul 2018 09:08:46 +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 0EB84295F7 for ; Thu, 19 Jul 2018 09:08:44 +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=hnkH86084HviRCxUz+ib9ly8dltw/DiVkYD6mLDneoM=; b=o5fStBnpVaW6EYujyvr+EONKvp N/bxte6l8smpltM0S/Y/+tDrWKvj84E/CdQjHoMdFh+9FlqyPZWSpd6xZgrApJy0xmBVBOlXQN4f3 mBbNm7KgLwZ8kJy5M/TBoeBWnegiQVE1m3eq7g32wnWvXN6siNIPDUFzBf5hS7qI4Q9hW6FOoXANO 2uEwyl0+FbdHHaKauC9eELp8QiWwKBXU6fes3W/ItfwvaYC2/2ioteT0XtuJTgA2PpuXxYo9u38Gi cHQLVMRpfc7agEDKvlaCnC6BImUL3GD55zoTTKD3ixvU7sQZjQzocRA5ntlLGyahXrS4r0wJse4Gt emSG5KKA==; 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 1fg4vP-00054L-TZ; Thu, 19 Jul 2018 09:08:39 +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 1fg4uF-0003mr-T3 for linux-arm-kernel@lists.infradead.org; Thu, 19 Jul 2018 09:07:39 +0000 Received: by mail-wm0-x243.google.com with SMTP id y22-v6so5609465wma.0 for ; Thu, 19 Jul 2018 02:07:17 -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=vbGoibFrZ0Vu03VQLybN68FBuCS4ui9YNJNUT8a6wds=; b=sSwvFrVpEHGW8JxWJTcK/sNa/9TIwAjLs/qJ0FoZHyZLkTEuu4Mvo77KWwv3xW0hj7 iv7weNu3slhYnjkY29SEkA17znWQ3oL42WOdi3dhD3cgek5GhE37R4BkZ/dwjszCkNzD 5+/OxHZYjwYHkqMSKJ8HWGApp2BVf6y+fSQjbV9QqvEO2hJyAngEB3sbP4Nv+7mD+Wtd qmJ2UyTjtVcLt0Y4GGF9K2ykkrM7d4JBlHzGsuc0bOFg0pMP0jlY26FGuuuRZQPh43I6 SJh0Fs04yUbmyxa2WgBXifwwUJIbg45uKey/zp2hmkVeDtFiwxvDvkQ2iQ3kYFwYkNbe ghRA== 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=vbGoibFrZ0Vu03VQLybN68FBuCS4ui9YNJNUT8a6wds=; b=SumctzddR+h3MXPya0HtjJwXHb7QXdTnAtit/RbDCQp8pA+d4STylaLXUNiHac9/t7 4PB/7xfamFIGfGItf6OyFWEyT2xSP7aPprDtB4DJzwIWu98BKCfLqNEwVX+FYZDdiXzG jjxk+E4sA7MgxaPVXDjmr/tmVC86k08oHT0vW11YxoqkttZVgV0iWyDuZbm0aDlRdGpa p26qCneBQLmrO3NrfJLPr3GxqbmoF/OLlNfp9BmY5m7OQTyL3cZzZ75xtJ/TfO5pPw+R EbeOOlZujPpFsY5IR9K7nzhlCDxMjmT2UC32D0lgjhKdTNf2JCvMu4btdMXl9a6CcqfG Kb+A== X-Gm-Message-State: AOUpUlEuAtTxSAv4N3UqMW0IOVo1IMoA4wvzGNKKGPE0UvD8jSX1D9Vg Zg/WRVGZFhVXdbQ/oRzKB2Q= X-Google-Smtp-Source: AAOMgpeGmnGT+Os2ME7fh5UN3MWRqzB5WWyRolhYK7AfMFFVQgEQvY+GEAvQQHVgqIaWXsKqhCaZtQ== X-Received: by 2002:a1c:e5cf:: with SMTP id c198-v6mr3741923wmh.113.1531991236388; Thu, 19 Jul 2018 02:07:16 -0700 (PDT) Received: from xpert.denx.de ([62.91.23.180]) by smtp.gmail.com with ESMTPSA id j11-v6sm8162160wrr.37.2018.07.19.02.07.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 19 Jul 2018 02:07:15 -0700 (PDT) From: Saravanan Sekar To: afaerber@suse.de, manivannan.sadhasivam@linaro.org, sboyd@kernel.org Subject: [PATCH v7 4/5] arm64: dts: actions: Add Clock Management Unit for S700 Date: Thu, 19 Jul 2018 11:06:48 +0200 Message-Id: <20180719090649.12460-5-sravanhome@gmail.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180719090649.12460-1-sravanhome@gmail.com> References: <20180719090649.12460-1-sravanhome@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180719_020728_469973_3943B79A X-CRM114-Status: GOOD ( 11.22 ) 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 Reviewed-by: Manivannan Sadhasivam --- 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..59d29e4ca404 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"; @@ -87,6 +88,12 @@ #clock-cells = <0>; }; + losc: losc { + compatible = "fixed-clock"; + clock-frequency = <32768>; + #clock-cells = <0>; + }; + soc { compatible = "simple-bus"; #address-cells = <2>; @@ -153,6 +160,13 @@ status = "disabled"; }; + cmu: clock-controller@e0168000 { + compatible = "actions,s700-cmu"; + reg = <0x0 0xe0168000 0x0 0x1000>; + clocks = <&hosc>, <&losc>; + #clock-cells = <1>; + }; + sps: power-controller@e01b0100 { compatible = "actions,s700-sps"; reg = <0x0 0xe01b0100 0x0 0x100>;