Skip to contentSkip to conversation

doc: dm: Fix typo

PATCH In review Alexander Dahl 3 participants 6 messages Sep 13, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: dm: Fix typo

That's most probably a typo, because driver model design documents seem to be from 2012 and there is no 2010.01 release.

Fixes 282ed24fb3ca ("dm: MIGRATION: Add migration plan for CONFIG_DM")
---
 doc/develop/driver-model/migration.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
doc/develop/driver-model/migration.rst +1 -1
index 5a60436925..cee38a56d0 100644
@@ -13,7 +13,7 @@ CONFIG_DM
 * Status: In progress
 * Deadline: 2020.01
 
-Starting with the 2010.01 release CONFIG_DM will be enabled for all boards.
+Starting with the 2020.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.
 

base-commit: 0ba282e0eeaf29fd78f021fd2f95f7bc3109868d

Signature · 1 line
2.30.2
#1 lore raw
Quoted 14 lines · Alexander Dahl

That's most probably a typo, because driver model design documents seem to be from 2012 and there is no 2010.01 release.

Fixes 282ed24fb3ca ("dm: MIGRATION: Add migration plan for CONFIG_DM")
---
  doc/develop/driver-model/migration.rst | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
doc/develop/driver-model/migration.rst +0 -0
index 5a60436925..cee38a56d0 100644

doc/develop/driver-model/migration.rst CONFIG_DM · line 16

Quoted 5 lines
doc/develop/driver-model/migration.rst +1 -1
@@ -13,7 +13,7 @@ CONFIG_DM
  * Status: In progress
  * Deadline: 2020.01
 
-Starting with the 2010.01 release CONFIG_DM will be enabled for all boards.
+Starting with the 2020.01 release CONFIG_DM will be enabled for all boards.

Thanks for pointing at the typo.

This migration is completed. Should we remove the entry from the list?

Best regards

Heinrich

Quoted 5 lines
doc/develop/driver-model/migration.rst +0 -0
  This does not concern CONFIG_DM_SPL and CONFIG_DM_TPL. The conversion date for
  these configuration items still needs to be defined.
 

base-commit: 0ba282e0eeaf29fd78f021fd2f95f7bc3109868d

#2 lore raw
Quoted 18 lines · Heinrich Schuchardt
Quoted 17 lines · Alexander Dahl

That's most probably a typo, because driver model design documents seem to be from 2012 and there is no 2010.01 release.

Fixes 282ed24fb3ca ("dm: MIGRATION: Add migration plan for CONFIG_DM")
---
  doc/develop/driver-model/migration.rst | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
doc/develop/driver-model/migration.rst +0 -0
index 5a60436925..cee38a56d0 100644
@@ -13,7 +13,7 @@ CONFIG_DM
  * Status: In progress
  * Deadline: 2020.01
 
Quoted 6 lines

doc/develop/driver-model/migration.rst CONFIG_DM · line 16

Quoted 2 lines
doc/develop/driver-model/migration.rst +1 -1
-Starting with the 2010.01 release CONFIG_DM will be enabled for all boards.
+Starting with the 2020.01 release CONFIG_DM will be enabled for all boards.

Thanks for pointing at the typo.

This migration is completed. Should we remove the entry from the list?

Should do a world build where the Makefile check is fatal first, and go from there.

Signature · 1 line
Tom
#3 lore raw
Quoted 24 lines · Tom Rini
Quoted 23 lines · Heinrich Schuchardt
Quoted 14 lines · Alexander Dahl

That's most probably a typo, because driver model design documents seem to be from 2012 and there is no 2010.01 release.

Fixes 282ed24fb3ca ("dm: MIGRATION: Add migration plan for CONFIG_DM")
---
  doc/develop/driver-model/migration.rst | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
doc/develop/driver-model/migration.rst +0 -0
index 5a60436925..cee38a56d0 100644

doc/develop/driver-model/migration.rst CONFIG_DM · line 16

Quoted 5 lines
doc/develop/driver-model/migration.rst +1 -1
@@ -13,7 +13,7 @@ CONFIG_DM
  * Status: In progress
  * Deadline: 2020.01
 
-Starting with the 2010.01 release CONFIG_DM will be enabled for all boards.
+Starting with the 2020.01 release CONFIG_DM will be enabled for all boards.

Thanks for pointing at the typo.

Quoted 4 lines
Quoted 1 line

This migration is completed. Should we remove the entry from the list?

Should do a world build where the Makefile check is fatal first, and go from there.

