Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1129885rwb; Thu, 8 Dec 2022 07:06:36 -0800 (PST) X-Google-Smtp-Source: AA0mqf6FKmm/iFb+UD7SZsl14INsVALr0n+Icsqd6DLfmcdvwAKnI2avLTAPHjwRyhR/iov2cJT8 X-Received: by 2002:a17:90a:d58a:b0:20d:48bc:6666 with SMTP id v10-20020a17090ad58a00b0020d48bc6666mr101726456pju.98.1670511996124; Thu, 08 Dec 2022 07:06:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670511996; cv=none; d=google.com; s=arc-20160816; b=n0li3chMraOgvAw4EezoQhJdvLcggckaUTE4dt8hpbNmPMy9k01UnrkpQU97gHhXae GT4KVEZQNXs8RinKrGPJeCZI93xIn+APOV0iBp4/4bDeVgfevXocdaDz2EAY2x/TY34L p9QROewpx2yTSIYpX+6T9LQjy7zdDt7VsAEmFgadTNV6tyDSIk6S/fKfqkjmrymXM5Of pnOu4AQSGZyXFjgFiTe/CpXi+FD7zkP684pXQTIo+xpbHxZmNVB9UF272O4EPQfhkcfI i1bml9K/itNYXlejLHx2AOgVmMjfbhNmy2qOOxkS32zQVyrwQTxRWKm4X/mwojWfRKi/ lgUQ== 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:from:date:dkim-signature; bh=dEHxnxnFHBTO8JQi6DOwgnd07ueyg019eY2dApNt3d8=; b=RZ+l9u1c+r0tK5pfpQCafPNNMmBgUDUGwEcbD3CZQwhGTZ79ucq/UKkB46HvbzvxQK h2wn1nNlvgmhEZSH7+tm3MLOFqZou5aJlJN/LozIGvLt71OjH5qH9IKqkbVyDqoa9l+R lLugGaAtH+vHlwMSnP7OVH4z3TWXXtu/4KVI/SNGd+Mtf3x52GSVp2wgjVizcl4q6mkg wePp+H4iaESpEQJsg+8pmSQWHIhTugkawJDozfLyKH+Q7wmQJVXQpsJKGRuPqEyd27j2 4MI6e3wpBOmzTooYrU1cMpEc7tMJifDGIOhHLXGWGoD882oJUqmj++VCr5nPkXxQUb8T wBgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=AqHSVl8c; 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=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h185-20020a6383c2000000b00478eacb6575si6597074pge.156.2022.12.08.07.06.26; Thu, 08 Dec 2022 07:06:36 -0800 (PST) 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=@bootlin.com header.s=gm1 header.b=AqHSVl8c; 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=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229678AbiLHOjY (ORCPT + 72 others); Thu, 8 Dec 2022 09:39:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229963AbiLHOjR (ORCPT ); Thu, 8 Dec 2022 09:39:17 -0500 Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 425D87BC03; Thu, 8 Dec 2022 06:39:15 -0800 (PST) Received: (Authenticated sender: alexandre.belloni@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 27530E0004; Thu, 8 Dec 2022 14:39:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1670510354; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=dEHxnxnFHBTO8JQi6DOwgnd07ueyg019eY2dApNt3d8=; b=AqHSVl8c2azXYAZjZSClzz72L9kP4AcZyFJcjGbJdRX31PVVf/C3FCeJw9yy/Y0J4Df5iB Kjq5ivZmn7r87C4mL2POnD+GmAckWPnYmDjeO8zJWD+3E08Y6lXnErJaqIuvGD25cIxTru GGf/4dVZ+2LZf5mGD+qDgsRi7kL+h3sJ0E4/jcAhflzPBj2DQqHaJ8wJSMX/B3ag5/1fCB JyN7l/QS7saNuCkJIbafQxijTTRz5te95tfl7Xwb1mIUkD/YIxk3FFN/Z2jiCrOILQBIOX JQvnQMPt2ig0TAe2U8Oqz5CrH+h4wsq2ZLUAht5U24YRAfBJ1hQpcv7LxRbYWQ== Date: Thu, 8 Dec 2022 15:39:12 +0100 From: Alexandre Belloni To: Claudiu Beznea Cc: mturquette@baylibre.com, sboyd@kernel.org, nicolas.ferre@microchip.com, krzysztof.kozlowski@linaro.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 3/3] clk: at91: do not compile dt-compat.c for sama7g5 and sam9x60 Message-ID: References: <20221208114515.35179-1-claudiu.beznea@microchip.com> <20221208114515.35179-4-claudiu.beznea@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221208114515.35179-4-claudiu.beznea@microchip.com> X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS 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 08/12/2022 13:45:15+0200, Claudiu Beznea wrote: > There is no need to have dt-compat.c compiled for SAMA7G5 and SAM9X60 > as there is no in kernel device tree that could use it. Thus avoid > compiling dt-compat.c for them. > Isn't it time to drop dt-compat.c? I was going to send a patch after 6.1 is released > Signed-off-by: Claudiu Beznea > --- > drivers/clk/at91/Makefile | 16 ++++++++-------- > 1 file changed, 8 insertions(+), 8 deletions(-) > > diff --git a/drivers/clk/at91/Makefile b/drivers/clk/at91/Makefile > index 79301e1c1c36..89061b85e7d2 100644 > --- a/drivers/clk/at91/Makefile > +++ b/drivers/clk/at91/Makefile > @@ -3,7 +3,7 @@ > # Makefile for at91 specific clk > # > > -obj-y += pmc.o sckc.o dt-compat.o > +obj-y += pmc.o sckc.o > obj-y += clk-slow.o clk-main.o clk-pll.o clk-plldiv.o clk-master.o > obj-y += clk-system.o clk-peripheral.o clk-programmable.o > > @@ -15,12 +15,12 @@ obj-$(CONFIG_HAVE_AT91_H32MX) += clk-h32mx.o > obj-$(CONFIG_HAVE_AT91_GENERATED_CLK) += clk-generated.o > obj-$(CONFIG_HAVE_AT91_I2S_MUX_CLK) += clk-i2s-mux.o > obj-$(CONFIG_HAVE_AT91_SAM9X60_PLL) += clk-sam9x60-pll.o > -obj-$(CONFIG_SOC_AT91RM9200) += at91rm9200.o > -obj-$(CONFIG_SOC_AT91SAM9) += at91sam9260.o at91sam9rl.o at91sam9x5.o > -obj-$(CONFIG_SOC_AT91SAM9) += at91sam9g45.o > -obj-$(CONFIG_SOC_AT91SAM9) += at91sam9n12.o at91sam9x5.o > +obj-$(CONFIG_SOC_AT91RM9200) += at91rm9200.o dt-compat.o > +obj-$(CONFIG_SOC_AT91SAM9) += at91sam9260.o at91sam9rl.o at91sam9x5.o dt-compat.o > +obj-$(CONFIG_SOC_AT91SAM9) += at91sam9g45.o dt-compat.o > +obj-$(CONFIG_SOC_AT91SAM9) += at91sam9n12.o at91sam9x5.o dt-compat.o > obj-$(CONFIG_SOC_SAM9X60) += sam9x60.o > -obj-$(CONFIG_SOC_SAMA5D3) += sama5d3.o > -obj-$(CONFIG_SOC_SAMA5D4) += sama5d4.o > -obj-$(CONFIG_SOC_SAMA5D2) += sama5d2.o > +obj-$(CONFIG_SOC_SAMA5D3) += sama5d3.o dt-compat.o > +obj-$(CONFIG_SOC_SAMA5D4) += sama5d4.o dt-compat.o > +obj-$(CONFIG_SOC_SAMA5D2) += sama5d2.o dt-compat.o > obj-$(CONFIG_SOC_SAMA7G5) += sama7g5.o > -- > 2.34.1 > -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com