Bin Meng | e1910d9 | 2019-07-18 00:33:50 -0700 | [diff] [blame^] | 1 | .. SPDX-License-Identifier: GPL-2.0+ |
| 2 | |
Simon Glass | 302466d | 2017-08-05 15:45:53 -0600 | [diff] [blame] | 3 | Migration Schedule |
Bin Meng | e1910d9 | 2019-07-18 00:33:50 -0700 | [diff] [blame^] | 4 | ================== |
Simon Glass | 302466d | 2017-08-05 15:45:53 -0600 | [diff] [blame] | 5 | |
| 6 | U-Boot has been migrating to a new driver model since its introduction in |
| 7 | 2014. This file describes the schedule for deprecation of pre-driver-model |
| 8 | features. |
| 9 | |
Tom Rini | 1cb5d5d | 2018-11-29 18:21:11 -0500 | [diff] [blame] | 10 | CONFIG_DM_MMC |
| 11 | ------------- |
| 12 | |
Bin Meng | e1910d9 | 2019-07-18 00:33:50 -0700 | [diff] [blame^] | 13 | * Status: In progress |
| 14 | * Deadline: 2019.04 |
Tom Rini | 1cb5d5d | 2018-11-29 18:21:11 -0500 | [diff] [blame] | 15 | |
| 16 | The subsystem itself has been converted and maintainers should submit patches |
| 17 | switching over to using CONFIG_DM_MMC and other base driver model options in |
| 18 | time for inclusion in the 2019.04 rerelease. |
Simon Glass | 302466d | 2017-08-05 15:45:53 -0600 | [diff] [blame] | 19 | |
Tom Rini | 109d8bf | 2018-11-29 18:21:12 -0500 | [diff] [blame] | 20 | CONFIG_DM_USB |
| 21 | ------------- |
| 22 | |
Bin Meng | e1910d9 | 2019-07-18 00:33:50 -0700 | [diff] [blame^] | 23 | * Status: In progress |
| 24 | * Deadline: 2019.07 |
Tom Rini | 109d8bf | 2018-11-29 18:21:12 -0500 | [diff] [blame] | 25 | |
| 26 | The subsystem itself has been converted along with many of the host controller |
| 27 | and maintainers should submit patches switching over to using CONFIG_DM_USB and |
| 28 | other base driver model options in time for inclusion in the 2019.07 rerelease. |
| 29 | |
Tom Rini | ea9d7c1 | 2018-11-29 18:21:13 -0500 | [diff] [blame] | 30 | CONFIG_SATA |
| 31 | ----------- |
| 32 | |
Bin Meng | e1910d9 | 2019-07-18 00:33:50 -0700 | [diff] [blame^] | 33 | * Status: In progress |
| 34 | * Deadline: 2019.07 |
Tom Rini | ea9d7c1 | 2018-11-29 18:21:13 -0500 | [diff] [blame] | 35 | |
| 36 | The subsystem itself has been converted along with many of the host controller |
| 37 | and maintainers should submit patches switching over to using CONFIG_AHCI and |
| 38 | other base driver model options in time for inclusion in the 2019.07 rerelease. |
| 39 | |
Simon Glass | 302466d | 2017-08-05 15:45:53 -0600 | [diff] [blame] | 40 | CONFIG_BLK |
| 41 | ---------- |
| 42 | |
Bin Meng | e1910d9 | 2019-07-18 00:33:50 -0700 | [diff] [blame^] | 43 | * Status: In progress |
| 44 | * Deadline: 2019.07 |
Simon Glass | 302466d | 2017-08-05 15:45:53 -0600 | [diff] [blame] | 45 | |
Tom Rini | 7cfc1a3 | 2018-11-29 18:21:14 -0500 | [diff] [blame] | 46 | In concert with maintainers migrating their block device usage to the |
| 47 | appropriate DM driver, CONFIG_BLK needs to be set as well. The final deadline |
| 48 | here coincides with the final deadline for migration of the various block |
Tom Rini | 91ff686 | 2018-12-05 08:23:38 -0500 | [diff] [blame] | 49 | subsystems. At this point we will be able to audit and correct the logic in |
| 50 | Kconfig around using CONFIG_PARTITIONS and CONFIG_HAVE_BLOCK_DEVICE and make |
| 51 | use of CONFIG_BLK / CONFIG_SPL_BLK as needed. |
Jagan Teki | c4e68d3 | 2018-03-14 18:58:03 +0530 | [diff] [blame] | 52 | |
Bin Meng | e1910d9 | 2019-07-18 00:33:50 -0700 | [diff] [blame^] | 53 | CONFIG_DM_SPI / CONFIG_DM_SPI_FLASH |
| 54 | ----------------------------------- |
Jagan Teki | c4e68d3 | 2018-03-14 18:58:03 +0530 | [diff] [blame] | 55 | |
| 56 | Board Maintainers should submit the patches for enabling DM_SPI and DM_SPI_FLASH |
| 57 | to move the migration with in the deadline. |
| 58 | |
Bin Meng | e1910d9 | 2019-07-18 00:33:50 -0700 | [diff] [blame^] | 59 | No dm conversion yet:: |
| 60 | |
Jagan Teki | c4e68d3 | 2018-03-14 18:58:03 +0530 | [diff] [blame] | 61 | drivers/spi/cf_spi.c |
| 62 | drivers/spi/fsl_espi.c |
| 63 | drivers/spi/lpc32xx_ssp.c |
Jagan Teki | c4e68d3 | 2018-03-14 18:58:03 +0530 | [diff] [blame] | 64 | drivers/spi/mxs_spi.c |
Jagan Teki | c4e68d3 | 2018-03-14 18:58:03 +0530 | [diff] [blame] | 65 | drivers/spi/sh_spi.c |
| 66 | drivers/spi/soft_spi_legacy.c |
| 67 | |
Bin Meng | e1910d9 | 2019-07-18 00:33:50 -0700 | [diff] [blame^] | 68 | * Status: In progress |
| 69 | * Deadline: 2019.04 |
Jagan Teki | 99a17dd | 2018-12-14 22:04:12 +0530 | [diff] [blame] | 70 | |
Bin Meng | e1910d9 | 2019-07-18 00:33:50 -0700 | [diff] [blame^] | 71 | Partially converted:: |
| 72 | |
Jagan Teki | c4e68d3 | 2018-03-14 18:58:03 +0530 | [diff] [blame] | 73 | drivers/spi/davinci_spi.c |
| 74 | drivers/spi/fsl_dspi.c |
Jagan Teki | c4e68d3 | 2018-03-14 18:58:03 +0530 | [diff] [blame] | 75 | drivers/spi/kirkwood_spi.c |
| 76 | drivers/spi/mxc_spi.c |
| 77 | drivers/spi/omap3_spi.c |
Jagan Teki | d1505ad | 2019-04-29 01:58:54 +0530 | [diff] [blame] | 78 | drivers/spi/sh_qspi.c |
Jagan Teki | c4e68d3 | 2018-03-14 18:58:03 +0530 | [diff] [blame] | 79 | |
Bin Meng | e1910d9 | 2019-07-18 00:33:50 -0700 | [diff] [blame^] | 80 | * Status: In progress |
| 81 | * Deadline: 2019.07 |
Simon Glass | 1ce689d | 2018-12-28 14:03:07 -0700 | [diff] [blame] | 82 | |
| 83 | |
| 84 | CONFIG_DM_PCI |
| 85 | ------------- |
| 86 | Deadline: 2019.07 |
| 87 | |
| 88 | The PCI subsystem has supported driver model since mid 2015. Maintainers should |
| 89 | submit patches switching over to using CONFIG_DM_PCI and other base driver |
| 90 | model options in time for inclusion in the 2019.07 release. |
| 91 | |
Simon Glass | 3e87ffc | 2018-12-28 14:03:08 -0700 | [diff] [blame] | 92 | |
| 93 | CONFIG_DM_VIDEO |
| 94 | --------------- |
| 95 | Deadline: 2019.07 |
| 96 | |
| 97 | The video subsystem has supported driver model since early 2016. Maintainers |
| 98 | should submit patches switching over to using CONFIG_DM_VIDEO and other base |
| 99 | driver model options in time for inclusion in the 2019.07 release. |