Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3956860pxb; Tue, 17 Nov 2020 07:50:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJy9lNVvirxoQlyCCWI12pYeFIYJdm8861RDegAz+Ueyy9sq8K4V1efTvBZEPbp2iM0EfGAe X-Received: by 2002:a17:906:9719:: with SMTP id k25mr19286929ejx.226.1605628238932; Tue, 17 Nov 2020 07:50:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605628238; cv=none; d=google.com; s=arc-20160816; b=ZHEwIvKVuRJjExvQq4JMSO1do4f2BqSr9V8WDaN0VltuwrsHwHL6fa2oRT5MjXI/9s 0Ku2KIZ2BFUstxLvqb4byhtrmY6FdSgyGjOejxOhgRRFwHhJTOYZW9eg+HjqF754FKUk 5w139t49NiZee6yfuYMOlckzOzmaAsnlUMcruM/PMJgW1Pf4c/r5lgNu+7c6+4SmYFu0 NKz7pu9SvJY7mt/ahPfBzYrTYrUyYXabJOB0ifqEMyCUs4zYU7hLoIZ1atd8qTdpDmMK DsHQ7BqB5H6TZS7gJxOZ9JiOT3YAJnURAUFjWzptrYNc3hYEgIqcifn9weRqOfowK9ZH OjKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:cc:to:subject:ironport-sdr:dkim-signature; bh=SkXH5HAWy30uaACcMxW1qKx3hlwqdrRb8ZA2dhYI2OY=; b=ERKHqKuJ60dUJtEVWLe6g15wg1Sz48qqMY7h9TaxdnZ+IGhJk0kS4WGoOyDMgyr8eo h0r1YVoPDYIvj5m51XZkQzD6EjqaGyAqwaY5M422IcmLYK7/RXw2L0lECQrhw4SR5Bb3 1ZS4eQ4bC+WhWCyQEDHdOb7DtHgbOxE5iQw+BFJ2dVUDBEe3TRwnxR3sRY1CpRqaxtnP ZNuJh+nuT/PSHH5K8AFT3NdPARRglHSeB6LsC7x9TO3HoI9BXUgrJscHkh6UNs6nS+H3 tgTmDWpChjIOJh4h2ppFEZyMPpc+4ZIyFrEOAWnojCqjiFzWFNJvftSJCP2oe8wj0wn2 Eilg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=feDAmP4y; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qp24si1864181ejb.526.2020.11.17.07.50.15; Tue, 17 Nov 2020 07:50:38 -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; dkim=fail header.i=@microchip.com header.s=mchp header.b=feDAmP4y; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726417AbgKQPsd (ORCPT + 99 others); Tue, 17 Nov 2020 10:48:33 -0500 Received: from esa5.microchip.iphmx.com ([216.71.150.166]:56398 "EHLO esa5.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726174AbgKQPsd (ORCPT ); Tue, 17 Nov 2020 10:48:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1605628112; x=1637164112; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=vt6n/uRSEqn2qkGSaMpqYP02CGx9gVYSoDzaLJ0GRuo=; b=feDAmP4y+ZYOnB1VHWIUanSw5+DAAtsERDGyYV4W3SOkxEF7p8XGCieN xnOoqekoOpu1pcXV/bhpXQCfmdNwtgTVS+3oP2nSzzteDrzHDQpvZNhq/ cvxM/s9QVzIH9iedoULsTjf0XAuc57TNXzGYBOP5Uns62Pv7rpCk2O4mT STydKsdAgaaiwVbuW8jWVMC3i16kl0cwRldKyZkx/jUwB4KQNfCIzvBHH Y1kvQjugdXSj5EE6r/KoFhl02008aV4UNzyewgZEgs1TykaX+Ef25CPBv 6PJnERk3u60VtYSavTwjMXVZo4A17I2EMulAUwV7lyXh16D6mBD6bmV+1 A==; IronPort-SDR: TRHlD71kxqV8Xiu1ior8khpmqv5NCwMBdz9m/rmlEHlKBUvG1q8J98MYt9+YL19L2/cL+muXyr ytmKGY5Bv45HxLMf16JK5emoZ2Bh+afPePhVsIYalVqDCV2s4gmGRn16t/yzdmB42dfFmbuJtM W3/0GO1DkXtMv9gayamf0ZcB+mfQ4F+53Y6JOw39Wv2wStrpkhTKpoTFKtbqan/Nu7G66SiD0x 7Ecod1NCbn2wo94egG2ktDVzrk8YSZW6IXKimxpcg62QskEmcidNOSicK6WE8o3YcrPpoQ6gQX k/w= X-IronPort-AV: E=Sophos;i="5.77,485,1596524400"; d="scan'208";a="98769453" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 17 Nov 2020 08:48:32 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1979.3; Tue, 17 Nov 2020 08:48:31 -0700 Received: from [10.171.246.83] (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.1979.3 via Frontend Transport; Tue, 17 Nov 2020 08:48:29 -0700 Subject: Re: [PATCH] rtc: at91rm9200: Add sam9x60 compatible To: Alexandre Belloni , Alessandro Zummo , Ludovic Desroches CC: , , References: <20201117133920.1229679-1-alexandre.belloni@bootlin.com> From: Nicolas Ferre Organization: microchip Message-ID: <1c5f0d70-93f5-0285-66df-43a9f3611e90@microchip.com> Date: Tue, 17 Nov 2020 16:48:28 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20201117133920.1229679-1-alexandre.belloni@bootlin.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 17/11/2020 at 14:39, Alexandre Belloni wrote: > 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 Acked-by: Nicolas Ferre > --- > 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 > -- Nicolas Ferre