-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Move fixups definitions in .fixup files under dts/ #5707
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
Comments
@erwango where do the new dts.fixup files go? |
Yes, this is under arch, you're right (editing the issue header). |
This moves and merges the existing board-level dts.fixup files for STM32 F0 SOC family into one soc family level dts.fixup file. No new fixup blocks have been added, only fixup blocks, that were part of at least one board level dts.fixup file are present in soc family level dts.fixup file. Contributes to #5707 Signed-off-by: Daniel Wagenknecht <[email protected]>
This moves and merges the existing board-level dts.fixup files for STM32 F4 SOC family into one soc family level dts.fixup file. No new fixup blocks have been added, only fixup blocks, that were part of at least one board level dts.fixup file are present in soc family level dts.fixup file. 96b_carbon boards fixup block for Bluetooth HCI device via SPI stays in board level dts.fixup file, because it is board specific. Contributes to #5707 Signed-off-by: Daniel Wagenknecht <[email protected]>
This moves and merges the existing board-level dts.fixup files for STM32 F1 SOC family into one soc family level dts.fixup file. No new fixup blocks have been added, only fixup blocks, that were part of at least one board level dts.fixup file are present in soc family level dts.fixup file. Contributes to #5707 Signed-off-by: Daniel Wagenknecht <[email protected]>
This moves and merges the existing board-level dts.fixup files for STM32 F3 SOC family into one soc family level dts.fixup file. No new fixup blocks have been added, only fixup blocks, that were part of at least one board level dts.fixup file are present in soc family level dts.fixup file. Contributes to #5707 Signed-off-by: Daniel Wagenknecht <[email protected]>
This moves and merges the existing board-level dts.fixup files for STM32 L4 SOC family into one soc family level dts.fixup file. No new fixup blocks have been added, only fixup blocks, that were part of at least one board level dts.fixup file are present in soc family level dts.fixup file. disco_l475_iot1 boards fixup blocks for devices connected via SPI and I2C stay in board level dts.fixup file, because they are board specific. Contributes to #5707 Signed-off-by: Daniel Wagenknecht <[email protected]>
fixed by #5859 |
@erwango does this only effect STM32 (wich is fixed now), or shouldn't it stay open for other SOC Families? |
@dwagenk : You're right, this was a generic ticket, let me re-open it. |
Moved NXP in PR #6297 |
Looking for simple initial stuff (and to get a hang of DTS use in Zephyr) I've come across this one and looks like at least none of the ARC and x86 boards have Also, @galak mentioned that NXP is done too in #6297 (just a comment above this one) - should it be ticked off as well? Finally, here's the current list of fixup files under
|
@erwango can you review this. |
Fixup files mentionned by @alext-mkrs are actually board related. They are linked to SPI or I2C devices (sensors and all) which definitions are linked to actual board schematics (instance of I2C/SPI buses). Hence they can't be moved to I've performed a check on initial list in this ticket and crossed some cases.
|
Only MPS board remains. |
extract_dts_includes.dts script allows to gather and merge .fixup files accross the tree.
This allows to factorize most of the definitions in boards///dts.fixup in new arch//.fixup files.
This way, one would not need to bother with dts.fixup when porting new board
The text was updated successfully, but these errors were encountered: