Skip to contentSkip to conversation

dm: serial: Remove old drivers and add migration deadline

PATCH In review Simon Glass 2 participants 3 messages Jan 22, 2022 – Jan 29, 2022 Kbuild

lore
Share & tools
lore
#0 lore raw

cover dm: serial: Remove old drivers and add migration deadline

This series adds a migration deadline for converting serial drivers to driver model. Almost all drivers are already converted.

Those that remain are:

serial_ns16550.c which is really just a different ns16550.c usbtty.c

Simon Glass (1):
dm: serial: Add a migration deadline for serial

 Makefile                               | 1 +
 doc/develop/driver-model/migration.rst | 8 ++++++++
 2 files changed, 9 insertions(+)
Signature · 1 line
2.35.0.rc0.227.g00780c9af4-goog
#1 lore raw

PATCH 1/1 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.

---

 Makefile                               | 1 +
 doc/develop/driver-model/migration.rst | 8 ++++++++
 2 files changed, 9 insertions(+)
Makefile +1 -0
index b08bad48738..182c7eb4997 100644
@@ -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.
doc/develop/driver-model/migration.rst +8 -0
index 10f474e9cdf..5a604369258 100644
@@ -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.
Signature · 1 line
2.35.0.rc0.227.g00780c9af4-goog
#2 lore raw

Re: [PATCH 1/1] dm: serial: Add a migration deadline for serial

Quoted 6 lines · Simon Glass

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.

Applied to u-boot/master, thanks!

Signature · 1 line
Tom