From patchwork Mon Nov 7 10:09:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pankaj Dubey X-Patchwork-Id: 9414601 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 5C5526022E for ; Mon, 7 Nov 2016 10:06:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4E6A528963 for ; Mon, 7 Nov 2016 10:06:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4328428A48; Mon, 7 Nov 2016 10:06:59 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C721F28963 for ; Mon, 7 Nov 2016 10:06:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752502AbcKGKG6 (ORCPT ); Mon, 7 Nov 2016 05:06:58 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:39282 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752421AbcKGKG5 (ORCPT ); Mon, 7 Nov 2016 05:06:57 -0500 Received: from epcpsbgm2new.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OG901JPAO2XHN20@mailout1.samsung.com>; Mon, 07 Nov 2016 19:06:47 +0900 (KST) X-AuditID: cbfee61b-f796f6d000004092-03-5820523700b2 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id BE.A8.16530.73250285; Mon, 7 Nov 2016 19:06:47 +0900 (KST) Received: from pankaj.sisodomain.com ([107.108.83.125]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OG90041ZO2UTC50@mmp1.samsung.com>; Mon, 07 Nov 2016 19:06:47 +0900 (KST) From: Pankaj Dubey To: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: krzk@kernel.org, javier@osg.samsung.com, kgene@kernel.org, thomas.ab@samsung.com, myungjoo.ham@samsung.com, Pankaj Dubey , Rob Herring , devicetree@vger.kernel.org Subject: [PATCH 6/6] ARM: dts: Extend the S3C RTC node with rtc_src clock Date: Mon, 07 Nov 2016 15:39:36 +0530 Message-id: <1478513376-14307-7-git-send-email-pankaj.dubey@samsung.com> X-Mailer: git-send-email 2.7.4 In-reply-to: <1478513376-14307-1-git-send-email-pankaj.dubey@samsung.com> References: <1478513376-14307-1-git-send-email-pankaj.dubey@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrFLMWRmVeSWpSXmKPExsVy+t9jAV3zIIUIg/ZeTYv5R86xWrx5u4bJ ov/xa2aL8+c3sFtsenyN1WLG+X1MFrcbV7BZLNr6hd2ide8RdouOZYwOXB6bVnWyeWxeUu+x pf8uu0ffllWMHp83yQWwRrnZZKQmpqQWKaTmJeenZOal2yqFhrjpWigp5CXmptoqRej6hgQp KZQl5pQCeUYGaMDBOcA9WEnfLsEt4/Xl66wFe9gruj+/YWxgXM7WxcjJISFgIrHtyUImCFtM 4sK99UBxLg4hgaWMEre/P2aFcH4ySjRsv8gMUsUmoCvx5P1cMFtEwFti8pm/7CA2s8BtRonp 91NBbGEBT4mOg+fANrAIqEqcOTCdEcTmFfCQODn9NtRmOYmb5zrB5nAC1X+esRYsLgRUs27b BpYJjLwLGBlWMUqkFiQXFCel5xrlpZbrFSfmFpfmpesl5+duYgSH+zPpHYyHd7kfYhTgYFTi 4Z3gpBAhxJpYVlyZe4hRgoNZSYSX1Q8oxJuSWFmVWpQfX1Sak1p8iNEU6LCJzFKiyfnAWMwr iTc0MTcxNzawMLe0NDFSEudtnP0sXEggPbEkNTs1tSC1CKaPiYNTqoExTt5R9ZlMV3PR62m/ 7idOnsu0h+FfRs3H55JW5y7xrdZ2zX49O+3KNYXaNXdYVTsVZkz48kjDcOGv839nVC19lm8t wxhwy9Ml4+0p/00aew2bja3OHP5xaVdSYWIZ2+5najGiuV3Gex2z1vElPQ+XNorY1Fx95Ksc /5wPEtwRNxPe3uzhEndUYinOSDTUYi4qTgQA0PxuDY0CAAA= X-MTR: 20000000000000000@CPGS Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Extend the S3C RTC node with rtc_src clock so it could be operational. The rtc_src clock is provided by MAX8997. CC: Rob Herring CC: devicetree@vger.kernel.org Signed-off-by: Pankaj Dubey Reviewed-by: Javier Martinez Canillas --- arch/arm/boot/dts/exynos4210-origen.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/exynos4210-origen.dts b/arch/arm/boot/dts/exynos4210-origen.dts index 6c7ef4e..4cac9b6 100644 --- a/arch/arm/boot/dts/exynos4210-origen.dts +++ b/arch/arm/boot/dts/exynos4210-origen.dts @@ -18,6 +18,7 @@ #include "exynos4210.dtsi" #include #include +#include #include "exynos-mfc-reserved-memory.dtsi" / { @@ -324,6 +325,8 @@ &rtc { status = "okay"; + clocks = <&clock CLK_RTC>, <&max8997 MAX8997_CLK_AP>; + clock-names = "rtc", "rtc_src"; }; &tmu {