Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp10886493rwd; Thu, 22 Jun 2023 06:14:34 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6HH3B7e4lA0IH0zIjgub6LUleXL7pbSctrCDFMGLWuNcgb40YBFuz26Uro/SA8hDbbxd+B X-Received: by 2002:a05:6a00:2d04:b0:65c:2ea:2c5e with SMTP id fa4-20020a056a002d0400b0065c02ea2c5emr19143656pfb.29.1687439673913; Thu, 22 Jun 2023 06:14:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687439673; cv=none; d=google.com; s=arc-20160816; b=Ibn5p/oHBVvzue27FWwj6ItDkh4Ld0+6F62aSjeD42AEggS95THc20ZGvkDGRxPJjH VhhD7hWhFiVAzzqfOtFab9Uc8zwUgN7EKzcU+5Tq6jb5LXbc1zLCT1BWk5woxnTOeeV+ LtsLZ6Pj18RRFs2unAH31OovCIxwNI9AYknVv96zgQRehpLwvQYONVKJnY8ZVFZPUBSy PXyn4Y+kzHUbHByWrFA6K4b7QVPx2anxSTtFEtevQuy9neuwdKp3FiBz0mfmxGjvJTOC rkhW9asRPIndkvrlxPnD0YI2EqwEqnrOTeYWRrpF/6E8jyOECX8WAyWOl4EgJzigtq6z xB6w== 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-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=w4D8j20IdblRYzBMBoVQwAQ0UD3FpLpcfi4gJumrTeQ=; b=UwU7oLpHuPbrWCYLig+Ih8DjKVv2VrrK70f+OyDrMcye/ilKWvF2gI8rIr1xhfn9XC 6N3DbC9fhrBxhexAD8Fo1bYda8CgKP2wb1SMeZ+gvo7y1S0EuNN7Bp6Qs94bK4E8fXkK UBkAN+BxaqoWJ5lpjeUH2lt3DoHzuvUtMZ+DSOWQvTfsHe+CzXUG1KkkBH+uxjfEaIUe EbfyVD4PTbhvev+dQzcspKEzqnyHJqlrmungFEFsSsczf7s/ayX57xZFFrMDRKVc+RqP 9UJ9QuqabrgsMW/Ue0QzPvZ0l9o96w3zGgzyf2RUnXGKm+HFY0rehLKpkyMlSTiWaRiU ZURw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sberdevices.ru header.s=mail header.b=lv8HX8Na; 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 a11-20020a637f0b000000b005538d9fe498si6420137pgd.414.2023.06.22.06.14.21; Thu, 22 Jun 2023 06:14:33 -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=lv8HX8Na; 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 S231512AbjFVNCc (ORCPT + 99 others); Thu, 22 Jun 2023 09:02:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229762AbjFVNC3 (ORCPT ); Thu, 22 Jun 2023 09:02:29 -0400 Received: from mx.sberdevices.ru (mx.sberdevices.ru [45.89.227.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4DD810F8; Thu, 22 Jun 2023 06:02:23 -0700 (PDT) Received: from s-lin-edge02.sberdevices.ru (localhost [127.0.0.1]) by mx.sberdevices.ru (Postfix) with ESMTP id D60DE5FDAD; Thu, 22 Jun 2023 16:02:19 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sberdevices.ru; s=mail; t=1687438939; bh=w4D8j20IdblRYzBMBoVQwAQ0UD3FpLpcfi4gJumrTeQ=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type; b=lv8HX8NapO5+UDMYVLqguE7sxm2Tq1ry6+DzAv7NHpkG1lbdpUGx3FRZt8AvWIVyU bXlhMfSnZ1z6Vyz95+3AY7nWP3NqAs4swTi7ktrVNHFFVFj0dWUS4X9fvH+sWGJ6bs naEnAWTJj9TJq+p9N0JDEyX50wlx+kxiQ1n3aEtVsSV/blwOVEq2sdRjhPxSH5ZwkZ smy0ZCTZ4psYPdyENpZ7PGdO/PUOClbRKxCL5iW2jbuUBwiaSMxOap1I+tL81DSB1x 0yMn4XFxjCv2DQ6Hf0546pe/5qm+6/H1swrBWgA34TrFCjx6c9pB0RCUJUqjddG9+5 ikfD5iWHAxmVA== Received: from p-i-exch-sc-m01.sberdevices.ru (p-i-exch-sc-m01.sberdevices.ru [172.16.192.107]) by mx.sberdevices.ru (Postfix) with ESMTP; Thu, 22 Jun 2023 16:02:16 +0300 (MSK) Date: Thu, 22 Jun 2023 16:02:16 +0300 From: Dmitry Rokosov To: Neil Armstrong CC: Jerome Brunet , Michael Turquette , Stephen Boyd , Kevin Hilman , Martin Blumenstingl , Rob Herring , Krzysztof Kozlowski , Conor Dooley , , , , , Subject: Re: [PATCH v2 17/19] clk: meson: a1: move bindings include to main driver Message-ID: <20230622130216.ocfvwfnad7amex65@CAB-WSD-L081021> References: <20230607-topic-amlogic-upstream-clkid-public-migration-v2-0-38172d17c27a@linaro.org> <20230607-topic-amlogic-upstream-clkid-public-migration-v2-17-38172d17c27a@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20230607-topic-amlogic-upstream-clkid-public-migration-v2-17-38172d17c27a@linaro.org> User-Agent: NeoMutt/20220415 X-Originating-IP: [100.64.160.123] X-ClientProxiedBy: p-i-exch-sc-m01.sberdevices.ru (172.16.192.107) To p-i-exch-sc-m01.sberdevices.ru (172.16.192.107) 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/06/22 09:26:00 #21554371 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 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 Mon, Jun 12, 2023 at 11:57:34AM +0200, Neil Armstrong wrote: > Now the clock ids are no more defined in private headers, > cleanup and include the dt-bindings headers from the main > driver file. > > Signed-off-by: Neil Armstrong > --- > drivers/clk/meson/a1-peripherals.c | 2 ++ > drivers/clk/meson/a1-peripherals.h | 3 --- > drivers/clk/meson/a1-pll.c | 2 ++ > drivers/clk/meson/a1-pll.h | 3 --- > 4 files changed, 4 insertions(+), 6 deletions(-) > > diff --git a/drivers/clk/meson/a1-peripherals.c b/drivers/clk/meson/a1-peripherals.c > index a5cab418736a..070ea1427d73 100644 > --- a/drivers/clk/meson/a1-peripherals.c > +++ b/drivers/clk/meson/a1-peripherals.c > @@ -15,6 +15,8 @@ > #include "clk-regmap.h" > #include "meson-clkc-utils.h" > > +#include > + > static struct clk_regmap xtal_in = { > .data = &(struct clk_regmap_gate_data){ > .offset = SYS_OSCIN_CTRL, > diff --git a/drivers/clk/meson/a1-peripherals.h b/drivers/clk/meson/a1-peripherals.h > index 842b52634ed0..26de8530184a 100644 > --- a/drivers/clk/meson/a1-peripherals.h > +++ b/drivers/clk/meson/a1-peripherals.h > @@ -43,7 +43,4 @@ > #define PSRAM_CLK_CTRL 0xf4 > #define DMC_CLK_CTRL 0xf8 > > -/* include the CLKIDs that have been made part of the DT binding */ > -#include > - > #endif /* __A1_PERIPHERALS_H */ > diff --git a/drivers/clk/meson/a1-pll.c b/drivers/clk/meson/a1-pll.c > index 25e6b567afd5..7de7d78c3813 100644 > --- a/drivers/clk/meson/a1-pll.c > +++ b/drivers/clk/meson/a1-pll.c > @@ -14,6 +14,8 @@ > #include "clk-regmap.h" > #include "meson-clkc-utils.h" > > +#include > + > static struct clk_regmap fixed_pll_dco = { > .data = &(struct meson_clk_pll_data){ > .en = { > diff --git a/drivers/clk/meson/a1-pll.h b/drivers/clk/meson/a1-pll.h > index 0add1c7ea9f5..4be17b2bf383 100644 > --- a/drivers/clk/meson/a1-pll.h > +++ b/drivers/clk/meson/a1-pll.h > @@ -25,7 +25,4 @@ > #define ANACTRL_HIFIPLL_CTRL4 0xd0 > #define ANACTRL_HIFIPLL_STS 0xd4 > > -/* include the CLKIDs that have been made part of the DT binding */ > -#include > - > #endif /* __A1_PLL_H */ Reviewed-by: Dmitry Rokosov -- Thank you, Dmitry