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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 64EABC433F5 for ; Mon, 7 Mar 2022 11:12:23 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1F27C83BF9; Mon, 7 Mar 2022 12:12:21 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=bootlin.com header.i=@bootlin.com header.b="pVJHPaxT"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3B2ED83C09; Mon, 7 Mar 2022 12:12:19 +0100 (CET) Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id A6D6483BE5 for ; Mon, 7 Mar 2022 12:12:15 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=clement.leger@bootlin.com Received: (Authenticated sender: clement.leger@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id CC69A24000A; Mon, 7 Mar 2022 11:12:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1646651535; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YWpvcMwjSpEc2GPeN1DLyNE9T/9i9XyBk7pBzH+m3y4=; b=pVJHPaxTiOPhXrDLjkyvOtM9dmAlKmOSdLQ9B2QUBWL6iMjYfPBGCVZIgKKqqpEm2sgdSo E7UsZUJf438KoruSgveWXTTXSotukRo/vLWgngznyRArmv6bTPccxUdRcc85i1NODdpbAW kPB00LKDyiS2MBw67yMc09LMfxG9GopUUGRFk7CFeBIqOrmkyEld60fyVdltLR6dmONobn IkDmrmfyGDaZ4J/GN/B3/K5NsObi7Lp8xNeaRge3Fg5TOQqA79RImrxMAQGr8olGgOslk0 A+Pjvf1alH7UPDy18gu+R0WWbCLyz9k81MzUa2XW7hqJQPvXOVh52ESgiYo+Wg== Date: Mon, 7 Mar 2022 12:10:51 +0100 From: =?UTF-8?B?Q2zDqW1lbnQgTMOpZ2Vy?= To: Cc: , , , , Subject: Re: [PATCH v5 4/4] configs: sama5d2: enable option CONFIG_ATMEL_TCB_TIMER Message-ID: <20220307121051.43a23a09@fixe.home> In-Reply-To: References: <20220304110540.132520-1-clement.leger@bootlin.com> <20220304110540.132520-5-clement.leger@bootlin.com> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.103.5 at phobos.denx.de X-Virus-Status: Clean Le Mon, 7 Mar 2022 11:06:17 +0000, a =C3=A9crit : > > diff --git a/configs/sama5d2_icp_mmc_defconfig b/configs/sama5d2_icp_mm= c_defconfig > > index 7761a57e0c..2eb2e92110 100644 > > --- a/configs/sama5d2_icp_mmc_defconfig > > +++ b/configs/sama5d2_icp_mmc_defconfig > > @@ -83,5 +83,6 @@ CONFIG_ATMEL_USART=3Dy > > CONFIG_TIMER=3Dy > > CONFIG_SPL_TIMER=3Dy > > CONFIG_ATMEL_PIT_TIMER=3Dy > > +CONFIG_ATMEL_TCB_TIMER=3Dy =20 >=20 > As far as I can tell, dm_timer_init() will probe the first available timer > if there is no CONFIG_OF_REAL enabled + tick-timer DT entry. With this, > having 2 timers enabled in config might not lead to using TCB all the time > as it might be expected. Hi Claudiu, Hum indeed. Should I remove this commit and let the user select the TCB when needed ? Thanks, >=20 > Thank you, > Claudiu Beznea --=20 Cl=C3=A9ment L=C3=A9ger, Embedded Linux and Kernel engineer at Bootlin https://bootlin.com