Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp383009pxk; Sun, 30 Aug 2020 07:10:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwGJD7dVlR4nGD7QxptdG0oL15mOFLG7t0khe8lq4d5B4vJHP/Z14vhi6vE79zf9Gpb1ZCb X-Received: by 2002:a17:906:4755:: with SMTP id j21mr8268004ejs.422.1598796648056; Sun, 30 Aug 2020 07:10:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598796648; cv=none; d=google.com; s=arc-20160816; b=kHVUNDeMzFb1wnwhPKUq4n/O4Y5DMwq6LbA6PXOT7nj5YaBLtrsrDEpz38q8IaY6ki zwFM+evi30No5Ti13nCPeKhc349E71fPjkgPlItJOmfyQvGb2KiTDgysaD68ElO6hvTC rPDjvNhufXGVrNESotssa1S90A34pm2bQB1TGvurxa8RIoLYNFrWts2xMZIScDXd1d7r r9zMeBou+yEaSL5H78mCMV0YHNboH8V3MvTrFXWwVX62EJvXU27noymYnHf9KnDDC4ae XOLpQKZFZYJnnR0pvj2RyZRnEJ/RQtZ6wo99Ww84YwwFpklKes4KZxTpowx0/cKqpLoN OK6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=+hQW43i6J598LquYe357BxhMGap+FQEL777QAJByKs8=; b=x2ZKYbzsaH286HmuUIIXero02lpzWM6wbO3K+CCfPOjfo6e+LLDCKiMa925iYfkv27 Abyz2TqxSa9mVrAt9U2/kPQAm4o1XD6a8jwg2x8ETyxRPG0/AEPU5u77cR8lUXIvF9Rs IOnsfH5kFyp4OmHuq0AvAmnz1NaNiNvKOKe7HrJt2+3GnwLpnEp6q6cFH56/IgJWAp2F ab3sJWrv9sCsZ07Epx5VOCVR3o2KzAApflVuNXsyIyOtmPzVSiHZps3q1Y5h/qtfN0OS Ge+lJ69JRAjCoH4vjZewNDXfQwKT/iOeUADFmDqQHRQ674AIKx2sUKzREK4XJiN3I4Zu hg3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=w2YmAxXX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g24si3602868ejh.325.2020.08.30.07.10.25; Sun, 30 Aug 2020 07:10:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=w2YmAxXX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726143AbgH3OJj (ORCPT + 99 others); Sun, 30 Aug 2020 10:09:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:56442 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728960AbgH3NzL (ORCPT ); Sun, 30 Aug 2020 09:55:11 -0400 Received: from localhost.localdomain (unknown [194.230.155.216]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E3E9820EDD; Sun, 30 Aug 2020 13:55:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598795710; bh=eiTubOxndxJqO717q+7D5nKZxHsqjsCWsm2ON9kdAOc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=w2YmAxXXitwr1QRg3Ffpl56+g28Jl/3epC0j9/YNWNGr48yxtp8sUB6CzZx94eQgh TiRL6VIfJKI8hiLfo6Zg/j40gBLdBxokSBztZy58ERTegLzU3PyA0Nird8vU7YRwYC IFPPydHeMK8Raj/7w9ngAebfHDKwGkcUdnCmyBNk= From: Krzysztof Kozlowski To: Rob Herring , Kukjin Kim , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, "Denis GNUtoo Carikli" , Simon Shields Cc: Marek Szyprowski , Bartlomiej Zolnierkiewicz , Sylwester Nawrocki Subject: [PATCH 25/33] ARM: dts: exynos: Add S5M8767 clocks for RTC in Exynos4412 Origen Date: Sun, 30 Aug 2020 15:51:52 +0200 Message-Id: <20200830135200.24304-25-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200830135200.24304-1-krzk@kernel.org> References: <20200830135200.24304-1-krzk@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add node for clock controller of Samsung S5M8767 PMIC. This provides the 32768 Hz clock required by S3C RTC. Except making the S3C RTC working, this also fixes dtbs_check warnings: arch/arm/boot/dts/exynos4412-origen.dt.yaml: rtc@10070000: clocks: [[7, 346]] is too short arch/arm/boot/dts/exynos4412-origen.dt.yaml: rtc@10070000: clock-names: ['rtc'] is too short Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4412-origen.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-origen.dts b/arch/arm/boot/dts/exynos4412-origen.dts index 8b11ad391252..4c52ca6dbe57 100644 --- a/arch/arm/boot/dts/exynos4412-origen.dts +++ b/arch/arm/boot/dts/exynos4412-origen.dts @@ -11,6 +11,7 @@ /dts-v1/; #include "exynos4412.dtsi" +#include #include #include #include "exynos-mfc-reserved-memory.dtsi" @@ -129,6 +130,13 @@ <1200000>, <1200000>, <1200000>, <1200000>; + s5m8767_osc: clocks { + compatible = "samsung,s5m8767-clk"; + #clock-cells = <1>; + clock-output-names = "s5m8767_ap", "s5m8767_cp", + "s5m8767_bt"; + }; + regulators { ldo1_reg: LDO1 { regulator-name = "VDD_ALIVE"; @@ -499,6 +507,8 @@ &rtc { status = "okay"; + clocks = <&clock CLK_RTC>, <&s5m8767_osc S2MPS11_CLK_AP>; + clock-names = "rtc", "rtc_src"; }; &sdhci_2 { -- 2.17.1