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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E2AA0C433F5 for ; Sun, 14 Nov 2021 03:23:50 +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 6A8F8604DB for ; Sun, 14 Nov 2021 03:23:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 6A8F8604DB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7A28383494; Sun, 14 Nov 2021 04:22:58 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org 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=chromium.org header.i=@chromium.org header.b="FY1sO/nZ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E78D383492; Sun, 14 Nov 2021 04:22:43 +0100 (CET) Received: from mail-ot1-x32d.google.com (mail-ot1-x32d.google.com [IPv6:2607:f8b0:4864:20::32d]) (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 6AFDD83457 for ; Sun, 14 Nov 2021 04:22:25 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-ot1-x32d.google.com with SMTP id r10-20020a056830080a00b0055c8fd2cebdso20726177ots.6 for ; Sat, 13 Nov 2021 19:22:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jhGGCmrzrwiYG3ZKmWN2wOtKAvq/6He3UTs9xI8KVYg=; b=FY1sO/nZWJbcScVf9Yq/IV/gz3+GcMNVDFZLS930UawP6usLNXBxx/IR2T6cuaoq01 +9bFgKI20TOJO/h8glAbm9pgBpcCGRSJjUZnfq5TdQdURH7BTfMQb3fuDZi8+rewkgcl bQ+ZDeN1cl4jq8TaB8HoOHdKspPLcW7mNG4tQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jhGGCmrzrwiYG3ZKmWN2wOtKAvq/6He3UTs9xI8KVYg=; b=hPmrF83u5TKUztOlkkliarIedZrjzU8K5KIr3xXbYHda9lsmskKNlR3qAJhi6gr1BN ZfdOz7W2XMOjBvGBHR35QJ67Qgxj4s6jDGgoPxRZV6oMjUfPpxUgm3/EyflgYoM2+TRa cZdJ//ovqxSojf2XIwJ1DoBjD69xBhN+UhPekhiT5Q6EKu0m/m98kmEkjBcSAkWBEc6B MWRmRYOaNCTi7vsvcpHcCAloawHRJ7NuS/qKz+YzU64LG7iiKSdseRvbem9gKimXnAyw MM2uuAFjF1qp/joJj2hfeHVXGclTvoJNk95P9zsspTgnDGXbE2F30QYZ0Tu1SLugmQUZ rOjw== X-Gm-Message-State: AOAM530kU3hg4qJP2By+FSV2SuU4tZUM3iUoK0j/ClfihJxibkgkXzFw 5q9O4tERa1GR0HEuDWVmWbAlRU8hnVjd0Q== X-Google-Smtp-Source: ABdhPJzeGznwzyJ5NgXVDYosKL4Ue0k2zHrAaod0g7sEzLps9fHNyauQoUtWSo7wrUWJAKx9zWjaJQ== X-Received: by 2002:a9d:2949:: with SMTP id d67mr21786328otb.347.1636860143912; Sat, 13 Nov 2021 19:22:23 -0800 (PST) Received: from kiwi.bld.corp.google.com (c-67-190-101-114.hsd1.co.comcast.net. [67.190.101.114]) by smtp.gmail.com with ESMTPSA id o2sm2147004otl.34.2021.11.13.19.22.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Nov 2021 19:22:23 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass , =?UTF-8?q?Marek=20Beh=C3=BAn?= , =?UTF-8?q?Pali=20Roh=C3=A1r?= Subject: [PATCH 10/10] timer: Add a migration message Date: Sat, 13 Nov 2021 20:22:01 -0700 Message-Id: <20211114032201.493122-11-sjg@chromium.org> X-Mailer: git-send-email 2.34.0.rc1.387.gb447b232ab-goog In-Reply-To: <20211114032201.493122-1-sjg@chromium.org> References: <20211114032201.493122-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.35 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.2 at phobos.denx.de X-Virus-Status: Clean Some boards still use the old timer mechanism. Set a deadline for them to update to driver model. This needs a bit of a strange rule to avoid an error on some boards. Signed-off-by: Simon Glass --- Makefile | 4 ++++ doc/develop/driver-model/migration.rst | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/Makefile b/Makefile index fb42276f9ec..84392c08f97 100644 --- a/Makefile +++ b/Makefile @@ -1123,6 +1123,10 @@ endif $(call deprecated,CONFIG_DM_ETH,Ethernet drivers,v2020.07,$(CONFIG_NET)) $(call deprecated,CONFIG_DM_I2C,I2C drivers,v2022.04,$(CONFIG_SYS_I2C_LEGACY)) $(call deprecated,CONFIG_DM_KEYBOARD,Keyboard drivers,v2022.10,$(CONFIG_KEYBOARD)) + @# CONFIG_SYS_TIMER_RATE has brackets in it for some boards which + @# confuses this rule. Use if() to send just a single character which + @# is enable to tell 'deprecated' that one of these symbols exists + $(call deprecated,CONFIG_TIMER,Timer drivers,v2022.10,$(if $(strip $(CONFIG_SYS_TIMER_RATE)$(CONFIG_SYS_TIMER_COUNTER)),x)) @# Check that this build does not use CONFIG options that we do not @# know about unless they are in Kconfig. All the existing CONFIG @# options are whitelisted, so new ones should not be added. diff --git a/doc/develop/driver-model/migration.rst b/doc/develop/driver-model/migration.rst index 3dbeea6537c..609818a35a8 100644 --- a/doc/develop/driver-model/migration.rst +++ b/doc/develop/driver-model/migration.rst @@ -106,3 +106,11 @@ Deadline: 2022.10 This is a legacy option which has been replaced by driver model. Maintainers should submit patches switching over to using CONFIG_DM_KEYBOARD and other base driver model options in time for inclusion in the 2022.10 release. + +CONFIG_SYS_TIMER_RATE and CONFIG_SYS_TIMER_COUNTER +-------------------------------------------------- +Deadline: 2022.10 + +These are legacy options which have been replaced by driver model. +Maintainers should submit patches switching over to using CONFIG_TIMER and +other base driver model options in time for inclusion in the 2022.10 release. -- 2.34.0.rc1.387.gb447b232ab-goog