dm: serial: Add a migration deadline for serial
authorSimon Glass <sjg@chromium.org>
Sat, 22 Jan 2022 12:03:50 +0000 (05:03 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 28 Jan 2022 22:58:41 +0000 (17:58 -0500)
This probably should have been done a while back since it is a core
system. Very few boards remain to be migrated.

Addd a migration deadline for a year out.

Signed-off-by: Simon Glass <sjg@chromium.org>
Makefile
doc/develop/driver-model/migration.rst

index 10879f1..2121245 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1133,6 +1133,7 @@ endif
        @# 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,v2023.01,$(if $(strip $(CONFIG_SYS_TIMER_RATE)$(CONFIG_SYS_TIMER_COUNTER)),x))
+       $(call deprecated,CONFIG_DM_SERIAL,Serial drivers,v2023.04,$(CONFIG_SERIAL))
        @# 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.
index 10f474e..5a60436 100644 (file)
@@ -118,3 +118,11 @@ other base driver model options in time for inclusion in the 2022.10 release.
 There is only one method to implement, unless you want to support bootstage,
 in which case you need an early timer also. For example drivers, see
 sandbox_timer.c and rockchip_timer.c
+
+CONFIG_DM_SERIAL
+----------------
+Deadline: 2023.04
+
+The serial subsystem has supported the driver model since late 2014.
+Maintainers should submit patches switching over to using CONFIG_DM_SERIAL and
+other base driver model options in time for inclusion in the 2022.10 release.