Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3874243rwd; Sat, 3 Jun 2023 14:03:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7di+BtES+qrfkL9xys1a5oFR4WQhXo/4XllDY+QVjhqTaUV4tkEq/zM7ky2CjWlT/XMUZX X-Received: by 2002:a17:90a:1d6:b0:256:69ac:eb1 with SMTP id 22-20020a17090a01d600b0025669ac0eb1mr3694175pjd.1.1685826184569; Sat, 03 Jun 2023 14:03:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685826184; cv=none; d=google.com; s=arc-20160816; b=rACaZjE+ml9wptr1RHd+E1dyDqgo+BsxHVjQoZ21vjvPGp2wJ4s9kkDiR0+plYLfri 7zGvwZEX0+sc9HsbX9Mk5pVuz8gfrp8wv4YfYfFQXL/NAtgbF5FgYNv3XAmsmP3B4bjW zrgmUgbtgdXPANX4fSrDak2HtNoAiZuW9gaOZR1YHR5k+dhllb9yX6jXFBBtpfxwBvc0 TsYOO5h9muLnGT4zcPtJtFbi3cBedwV8CdKrJIk6dqAOjHLO8xRG9k22zou6R+zNYOHX CailpDyBz3c4Zsjh1rOX5cb0lsvlRMu4DnjkP3OEXqAfY6JjjiFB2e4mwDurSJaDG0oS NERg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:date:from; bh=azXWRYIW0T6dBpwveSIbrnwv2nC70TTc7HKDFG3cPD0=; b=Y4MDLLnxU8UyjKrxz4a5EaB7USj4/yvwDY0ms6qfoFXymW4MN5BAha3jMU2Vni5pjk fxy2bLH0ZjD6eTZaG72E2TlKPG70GW091lp3R/jAnXB7878mGDFp/j9zU4nHt21WePV/ ks+HZs/bVagVECSOlwf+vUNfQpBQH2yqhfQi+EVlEkYDKJlGXLLMnSub1bFe1Cq/DdMe sDKN+vWyheF3BGr48Of2+I30z9o9X5xNmbIGol3Xd7f9XhiB04qapMmPpLwsYDpkRkBV TPg+cf1VWvU7qUCQ0dZSRJxh+nDe4M4Jnegg0D/rFdnMWtGiaMwlqPIreXwd+RHtpE1w SsAQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q16-20020a17090a2e1000b00258d8f6eabdsi3428373pjd.66.2023.06.03.14.02.52; Sat, 03 Jun 2023 14:03:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231162AbjFCUNn (ORCPT + 99 others); Sat, 3 Jun 2023 16:13:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229518AbjFCUNk (ORCPT ); Sat, 3 Jun 2023 16:13:40 -0400 Received: from fgw23-7.mail.saunalahti.fi (fgw23-7.mail.saunalahti.fi [62.142.5.84]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77ECAE51 for ; Sat, 3 Jun 2023 13:13:31 -0700 (PDT) Received: from localhost (88-113-26-95.elisa-laajakaista.fi [88.113.26.95]) by fgw23.mail.saunalahti.fi (Halon) with ESMTP id 1ad3b39f-024b-11ee-b972-005056bdfda7; Sat, 03 Jun 2023 23:13:29 +0300 (EEST) From: andy.shevchenko@gmail.com Date: Sat, 3 Jun 2023 23:13:29 +0300 To: Nikita Shubin Cc: Alexander Sverdlin , Arnd Bergmann , Linus Walleij , Alessandro Zummo , Alexandre Belloni , Michael Peters , Kris Bahnsen , linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 11/43] rtc: ep93xx: add DT support for Cirrus EP93xx Message-ID: References: <20230424123522.18302-1-nikita.shubin@maquefel.me> <20230601053546.9574-12-nikita.shubin@maquefel.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230601053546.9574-12-nikita.shubin@maquefel.me> X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_HELO_NONE, SPF_SOFTFAIL,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thu, Jun 01, 2023 at 08:34:02AM +0300, Nikita Shubin kirjoitti: > - Find register range from the device tree. It would be nice to be consistent with the commit messages of the same semantics. Nevertheless, LGTM, Reviewed-by: Andy Shevchenko > Signed-off-by: Nikita Shubin > --- > > Notes: > v0 -> v1: > > - fixed headers > > drivers/rtc/rtc-ep93xx.c | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/drivers/rtc/rtc-ep93xx.c b/drivers/rtc/rtc-ep93xx.c > index acae7f16808f..1fdd20d01560 100644 > --- a/drivers/rtc/rtc-ep93xx.c > +++ b/drivers/rtc/rtc-ep93xx.c > @@ -7,6 +7,7 @@ > */ > > #include > +#include > #include > #include > #include > @@ -148,9 +149,16 @@ static int ep93xx_rtc_probe(struct platform_device *pdev) > return devm_rtc_register_device(ep93xx_rtc->rtc); > } > > +static const struct of_device_id ep93xx_rtc_of_ids[] = { > + { .compatible = "cirrus,ep9301-rtc" }, > + { /* sentinel */ } > +}; > +MODULE_DEVICE_TABLE(of, ep93xx_rtc_of_ids); > + > static struct platform_driver ep93xx_rtc_driver = { > .driver = { > .name = "ep93xx-rtc", > + .of_match_table = ep93xx_rtc_of_ids, > }, > .probe = ep93xx_rtc_probe, > }; > -- > 2.37.4 > -- With Best Regards, Andy Shevchenko