From patchwork Fri Nov 9 14:59:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 10676129 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7C39A14BD for ; Fri, 9 Nov 2018 14:59:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6A0202ECFD for ; Fri, 9 Nov 2018 14:59:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5CF902ED01; Fri, 9 Nov 2018 14:59:51 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,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 427582ECFD for ; Fri, 9 Nov 2018 14:59:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727794AbeKJAkp (ORCPT ); Fri, 9 Nov 2018 19:40:45 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:54350 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727784AbeKJAkp (ORCPT ); Fri, 9 Nov 2018 19:40:45 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20181109145947euoutp022b2276c6d813d49a83d6c532bd85a783~lfLpRFIwH2964429644euoutp02z; Fri, 9 Nov 2018 14:59:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20181109145947euoutp022b2276c6d813d49a83d6c532bd85a783~lfLpRFIwH2964429644euoutp02z DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1541775587; bh=amtDHGidrY1bi4DQc+QUJwD5q1pKESFQldwzthrBY2c=; h=From:To:Cc:Subject:Date:References:From; b=GbrDfkLjHdi/JSVwEr79jIn6dnajfFXK21gyBaC87JX0SOqiIiWvn3tXlajS4XB+n oW3jpzQ0UZ9qCkOldGUyBUd9fo22VRKzazJ4S1GGsVQUfopzASah/IkSxsM0kXkgZp n/bJ3xWVil4B7Q7vmNjktUqFbBzX0GtENeW8m+Cg= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20181109145946eucas1p23c157038cf2e3c6fbb74016ee91e7bb7~lfLonw5m51558315583eucas1p2V; Fri, 9 Nov 2018 14:59:46 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 0C.23.04441.2E0A5EB5; Fri, 9 Nov 2018 14:59:46 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20181109145945eucas1p2ab4a473357bb6eeae2f85af13df0f7af~lfLn5-yQI3035230352eucas1p28; Fri, 9 Nov 2018 14:59:45 +0000 (GMT) X-AuditID: cbfec7f2-5c9ff70000001159-58-5be5a0e294d9 Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 24.B5.04128.1E0A5EB5; Fri, 9 Nov 2018 14:59:45 +0000 (GMT) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0PHX00MK8LNI4220@eusync4.samsung.com>; Fri, 09 Nov 2018 14:59:45 +0000 (GMT) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz Subject: [PATCH] ARM: dts: exynos: Add missing clocks to RTC node for Arndale board Date: Fri, 09 Nov 2018 15:59:40 +0100 Message-id: <20181109145940.18536-1-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmplkeLIzCtJLcpLzFFi42LZduznOd1HC55GG9yfym6xccZ6Vovz5zew W8w4v4/JYu2Ru+wOLB6bVnWyefRtWcXo8XmTXABzFJdNSmpOZllqkb5dAlfG3UX3WArmclV8 3GvUwNjF0cXIySEhYCLx6M8j9i5GLg4hgRWMEv8/bGCDcD4zSmyc1cQIU/XjzyMWiMQyRok5 /esYIZwGJonuphesIFVsAoYSXW+72EBsEQFVic9tC8DmMgv0MUpc3zuXGSQhLBAqsbp1CjuI zQJU9GjrX7A4r4CtxLc5Z1gg1slLrN5wgBmkWULgJKvEo2ebWCESLhJfGncwQ9jCEq+Ob2GH sGUkLk/uZoFoaGaUaJ8xix3C6WGU2DpnBxtElbXE4eMXwSYxC/BJTNo2HWgSB1CcV6KjTQii xEPi5MU9YOVCArESB+Z8YJ3AKLGAkWEVo3hqaXFuemqxYV5quV5xYm5xaV66XnJ+7iZGYOSc /nf80w7Gr5eSDjEKcDAq8fAG1D2JFmJNLCuuzD3EKMHBrCTCu2fS02gh3pTEyqrUovz4otKc 1OJDjNIcLErivNUMD6KFBNITS1KzU1MLUotgskwcnFINjIF7rrao/T9kWXSn4cGaBuF1cgee T746S/foucTrXqIe/c/ZQvnviWxt0LVr19m1xE3o2gY/19gIaXGlg+fmTj2Rf4RTK/OT5Bft g3/1xVcazkj/4x+dtifX+HLTvHDGLeJ/NYteuV9+XsX8/mbZ8h/WG/p4FbeoXJoQZjnl9RWN Axx8Tlyx75RYijMSDbWYi4oTAS7GIRKYAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrGJMWRmVeSWpSXmKPExsVy+t/xa7oPFzyNNlhzVsxi44z1rBbnz29g t5hxfh+Txdojd9kdWDw2repk8+jbsorR4/MmuQDmKC6blNSczLLUIn27BK6Mu4vusRTM5ar4 uNeogbGLo4uRk0NCwETix59HLF2MXBxCAksYJT4sboFympgkPi48xQRSxSZgKNH1tosNxBYR UJX43LaAHaSIWWACo8TqhbNYQRLCAqESV3t6WUBsFqCiR1v/MoPYvAK2Et/mnGGBWCcvsXrD AeYJjFwLGBlWMYqklhbnpucWG+kVJ+YWl+al6yXn525iBPp227GfW3Ywdr0LPsQowMGoxMO7 ouFJtBBrYllxZe4hRgkOZiUR3j2TnkYL8aYkVlalFuXHF5XmpBYfYpTmYFES5z1vUBklJJCe WJKanZpakFoEk2Xi4JRqYKwNOH+9b4nIuemzqr1Xzl/6Wi/6oMf1c5+31yV9aElgqHzZt+dj lPSXx8sK27g2xTrm3O65ovskeovB6Q3vvLOY954zuHzGcIrodNnUvr3KlxzuC7wtnMRdkOPt oeRlH/PszYapO08LPO3d5ss7uWFit8g+Z7lL3J5HLnZ2xTC9uVnCe3bWLk0lluKMREMt5qLi RACagapG6QEAAA== X-CMS-MailID: 20181109145945eucas1p2ab4a473357bb6eeae2f85af13df0f7af X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181109145945eucas1p2ab4a473357bb6eeae2f85af13df0f7af References: 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 Add missing clocks to SoC build-in RTC device to make it fully operational on Exynos5250-based Arndale board. Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos5250-arndale.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts index 7d1f2dc59038..e2e5b3f28686 100644 --- a/arch/arm/boot/dts/exynos5250-arndale.dts +++ b/arch/arm/boot/dts/exynos5250-arndale.dts @@ -10,6 +10,7 @@ #include #include #include +#include #include "exynos5250.dtsi" / { @@ -264,6 +265,12 @@ <&gpx2 4 GPIO_ACTIVE_HIGH>, <&gpx2 5 GPIO_ACTIVE_HIGH>; + s5m8767_osc: clocks { + compatible = "samsung,s5m8767-clk"; + #clock-cells = <1>; + clock-output-names = "s5m8767_ap", "unused1", "unused2"; + }; + regulators { ldo1_reg: LDO1 { regulator-name = "VDD_ALIVE_1.0V"; @@ -601,6 +608,8 @@ }; &rtc { + clocks = <&clock CLK_RTC>, <&s5m8767_osc S2MPS11_CLK_AP>; + clock-names = "rtc", "rtc_src"; status = "okay"; };