Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3864872pxb; Tue, 17 Nov 2020 05:43:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJwfMImo3Jg+iRXMi6gNTJTZArjLP3NRq5gk1ps55SrZ07AcBZZTR78o0yz2QAf0xOLzHmL7 X-Received: by 2002:aa7:dc52:: with SMTP id g18mr20848514edu.369.1605620584665; Tue, 17 Nov 2020 05:43:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605620584; cv=none; d=google.com; s=arc-20160816; b=kaoLvr5CMs6QiYubzG348Dzroz/uzTCwt3jtB/rNPFhqPtRohNWBdq5MiRSKyr3GXT N0hfSxzCsFwJKomfsvYqmIoKxn1pbVP6+JiTfuXCDzlZ655PRvLT9/ZX7ZWMYXwp26nV eX+SpzZYeRjIr7Bom5cPEn3ddUPHp0mrgODA4rZllU3Jfj+vQPbdGCpN8c3hp/ljtznh MgYNuXgVhiVSDLZFtSRXFk1d1+iMJ9fcP1dRQG51CGE6/WrHTdWfTW4BEXkSdnKDBoUS W9dAFmtXf5m5yHvuSCYm27j00VApFVuld5+1ZAQ5S5BVGdeB3sFzot4VCCORvDVUm7mR AT9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=ojg9rsiBHvqJrmybhSKqTFinammTEPcnScciFCh01xQ=; b=MU4A8c1/ShTNM4YZBxBjt475M6N9iqgPxh+Xjh0FkcEnxCrk2ZfqGk5JqhLnpc5PDp KISYj88/Gzglx+ZBtTcXTre6dL8Nv0SuxmwmGdnk6NdpNLdXsQLmKiIikO5rKCHeg4oa gQFxIv+H9dIi+jeDg+AYZmCXUCzFc6pRreqqDe2dxzQx5Eql3NsbOZL9tc2eBucUEJ9O tKck3kIc9VdCtysCxPqf9bwV3mpGYiEorMdgz42/CI9YFFnDohZ2aUM8Nr/iaqJj2XuR yRl3notrwxKOycvWxZX8OS09sAA5KwrRFxbnU4qbmiF/hIh3YxdaxtCqnvXXHVQO0Rbp BcAQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j1si12223785edt.484.2020.11.17.05.42.42; Tue, 17 Nov 2020 05:43:04 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732834AbgKQNkO (ORCPT + 99 others); Tue, 17 Nov 2020 08:40:14 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:60119 "EHLO relay1-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732816AbgKQNkD (ORCPT ); Tue, 17 Nov 2020 08:40:03 -0500 X-Originating-IP: 86.194.74.19 Received: from localhost (lfbn-lyo-1-997-19.w86-194.abo.wanadoo.fr [86.194.74.19]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 7225C240012; Tue, 17 Nov 2020 13:39:58 +0000 (UTC) From: Alexandre Belloni To: Alessandro Zummo , Alexandre Belloni , Nicolas Ferre , Ludovic Desroches Cc: linux-rtc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] rtc: at91rm9200: Add sam9x60 compatible Date: Tue, 17 Nov 2020 14:39:20 +0100 Message-Id: <20201117133920.1229679-1-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Handle the sam9x60 RTC. While it can work with the at91sam9x5 fallback, it has crystal correction support and doesn't need to shadow IMR. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-at91rm9200.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/rtc/rtc-at91rm9200.c b/drivers/rtc/rtc-at91rm9200.c index 1eea187d9850..da24e68adcca 100644 --- a/drivers/rtc/rtc-at91rm9200.c +++ b/drivers/rtc/rtc-at91rm9200.c @@ -437,6 +437,9 @@ static const struct of_device_id at91_rtc_dt_ids[] = { }, { .compatible = "atmel,sama5d2-rtc", .data = &sama5d4_config, + }, { + .compatible = "microchip,sam9x60-rtc", + .data = &sama5d4_config, }, { /* sentinel */ } -- 2.28.0