From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 17349C4708A for ; Thu, 27 May 2021 06:14:29 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 40D07613E6 for ; Thu, 27 May 2021 06:14:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 40D07613E6 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8FBBD82E37; Thu, 27 May 2021 08:14:25 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1622096065; bh=+fEEKRRe9rKb8MYdK9r924jnT+k4BH/2rUp9Tal+EQ4=; h=Subject:To:Cc:References:From:Date:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=mAWagbM8C4/5zvoG+chGeBgmiXD3uEJpjseE4QAAapIyVzslWV1lC1UHyBmQOeBEm Fk1BW5te8NAXtPgjlJYW/X53QVJI7ahF3M2EE29T8q9m+b1AmVZ17tSWUxA8cQecDN +IOTOVR+Za65lHznUlmWCOCLyuM1QpRSxTPoJI3heKtFfBybub1ECmPBQ/R7/1t/Rl OJz1IU0SxXR2RrXoc6CJ3zu8d08juhUQ3jNyxqESNHk+6Xt6WNdmAm1VY/6cuPhhWK 63kKhg6zFpmTD1oDojNHQKT6ufRLJbTmQs52jC+8m1eBmsQgyImX8wqtE9RGVYHlki 01GoDxZ05vF8A== Received: by phobos.denx.de (Postfix, from userid 109) id 2782A82E3C; Thu, 27 May 2021 08:14:24 +0200 (CEST) Received: from mout-u-107.mailbox.org (mout-u-107.mailbox.org [IPv6:2001:67c:2050:1::465:107]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 658F682CAC for ; Thu, 27 May 2021 08:14:21 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sr@denx.de Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-u-107.mailbox.org (Postfix) with ESMTPS id 4FrHb11XlPzQjBM; Thu, 27 May 2021 08:14:21 +0200 (CEST) Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter05.heinlein-hosting.de (spamfilter05.heinlein-hosting.de [80.241.56.123]) (amavisd-new, port 10030) with ESMTP id N-FdM_qvMEi5; Thu, 27 May 2021 08:14:18 +0200 (CEST) Subject: Re: [PATCH u-boot-marvell 2/5] clk: armada-37xx: Set DM_FLAG_PRE_RELOC To: =?UTF-8?Q?Marek_Beh=c3=ban?= , u-boot@lists.denx.de Cc: =?UTF-8?Q?Pali_Roh=c3=a1r?= References: <20210525174242.27509-1-marek.behun@nic.cz> <20210525174242.27509-3-marek.behun@nic.cz> From: Stefan Roese Message-ID: <09399c9f-85fb-a365-d000-8f077be01c53@denx.de> Date: Thu, 27 May 2021 08:14:18 +0200 MIME-Version: 1.0 In-Reply-To: <20210525174242.27509-3-marek.behun@nic.cz> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 8bit X-MBO-SPAM-Probability: X-Rspamd-Score: -5.34 / 15.00 / 15.00 X-Rspamd-Queue-Id: 5839D1871 X-Rspamd-UID: 9b26d1 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.4 at phobos.denx.de X-Virus-Status: Clean On 25.05.21 19:42, Marek Behún wrote: > Setting DM_FLAG_PRE_RELOC for Armada 3720 clock drivers (TBG and > peripheral clocks) makes it possible for serial driver to retrieve clock > rates via clk API. > > Signed-off-by: Marek Behún Reviewed-by: Stefan Roese Thanks, Stefan > --- > drivers/clk/mvebu/armada-37xx-periph.c | 1 + > drivers/clk/mvebu/armada-37xx-tbg.c | 1 + > 2 files changed, 2 insertions(+) > > diff --git a/drivers/clk/mvebu/armada-37xx-periph.c b/drivers/clk/mvebu/armada-37xx-periph.c > index b0f47c33b3..3b767d7060 100644 > --- a/drivers/clk/mvebu/armada-37xx-periph.c > +++ b/drivers/clk/mvebu/armada-37xx-periph.c > @@ -626,4 +626,5 @@ U_BOOT_DRIVER(armada_37xx_periph_clk) = { > .ops = &armada_37xx_periph_clk_ops, > .priv_auto = sizeof(struct a37xx_periphclk), > .probe = armada_37xx_periph_clk_probe, > + .flags = DM_FLAG_PRE_RELOC, > }; > diff --git a/drivers/clk/mvebu/armada-37xx-tbg.c b/drivers/clk/mvebu/armada-37xx-tbg.c > index b1c0852e89..054aff5e6a 100644 > --- a/drivers/clk/mvebu/armada-37xx-tbg.c > +++ b/drivers/clk/mvebu/armada-37xx-tbg.c > @@ -152,4 +152,5 @@ U_BOOT_DRIVER(armada_37xx_tbg_clk) = { > .ops = &armada_37xx_tbg_clk_ops, > .priv_auto = sizeof(struct a37xx_tbgclk), > .probe = armada_37xx_tbg_clk_probe, > + .flags = DM_FLAG_PRE_RELOC, > }; > Viele Grüße, Stefan -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr@denx.de