linux-v5.15.y: fix issues, warnings, dups, etc. and remove unused options#66
Merged
MrCry0 merged 23 commits intofoundriesio:linux-v5.15.yfrom Sep 27, 2022
Merged
Conversation
ricardosalveti
approved these changes
Aug 29, 2022
Member
ricardosalveti
left a comment
There was a problem hiding this comment.
LGTM, thanks for doing this pr, I also noted a lot of warnings when building locally.
Did you boot test to see if the board is still working as expected? Just because sometimes disabling an option can cause bad side effects.
Contributor
Author
|
@ricardosalveti Not yet, I converted it to draft until the booting test is complete. |
Major changes: - remove DPAA* options (not supported in iMX8M platform) - enable PINCTRL (important option for all pin control domain) Signed-off-by: Oleksandr Suvorov <[email protected]>
Major changes: - remove DPAA* options (supported in LS/LX platforms only) - enable PINCTRL (important option for all pin control domain) Signed-off-by: Oleksandr Suvorov <[email protected]>
Major changes: - remove DPAA* options (supported in LS/LX platforms only) - enable PINCTRL (important option for all pin control domain) Signed-off-by: Oleksandr Suvorov <[email protected]>
DPAA* options are supported in LS/LX platforms only. Remove them. Signed-off-by: Oleksandr Suvorov <[email protected]>
Include cfg/non-x86.cfg file to explicitly disable options not applicable for non-x86/ACPI platforms. Signed-off-by: Oleksandr Suvorov <[email protected]>
For iMX-series only i.MX8MP is supported by a Synopsys DDR Memory Controller to control DDR frequency. Whereas i.MX8MM/MN/MQ are supported by i.MX8M DDRC DEVFREQ driver. Tune configs accordingly. Signed-off-by: Oleksandr Suvorov <[email protected]>
Tune configs to fix all conflicts and avoid build warnings. Signed-off-by: Oleksandr Suvorov <[email protected]>
All i.MX8M family uses reset-imx7 driver to manage reset control of PCIEPHY. Enable RESET_IMX7 for imx8mm boards. Fixes: e0d1e82 ("bsp: imx: add imx8mmevk config") Signed-off-by: Oleksandr Suvorov <[email protected]>
Removed by accident during the 5.10 warning cleanup. Signed-off-by: Ricardo Salveti <[email protected]> Signed-off-by: Oleksandr Suvorov <[email protected]>
SND_SOC_FSL_ASOC_CARD may be built as a module for reference BSP. Doing it makes kernel smaller and fixes building warnings. Signed-off-by: Oleksandr Suvorov <[email protected]>
EDAC_SYNOPSYS option which enables fsl,imx8mp-ddrc driver requires EDAC and RAS options enabled. Do it. Signed-off-by: Oleksandr Suvorov <[email protected]>
Include cfg/non-x86.cfg file to explicitly disable options not applicable for non-x86/ACPI platforms. Signed-off-by: Oleksandr Suvorov <[email protected]>
The option V4L2 is built as a module so that all related options should be built as module too. Signed-off-by: Oleksandr Suvorov <[email protected]>
Enable UIO to add support of user-land drivers. Signed-off-by: Oleksandr Suvorov <[email protected]>
Enable FLEXCAN, SOF and ADC drivers properly and fix building config warnings. Signed-off-by: Oleksandr Suvorov <[email protected]>
Enable FLEXCAN, SOF and ADC drivers properly and fix building config warnings. Signed-off-by: Oleksandr Suvorov <[email protected]>
- pca95xx mux / regulator probe - STM GbE probe - IMX DSP remote proc driver - HDMI probe Signed-off-by: Michael Scott <[email protected]> Signed-off-by: Oleksandr Suvorov <[email protected]>
Some options are duplicated in configuration files. Remove duplications. Signed-off-by: Oleksandr Suvorov <[email protected]>
4920b41 to
6830535
Compare
Member
|
Nice, thanks for all the cleaning effort here. |
Some options couldn't be enabled due some dependencies. Fix it. Also remove drivers for devices absent in i.MX8MM EVK[B]. TODO: There are still a lot of enabled drivers for devices, which are not present on the board. Signed-off-by: Oleksandr Suvorov <[email protected]>
596b82c to
cff84e2
Compare
Some options couldn't be enabled due dependencies. Fix it. Also remove drivers for devices absent in i.MX8MP LPDDR4 EVK. TODO: There are still a lot of enabled drivers for devices, which are not present on the board. Signed-off-by: Oleksandr Suvorov <[email protected]>
Some options couldn't be enabled due dependencies. Fix it. Also remove drivers for devices absent in i.MX8MQ EVK. TODO: There are still a lot of enabled drivers for devices, which are not present on the board. Signed-off-by: Oleksandr Suvorov <[email protected]>
7515b9c to
996bd3e
Compare
iMX6UL uses ChipIdea USB IP. Add a proper set of options. TODO: There are still a lot of enabled drivers for devices, which are not present on the board. Need to be disabled. Signed-off-by: Oleksandr Suvorov <[email protected]>
996bd3e to
6ee59a8
Compare
iMX6ULL uses ChipIdea USB IP. Add a proper set of options. Fix a checkconfig warning. TODO: There are still a lot of enabled drivers for devices, which are not present on the board. Need to be disabled. Signed-off-by: Oleksandr Suvorov <[email protected]>
6ee59a8 to
4b05d71
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Some work to forward port improves from 5.10 to 5.15.
In testing...
NOTES