2019-07-18 07:33:50 +00:00
|
|
|
.. SPDX-License-Identifier: GPL-2.0+
|
|
|
|
|
2017-08-05 21:45:53 +00:00
|
|
|
Migration Schedule
|
2019-07-18 07:33:50 +00:00
|
|
|
==================
|
2017-08-05 21:45:53 +00:00
|
|
|
|
|
|
|
U-Boot has been migrating to a new driver model since its introduction in
|
|
|
|
2014. This file describes the schedule for deprecation of pre-driver-model
|
|
|
|
features.
|
|
|
|
|
2019-09-16 16:41:42 +00:00
|
|
|
CONFIG_DM
|
|
|
|
---------
|
|
|
|
|
|
|
|
* Status: In progress
|
|
|
|
* Deadline: 2020.01
|
|
|
|
|
|
|
|
Starting with the 2010.01 release CONFIG_DM will be enabled for all boards.
|
|
|
|
This does not concern CONFIG_DM_SPL and CONFIG_DM_TPL. The conversion date for
|
|
|
|
these configuration items still needs to be defined.
|
|
|
|
|
2018-11-29 23:21:11 +00:00
|
|
|
CONFIG_DM_MMC
|
|
|
|
-------------
|
|
|
|
|
2019-07-18 07:33:50 +00:00
|
|
|
* Status: In progress
|
|
|
|
* Deadline: 2019.04
|
2018-11-29 23:21:11 +00:00
|
|
|
|
|
|
|
The subsystem itself has been converted and maintainers should submit patches
|
|
|
|
switching over to using CONFIG_DM_MMC and other base driver model options in
|
|
|
|
time for inclusion in the 2019.04 rerelease.
|
2017-08-05 21:45:53 +00:00
|
|
|
|
2018-11-29 23:21:12 +00:00
|
|
|
CONFIG_DM_USB
|
|
|
|
-------------
|
|
|
|
|
2019-07-18 07:33:50 +00:00
|
|
|
* Status: In progress
|
|
|
|
* Deadline: 2019.07
|
2018-11-29 23:21:12 +00:00
|
|
|
|
|
|
|
The subsystem itself has been converted along with many of the host controller
|
|
|
|
and maintainers should submit patches switching over to using CONFIG_DM_USB and
|
|
|
|
other base driver model options in time for inclusion in the 2019.07 rerelease.
|
|
|
|
|
2018-11-29 23:21:13 +00:00
|
|
|
CONFIG_SATA
|
|
|
|
-----------
|
|
|
|
|
2019-07-18 07:33:50 +00:00
|
|
|
* Status: In progress
|
|
|
|
* Deadline: 2019.07
|
2018-11-29 23:21:13 +00:00
|
|
|
|
|
|
|
The subsystem itself has been converted along with many of the host controller
|
|
|
|
and maintainers should submit patches switching over to using CONFIG_AHCI and
|
|
|
|
other base driver model options in time for inclusion in the 2019.07 rerelease.
|
|
|
|
|
2017-08-05 21:45:53 +00:00
|
|
|
CONFIG_BLK
|
|
|
|
----------
|
|
|
|
|
2019-07-18 07:33:50 +00:00
|
|
|
* Status: In progress
|
|
|
|
* Deadline: 2019.07
|
2017-08-05 21:45:53 +00:00
|
|
|
|
2018-11-29 23:21:14 +00:00
|
|
|
In concert with maintainers migrating their block device usage to the
|
|
|
|
appropriate DM driver, CONFIG_BLK needs to be set as well. The final deadline
|
|
|
|
here coincides with the final deadline for migration of the various block
|
2018-12-05 13:23:38 +00:00
|
|
|
subsystems. At this point we will be able to audit and correct the logic in
|
|
|
|
Kconfig around using CONFIG_PARTITIONS and CONFIG_HAVE_BLOCK_DEVICE and make
|
|
|
|
use of CONFIG_BLK / CONFIG_SPL_BLK as needed.
|
2018-03-14 13:28:03 +00:00
|
|
|
|
2019-07-18 07:33:50 +00:00
|
|
|
CONFIG_DM_SPI / CONFIG_DM_SPI_FLASH
|
|
|
|
-----------------------------------
|
2018-03-14 13:28:03 +00:00
|
|
|
|
|
|
|
Board Maintainers should submit the patches for enabling DM_SPI and DM_SPI_FLASH
|
|
|
|
to move the migration with in the deadline.
|
|
|
|
|
2019-07-18 07:33:50 +00:00
|
|
|
Partially converted::
|
2018-12-14 16:34:12 +00:00
|
|
|
|
2020-07-09 15:53:58 +00:00
|
|
|
drivers/spi/fsl_espi.c
|
2018-03-14 13:28:03 +00:00
|
|
|
drivers/spi/mxc_spi.c
|
2019-04-28 20:28:54 +00:00
|
|
|
drivers/spi/sh_qspi.c
|
2018-03-14 13:28:03 +00:00
|
|
|
|
2019-07-18 07:33:50 +00:00
|
|
|
* Status: In progress
|
|
|
|
* Deadline: 2019.07
|
2018-12-28 21:03:07 +00:00
|
|
|
|
2018-12-28 21:03:08 +00:00
|
|
|
CONFIG_DM_VIDEO
|
|
|
|
---------------
|
|
|
|
Deadline: 2019.07
|
|
|
|
|
|
|
|
The video subsystem has supported driver model since early 2016. Maintainers
|
|
|
|
should submit patches switching over to using CONFIG_DM_VIDEO and other base
|
|
|
|
driver model options in time for inclusion in the 2019.07 release.
|
2019-08-09 22:10:37 +00:00
|
|
|
|
|
|
|
CONFIG_DM_ETH
|
|
|
|
-------------
|
|
|
|
Deadline: 2020.07
|
|
|
|
|
|
|
|
The network subsystem has supported the driver model since early 2015.
|
|
|
|
Maintainers should submit patches switching over to using CONFIG_DM_ETH and
|
|
|
|
other base driver model options in time for inclusion in the 2020.07 release.
|
2021-03-25 08:24:44 +00:00
|
|
|
|
|
|
|
CONFIG_DM_I2C
|
|
|
|
-------------
|
|
|
|
Deadline: 2021.10
|
|
|
|
|
|
|
|
The I2C subsystem has supported the driver model since early 2015.
|
|
|
|
Maintainers should submit patches switching over to using CONFIG_DM_I2C and
|
|
|
|
other base driver model options in time for inclusion in the 2021.10 release.
|
2021-11-24 16:26:45 +00:00
|
|
|
|
|
|
|
CONFIG_KEYBOARD
|
|
|
|
---------------
|
|
|
|
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.
|
2021-12-18 18:27:29 +00:00
|
|
|
|
|
|
|
CONFIG_SYS_TIMER_RATE and CONFIG_SYS_TIMER_COUNTER
|
|
|
|
--------------------------------------------------
|
|
|
|
Deadline: 2023.01
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
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
|
2022-01-22 12:03:50 +00:00
|
|
|
|
|
|
|
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.
|