OK, so I set up that kind of build on current master and it passes:
https://source.denx.de/u-boot/u-boot/-/pipelines/13433

Please do a patch to remove this section from doc/develop/driver-model/migration.rst and drop the test in the Makefile for CONFIG_DM being set as well. Thanks!

Signature · 1 line
Tom
#4 lore raw
Quoted 30 lines · Tom Rini
Quoted 24 lines · Tom Rini
Quoted 23 lines · Heinrich Schuchardt
Quoted 14 lines · Alexander Dahl

That's most probably a typo, because driver model design documents seem to be from 2012 and there is no 2010.01 release.

Fixes 282ed24fb3ca ("dm: MIGRATION: Add migration plan for CONFIG_DM")
---
   doc/develop/driver-model/migration.rst | 2 +-
   1 file changed, 1 insertion(+), 1 deletion(-)
doc/develop/driver-model/migration.rst +0 -0
index 5a60436925..cee38a56d0 100644

doc/develop/driver-model/migration.rst CONFIG_DM · line 16

Quoted 5 lines
doc/develop/driver-model/migration.rst +1 -1
@@ -13,7 +13,7 @@ CONFIG_DM
   * Status: In progress
   * Deadline: 2020.01
 
-Starting with the 2010.01 release CONFIG_DM will be enabled for all boards.
+Starting with the 2020.01 release CONFIG_DM will be enabled for all boards.

Thanks for pointing at the typo.

Quoted 4 lines
Quoted 1 line

This migration is completed. Should we remove the entry from the list?

Should do a world build where the Makefile check is fatal first, and go from there.

Quoted 7 lines

OK, so I set up that kind of build on current master and it passes:
https://source.denx.de/u-boot/u-boot/-/pipelines/13433

Please do a patch to remove this section from doc/develop/driver-model/migration.rst and drop the test in the Makefile for CONFIG_DM being set as well. Thanks!

Should we change CONFIG_DM to be non-editable:

config DM
- bool "Enable Driver Model"
- help

-         This config option enables Driver Model. This brings in the core
-         support, including scanning of platform data on start-up. If
-         CONFIG_OF_CONTROL is enabled, the device tree will be scanned also
-         when available.

+ bool
+ default y

And in the next step remove the symbol completely?

Best regards

Heinrich

#5 lore raw
Quoted 51 lines · Heinrich Schuchardt
Quoted 30 lines · Tom Rini
Quoted 24 lines · Tom Rini
Quoted 23 lines · Heinrich Schuchardt
Quoted 14 lines · Alexander Dahl

That's most probably a typo, because driver model design documents seem to be from 2012 and there is no 2010.01 release.

Fixes 282ed24fb3ca ("dm: MIGRATION: Add migration plan for CONFIG_DM")
---
   doc/develop/driver-model/migration.rst | 2 +-
   1 file changed, 1 insertion(+), 1 deletion(-)
doc/develop/driver-model/migration.rst +0 -0
index 5a60436925..cee38a56d0 100644

doc/develop/driver-model/migration.rst CONFIG_DM · line 16

Quoted 5 lines
doc/develop/driver-model/migration.rst +1 -1
@@ -13,7 +13,7 @@ CONFIG_DM
   * Status: In progress
   * Deadline: 2020.01
 
-Starting with the 2010.01 release CONFIG_DM will be enabled for all boards.
+Starting with the 2020.01 release CONFIG_DM will be enabled for all boards.

Thanks for pointing at the typo.

Quoted 4 lines
Quoted 1 line

This migration is completed. Should we remove the entry from the list?

Should do a world build where the Makefile check is fatal first, and go from there.

Quoted 7 lines

OK, so I set up that kind of build on current master and it passes:
https://source.denx.de/u-boot/u-boot/-/pipelines/13433

Please do a patch to remove this section from doc/develop/driver-model/migration.rst and drop the test in the Makefile for CONFIG_DM being set as well. Thanks!

Should we change CONFIG_DM to be non-editable:

config DM

(quoted diff) +2 -6
-       bool "Enable Driver Model"
-       help
-         This config option enables Driver Model. This brings in the core
-         support, including scanning of platform data on start-up. If
-         CONFIG_OF_CONTROL is enabled, the device tree will be scanned also
-         when available.
+       bool
+       default y
Quoted 1 line

And in the next step remove the symbol completely?

I wouldn't delete the help, but yes, it should also be def_bool y.

Signature · 1 line
Tom