Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6878408rwr; Tue, 25 Apr 2023 05:19:37 -0700 (PDT) X-Google-Smtp-Source: AKy350Zgq1Vqpv4YiPgA2Lmu9HQrizWDsWTf+9fusDgSrpKH+rDGFZwz4zXUca2Gw6efgFjnteNk X-Received: by 2002:a05:6a21:3281:b0:f0:5d68:e977 with SMTP id yt1-20020a056a21328100b000f05d68e977mr20780494pzb.9.1682425176903; Tue, 25 Apr 2023 05:19:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682425176; cv=none; d=google.com; s=arc-20160816; b=M9ZnP+tp1VJafmWJ2pIQHkOmaERCjG69smsPum63rzVUkxH1CfVWjwxpLQFNeSAQ15 CcnOcYJ1QQ0Lf5ARflO1vALKjfMQcpH+PBoCk23EtLqwlTGr9d/U3VJVza212iAnyghz Wnp9pxSj0Kqj2La309eKmp0m7fazR//LdpaeHOnhnJphIVn5xMOfLLlfaOaZCSCULt3A xudrHYhxYJM3Bj2Nx2qRN+QcP/zRJFsSwfp2JE07+LIlppAFTyd0uKmp98UiQpTsBZan +PqGvXhI9NCOcOgHyYtssbUKZmDi+8hKaoR3u86biC/TrExEtyfHATnZSrpKe+bMrrOj lBUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=/7k2hmgzdS0RWThtX1QVPv33A+h1jqDTdyLWRVz4PtQ=; b=eqqLDpBqoSsWZbgAle0lWS3nT+qlQ1d+B8XHLLfC3GpPfJBVU0qy0x6y7W1pzpAx07 ZltYVRUQkBznkou/FZJ1LXA9/lUrPLmvUaTpdqST4Y11MjBRVVBwsoGfxc7maXfA75iO CGuvzHtE7ZAnGWlhSPX/UvhumtOsozSrdf6By3Havt8f7x1UziF5RvmSthgeXU/0b9L/ /8zF471eKIl+42ZFMK39KzaLZE5icYvxIBMeEjj+5ievVBrnNn1uzEIj34igvJJJ6Qvs h/AMu3F11f3K3vFvSAeaZ6K2L8SOdHHuPCf2R9rV2hjdNZIuME1uX1H5fBUUMA1xYcYx yaBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sberdevices.ru header.s=mail header.b=rUHWN1H2; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=sberdevices.ru Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a63-20020a639042000000b00520e8ddcb63si14013789pge.274.2023.04.25.05.19.21; Tue, 25 Apr 2023 05:19:36 -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; dkim=pass header.i=@sberdevices.ru header.s=mail header.b=rUHWN1H2; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=sberdevices.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233864AbjDYMFO (ORCPT + 99 others); Tue, 25 Apr 2023 08:05:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233907AbjDYMFM (ORCPT ); Tue, 25 Apr 2023 08:05:12 -0400 Received: from mx.sberdevices.ru (mx.sberdevices.ru [45.89.227.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8667C49F8; Tue, 25 Apr 2023 05:05:09 -0700 (PDT) Received: from s-lin-edge02.sberdevices.ru (localhost [127.0.0.1]) by mx.sberdevices.ru (Postfix) with ESMTP id 889195FD05; Tue, 25 Apr 2023 15:05:06 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sberdevices.ru; s=mail; t=1682424306; bh=/7k2hmgzdS0RWThtX1QVPv33A+h1jqDTdyLWRVz4PtQ=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type; b=rUHWN1H28wH6iCXoGWFuo0Owuh5UxXgiiUvT9oyGwOMOEYDF9gByjamwqDuIWOuXt PFRpBZGx1+BZ2xn4eMdt0SqXge2rJxNeT0x9tXzGu0XVPV0Hdp2hBsvPqDbNOc4xhL HAQWve0wxkYfvK9MJl6HSqSWQHGuNFMNXHXZqHP3gaumSc62gXiduIh8LvEJsbPIux m4y9fIin/257IMbKn4Hvu5dMU2kd4c71/ejzWTYrHGyBZ4JAtFsfuIR60QKya+AOW9 aqnwRYUBFFa92VWgdYHCYhAhxIlI8GFovBlj1F0QArwb+0dIYT9P+H9t15CZr06HK3 J1XB8AUGCaTGQ== Received: from S-MS-EXCH01.sberdevices.ru (S-MS-EXCH01.sberdevices.ru [172.16.1.4]) by mx.sberdevices.ru (Postfix) with ESMTP; Tue, 25 Apr 2023 15:05:05 +0300 (MSK) Date: Tue, 25 Apr 2023 15:05:05 +0300 From: Dmitry Rokosov To: Martin Blumenstingl CC: , , , , , , , , , , , , , , Subject: Re: [PATCH v13 6/6] clk: meson: a1: add Amlogic A1 Peripherals clock controller driver Message-ID: <20230425120505.xrgrjrxcxennrzct@CAB-WSD-L081021> References: <20230405195927.13487-1-ddrokosov@sberdevices.ru> <20230405195927.13487-7-ddrokosov@sberdevices.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20220415 X-Originating-IP: [172.16.1.6] X-ClientProxiedBy: S-MS-EXCH01.sberdevices.ru (172.16.1.4) To S-MS-EXCH01.sberdevices.ru (172.16.1.4) X-KSMG-Rule-ID: 4 X-KSMG-Message-Action: clean X-KSMG-AntiSpam-Status: not scanned, disabled by settings X-KSMG-AntiSpam-Interceptor-Info: not scanned X-KSMG-AntiPhishing: not scanned, disabled by settings X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 1.1.2.30, bases: 2023/04/25 07:55:00 #21159618 X-KSMG-AntiVirus-Status: Clean, skipped X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 On Sun, Apr 23, 2023 at 11:30:38PM +0200, Martin Blumenstingl wrote: > On Wed, Apr 5, 2023 at 9:59 PM Dmitry Rokosov wrote: > [...] > > +static const struct of_device_id a1_periphs_clkc_match_table[] = { > > + { .compatible = "amlogic,a1-clkc", }, > > + {}, > nit-pick: please remove the comma after the sentinel > Thank you for bringing up that point! There's no problem with removing it in the next version of the product. I'll prepare it. > > +MODULE_DEVICE_TABLE(of, a1_periphs_clkc_match_table); > > + > > +static struct platform_driver a1_periphs_clkc_driver = { > > + .probe = meson_a1_periphs_probe, > > + .driver = { > > + .name = "a1-clkc", > > + .of_match_table = of_match_ptr(a1_periphs_clkc_match_table), > I wonder if we should drop of_match_ptr() here as no other meson clock > driver uses it. > Also there's commits like 00cb754ac622 ("clk: imx8mq: drop > of_match_ptr from of_device_id table") which explicitly remove it from > other drivers. Exactly, all Meson clock drivers depend on the ARM64 config, which in turn selects CONFIG_OF by default. So of_match_ptr can be dropped. > > Apart form these two this patch looks great to me. > -- Thank you, Dmitry