From 9053374648f47311a55819e45a52e69a184b6182 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 22 Jan 2022 05:03:50 -0700 Subject: [PATCH] dm: serial: Add a migration deadline for serial 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 --- Makefile | 1 + doc/develop/driver-model/migration.rst | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/Makefile b/Makefile index 10879f1f9c..212124522e 100644 --- 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. diff --git a/doc/develop/driver-model/migration.rst b/doc/develop/driver-model/migration.rst index 10f474e9cd..5a60436925 100644 --- a/doc/develop/driver-model/migration.rst +++ b/doc/develop/driver-model/migration.rst @@ -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. -- 2.39.5