Merge git://git.denx.de/u-boot-riscv
[oweals/u-boot.git] / doc / driver-model / MIGRATION.txt
1 Migration Schedule
2 ====================
3
4 U-Boot has been migrating to a new driver model since its introduction in
5 2014. This file describes the schedule for deprecation of pre-driver-model
6 features.
7
8 CONFIG_DM_MMC
9 -------------
10
11 Status: In progress
12 Deadline: 2019.04
13
14 The subsystem itself has been converted and maintainers should submit patches
15 switching over to using CONFIG_DM_MMC and other base driver model options in
16 time for inclusion in the 2019.04 rerelease.
17
18 CONFIG_DM_USB
19 -------------
20
21 Status: In progress
22 Deadline: 2019.07
23
24 The subsystem itself has been converted along with many of the host controller
25 and maintainers should submit patches switching over to using CONFIG_DM_USB and
26 other base driver model options in time for inclusion in the 2019.07 rerelease.
27
28 CONFIG_SATA
29 -----------
30
31 Status: In progress
32 Deadline: 2019.07
33
34 The subsystem itself has been converted along with many of the host controller
35 and maintainers should submit patches switching over to using CONFIG_AHCI and
36 other base driver model options in time for inclusion in the 2019.07 rerelease.
37
38 CONFIG_BLK
39 ----------
40
41 Status: In progress
42 Deadline: 2019.07
43
44 In concert with maintainers migrating their block device usage to the
45 appropriate DM driver, CONFIG_BLK needs to be set as well.  The final deadline
46 here coincides with the final deadline for migration of the various block
47 subsystems.  At this point we will be able to audit and correct the logic in
48 Kconfig around using CONFIG_PARTITIONS and CONFIG_HAVE_BLOCK_DEVICE and make
49 use of CONFIG_BLK / CONFIG_SPL_BLK as needed.
50
51 CONFIG_DM_SPI
52 CONFIG_DM_SPI_FLASH
53 -------------------
54
55 Board Maintainers should submit the patches for enabling DM_SPI and DM_SPI_FLASH
56 to move the migration with in the deadline.
57
58 No dm conversion yet:
59         drivers/spi/cf_spi.c
60         drivers/spi/fsl_espi.c
61         drivers/spi/lpc32xx_ssp.c
62         drivers/spi/mpc8xx_spi.c
63         drivers/spi/mpc8xxx_spi.c
64         drivers/spi/mxs_spi.c
65         drivers/spi/sh_qspi.c
66         drivers/spi/sh_spi.c
67         drivers/spi/soft_spi_legacy.c
68
69         Status: In progress
70         Deadline: 2019.04
71
72 Partially converted:
73         drivers/spi/atcspi200_spi.c
74         drivers/spi/davinci_spi.c
75         drivers/spi/fsl_dspi.c
76         drivers/spi/fsl_qspi.c
77         drivers/spi/kirkwood_spi.c
78         drivers/spi/mxc_spi.c
79         drivers/spi/omap3_spi.c
80         drivers/spi/ti_qspi.c
81
82         Status: In progress
83         Deadline: 2019.07
84
85 --
86 Jagan Teki <jagan@openedev.com>
87 12/24/2018
88 03/14/2018
89
90
91 CONFIG_DM_PCI
92 -------------
93 Deadline: 2019.07
94
95 The PCI subsystem has supported driver model since mid 2015. Maintainers should
96 submit patches switching over to using CONFIG_DM_PCI and other base driver
97 model options in time for inclusion in the 2019.07 release.
98
99
100 CONFIG_DM_VIDEO
101 ---------------
102 Deadline: 2019.07
103
104 The video subsystem has supported driver model since early 2016. Maintainers
105 should submit patches switching over to using CONFIG_DM_VIDEO and other base
106 driver model options in time for inclusion in the 2019.07 release.