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 D7680C00140 for ; Wed, 24 Aug 2022 05:20:46 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D66628452F; Wed, 24 Aug 2022 07:20:44 +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=1661318445; bh=4G/AOd0mRJS9GxZvDrErhWsGSHN3QWopdYURsGdkuxM=; h=Date:Subject:To:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=h9ArM6RHYeoJeAY+73KSw3EWg6HOSoLKu8TOc8YtdL2Aw/SXqQAf9Ifv8ZFMGoNSg 4hYSpikPwltMmHMj65GXVuadEG9a4lAj8YK4cpMOYampTu7LdPMQino1QbETgUYB4s dspj0HmWWzaV7cCvLtLeB8XiH3oU8sBCTnhPznSGfarRAzb9lJzTPsU2tTIU5+Vfrt 7VrR96dkL3JgLYJuQz9OwSf0/Yqbn1rAnGEnFHLI1o0hvCWZ9ItK3O2fA/UZaf0upc N/5TWIobWSBvRrHANc1ff4Huch2+nXpv6pmn+nr5ZS7AP0/wYekjoWBfnZwlxtuyd7 HDoHHpch9baEg== Received: by phobos.denx.de (Postfix, from userid 109) id 065758456E; Wed, 24 Aug 2022 07:20:43 +0200 (CEST) Received: from mout-u-204.mailbox.org (mout-u-204.mailbox.org [80.241.59.204]) (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 1582D84514 for ; Wed, 24 Aug 2022 07:20:41 +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 smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (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-204.mailbox.org (Postfix) with ESMTPS id 4MCDvF5ZKDz9sNY; Wed, 24 Aug 2022 07:20:25 +0200 (CEST) Message-ID: Date: Wed, 24 Aug 2022 07:20:24 +0200 MIME-Version: 1.0 Subject: Re: mvebu - switch to orion-timer Content-Language: en-US To: =?UTF-8?Q?Pali_Roh=c3=a1r?= , u-boot@lists.denx.de, Tony Dinh References: <20220823223342.xv6tzjyyij5abhei@pali> From: Stefan Roese In-Reply-To: <20220823223342.xv6tzjyyij5abhei@pali> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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.6 at phobos.denx.de X-Virus-Status: Clean Hi Pali, On 24.08.22 00:33, Pali Rohár wrote: > Hello Stefan! Now when U-Boot contains new orion-timer.c driver, which > Michael wrote, I think that it mvebu platform should switch to use it. > Because build process for armada boards prints deprecation warning that > new timer is not being used. Could you look at it, if it is possible to > do global switch for mach-mvebu and mach-kirkwood? I think it does not > make sense to do per-board switching as it is de-facto platform related > code. Yes, I also though about this. But... In Linux we have 2 different timer clocksource drivers for Orion / Kirkwood and Armada XP / 370 etc: drivers/clocksource/timer-orion.c drivers/clocksource/timer-armada-370-xp.c I did not check, if and why this is necessary to handle those chips via different drivers yet. Perhaps later this week. Or someone of you beats me with this. ;) Thanks, Stefan