-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Device Tree support overhaul #8499
Comments
@erwango : I have replaced the codegen PR with your prototype PR under "Code generation for instancing of devices". Is the prototype PR supposed to be a part of this effort? If so it should take into account the repercussions of running device tree before Kconfig. Or else we risk having to rewrite the whole thing again. |
From what we discussed last week, one of the (/the) first step was to demonstrate the feasibility of using codegen to provide and acceptable solution for driver instantiation (from zephyr user point of view, the end user API). This is what #8561 aims at doing. Doing so, there will be some additional efforts, but at least a plan is there and I hope showing something concrete will help people agreeing this is a desirable thing to have and efforts should be done to achieve the plan. (Rather than endless debates that happened so far in the various PR/issues) |
Comment about: " Code generation for instancing of devices ": Current PR for this point is #8561. |
Sequence of merges for " Code generation for instancing of devices ":
|
edts work handled by PR #17660 |
Is anyone still advocating for this? I remain unconvinced that we need it and am opposed to the introduction of yet another domain specific language that this would imply for complexity reasons.
If nobody is still advocating for codegen and the above check box can be fixed, perhaps this can be moved to a separate enhancement and this issue can at last be closed. It isn't doing its job as an umbrella issue since we're not actively using it, and all the other items are checked. |
@mbolivar-nordic Fine with me on both points! |
Not really, but I do recall that there was some talk about whether pinctrl could effectively be implemented without code generation. Aside from that, the rest of the usecases (mainly instantiation of the device structures) I think are not justification enough to think about introducing this infrastructure. |
@carlescufi Since it is actually available at least on some targets (such as STM32 and Atmel) today, I think we can say this is doable. |
Indeed, and the goal now is to extend that support to all SoCs in a common manner, thanks for commenting on this @erwango, this just confirms what I already thought. |
This is an umbrella issue for a series of changes to the way Zephyr uses Device Tree.
The following items need to be addressed in order to consider this issue closed:
ELCE meeting path forward issue: #10821
menuconfig
The text was updated successfully, but these errors were encountered: