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 C5CD4C4332F for ; Fri, 14 Oct 2022 13:41:25 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 968F7848CF; Fri, 14 Oct 2022 15:41:23 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="OB0hwwxM"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2A0BD81E72; Fri, 14 Oct 2022 15:41:22 +0200 (CEST) Received: from mail-qk1-x735.google.com (mail-qk1-x735.google.com [IPv6:2607:f8b0:4864:20::735]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B515284E9D for ; Fri, 14 Oct 2022 15:41:17 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x735.google.com with SMTP id b25so2428841qkk.7 for ; Fri, 14 Oct 2022 06:41:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=AkLpxCKHFLiJofKscOGj7mj/6K2X7+Q58AU+iuf4c/Q=; b=OB0hwwxMB3EYuwlcdf23G3dGp1E5al1RKaHwzeuwtcPVpTOW/fs2sw2s2W6ir4SF23 imDVgAtEnXrC4M8BqHxtzklhS0ebWGCEEscLve/WmhSdbtdVTHoeKdy3qg6FKj6vkCGz 7gGVb2odKZkjtWTzWxqZpkkBY6joe01rRQcJY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=AkLpxCKHFLiJofKscOGj7mj/6K2X7+Q58AU+iuf4c/Q=; b=olQykXh0Lrri0A6W0/qU9ckT8/DgRkC8KKOAgG7RLsX9uokDnvPWY9rIyzgFEo+ydS l2WlBX260px77m47GVRMvXEQJjxvH9CZzbo7dyYYKb8iFBgimeuEwe/x9gPPtTr0V2eq 3iD2o1XO/MQWx6utHA3BZnEPglTdqintUwzXKt4Ii1IKAiOIrpfAoyAGWQ2tjg4nVJ12 fxN3sLTVzxe1cCebuRYFA70QGkLEQcYMfPYOwXrKE7SYAMFZVlHUD1dDJyK6FYIx9vr4 SJhJJXJzoLNza8mPUIOD3lPXeF9Glb2H/rdEYyg+ayElWgKkBKWd2jCqVVqPHRhy2TqD 0dPA== X-Gm-Message-State: ACrzQf02EqMmQZofqNc+SWTIs3RWBI6aGnLRgmXHzcYLoibsCWElxNYv 1Gtk3nSaBeOljsJz3GKm1VOUfA== X-Google-Smtp-Source: AMsMyM6XKxuaNkwz50TYlBq1BXD82evIOch7zWtacCsaBM1hcZzuQD1WcfT/PiZ9evijfCDxyNorEA== X-Received: by 2002:a05:620a:2496:b0:6ee:76ce:4b3e with SMTP id i22-20020a05620a249600b006ee76ce4b3emr3802613qkn.370.1665754876541; Fri, 14 Oct 2022 06:41:16 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b00-6400-b049-0e25-0576-9c40.res6.spectrum.com. [2603:6081:7b00:6400:b049:e25:576:9c40]) by smtp.gmail.com with ESMTPSA id az12-20020a05620a170c00b006ec771d8f89sm2385888qkb.112.2022.10.14.06.41.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Oct 2022 06:41:15 -0700 (PDT) Date: Fri, 14 Oct 2022 09:41:13 -0400 From: Tom Rini To: Peter Robinson Cc: u-boot@lists.denx.de, u-boot-custodians@lists.denx.de Subject: Re: U-Boot CONFIG_TIMER migration deadline Message-ID: <20221014134113.GP2020586@bill-the-cat> References: <20221014132523.GN2020586@bill-the-cat> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="4zKt6bo/V7G+vDr7" Content-Disposition: inline In-Reply-To: X-Clacks-Overhead: GNU Terry Pratchett 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 --4zKt6bo/V7G+vDr7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 14, 2022 at 02:32:41PM +0100, Peter Robinson wrote: > Hey Tom, >=20 > > I'm sending this email out to the main and custodian lists, and bcc'ing > > all of the listed maintainers for platforms that have a problem here. > > The migration deadline for switching from CONFIG_SYS_TIMER_RATE or > > CONFIG_SYS_TIMER_COUNTER and to using CONFIG_TIMER is the v2023.01 > > release. Now, per how I've behaved in the past, I'm not going to > > immediately remove these platforms. But it would be very good to jump on > > migrating them now, rather than waiting further. The full list (at least >=20 > Is there a good example commit that handles the migration? Good question! You'll need a driver under drivers/timer/ and for example in U-Boot drivers/timer/omap-timer.c matches (based on compatibles) with drivers/clocksource/timer-ti-dm-systimer.c and drivers/clocksource/timer-ti-dm.c in the Linux kernel. Otherwise, a git log drivers/timer/ shows various conversions of previous in-tree timers to this framework. --=20 Tom --4zKt6bo/V7G+vDr7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmNJZvkACgkQFHw5/5Y0 tyxpZAwApDIKtSfbBmeu94uRa3YPZgESbp2SVNRi7N84bkhfZ8as4ed8x4UaBGxw JxFdO9C8R04TyRQ0K8g1cL+BWw5XlkrZOFhYe5S6nyMkCyIt3dcsvEkiQkA7ipDK bfD+POZwUPzIEAv/PpnlLIiT9SMtrKdx6aIYsjWWAubOcF4Ha/vdYRiY8DMY5eix GPb4iREF35aMfyg1Mgur6HMuVfXtkmcDWc5udA/MF1+mJSK3udnHerxd4dSIs+3t eB8gPd+VMsGefcBXDJhHYH/oyPYEqUD33jbzfeVD6aqDErgxZ61skXJjnJRCv8FL vi2r1NCbL9qP73C8A3y/0fBspZ8Y6BNB9HisVSp3+WYRG1aZ8gKLK0A22Z9Hs3GG vn/VeTtrkuTqg5Eewlv4YPBq8bkVcKWnB8bK3rnXIbc9KXSInc7BboqL7jFxCnDM J/olpOMxHR34VMa00M3qeySzDv37tf+HI/6+2H27GO0zT2hYtYtdmuQf1/Nb98rC 8jMdLDq+ =WnY9 -----END PGP SIGNATURE----- --4zKt6bo/V7G+vDr7--