dm: MIGRATION: Update migration plan for SPI/SPI_FLASH
PATCH 1/1 dm: MIGRATION: Update migration plan for SPI/SPI_FLASH
- v2019.04 for no dm conversion drivers
- v2019.07 for partially converted drivers.
Note: there were many updates on this deadline, so better not update this again.
Signed-off-by Jagan Teki <[email protected]>
--- Makefile | 9 +++++++++ doc/driver-model/MIGRATION.txt | 10 +++++++--- 2 files changed, 16 insertions(+), 3 deletions(-)
Makefile +9 -0
@@ -954,6 +954,15 @@ ifeq ($(CONFIG_OF_EMBED),y) @echo "CONFIG_OF_SEPARATE for boards in mainline." @echo "See doc/README.fdt-control for more info." @echo "====================================================" +endif +ifneq ($(CONFIG_DM_SPI)$(CONFIG_DM_SPI_FLASH)$(CONFIG_OF_CONTROL),yyy) + @echo >&2 "===================== WARNING ======================" + @echo >&2 "This board does not use CONFIG_DM_SPI and CONFIG_DM_SPI_FLASH." + @echo >&2 "Please update the board before v2019.04 for no dm convertion" + @echo >&2 "and v2019.07 for partially dm converted drivers." + @echo >&2 "Failure to update can lead to driver/board removal" + @echo >&2 "See doc/driver-model/MIGRATION.txt for more info." + @echo >&2 "====================================================" endif @# Check that this build does not use CONFIG options that we do not @# know about unless they are in Kconfig. All the existing CONFIG
doc/driver-model/MIGRATION.txt +7 -3
@@ -55,9 +55,6 @@ 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. -Status: In progress -Deadline: 2018.09 - No dm conversion yet: drivers/spi/cf_spi.c drivers/spi/fsl_espi.c
@@ -69,6 +66,9 @@ No dm conversion yet: 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
@@ -79,6 +79,10 @@ Partially converted: drivers/spi/omap3_spi.c drivers/spi/ti_qspi.c + Status: In progress + Deadline: 2019.07 + -- Jagan Teki <[email protected]> +12/14/2018 03/14/2018
Signature · 1 line
2.18.0.321.gffc6fa0e3
PATCH 1/1 dm: MIGRATION: Update migration plan for SPI/SPI_FLASH
Quoted 4 lines · Jagan Teki
- v2019.04 for no dm conversion drivers
- v2019.07 for partially converted drivers.
Quoted 8 lines
Note: there were many updates on this deadline, so better not update this again.
Signed-off-by Jagan Teki <[email protected]>--- Makefile | 9 +++++++++ doc/driver-model/MIGRATION.txt | 10 +++++++--- 2 files changed, 16 insertions(+), 3 deletions(-)
What happens if the board doesn't use SPI at all? I worry that this will introduce warnings for that case.
- Simon
Quoted 59 lines
Makefile +9
-0@@ -954,6 +954,15 @@ ifeq ($(CONFIG_OF_EMBED),y) @echo "CONFIG_OF_SEPARATE for boards in mainline." @echo "See doc/README.fdt-control for more info." @echo "====================================================" +endif +ifneq ($(CONFIG_DM_SPI)$(CONFIG_DM_SPI_FLASH)$(CONFIG_OF_CONTROL),yyy) + @echo >&2 "===================== WARNING ======================" + @echo >&2 "This board does not use CONFIG_DM_SPI and CONFIG_DM_SPI_FLASH." + @echo >&2 "Please update the board before v2019.04 for no dm convertion" + @echo >&2 "and v2019.07 for partially dm converted drivers." + @echo >&2 "Failure to update can lead to driver/board removal" + @echo >&2 "See doc/driver-model/MIGRATION.txt for more info." + @echo >&2 "====================================================" endif @# Check that this build does not use CONFIG options that we do not @# know about unless they are in Kconfig. All the existing CONFIGdoc/driver-model/MIGRATION.txt +7
-4@@ -55,9 +55,6 @@ 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. -Status: In progress -Deadline: 2018.09 - No dm conversion yet: drivers/spi/cf_spi.c drivers/spi/fsl_espi.c@@ -69,6 +66,9 @@ No dm conversion yet: 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@@ -79,6 +79,10 @@ Partially converted: drivers/spi/omap3_spi.c drivers/spi/ti_qspi.c + Status: In progress + Deadline: 2019.07 + -- Jagan Teki <[email protected]> +12/14/2018 03/14/2018 --2.18.0.321.gffc6fa0e3