summaryrefslogtreecommitdiff
path: root/doc/driver-model/MIGRATION.txt
blob: 957529202b5ea63b6eb54a73a0e27944f270e553 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
Migration Schedule
====================

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.

CONFIG_DM_MMC
-------------

Status: In progress
Deadline: 2019.04

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.

CONFIG_DM_USB
-------------

Status: In progress
Deadline: 2019.07

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.

CONFIG_SATA
-----------

Status: In progress
Deadline: 2019.07

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.

CONFIG_BLK
----------

Status: In progress
Deadline: 2019.07

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
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.

CONFIG_DM_SPI
CONFIG_DM_SPI_FLASH
-------------------

Board Maintainers should submit the patches for enabling DM_SPI and DM_SPI_FLASH
to move the migration with in the deadline.

No dm conversion yet:
	drivers/spi/cf_spi.c
	drivers/spi/fsl_espi.c
	drivers/spi/lpc32xx_ssp.c
	drivers/spi/mpc8xx_spi.c
	drivers/spi/mpc8xxx_spi.c
	drivers/spi/mxs_spi.c
	drivers/spi/sh_qspi.c
	drivers/spi/sh_spi.c
	drivers/spi/soft_spi_legacy.c

	Status: In progress
	Deadline: 2019.04

Partially converted:
	drivers/spi/atcspi200_spi.c
	drivers/spi/davinci_spi.c
	drivers/spi/fsl_dspi.c
	drivers/spi/fsl_qspi.c
	drivers/spi/kirkwood_spi.c
	drivers/spi/mxc_spi.c
	drivers/spi/omap3_spi.c
	drivers/spi/ti_qspi.c

	Status: In progress
	Deadline: 2019.07

--
Jagan Teki <jagan@openedev.com>
12/24/2018
03/14/2018


CONFIG_DM_PCI
-------------
Deadline: 2019.07

The PCI subsystem has supported driver model since mid 2015. Maintainers should
submit patches switching over to using CONFIG_DM_PCI and other base driver
model options in time for inclusion in the 2019.07 release.


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.