From patchwork Mon May 27 12:00:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 10962737 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 121B491E for ; Mon, 27 May 2019 12:03:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 00E2E285CC for ; Mon, 27 May 2019 12:03:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F351F28B2C; Mon, 27 May 2019 12:03:05 +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 7416728A10 for ; Mon, 27 May 2019 12:03:05 +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-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=thfenm/71XBnhCEa8kI0UTjSu0LVnp0fInfqm090R6M=; b=Nnr9Zad54lhszO kE/94eCAprZ0oBmgWm5+iB13zhoZ+wxlxpvbO987uF/InqSXN4dMCOUM7KH91uEfBmLIlOfEiC6yp Pvpnr/gR2hZ6o2H7gT79BEzM4k35SVV64zNdvCYsm3ci6W+l0iMsBPtnjoXZUCIhDKGbrckgSEHly E7RSnZdPiJEHzTf3ceKtG7Idbq31+mbtQ8BMauUe/aZrbtsIRtYeMxu8QiMGAlq3t66/nt6rWEwWW xqBSiBNZuNnswZ5nieVHsh7usjXmZkGAXHrI8aI3pBQT0eOkoKaOksRWxDKTJCT8VV6paeAjXrvWs xFm+DFLN5VSN/0+yP9QA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hVELD-0005LM-W1; Mon, 27 May 2019 12:03:00 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hVEJs-0004Aj-UA for linux-arm-kernel@bombadil.infradead.org; Mon, 27 May 2019 12:01:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=cM5Kam9nldWrMwog26GEyQfqxRFgS6SClh6fjqYfFQY=; b=BuMZUy7Dk29fJnVqq5j2Es25hS yheF2Z8+n5L6huxL312wSPRkobYxGtf3zvojaTdXYsH0mnguNKNjh9d/E5mzwP3n2CDDJi3l8q7iM L9PJYonM85ZUA2cbzpqmEtKHYxeII2C0qz7eR3LFEGpXNsU+EVuZWO7OT4yr10YLQdYFROMGJwHEy CQC+cExTnZMn9eKMhu/UAUJv1jDekjI3ZTM5GgIV/0vnD84lbc3gXYS/+V4PliSiFnpMiK8/7TUq1 2pz63Jw1GJMvzWeCq9zrR13C6kZVvVLcJMG/9GjEA0ZoxyEMFFQGnieP3794+Ton3JjNdnDDC8GWB RsUZ289Q==; Received: from relay9-d.mail.gandi.net ([217.70.183.199]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hVEJp-0002tp-IO for linux-arm-kernel@lists.infradead.org; Mon, 27 May 2019 12:01:34 +0000 X-Originating-IP: 90.88.147.134 Received: from localhost (aaubervilliers-681-1-27-134.w90-88.abo.wanadoo.fr [90.88.147.134]) (Authenticated sender: maxime.ripard@bootlin.com) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 99051FF819; Mon, 27 May 2019 12:01:04 +0000 (UTC) From: Maxime Ripard To: Alexandre Belloni , Mark Rutland , Rob Herring , Frank Rowand , Chen-Yu Tsai , Maxime Ripard Subject: [PATCH 10/10] ARM: dts: r40: Change the RTC compatible Date: Mon, 27 May 2019 14:00:42 +0200 Message-Id: <834199999676fdb119f3aa1966eb1b1d1391f347.1558958381.git-series.maxime.ripard@bootlin.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <290402405a34506997fd2fab2c4c1486dbe6b7e5.1558958381.git-series.maxime.ripard@bootlin.com> References: <290402405a34506997fd2fab2c4c1486dbe6b7e5.1558958381.git-series.maxime.ripard@bootlin.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190527_080133_872682_BE2FFAE2 X-CRM114-Status: GOOD ( 11.15 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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 Unlike what's being reported in the device tree so far, the RTC in the R40 is quite different from the H3. Indeed it doesn't have the internal oscillator output, and it has only a single interrupt. Let's add a compatible for it. Signed-off-by: Maxime Ripard Acked-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-r40.dtsi | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/sun8i-r40.dtsi b/arch/arm/boot/dts/sun8i-r40.dtsi index bb856e53b806..96fe39f27f24 100644 --- a/arch/arm/boot/dts/sun8i-r40.dtsi +++ b/arch/arm/boot/dts/sun8i-r40.dtsi @@ -318,13 +318,12 @@ }; rtc: rtc@1c20400 { - compatible = "allwinner,sun8i-r40-rtc", - "allwinner,sun8i-h3-rtc"; + #clock-cells = <1>; + compatible = "allwinner,sun8i-r40-rtc"; reg = <0x01c20400 0x400>; interrupts = ; - clock-output-names = "osc32k", "osc32k-out"; clocks = <&osc32k>; - #clock-cells = <1>; + clock-output-names = "osc32k", "osc32k-out"; }; pio: pinctrl@1c20800 {