From patchwork Mon Jul 11 07:34:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 9222963 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 BA82760572 for ; Mon, 11 Jul 2016 07:36:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ADC3327B2F for ; Mon, 11 Jul 2016 07:36:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A259227BF9; Mon, 11 Jul 2016 07:36:34 +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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B24BC27B2F for ; Mon, 11 Jul 2016 07:36:32 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bMVk9-0003AD-P0; Mon, 11 Jul 2016 07:35:05 +0000 Received: from mailout4.w1.samsung.com ([210.118.77.14]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bMVk6-0002UD-HF for linux-arm-kernel@lists.infradead.org; Mon, 11 Jul 2016 07:35:03 +0000 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OA5007BS3PRF130@mailout4.w1.samsung.com> for linux-arm-kernel@lists.infradead.org; Mon, 11 Jul 2016 08:34:39 +0100 (BST) X-AuditID: cbfec7f5-f792a6d000001302-06-57834c0fd762 Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 34.AC.04866.F0C43875; Mon, 11 Jul 2016 08:34:39 +0100 (BST) Received: from AMDC2174.DIGITAL.local ([106.120.53.17]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OA500HTQ3PMBW10@eusync3.samsung.com>; Mon, 11 Jul 2016 08:34:39 +0100 (BST) From: Krzysztof Kozlowski To: Olof Johansson , Arnd Bergmann , Kevin Hilman , arm@kernel.org Subject: [PATCH] arm64: dts: Fix RTC by providing rtc_src clock Date: Mon, 11 Jul 2016 09:34:18 +0200 Message-id: <1468222458-4265-2-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1468222458-4265-1-git-send-email-k.kozlowski@samsung.com> References: <1468222458-4265-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrALMWRmVeSWpSXmKPExsVy+t/xq7r8Ps3hBpt2sVo8mLeNzeLYly1s Fn8nHWO32DhjPavF6xeGFv2PXzNbPN38mMni/PkN7BabHl9jtbi8aw6bxYzz+5gsTl3/zObA 4/H71yRGj02rOtk8Ni+p97hyoonVo2/LKkaPz5vkAtiiuGxSUnMyy1KL9O0SuDIuTTzBVNDG WbFi+S+2BsZb7F2MnBwSAiYS//8/ZYOwxSQu3FsPZHNxCAksZZQ42fwfymlkkph9dwErSBWb gLHE5uVLwDpEBMolFsw8zQhSxCwwlUmi+8ZsFpCEsIC9xMa5XUANHBwsAqoSU+7YgoR5Bdwk Lry+xQSxTU7i5LHJYDM5BdwlXi9tAbOFgGrmX57CMoGRdwEjwypG0dTS5ILipPRcI73ixNzi 0rx0veT83E2MkHD8uoNx6TGrQ4wCHIxKPLwB25vChVgTy4orcw8xSnAwK4nwfvFsDhfiTUms rEotyo8vKs1JLT7EKM3BoiTOO3PX+xAhgfTEktTs1NSC1CKYLBMHp1QDY7PwgYMmc18+bBCv SbdhvcGjUW2dK9bp/OrZzflZf08uOu+XvPDz4+V7MjxdH3m7lk9O1UnPSz7fGProubWJ9g5R F1nx5LyUuEeR1x2DzWSnxRxzjj/pKydWdeJ2rkuvTO2zju/pS2YZc4qvqmflCar/e0qlTOli xBvHySlF34udTq+W2BSrxFKckWioxVxUnAgA+LSSM0MCAAA= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160711_003502_728875_B16C6B04 X-CRM114-Status: GOOD ( 14.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: k.kozlowski@samsung.com, linux-samsung-soc@vger.kernel.org, Bartlomiej Zolnierkiewicz , linux-kernel@vger.kernel.org, krzk@kernel.org, Kukjin Kim , Alim Akhtar , linux-arm-kernel@lists.infradead.org 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 From: Alim Akhtar Add RTC source clock as Exynos7 needs source (32.768KHz) clock for RTC block. Without this currently S3C RTC driver probe is broken on this SoC. Signed-off-by: Alim Akhtar Reviewed-by: Javier Martinez Canillas Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/exynos/exynos7-espresso.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos7-espresso.dts b/arch/arm64/boot/dts/exynos/exynos7-espresso.dts index d8767b00862e..14cd3a14fb7c 100644 --- a/arch/arm64/boot/dts/exynos/exynos7-espresso.dts +++ b/arch/arm64/boot/dts/exynos/exynos7-espresso.dts @@ -12,6 +12,7 @@ /dts-v1/; #include "exynos7.dtsi" #include +#include / { model = "Samsung Exynos7 Espresso board based on EXYNOS7"; @@ -43,6 +44,8 @@ &rtc { status = "okay"; + clocks = <&clock_ccore PCLK_RTC>, <&s2mps15_osc S2MPS11_CLK_AP>; + clock-names = "rtc", "rtc_src"; }; &watchdog {