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: 150655 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp42860ljp; Fri, 9 Nov 2018 06:59:50 -0800 (PST) X-Google-Smtp-Source: AJdET5cG27X12hkGzIrLRWmDgEkLIfXWkc1ymCB0QOxr5qjiIVdpDLUcvldbR0tLVh0AMflK3yN/ X-Received: by 2002:a63:d441:: with SMTP id i1-v6mr7679721pgj.31.1541775590684; Fri, 09 Nov 2018 06:59:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541775590; cv=none; d=google.com; s=arc-20160816; b=WRbS8zr9msMbFdQc6Vm1D5dfmOG01SeDoTl6Y3DffP5GWAC2fDm5FFyYyrlPI/deLP qL2AISxHLhPYgTch88dSvtweKP+mvu86VlNFiVG0NPbWGAxyTSr30YaJY1vBQabwH5Ki 972RxgZdq3GqUqOx4mpEufXFVQtQ+J+bpSVS0syaJR9PGm4Fubv/CoCqOhXEEnJJXrjS NdOIl2eRj7SMOwcKWT3NvCekhJN4oYjw0A+dH/NWpJsQtWfvf0D/MKMBTRG77R/DxQzM 8iMn+i6OQjQRmNf/ckbmQgsqIE8646dhyeuKf3CrnCoNNhSPLf/dof0gB2uEYw0Ukvua LTew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=amtDHGidrY1bi4DQc+QUJwD5q1pKESFQldwzthrBY2c=; b=fxzF3Pva3FUqU7GVAZ/Xxsgb9v08ZUKW1UBtWiOzSqMyAwbbZ7DvebkbEvNWmQnv69 vbZUqHEVM3MQ5fiTXSqzIXBUm9Ox/bpVgOdPgbqoDoBZRX8h/3s9kwlaoLMZL2rcG5TS MJ/UBLLQJjpIln904eijigNcSzuVxeqHZMrzbNdbd7XHACeBgObU2ImVExdzxyNCwF6P ouK2Weu+XiQ/DN2sPLwuh23alcCEGChqDRHr5YZ70UG9VoqkrVPy/Ww4ouHXeBy+EwjE D+Pn67BQP7anXpio1iFyIh+KYxlbLrBDsYKF4lFe3V6qYi7m8TYjd8t44Bk5hZK+SEyb ER3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=GbrDfkLj; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c1-v6si8002505pld.11.2018.11.09.06.59.50; Fri, 09 Nov 2018 06:59:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=GbrDfkLj; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727794AbeKJAkp (ORCPT + 3 others); 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 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(+) -- 2.17.1 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"; };