From patchwork Wed Jul 31 22:32:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 11069715 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 A790213AC for ; Wed, 31 Jul 2019 22:32:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 96A5527F97 for ; Wed, 31 Jul 2019 22:32:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8A9D427FAC; Wed, 31 Jul 2019 22:32:43 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7578B27F97 for ; Wed, 31 Jul 2019 22:32:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: MIME-Version:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=meK+88pBYFgH/g1enb4ob2SaanZpKgDa3SQrvu64Ss8=; b=nCg tMwaEjiYm8aFyFHyasXusbWtm2eQHd+THFkMP/iDWAoUegIaNat3xsLRgqZOlslZIbpx8fCerTp92 BBP2o/mO2K+8RHtw12HoI+gHEMivGbIqz2nIUXv4XnXHnUN+3ex3chIjxj/2cc4MrV12dRInAb+/P Rs+HfsqdCpBBiNT38yWQgddw2Tf1jrIRjeCbwb3uPW+Wx0oxhZURjdcXK8HhLPd7E4ofmKutmTfVU RL1PgXjUcbd118MOoXu7il9dDWwvBwxH6fouM6DyNZQIhc7vEEX/g/XcKzA/5hkvkAsK2oD1aZdEK ha14q3D7wmc9wN3ZvAorHFlnglQJxZg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hsx9F-00089X-N4; Wed, 31 Jul 2019 22:32:41 +0000 Received: from antares.kleine-koenig.org ([2a01:4f8:c0c:3a97::2]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hsx9C-00089C-1p for linux-arm-kernel@lists.infradead.org; Wed, 31 Jul 2019 22:32:39 +0000 Received: by antares.kleine-koenig.org (Postfix, from userid 1000) id B8BAE747AE3; Thu, 1 Aug 2019 00:32:36 +0200 (CEST) Date: Thu, 1 Aug 2019 00:32:33 +0200 From: Uwe =?iso-8859-1?q?Kleine-K=F6nig?= To: Jason Cooper , Gregory Clement , Sebastian Hesselbarth Subject: [PATCH v2] ARM: kirkwood: ts219: disable the SoC's RTC Message-ID: <20190731223233.GA15900@taurus.defre.kleine-koenig.org> MIME-Version: 1.0 User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190731_153238_249010_FAA3CDD6 X-CRM114-Status: GOOD ( 10.78 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Lunn , Alexandre Belloni , tbm@cyrius.com, linux-arm-kernel@lists.infradead.org, Oliver Hartkopp 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 The internal RTC doesn't work, loading the driver only yields rtc-mv f1010300.rtc: internal RTC not ticking . So disable it. Reviewed-by: Andrew Lunn Signed-off-by: Uwe Kleine-König Acked-by: Martin Michlmayr Acked-by: Alexandre Belloni --- Hello, This patch is (one) result of a discussion on the rtc list. v1 was sent there only. This v2 is just a resend to the mvebu maintainers. Alexandre Belloni said to v1: Seems good to me then. This sounds a bit like an ack, but I didn't add it as it was not explicit. Best regards Uwe arch/arm/boot/dts/kirkwood-ts219.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/kirkwood-ts219.dtsi b/arch/arm/boot/dts/kirkwood-ts219.dtsi index a88eb22070a1..994cabcf4b51 100644 --- a/arch/arm/boot/dts/kirkwood-ts219.dtsi +++ b/arch/arm/boot/dts/kirkwood-ts219.dtsi @@ -104,3 +104,11 @@ &pcie0 { status = "okay"; }; + +&rtc { + /* + * There is a s35390a available on the i2c bus, the internal rtc isn't + * working (probably no crystal assembled). + */ + status = "disabled"; +};